opencode/packages/app
Luke Parker 59af5bd0ef
Merge branch 'dev' into fix/git-fsmonitor-cleanup
2026-03-06 12:48:43 +10:00
..
e2e Merge branch 'dev' into fix/git-fsmonitor-cleanup 2026-03-06 12:48:43 +10:00
public wip: highlights 2026-01-26 15:36:56 -06:00
script fix: kill orphaned MCP child processes and expose OPENCODE_PID on shu… (#15516) 2026-03-01 18:08:17 +05:30
src fix(app): stale show (#16236) 2026-03-05 18:23:48 -06:00
.gitignore test(app): initial e2e test setup 2026-01-19 09:03:52 -06:00
AGENTS.md fix(app): fix numbered list rendering in web markdown (#9723) 2026-01-20 20:28:01 -06:00
README.md test(app): fix e2e 2026-01-20 14:02:09 -06:00
bunfig.toml chore: fix test 2026-02-10 07:06:20 -06:00
create-effect-simplification-spec.md chore(app): solidjs refactoring (#13399) 2026-03-02 10:50:50 -06:00
happydom.ts chore: rename packages/desktop -> packages/app 2025-12-22 19:39:00 -06:00
index.html fix(web): favicon rename again 2026-01-21 14:36:21 -06:00
package.json release: v1.2.18 2026-03-05 19:01:03 +00:00
playwright.config.ts fix(win32): e2e sometimes fails because windows is weird and sometimes ipv6 (#14833) 2026-02-24 09:27:00 +10:00
sst-env.d.ts zen: update sst version 2026-02-18 13:54:23 -05:00
tsconfig.json ci: remove unused publishConfig that was breaking npm publishing 2026-03-05 09:45:30 -05: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

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

Deployment

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