|
|
1 Minggu lalu | |
|---|---|---|
| .. | ||
| e2e | 98874a09f7 fix windows e2e backend not stopping on sigterm waiting 10s for no reason (#21781) | 1 Minggu lalu |
| public | 6388cbaf92 fix(app): remove oc-1 theme | 1 bulan lalu |
| script | 535343bf56 refactor(server): replace Bun serve with Hono node adapters (#18335) | 2 minggu lalu |
| src | 46f243fea7 app: remove min loading duration (#21655) | 1 Minggu lalu |
| test | a09b086729 test(app): block real llm calls in e2e prompts (#20579) | 2 minggu lalu |
| .gitignore | 03d7467ea2 test(app): initial e2e test setup | 3 bulan lalu |
| AGENTS.md | a71c40c717 fix(app): fix numbered list rendering in web markdown (#9723) | 2 bulan lalu |
| README.md | 95e9407e63 test(app): fix e2e | 2 bulan lalu |
| bunfig.toml | 19ad7ad809 chore: fix test | 2 bulan lalu |
| create-effect-simplification-spec.md | 8176bafc55 chore(app): solidjs refactoring (#13399) | 1 bulan lalu |
| happydom.ts | 794fe8f381 chore: rename packages/desktop -> packages/app | 3 bulan lalu |
| index.html | bdd7829c68 fix(app): resize layout viewport when mobile keyboard appears (#15841) | 3 minggu lalu |
| package.json | 877be7e8e0 release: v1.4.3 | 1 Minggu lalu |
| playwright.config.ts | f549fde874 test(app): emit junit artifacts for playwright (#20732) | 2 minggu lalu |
| sst-env.d.ts | 24a9841322 zen: update sst version | 2 bulan lalu |
| tsconfig.json | bb37e908ad ci: remove unused publishConfig that was breaking npm publishing | 1 bulan lalu |
| vite.config.ts | a7beba5aa9 chore(desktop): disable sourcemap | 3 bulan lalu |
| vite.js | 1041ae91d1 Reapply "fix(app): startup efficiency" | 3 minggu lalu |
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 need an opencode backend (defaults to localhost:4096).
Use the local runner to create a temp sandbox, seed data, and run the tests.
bunx playwright install
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.)