Skip to content

Commit e803ec6

Browse files
committed
refactor: use workspace protocol for all internal dependencies
Convert all internal package dependencies to use `workspace:^` protocol instead of version ranges. This ensures pnpm always links to local workspace packages during development rather than installing from npm registry. - Updated all @launchql/* package dependencies - Updated graphile-* package dependencies (cache, query, settings) - Updated pg-* package dependencies (cache, env, query-context) - Updated utility packages (etag-hash, uuid-hash, mime-bytes, etc.) - Updated sandbox project dependencies
1 parent 5456ed9 commit e803ec6

22 files changed

Lines changed: 168 additions & 546 deletions

File tree

packages/content-type-stream/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"test:watch": "jest --watch"
3131
},
3232
"dependencies": {
33-
"etag-hash": "^2.3.1",
34-
"mime-bytes": "^0.3.1",
35-
"uuid-hash": "^2.2.1"
33+
"etag-hash": "workspace:^",
34+
"mime-bytes": "workspace:^",
35+
"uuid-hash": "workspace:^"
3636
},
3737
"keywords": [
3838
"content-type",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
"@types/pg": "^8.15.2"
4646
},
4747
"dependencies": {
48-
"@launchql/env": "^2.4.3",
48+
"@launchql/env": "workspace:^",
4949
"@launchql/explorer": "workspace:^",
5050
"@launchql/logger": "workspace:^",
5151
"@launchql/server-utils": "workspace:^",
5252
"@launchql/templatizer": "workspace:^",
53-
"@launchql/types": "^2.6.2",
53+
"@launchql/types": "workspace:^",
5454
"@pgsql/types": "^17.6.1",
5555
"case": "^1.6.3",
5656
"chalk": "^4.1.0",
@@ -59,7 +59,7 @@
5959
"parse-package-name": "^1.0.0",
6060
"pg": "^8.16.0",
6161
"pg-cache": "workspace:^",
62-
"pg-env": "^1.1.0",
62+
"pg-env": "workspace:^",
6363
"pgsql-deparser": "^17.11.1",
6464
"pgsql-parser": "^17.8.2",
6565
"rimraf": "^6.0.1"

packages/env/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test:watch": "jest --watch"
3131
},
3232
"dependencies": {
33-
"@launchql/types": "^2.6.2",
33+
"@launchql/types": "workspace:^",
3434
"deepmerge": "^4.3.1"
3535
},
3636
"keywords": [

packages/etag-stream/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
"stream"
3636
],
3737
"dependencies": {
38-
"etag-hash": "^2.3.1"
38+
"etag-hash": "workspace:^"
3939
}
4040
}

packages/explorer/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
"test:watch": "jest --watch"
3636
},
3737
"dependencies": {
38-
"@launchql/env": "^2.4.3",
39-
"@launchql/s3-streamer": "^2.5.3",
38+
"@launchql/env": "workspace:^",
39+
"@launchql/s3-streamer": "workspace:^",
4040
"@launchql/server-utils": "workspace:^",
41-
"@launchql/types": "^2.6.2",
42-
"@launchql/upload-names": "^2.2.1",
43-
"@launchql/url-domains": "^2.2.1",
41+
"@launchql/types": "workspace:^",
42+
"@launchql/upload-names": "workspace:^",
43+
"@launchql/url-domains": "workspace:^",
4444
"express": "^5.1.0",
4545
"graphile-build": "^4.14.1",
46-
"graphile-cache": "^1.3.4",
47-
"graphile-settings": "^2.5.3",
46+
"graphile-cache": "workspace:^",
47+
"graphile-settings": "workspace:^",
4848
"graphql-upload": "^13.0.0",
4949
"pg-cache": "workspace:^",
5050
"pg-env": "workspace:^",

packages/graphile-cache/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"test:watch": "jest --watch"
3131
},
3232
"dependencies": {
33-
"@launchql/logger": "^1.1.1",
33+
"@launchql/logger": "workspace:^",
3434
"lru-cache": "^11.1.0",
3535
"pg": "^8.16.0",
36-
"pg-cache": "^1.3.4",
36+
"pg-cache": "workspace:^",
3737
"postgraphile": "^4.14.1"
3838
},
3939
"devDependencies": {

packages/graphile-settings/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,20 +31,20 @@
3131
},
3232
"dependencies": {
3333
"@graphile-contrib/pg-many-to-many": "^1.0.2",
34-
"@launchql/env": "^2.4.3",
35-
"@launchql/s3-streamer": "^2.5.3",
36-
"@launchql/types": "^2.6.2",
37-
"@launchql/upload-names": "^2.2.1",
34+
"@launchql/env": "workspace:^",
35+
"@launchql/s3-streamer": "workspace:^",
36+
"@launchql/types": "workspace:^",
37+
"@launchql/upload-names": "workspace:^",
3838
"@pyramation/postgis": "^0.1.1",
3939
"@pyramation/postgraphile-plugin-fulltext-filter": "^2.0.0",
4040
"cors": "^2.8.5",
4141
"express": "^5.1.0",
4242
"graphile-build": "^4.14.1",
4343
"graphile-i18n": "^0.0.3",
4444
"graphile-meta-schema": "^0.2.5",
45-
"graphile-query": "^2.3.1",
45+
"graphile-query": "workspace:^",
4646
"graphile-search-plugin": "^0.1.2",
47-
"graphile-settings": "^2.5.3",
47+
"graphile-settings": "workspace:^",
4848
"graphile-simple-inflector": "^0.1.1",
4949
"graphql-tag": "2.12.6",
5050
"graphql-upload": "^13.0.0",

packages/graphile-test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"graphql-tag": "2.12.6"
3535
},
3636
"dependencies": {
37-
"@launchql/types": "^2.6.2",
38-
"graphile-settings": "^2.5.3",
37+
"@launchql/types": "workspace:^",
38+
"graphile-settings": "workspace:^",
3939
"graphql": "15.10.1",
4040
"pgsql-test": "workspace:^",
4141
"mock-req": "^0.2.0",

packages/launchql-gen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"introspectron": "workspace:^"
3737
},
3838
"dependencies": {
39-
"gql-ast": "^2.3.1",
39+
"gql-ast": "workspace:^",
4040
"inflection": "^1.12.0",
4141
"pluralize": "^8.0.0"
4242
},

packages/pg-cache/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
"test:watch": "jest --watch"
3131
},
3232
"dependencies": {
33-
"@launchql/logger": "^1.1.1",
34-
"@launchql/types": "^2.6.2",
33+
"@launchql/logger": "workspace:^",
34+
"@launchql/types": "workspace:^",
3535
"lru-cache": "^11.1.0",
3636
"pg": "^8.16.0",
37-
"pg-env": "^1.1.0"
37+
"pg-env": "workspace:^"
3838
},
3939
"devDependencies": {
4040
"@types/pg": "^8.15.2"

0 commit comments

Comments
 (0)