Skip to content

Commit 89ed165

Browse files
Ensure npm deps with build simulating extension (#1761)
* Add test for prod deps * Make test only for injected * Move minimist to deps * Move type generator from dev deps * Lint fix * Install all but only test injected * Make config non dev dep * Move esbuild to be a dep * Move urlpattern to be a non dev * Add deps to root * Revert "Add deps to root" This reverts commit 3cfb310. * Add build test check to prod deps
1 parent cf18c9f commit 89ed165

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,5 @@ jobs:
123123
run: npm ci --production
124124
- name: Build with production dependencies (injected/)
125125
run: cd injected && npm run build
126+
- name: Simulate extension esbuild for GPC feature (production deps only)
127+
run: npx esbuild injected/src/features/gpc.js --bundle --outfile=/tmp/gpc-bundle.js

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@
5151
"ts-json-schema-generator": "^2.4.0",
5252
"typedoc": "^0.28.5",
5353
"typescript": "^5.8.3",
54-
"typescript-eslint": "^8.33.0",
55-
"urlpattern-polyfill": "^10.1.0"
54+
"typescript-eslint": "^8.33.0"
5655
},
5756
"dependencies": {
58-
"immutable-json-patch": "^6.0.1"
57+
"immutable-json-patch": "^6.0.1",
58+
"urlpattern-polyfill": "^10.1.0"
5959
}
6060
}

0 commit comments

Comments
 (0)