opencode-agent[bot] 33296e7959 test(app): make offset observer scheduling deterministic (#41602) 4 天之前
..
e2e ec11d6ed03 chore: generate 5 天之前
public a21e74773f fix(app): improve iOS PWA shell (#32798) 1 月之前
src 33296e7959 test(app): make offset observer scheduling deterministic (#41602) 4 天之前
test-browser 0dcedc199c chore: merge dev into v2 (#41460) 5 天之前
vendor 302e9b45ab chore: merge dev into v2 (#39290) 2 周之前
.gitignore 03d7467ea2 test(app): initial e2e test setup 6 月之前
AGENTS.md 0dcedc199c chore: merge dev into v2 (#41460) 5 天之前
README.md 627159acac delete all e2e tests (#22501) 4 月之前
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 4194d55522 chore: generate 1 周之前
package.json 0dcedc199c chore: merge dev into v2 (#41460) 5 天之前
playwright.config.ts c6083a474c test(app): add manual performance diagnostics (#32937) 1 月之前
sst-env.d.ts 24a9841322 zen: update sst version 5 月之前
tsconfig.json d2c99ba97c chore: improve incremental typecheck performance (#40925) 1 周之前
vite.config.ts 163290bcf0 desktop: sentry integration (#15300) 3 月之前
vite.js 7d5e91b801 opencode: provide channel to web build (#28612) 2 月之前

README.md

Usage

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

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm run dev or npm start

Runs 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 build

Builds 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!

E2E Testing

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>)

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)