Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22.12.0
24.3.0
710 changes: 355 additions & 355 deletions .yarn/releases/yarn-4.9.2.cjs → .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ plugins:
path: .yarn/plugins/correct-yarn-formatting.cjs
spec: "https://raw.githubusercontent.com/HanseltimeIndustries/correct-yarn-formatting/v1.0.1/lib/index.js"

yarnPath: .yarn/releases/yarn-4.9.2.cjs
yarnPath: .yarn/releases/yarn-4.10.3.cjs
21 changes: 21 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
applyTo: "**"
---

# Project Overview

One is a framework that aims to make web and native development with React and React Native much simpler and faster.

One builds on Vite to serve both React web and React Native, it also provides file system–based routing, render modes, loaders, middleware, a CLI, Hono, and more.

To understand more about One, you should search for documentation (`apps/onestack.dev/**/*.mdx`) under the site (`apps/onestack.dev`). This site contains guides, API references, and examples to help you grasp the framework's capabilities and practices.

## Monorepo Structure

- `packages/one/` - Main framework package & Vite plugin
- `packages/vxrn/` - A Vite plugin that makes Vite support React Native
- `packages/vite-plugin-metro/` - Another Vite plugin that makes Vite support React Native
- `apps/onestack.dev/` - Documentation website
- `examples/` - Template projects and demos
- `tests/` - Test suite and some test related stuff for the framework
- `packages/create-vxrn/` - CLI scaffolding tool (`npx one`)
1 change: 0 additions & 1 deletion CLAUDE.md

This file was deleted.

2 changes: 1 addition & 1 deletion apps/devtools/app/routes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { OneRouter } from 'one'
declare module 'one' {
export namespace OneRouter {
export interface __routes<T extends string = string> extends Record<string, unknown> {
StaticRoutes: `/` | `/_sitemap`
StaticRoutes: `/` | `/_sitemap` | `/routes.d`
DynamicRoutes: never
DynamicRouteTemplate: never
IsTyped: true
Expand Down
78 changes: 0 additions & 78 deletions apps/devtools/biome.json

This file was deleted.

1 change: 1 addition & 0 deletions apps/devtools/biome.json
29 changes: 15 additions & 14 deletions apps/devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devtools",
"version": "1.1.547",
"version": "1.1.547-1762237255120",
"private": true,
"type": "module",
"scripts": {
Expand All @@ -14,25 +14,26 @@
"serve": "one serve"
},
"dependencies": {
"@react-navigation/native": "~7.1.0",
"@tamagui/config": "^1.135.6",
"@tamagui/image-next": "^1.135.6",
"@tamagui/lucide-icons": "^1.135.6",
"@tamagui/vite-plugin": "^1.135.6",
"@react-navigation/native": "^7.1.19",
"@tamagui/config": "^1.136.1",
"@tamagui/image-next": "^1.136.1",
"@tamagui/lucide-icons": "^1.136.1",
"@tamagui/vite-plugin": "^1.136.1",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-deep-link": "^2.0.1",
"@tauri-apps/plugin-shell": "^2",
"@vxrn/color-scheme": "workspace:*",
"one": "workspace:*",
"react": "~19.0.0",
"react": "19.1.0",
"react-hotkeys-hook": "^4.6.1",
"react-native": "~0.79.2",
"react-native-reanimated": ">=3.17.0",
"react-native-safe-area-context": "5.4.0",
"react-native-screens": "^4.18.0",
"react-native-svg": "15.11.2",
"react-native-web": "~0.20.0",
"tamagui": "^1.135.6"
"react-native": "0.81.5",
"react-native-reanimated": "~4.1.3",
"react-native-safe-area-context": "~5.6.1",
"react-native-screens": "~4.16.0",
"react-native-svg": "15.12.1",
"react-native-web": "^0.21.2",
"react-native-worklets": "0.5.1",
"tamagui": "^1.136.1"
},
"devDependencies": {
"@tauri-apps/cli": "^2",
Expand Down
3 changes: 1 addition & 2 deletions apps/devtools/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"types": [
"node",
"react",
"vite/client",
"one-routes"
"vite/client"
],
"lib": [
"dom",
Expand Down
14 changes: 0 additions & 14 deletions apps/onestack.dev/app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,17 +577,3 @@ const CopyCommand = () => {
</Tooltip>
)
}

const Corners = () => (
<>
<span className="corner top-left"></span>
<span className="corner top-right"></span>
<span className="corner bottom-left"></span>
<span className="corner bottom-right"></span>

{/* <span className="triangle top-left"></span>
<span className="triangle top-right"></span>
<span className="triangle bottom-left"></span>
<span className="triangle bottom-right"></span> */}
</>
)
80 changes: 0 additions & 80 deletions apps/onestack.dev/biome.json

This file was deleted.

1 change: 1 addition & 0 deletions apps/onestack.dev/biome.json
6 changes: 3 additions & 3 deletions apps/onestack.dev/data/docs/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ Let's begin with our package.json:
},
"dependencies": {
"one": "latest",
"react": "~19.0.0",
"react-native": "~0.79.2",
"react-native-web": "~0.20.0",
"react": "19.1.0",
"react-native": "0.81.4",
"react-native-web": "^0.21.0",
"@react-navigation/native": "~7.1.0",
"react-native-safe-area-context": "^5.5.2",
"react-native-screens": "~4.18.0"
Expand Down
32 changes: 16 additions & 16 deletions apps/onestack.dev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "site",
"version": "1.1.547",
"version": "1.1.547-1762237255120",
"private": true,
"sideEffects": false,
"type": "module",
Expand All @@ -18,26 +18,26 @@
},
"dependencies": {
"@docsearch/react": "^3.9.0",
"@react-navigation/native": "~7.1.0",
"@react-navigation/native": "^7.1.19",
"@supabase/supabase-js": "^2.44.4",
"@tamagui/button": "^1.135.6",
"@tamagui/input": "^1.135.6",
"@tamagui/linear-gradient": "^1.135.6",
"@tamagui/lucide-icons": "^1.135.6",
"@tamagui/react-native-web": "^1.135.6",
"@tamagui/themes": "^1.135.6",
"@tamagui/use-store": "^1.135.6",
"@tamagui/button": "^1.136.1",
"@tamagui/input": "^1.136.1",
"@tamagui/linear-gradient": "^1.136.1",
"@tamagui/lucide-icons": "^1.136.1",
"@tamagui/react-native-web": "^1.136.1",
"@tamagui/themes": "^1.136.1",
"@tamagui/use-store": "^1.136.1",
"@vxrn/color-scheme": "workspace:*",
"@vxrn/mdx": "workspace:*",
"body-scroll-lock": "^4.0.0-beta.0",
"mdx-bundler": "^10.0.2",
"one": "workspace:*",
"postmark": "^3.0.18",
"react": "~19.0.0",
"react-native": "~0.79.2",
"react-native-safe-area-context": "5.4.0",
"react-native-screens": "^4.18.0",
"tamagui": "^1.135.6"
"react": "19.1.0",
"react-native": "0.81.5",
"react-native-safe-area-context": "~5.6.1",
"react-native-screens": "~4.16.0",
"tamagui": "^1.136.1"
},
"devDependencies": {
"@algolia/client-search": "^5.8.1",
Expand All @@ -46,8 +46,8 @@
"marked": "^14.1.2",
"playwright": "^1.49.1",
"subset-font": "^2.4.0",
"tsx": "^4.19.0",
"vitest": "^4.0.4"
"tsx": "^4.20.6",
"vitest": "^4.0.6"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions apps/onestack.dev/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"types": [
"node",
"react",
"vite/client",
"one-routes"
"vite/client"
],
"lib": [
"dom",
Expand Down
Loading
Loading