From e41bce44a100b8bf07f2d2f2095be52842ceed6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ti=E1=BA=BFn=20Nguy=E1=BB=85n=20Kh=E1=BA=AFc?= Date: Tue, 23 Jul 2024 20:27:24 +1200 Subject: [PATCH] refactor: use `^` (compatible) version range --- .changeset/nice-lobsters-dance.md | 7 +++++++ apps/example/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/react/package.json | 4 ++-- packages/utils/package.json | 2 +- yarn.lock | 22 +++++++++++----------- 6 files changed, 25 insertions(+), 18 deletions(-) create mode 100644 .changeset/nice-lobsters-dance.md diff --git a/.changeset/nice-lobsters-dance.md b/.changeset/nice-lobsters-dance.md new file mode 100644 index 00000000..01dd11f3 --- /dev/null +++ b/.changeset/nice-lobsters-dance.md @@ -0,0 +1,7 @@ +--- +"@reactive-dot/react": patch +"@reactive-dot/utils": patch +"@reactive-dot/core": patch +--- + +Use `^` (compatible) version range. diff --git a/apps/example/package.json b/apps/example/package.json index e57f3985..37dbbf00 100644 --- a/apps/example/package.json +++ b/apps/example/package.json @@ -11,7 +11,7 @@ "postinstall": "npx papi" }, "dependencies": { - "@reactive-dot/react": "workspace:*", + "@reactive-dot/react": "workspace:^", "@walletconnect/modal": "^2.6.2", "@walletconnect/universal-provider": "^2.14.0", "date-fns": "^3.6.0", @@ -22,7 +22,7 @@ "react-hot-toast": "^2.4.1" }, "devDependencies": { - "@reactive-dot/eslint-config": "workspace:*", + "@reactive-dot/eslint-config": "workspace:^", "@tsconfig/recommended": "^1.0.7", "@tsconfig/strictest": "^2.0.5", "@tsconfig/vite-react": "^3.0.2", diff --git a/packages/core/package.json b/packages/core/package.json index 4844af50..37627cb9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -39,10 +39,10 @@ "lint": "eslint src" }, "dependencies": { - "@reactive-dot/utils": "workspace:*" + "@reactive-dot/utils": "workspace:^" }, "devDependencies": { - "@reactive-dot/eslint-config": "workspace:*", + "@reactive-dot/eslint-config": "workspace:^", "@tsconfig/recommended": "^1.0.7", "@tsconfig/strictest": "^2.0.5", "@walletconnect/modal": "^2.6.2", diff --git a/packages/react/package.json b/packages/react/package.json index 1eb356ef..cbd6b7b6 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -34,12 +34,12 @@ "lint": "eslint src" }, "dependencies": { - "@reactive-dot/core": "workspace:*", + "@reactive-dot/core": "workspace:^", "jotai": "^2.9.0", "jotai-scope": "^0.7.0" }, "devDependencies": { - "@reactive-dot/eslint-config": "workspace:*", + "@reactive-dot/eslint-config": "workspace:^", "@tsconfig/recommended": "^1.0.7", "@tsconfig/strictest": "^2.0.5", "@types/react": "^18.3.3", diff --git a/packages/utils/package.json b/packages/utils/package.json index b7530923..e2501099 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -34,7 +34,7 @@ "test": "vitest run" }, "devDependencies": { - "@reactive-dot/eslint-config": "workspace:*", + "@reactive-dot/eslint-config": "workspace:^", "@tsconfig/recommended": "^1.0.7", "@tsconfig/strictest": "^2.0.5", "eslint": "^9.7.0", diff --git a/yarn.lock b/yarn.lock index 0874f722..27403185 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4070,12 +4070,12 @@ __metadata: languageName: node linkType: hard -"@reactive-dot/core@workspace:*, @reactive-dot/core@workspace:packages/core": +"@reactive-dot/core@workspace:^, @reactive-dot/core@workspace:packages/core": version: 0.0.0-use.local resolution: "@reactive-dot/core@workspace:packages/core" dependencies: - "@reactive-dot/eslint-config": "workspace:*" - "@reactive-dot/utils": "workspace:*" + "@reactive-dot/eslint-config": "workspace:^" + "@reactive-dot/utils": "workspace:^" "@tsconfig/recommended": "npm:^1.0.7" "@tsconfig/strictest": "npm:^2.0.5" "@walletconnect/modal": "npm:^2.6.2" @@ -4114,7 +4114,7 @@ __metadata: languageName: unknown linkType: soft -"@reactive-dot/eslint-config@workspace:*, @reactive-dot/eslint-config@workspace:packages/eslint-config": +"@reactive-dot/eslint-config@workspace:^, @reactive-dot/eslint-config@workspace:packages/eslint-config": version: 0.0.0-use.local resolution: "@reactive-dot/eslint-config@workspace:packages/eslint-config" dependencies: @@ -4135,8 +4135,8 @@ __metadata: version: 0.0.0-use.local resolution: "@reactive-dot/example@workspace:apps/example" dependencies: - "@reactive-dot/eslint-config": "workspace:*" - "@reactive-dot/react": "workspace:*" + "@reactive-dot/eslint-config": "workspace:^" + "@reactive-dot/react": "workspace:^" "@tsconfig/recommended": "npm:^1.0.7" "@tsconfig/strictest": "npm:^2.0.5" "@tsconfig/vite-react": "npm:^3.0.2" @@ -4157,12 +4157,12 @@ __metadata: languageName: unknown linkType: soft -"@reactive-dot/react@workspace:*, @reactive-dot/react@workspace:packages/react": +"@reactive-dot/react@workspace:^, @reactive-dot/react@workspace:packages/react": version: 0.0.0-use.local resolution: "@reactive-dot/react@workspace:packages/react" dependencies: - "@reactive-dot/core": "workspace:*" - "@reactive-dot/eslint-config": "workspace:*" + "@reactive-dot/core": "workspace:^" + "@reactive-dot/eslint-config": "workspace:^" "@tsconfig/recommended": "npm:^1.0.7" "@tsconfig/strictest": "npm:^2.0.5" "@types/react": "npm:^18.3.3" @@ -4177,11 +4177,11 @@ __metadata: languageName: unknown linkType: soft -"@reactive-dot/utils@workspace:*, @reactive-dot/utils@workspace:packages/utils": +"@reactive-dot/utils@workspace:^, @reactive-dot/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@reactive-dot/utils@workspace:packages/utils" dependencies: - "@reactive-dot/eslint-config": "workspace:*" + "@reactive-dot/eslint-config": "workspace:^" "@tsconfig/recommended": "npm:^1.0.7" "@tsconfig/strictest": "npm:^2.0.5" eslint: "npm:^9.7.0"