|
|
3 ماه پیش | |
|---|---|---|
| .. | ||
| e2e | 627159acac delete all e2e tests (#22501) | 3 ماه پیش |
| public | 10bd044c55 feat: add terminal font settings and built-in Nerd Font (#23391) | 3 ماه پیش |
| src | f5c3d352a1 fix(app): require query functions for sync queries (#25939) | 3 ماه پیش |
| .gitignore | 03d7467ea2 test(app): initial e2e test setup | 6 ماه پیش |
| AGENTS.md | a71c40c717 fix(app): fix numbered list rendering in web markdown (#9723) | 6 ماه پیش |
| README.md | 627159acac delete all e2e tests (#22501) | 3 ماه پیش |
| bunfig.toml | 19ad7ad809 chore: fix test | 6 ماه پیش |
| create-effect-simplification-spec.md | 8176bafc55 chore(app): solidjs refactoring (#13399) | 5 ماه پیش |
| happydom.ts | 794fe8f381 chore: rename packages/desktop -> packages/app | 7 ماه پیش |
| index.html | bdd7829c68 fix(app): resize layout viewport when mobile keyboard appears (#15841) | 4 ماه پیش |
| package.json | dcfe4b0d51 sync release versions for v1.14.40 | 3 ماه پیش |
| playwright.config.ts | f549fde874 test(app): emit junit artifacts for playwright (#20732) | 4 ماه پیش |
| sst-env.d.ts | 24a9841322 zen: update sst version | 5 ماه پیش |
| tsconfig.json | bb37e908ad ci: remove unused publishConfig that was breaking npm publishing | 5 ماه پیش |
| vite.config.ts | 163290bcf0 desktop: sentry integration (#15300) | 3 ماه پیش |
| vite.js | 1041ae91d1 Reapply "fix(app): startup efficiency" | 4 ماه پیش |
Dependencies for these templates are managed with pnpm using pnpm up -Lri.
This is the reason you see a pnpm-lock.yaml. That said, any package manager will work. This file can safely be removed once you clone a template.
$ npm install # or pnpm install or yarn install
In the project directory, you can run:
npm run dev or npm startRuns the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
npm run buildBuilds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Playwright starts the Vite dev server automatically via webServer, and UI tests expect an opencode backend at localhost:4096 by default.
bunx playwright install chromium
bun run test:e2e:local
bun run test:e2e:local -- --grep "settings"
Environment options:
PLAYWRIGHT_SERVER_HOST / PLAYWRIGHT_SERVER_PORT (backend address, default: localhost:4096)PLAYWRIGHT_PORT (Vite dev server port, default: 3000)PLAYWRIGHT_BASE_URL (override base URL, default: http://localhost:<PLAYWRIGHT_PORT>)You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)