Skip to content

Commit fa04d88

Browse files
committed
chore: cleanup dev deps
1 parent 1d34c81 commit fa04d88

File tree

5 files changed

+7
-150
lines changed

5 files changed

+7
-150
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
cache: 'npm'
9595
- run: npm clean-install
9696
- run: npm install --global workerd
97+
- run: npm link workerd
9798
- name: Run Test Suite
9899
run: npm run tap:workerd
99100

@@ -108,6 +109,8 @@ jobs:
108109
node-version: lts/*
109110
cache: 'npm'
110111
- run: npm clean-install
112+
- run: npm install --global edge-runtime
113+
- run: npm link edge-runtime
111114
- name: Run Test Suite
112115
run: npm run tap:edge-runtime
113116

package-lock.json

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@
232232
"@types/node": "^22.14.0",
233233
"@types/qunit": "^2.19.12",
234234
"ava": "^6.2.0",
235-
"edge-runtime": "^4.0.1",
236235
"esbuild": "^0.25.2",
237236
"glob": "^11.0.1",
238237
"npm-run-all2": "^7.0.2",

tap/.edge-runtime.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3-
echo "Using edge-runtime $(cat package-lock.json | jq -r '.packages["node_modules/edge-runtime"].version')"
3+
RUNTIME_VERSION=$(npm ls --global --json | jq -r '.dependencies["edge-runtime"].version')
4+
5+
echo "Using edge-runtime $RUNTIME_VERSION"
46

57
./node_modules/.bin/esbuild \
68
--log-level=warning \

tap/.workerd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
COMPATIBILITY_DATE=$(NODE_PATH=$(npm root -g) node -p "require('workerd').compatibilityDate")
3+
COMPATIBILITY_DATE=$(node -p "require('workerd').compatibilityDate")
44
WORKERD_VERSION=$(npm ls --global --json | jq -r '.dependencies.workerd.version')
55

66
echo "Using workerd $WORKERD_VERSION, compatibility date $COMPATIBILITY_DATE"

0 commit comments

Comments
 (0)