Skip to content

Commit 2b5ae5e

Browse files
committed
- compile -> typecheck
- build:dev for `wxt build --mode development`
1 parent aa04247 commit 2b5ae5e

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/browser-extension.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ jobs:
2525
working-directory: browser-extension
2626
- run: pnpm test
2727
working-directory: browser-extension
28-
- run: pnpm run compile
28+
- run: pnpm run typecheck
2929
working-directory: browser-extension

browser-extension/package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,16 @@
3838
"biome": "biome check .",
3939
"biome:fix": "biome check --write .",
4040
"biome:fix:unsafe": "biome check --write --unsafe .",
41-
"wxt:build": "wxt build",
42-
"wxt:build:firefox": "wxt build -b firefox",
43-
"compile": "tsc --noEmit",
41+
"build": "wxt build",
42+
"build:dev": "wxt build --mode development",
43+
"build:firefox": "wxt build -b firefox",
44+
"typecheck": "tsc --noEmit",
4445
"dev": "wxt",
4546
"dev:firefox": "wxt -b firefox",
4647
"postinstall": "wxt prepare",
4748
"test": "vitest run",
4849
"har:record": "tsx tests/har-record.ts",
49-
"har:view": "tsx tests/har-view.ts",
50-
"zip": "wxt zip",
51-
"zip:firefox": "wxt zip -b firefox"
50+
"har:view": "tsx tests/har-view.ts"
5251
},
5352
"type": "module",
5453
"version": "0.0.1"

browser-extension/tests/har-view.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ app.post('/rebuild', async (_req, res) => {
251251
console.log('Rebuild triggered via API')
252252

253253
// Run pnpm run rebuild:dev
254-
const buildProcess = spawn('pnpm', ['run', 'rebuild:dev'], {
254+
const buildProcess = spawn('pnpm', ['run', 'build:dev'], {
255255
cwd: path.join(__dirname, '..', '..'),
256256
stdio: ['pipe', 'pipe', 'pipe'],
257257
})

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
"private": true,
44
"scripts": {
55
"build:overtype": "pnpm --filter=overtype run build",
6-
"build:browser-extension": "pnpm --filter=gitcasso run compile",
7-
"build": "pnpm run build:overtype && pnpm run build:browser-extension",
8-
"rebuild:dev": "pnpm run build:overtype && pnpm --filter=gitcasso exec wxt build --mode development",
6+
"typecheck": "pnpm --filter=gitcasso run typecheck",
7+
"build": "pnpm run build:overtype && pnpm --filter=gitcasso run build",
8+
"build:dev": "pnpm run build:overtype && pnpm --filter=gitcasso run build:dev",
9+
"har:view": "pnpm --filter=gitcasso run har:view",
910
"postinstall": "pnpm run build:overtype"
1011
}
1112
}

0 commit comments

Comments
 (0)