Skip to content

Commit 77da068

Browse files
committed
Use workspace:* for inter-repo dependencies
Replace semver ranges with workspace:* protocol for all 16 dependencies between packages in this monorepo. This ensures local development always uses the workspace versions and pnpm will substitute the correct version range at publish time.
1 parent f70a9dc commit 77da068

8 files changed

Lines changed: 48 additions & 142 deletions

File tree

packages/get-uri/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"dependencies": {
5353
"basic-ftp": "^5.0.2",
54-
"data-uri-to-buffer": "^6.0.2",
54+
"data-uri-to-buffer": "workspace:*",
5555
"debug": "^4.3.4"
5656
},
5757
"engines": {

packages/http-proxy-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"author": "Nathan Rajlich <[email protected]> (http://n8.io/)",
3333
"license": "MIT",
3434
"dependencies": {
35-
"agent-base": "^7.1.0",
35+
"agent-base": "workspace:*",
3636
"debug": "^4.3.4"
3737
},
3838
"devDependencies": {

packages/https-proxy-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"author": "Nathan Rajlich <[email protected]> (http://n8.io/)",
3434
"license": "MIT",
3535
"dependencies": {
36-
"agent-base": "^7.1.2",
36+
"agent-base": "workspace:*",
3737
"debug": "4"
3838
},
3939
"devDependencies": {

packages/pac-proxy-agent/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
"license": "MIT",
3838
"dependencies": {
3939
"@tootallnate/quickjs-emscripten": "^0.23.0",
40-
"agent-base": "^7.1.2",
40+
"agent-base": "workspace:*",
4141
"debug": "^4.3.4",
42-
"get-uri": "^6.0.1",
43-
"http-proxy-agent": "^7.0.0",
44-
"https-proxy-agent": "^7.0.6",
45-
"pac-resolver": "^7.0.1",
46-
"socks-proxy-agent": "^8.0.5"
42+
"get-uri": "workspace:*",
43+
"http-proxy-agent": "workspace:*",
44+
"https-proxy-agent": "workspace:*",
45+
"pac-resolver": "workspace:*",
46+
"socks-proxy-agent": "workspace:*"
4747
},
4848
"devDependencies": {
4949
"@types/debug": "^4.1.7",

packages/pac-resolver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dist"
1414
],
1515
"dependencies": {
16-
"degenerator": "^5.0.0",
16+
"degenerator": "workspace:*",
1717
"netmask": "^2.0.2"
1818
},
1919
"devDependencies": {

packages/proxy-agent/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
"author": "Nathan Rajlich <[email protected]> (http://n8.io/)",
3838
"license": "MIT",
3939
"dependencies": {
40-
"agent-base": "^7.1.2",
40+
"agent-base": "workspace:*",
4141
"debug": "^4.3.4",
42-
"http-proxy-agent": "^7.0.1",
43-
"https-proxy-agent": "^7.0.6",
42+
"http-proxy-agent": "workspace:*",
43+
"https-proxy-agent": "workspace:*",
4444
"lru-cache": "^7.14.1",
45-
"pac-proxy-agent": "^7.1.0",
45+
"pac-proxy-agent": "workspace:*",
4646
"proxy-from-env": "^1.1.0",
47-
"socks-proxy-agent": "^8.0.5"
47+
"socks-proxy-agent": "workspace:*"
4848
},
4949
"devDependencies": {
5050
"@types/agent-base": "^4.2.0",

packages/socks-proxy-agent/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"socks5h"
113113
],
114114
"dependencies": {
115-
"agent-base": "^7.1.2",
115+
"agent-base": "workspace:*",
116116
"debug": "^4.3.4",
117117
"socks": "^2.8.3"
118118
},

0 commit comments

Comments
 (0)