Skip to content

Commit

Permalink
Change all internal dependencies to be tilde not caret (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericanderson authored Jul 9, 2024
1 parent e9845a3 commit 647a812
Show file tree
Hide file tree
Showing 23 changed files with 184 additions and 168 deletions.
16 changes: 16 additions & 0 deletions .changeset/perfect-jars-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@osdk/foundry-sdk-generator": patch
"@osdk/generator-converters": patch
"@osdk/cli.cmd.typescript": patch
"@osdk/legacy-client": patch
"@osdk/shared.test": patch
"@osdk/shared.net": patch
"@osdk/generator": patch
"@osdk/omniapi": patch
"@osdk/client": patch
"@osdk/maker": patch
"@osdk/api": patch
"@osdk/cli": patch
---

Change all internal dependencies to be tilde not caret
10 changes: 5 additions & 5 deletions examples-extra/basic/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/client": "workspace:^",
"@osdk/examples.basic.sdk": "workspace:^",
"@osdk/omniapi": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/client": "workspace:~",
"@osdk/examples.basic.sdk": "workspace:~",
"@osdk/omniapi": "workspace:~",
"pino": "^8.20.0",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@osdk/cli": "workspace:^",
"@osdk/cli": "workspace:~",
"@types/node": "^18.0.0",
"ts-expect": "^1.3.0"
},
Expand Down
6 changes: 3 additions & 3 deletions examples-extra/basic/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/client": "workspace:^"
"@osdk/api": "workspace:~",
"@osdk/client": "workspace:~"
},
"devDependencies": {
"@osdk/cli.cmd.typescript": "workspace:^",
"@osdk/cli.cmd.typescript": "workspace:~",
"typescript": "^5.2.2"
},
"publishConfig": {
Expand Down
8 changes: 4 additions & 4 deletions examples-extra/docs_example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"preview": "vite preview"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/client": "workspace:^",
"@osdk/legacy-client": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/client": "workspace:~",
"@osdk/legacy-client": "workspace:~",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swr": "^2.2.4"
},
"devDependencies": {
"@osdk/cli.cmd.typescript": "workspace:^",
"@osdk/cli.cmd.typescript": "workspace:~",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.10.0",
Expand Down
8 changes: 4 additions & 4 deletions examples-extra/one_dot_one/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/generator": "workspace:^",
"@osdk/legacy-client": "workspace:^"
"@osdk/api": "workspace:~",
"@osdk/generator": "workspace:~",
"@osdk/legacy-client": "workspace:~"
},
"devDependencies": {
"@osdk/cli.cmd.typescript": "workspace:^",
"@osdk/cli.cmd.typescript": "workspace:~",
"@types/node": "^18.0.0",
"typescript": "^4.9.0"
},
Expand Down
8 changes: 4 additions & 4 deletions examples-extra/todoapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
"preview": "vite preview"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/client": "workspace:^",
"@osdk/oauth": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/client": "workspace:~",
"@osdk/oauth": "workspace:~",
"core-js": "^3.36.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"swr": "^2.2.4",
"tiny-invariant": "^1.3.3"
},
"devDependencies": {
"@osdk/cli.cmd.typescript": "workspace:^",
"@osdk/cli.cmd.typescript": "workspace:~",
"@types/core-js": "^2.5.8",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.15",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
"dprint": "^0.41.0",
"esbuild-plugin-babel": "^0.2.3",
"eslint": "^8.54.0",
"eslint-config-sane": "workspace:^",
"eslint-config-sane": "workspace:*",
"find-up-cli": "^5.0.0",
"husky": "^9.0.11",
"lint-staged": "^14.0.1",
"micromatch": "^4.0.5",
"mytsup": "workspace:^",
"mytsup": "workspace:*",
"tsc-absolute": "^1.0.1",
"tsconfig": "workspace:^",
"tsconfig": "workspace:*",
"tsup": "^7.2.0",
"turbo": "^1.10.13",
"turbotree": "^1.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/gateway": "workspace:^",
"@osdk/shared.net": "workspace:^",
"@osdk/gateway": "workspace:~",
"@osdk/shared.net": "workspace:~",
"@types/geojson": "^7946.0.13",
"fetch-retry": "^5.0.6",
"tiny-invariant": "^1.3.1"
Expand Down
8 changes: 4 additions & 4 deletions packages/cli.cmd.typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
},
"dependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@osdk/cli.common": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/generator": "workspace:^",
"@osdk/shared.net": "workspace:^",
"@osdk/cli.common": "workspace:~",
"@osdk/gateway": "workspace:~",
"@osdk/generator": "workspace:~",
"@osdk/shared.net": "workspace:~",
"consola": "^3.2.3",
"find-up": "^7.0.0",
"tslib": "^2.6.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
},
"dependencies": {
"@arethetypeswrong/cli": "^0.15.2",
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/generator": "workspace:^",
"@osdk/shared.net": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~",
"@osdk/generator": "workspace:~",
"@osdk/shared.net": "workspace:~",
"ajv": "^8.12.0",
"archiver": "^6.0.1",
"conjure-lite": "^0.3.3",
Expand All @@ -47,8 +47,8 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@osdk/cli.cmd.typescript": "workspace:^",
"@osdk/cli.common": "workspace:^",
"@osdk/cli.cmd.typescript": "workspace:~",
"@osdk/cli.common": "workspace:~",
"@types/archiver": "^6.0.0",
"@types/ngeohash": "^0.6.4",
"@types/node": "^18.0.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/generator-converters": "workspace:^",
"@osdk/shared.net": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/generator-converters": "workspace:~",
"@osdk/shared.net": "workspace:~",
"conjure-lite": "^0.3.3",
"fast-deep-equal": "^3.1.3",
"fetch-retry": "^5.0.6",
Expand All @@ -43,9 +43,9 @@
"ws": "^8.14.2"
},
"devDependencies": {
"@osdk/generator": "workspace:^",
"@osdk/omniapi": "workspace:^",
"@osdk/shared.test": "workspace:^",
"@osdk/generator": "workspace:~",
"@osdk/omniapi": "workspace:~",
"@osdk/shared.test": "workspace:~",
"@types/geojson": "^7946.0.14",
"@types/ws": "^8.5.10",
"jest-extended": "^4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/example-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/create-app": "workspace:^",
"@osdk/create-app": "workspace:~",
"consola": "^3.2.3",
"dir-compare": "^4.2.0",
"find-up": "^7.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/foundry-sdk-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/generator": "workspace:^",
"@osdk/legacy-client": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~",
"@osdk/generator": "workspace:~",
"@osdk/legacy-client": "workspace:~",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"consola": "^3.2.3",
Expand All @@ -45,7 +45,7 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@osdk/shared.test": "workspace:^",
"@osdk/shared.test": "workspace:~",
"@types/node": "^18.0.0",
"@types/yargs": "^17.0.29",
"typescript": "^5.4.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/generator-converters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^"
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~"
},
"devDependencies": {
"ts-expect": "^1.3.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/generator-converters": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~",
"@osdk/generator-converters": "workspace:~",
"fetch-retry": "^5.0.6",
"prettier": "^3.0.3",
"prettier-plugin-organize-imports": "^3.2.3",
Expand Down
10 changes: 5 additions & 5 deletions packages/legacy-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/shared.net": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~",
"@osdk/shared.net": "workspace:~",
"fetch-retry": "^5.0.6",
"luxon": "^3.4.4",
"ngeohash": "^0.6.3",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@osdk/generator": "workspace:^",
"@osdk/shared.test": "workspace:^",
"@osdk/generator": "workspace:~",
"@osdk/shared.test": "workspace:~",
"@types/luxon": "^3.4.2",
"@types/ngeohash": "^0.6.4",
"ts-expect": "^1.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/maker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~",
"consola": "^3.2.3",
"jiti": "^1.21.0",
"tiny-invariant": "^1.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/omniapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/shared.net": "workspace:^"
"@osdk/api": "workspace:~",
"@osdk/shared.net": "workspace:~"
},
"devDependencies": {
"typescript": "^5.4.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/shared.net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/gateway": "workspace:^",
"@osdk/gateway": "workspace:~",
"fetch-retry": "^5.0.6"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/shared.test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"typecheck": "tsc-absolute"
},
"dependencies": {
"@osdk/api": "workspace:^",
"@osdk/gateway": "workspace:^",
"@osdk/api": "workspace:~",
"@osdk/gateway": "workspace:~",
"fetch-retry": "^5.0.6",
"json-stable-stringify": "^1.1.0",
"msw": "^1.2.4",
Expand Down
Loading

0 comments on commit 647a812

Please sign in to comment.