opencode/packages/app
Adam 03d7467ea2 test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
..
e2e test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
public fix(app): no inline js 2026-01-09 11:57:31 -06:00
src chore: cleanup 2026-01-19 07:35:52 -06:00
.gitignore test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
AGENTS.md chore: generate 2026-01-04 02:57:20 +00:00
README.md test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
bunfig.toml chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
happydom.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
index.html chore: cleanup 2026-01-15 07:29:13 -06:00
package.json test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
playwright.config.ts test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
sst-env.d.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
tsconfig.json chore: show version on error page 2025-12-24 20:25:36 -06:00
vite.config.ts chore(desktop): disable sourcemap 2025-12-30 04:57:36 -06:00
vite.js chore: cleanup 2025-12-28 06:41:59 -06:00

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

The Playwright runner expects the app already running at http://localhost:3000.

bun add -D @playwright/test
bunx playwright install
bun run test:e2e

Environment options:

  • PLAYWRIGHT_BASE_URL (default: http://localhost:3000)
  • PLAYWRIGHT_PORT (default: 3000)

Deployment

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