opencode/packages/app
Kit Langton a09b086729
test(app): block real llm calls in e2e prompts (#20579)
2026-04-01 22:22:43 -04:00
..
e2e test(app): block real llm calls in e2e prompts (#20579) 2026-04-01 22:22:43 -04:00
public fix(app): remove oc-1 theme 2026-03-09 08:25:41 -05:00
script chore: e2e model 2026-03-31 10:14:26 -05:00
src feat(comments): support file mentions (#20447) 2026-04-01 16:11:57 +05:30
test/e2e test(app): block real llm calls in e2e prompts (#20579) 2026-04-01 22:22:43 -04: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(app): resize layout viewport when mobile keyboard appears (#15841) 2026-03-27 11:39:13 -05:00
package.json release: v1.3.13 2026-04-01 00:44:06 +00:00
playwright.config.ts test: restore 5 workers on Windows e2e (#19188) 2026-03-25 21:28:18 -04: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 Reapply "fix(app): startup efficiency" 2026-03-25 06:25:57 -05: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.)