Skip to content

Commit d50f0b0

Browse files
CI - Build @parcel/watcher from source in bundlers tests (#33795)
1 parent baedcbd commit d50f0b0

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

e2e/bundlers/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"cldrjs": "0.5.5",
1313
"jquery": "3.7.1",
1414
"minimist": "1.2.8",
15-
"@parcel/watcher-linux-x64-glibc": "2.5.0",
1615
"parcel": "2.16.4",
1716
"rimraf": "3.0.2",
1817
"rollup": "4.22.4",

e2e/bundlers/project.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,21 @@
4747
},
4848
"dependsOn": ["build"]
4949
},
50+
"build-parcel-watcher": {
51+
"executor": "nx:run-commands",
52+
"options": {
53+
"cwd": "{projectRoot}",
54+
"command": "cross-env npm_config_build_from_source=true pnpm rebuild --recursive @parcel/watcher"
55+
},
56+
"dependsOn": ["build"]
57+
},
5058
"test--parcel": {
5159
"executor": "nx:run-commands",
5260
"options": {
5361
"cwd": "{projectRoot}",
5462
"command": "parcel build ./entry/modules_esm.js --no-cache --dist-dir ./dist/dist_parsel"
5563
},
56-
"dependsOn": ["build"]
64+
"dependsOn": ["build-parcel-watcher"]
5765
},
5866
"test--browserify-cjs": {
5967
"executor": "nx:run-commands",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)