|
|
3 долоо хоног өмнө | |
|---|---|---|
| .. | ||
| e2e | 36dfe1646b fix(app): only navigate prompt history when input is empty (#18775) | 1 сар өмнө |
| public | 6388cbaf92 fix(app): remove oc-1 theme | 1 сар өмнө |
| script | f0bba10b12 fix(e2e): fail fast on config dependency installs (#17280) | 1 сар өмнө |
| src | 1b028d0632 revert: roll back git-backed review modes (#19295) | 3 долоо хоног өмнө |
| .gitignore | 03d7467ea2 test(app): initial e2e test setup | 3 сар өмнө |
| AGENTS.md | a71c40c717 fix(app): fix numbered list rendering in web markdown (#9723) | 3 сар өмнө |
| README.md | 95e9407e63 test(app): fix e2e | 3 сар өмнө |
| bunfig.toml | 19ad7ad809 chore: fix test | 2 сар өмнө |
| create-effect-simplification-spec.md | 8176bafc55 chore(app): solidjs refactoring (#13399) | 1 сар өмнө |
| happydom.ts | 794fe8f381 chore: rename packages/desktop -> packages/app | 4 сар өмнө |
| index.html | b7b2eae20c fix(web): favicon rename again | 3 сар өмнө |
| package.json | 54443bfb7e release: v1.3.3 | 3 долоо хоног өмнө |
| playwright.config.ts | ba244a6e62 test: restore 5 workers on Windows e2e (#19188) | 3 долоо хоног өмнө |
| sst-env.d.ts | 24a9841322 zen: update sst version | 2 сар өмнө |
| tsconfig.json | bb37e908ad ci: remove unused publishConfig that was breaking npm publishing | 1 сар өмнө |
| vite.config.ts | a7beba5aa9 chore(desktop): disable sourcemap | 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 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.)