chore(dx): consolidate commands behind make + add editor config
- Make is the canonical interface; pnpm scripts wrap turbo, make wraps pnpm - CI now calls `make ci-web` / `make ci-desktop` so local == CI - Add .nvmrc (node 24, matches CI) + engines field - Add .editorconfig and .vscode (extensions + settings) - Add `pnpm bootstrap` (deps + Playwright Chromium) - Add `dev:web` / `dev:desktop` shortcuts - CONTRIBUTING.md: lead with `make bootstrap`/`make dev-web`, link Tauri prereqs, fix wrong `pnpm dev` claim - CLAUDE.md: command table reflects make-first workflow
This commit is contained in:
12
package.json
12
package.json
@@ -3,13 +3,25 @@
|
||||
"private": true,
|
||||
"version": "0.5.2",
|
||||
"packageManager": "pnpm@10.33.2",
|
||||
"engines": {
|
||||
"node": ">=22",
|
||||
"pnpm": ">=10"
|
||||
},
|
||||
"scripts": {
|
||||
"bootstrap": "pnpm install && pnpm exec playwright install --with-deps chromium",
|
||||
"dev": "pnpm --filter @openconcho/desktop dev",
|
||||
"dev:web": "pnpm --filter @openconcho/web dev",
|
||||
"dev:desktop": "pnpm --filter @openconcho/desktop dev",
|
||||
"build": "turbo run build",
|
||||
"lint": "turbo run lint",
|
||||
"lint:fix": "biome check --write .",
|
||||
"format": "biome format --write .",
|
||||
"test": "turbo run test",
|
||||
"test:e2e": "turbo run test:e2e",
|
||||
"typecheck": "turbo run typecheck",
|
||||
"check": "turbo run lint typecheck test",
|
||||
"ci:web": "turbo run lint typecheck test build --filter=@openconcho/web",
|
||||
"ci:desktop": "turbo run cargo-check --filter=@openconcho/desktop",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user