Skip to content

Commit 9cd23c3

Browse files
hi-ogawaOpenCode
andcommitted
chore: move app checks to root
Co-authored-by: OpenCode <noreply@opencode.ai>
1 parent f908966 commit 9cd23c3

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@
1515
"build-cf": "(command -v cargo >/dev/null || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal) && PATH=\"$HOME/.cargo/bin:$PATH\" pnpm build",
1616
"cli-separate": "cargo run --release -p demucs-cli -- separate --models data/onnx-lean",
1717
"dev": "pnpm -C packages/app dev",
18-
"lint": "cargo fmt --all && vp check --fix && pnpm -C packages/app lint",
19-
"lint-check": "cargo fmt --all -- --check && vp check && pnpm -C packages/app lint",
18+
"typecheck": "tsc -b packages/app",
19+
"lint-dead-code": "fallow dead-code --root packages/app --unused-exports --unused-types",
20+
"lint": "cargo fmt --all && vp check --fix && pnpm lint-dead-code && pnpm typecheck",
21+
"lint-check": "cargo fmt --all -- --check && vp check && pnpm lint-dead-code && pnpm typecheck",
2022
"test-e2e": "pnpm -C packages/app test-e2e"
2123
},
2224
"devDependencies": {
25+
"fallow": "^3.3.0",
26+
"typescript": "^7.0.2",
2327
"vite-plus": "^0.2.4",
2428
"wasm-pack": "0.15.0",
2529
"wrangler": "4.110.0"

packages/app/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"scripts": {
66
"dev": "vite",
77
"build": "vite build",
8-
"typecheck": "tsc -b",
9-
"lint": "pnpm lint-dead-code && pnpm typecheck",
10-
"lint-dead-code": "fallow dead-code --unused-exports --unused-types",
118
"test-e2e": "playwright test",
129
"wasm-separate": "tsx src/node/cli.ts separate"
1310
},
@@ -27,11 +24,9 @@
2724
"@types/react": "^19.2.14",
2825
"@types/react-dom": "^19.2.3",
2926
"@vitejs/plugin-react": "^6.0.3",
30-
"fallow": "^3.3.0",
3127
"onnxruntime-web": "^1.27.0",
3228
"tailwindcss": "^4.3.2",
3329
"tsx": "^4.23.0",
34-
"typescript": "^7.0.2",
3530
"vite": "^8.1.4"
3631
}
3732
}

pnpm-lock.yaml

Lines changed: 17 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)