|
|
пре 2 месеци | |
|---|---|---|
| .. | ||
| e2e | b43a35b737 test(app): test for toggling model variant (#11221) | пре 2 месеци |
| public | 8b6484ac1a wip: highlights | пре 2 месеци |
| script | eaa622e852 fix adam | пре 2 месеци |
| src | 5f282c268d fix(app): free model layout | пре 2 месеци |
| .gitignore | 03d7467ea2 test(app): initial e2e test setup | пре 3 месеци |
| AGENTS.md | a71c40c717 fix(app): fix numbered list rendering in web markdown (#9723) | пре 2 месеци |
| README.md | 95e9407e63 test(app): fix e2e | пре 2 месеци |
| bunfig.toml | 794fe8f381 chore: rename packages/desktop -> packages/app | пре 3 месеци |
| happydom.ts | 794fe8f381 chore: rename packages/desktop -> packages/app | пре 3 месеци |
| index.html | b7b2eae20c fix(web): favicon rename again | пре 2 месеци |
| package.json | e1e356cab4 release: v1.1.45 | пре 2 месеци |
| playwright.config.ts | 03d7467ea2 test(app): initial e2e test setup | пре 3 месеци |
| sst-env.d.ts | 794fe8f381 chore: rename packages/desktop -> packages/app | пре 3 месеци |
| tsconfig.json | 76ac1ccb6b chore: show version on error page | пре 3 месеци |
| vite.config.ts | a7beba5aa9 chore(desktop): disable sourcemap | пре 3 месеци |
| vite.js | 82a876da4d chore: cleanup | пре 3 месеци |
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.)