From e7d30d27456fdc37504f85f196f6c2c18eff2ece Mon Sep 17 00:00:00 2001 From: Grant Forrest Date: Thu, 19 Dec 2024 17:08:33 -0500 Subject: [PATCH] switch to pnpm catalogs --- apps/gnocchi/hub/package.json | 22 ++++----- apps/gnocchi/verdant/package.json | 10 ++-- apps/gnocchi/web/package.json | 32 ++++++------- apps/humding/verdant/package.json | 8 ++-- apps/humding/web/package.json | 44 +++++++++--------- apps/marginalia/verdant/package.json | 8 ++-- apps/marginalia/web/package.json | 44 +++++++++--------- apps/names/verdant/package.json | 8 ++-- apps/names/web/package.json | 44 +++++++++--------- apps/palette/verdant/package.json | 8 ++-- apps/palette/web/package.json | 44 +++++++++--------- apps/star-chart/verdant/package.json | 8 ++-- apps/star-chart/web/package.json | 44 +++++++++--------- apps/trip-tick/verdant/package.json | 8 ++-- apps/trip-tick/web/package.json | 46 +++++++++---------- apps/wish-wash/common/package.json | 14 +++--- apps/wish-wash/hub/package.json | 24 +++++----- apps/wish-wash/verdant/package.json | 8 ++-- apps/wish-wash/web/package.json | 44 +++++++++--------- blog/package.json | 8 ++-- packages/client/package.json | 26 +++++------ packages/db/package.json | 4 +- packages/graphql/package.json | 8 ++-- pnpm-workspace.yaml | 26 +++++++++++ .../create-app/template/verdant/package.json | 8 ++-- scripts/create-app/template/web/package.json | 46 +++++++++---------- web/package.json | 22 ++++----- 27 files changed, 321 insertions(+), 295 deletions(-) diff --git a/apps/gnocchi/hub/package.json b/apps/gnocchi/hub/package.json index 899f2b40..a2025e1c 100644 --- a/apps/gnocchi/hub/package.json +++ b/apps/gnocchi/hub/package.json @@ -20,17 +20,17 @@ "typecheck": "tsc --build tsconfig.json" }, "peerDependencies": { - "react": "*", - "react-dom": "*", - "vite": "*", - "@a-type/ui": "*", - "@a-type/utils": "*", - "@types/react": "*", - "@types/react-dom": "*", - "typescript": "*", - "@vitejs/plugin-react-swc": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*" + "react": "catalog:", + "react-dom": "catalog:", + "vite": "catalog:", + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "typescript": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:" }, "dependencies": { "@tiptap/core": "^2.2.4", diff --git a/apps/gnocchi/verdant/package.json b/apps/gnocchi/verdant/package.json index 3fa5c856..81fdee49 100644 --- a/apps/gnocchi/verdant/package.json +++ b/apps/gnocchi/verdant/package.json @@ -19,11 +19,11 @@ "build": "tsc && node ./scripts/copyClient.js" }, "peerDependencies": { - "react": "*", - "@verdant-web/store": "*", - "@verdant-web/react": "*", - "@verdant-web/cli": "*", - "gql.tada": "*" + "react": "catalog:", + "@verdant-web/store": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/cli": "catalog:", + "gql.tada": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/gnocchi/web/package.json b/apps/gnocchi/web/package.json index bb9011ca..3d60bc65 100644 --- a/apps/gnocchi/web/package.json +++ b/apps/gnocchi/web/package.json @@ -14,22 +14,22 @@ "typecheck": "tsc --build tsconfig.json" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/humding/verdant/package.json b/apps/humding/verdant/package.json index 39ff4531..b79dd66d 100644 --- a/apps/humding/verdant/package.json +++ b/apps/humding/verdant/package.json @@ -10,9 +10,9 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" } } diff --git a/apps/humding/web/package.json b/apps/humding/web/package.json index 674b51d8..02da4a02 100644 --- a/apps/humding/web/package.json +++ b/apps/humding/web/package.json @@ -9,28 +9,28 @@ "preview": "vite preview" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/marginalia/verdant/package.json b/apps/marginalia/verdant/package.json index 8ca9babe..a8766dc7 100644 --- a/apps/marginalia/verdant/package.json +++ b/apps/marginalia/verdant/package.json @@ -10,10 +10,10 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" }, "dependencies": { "cuid": "^2.1.8" diff --git a/apps/marginalia/web/package.json b/apps/marginalia/web/package.json index e9d8dc6c..6a8c85ca 100644 --- a/apps/marginalia/web/package.json +++ b/apps/marginalia/web/package.json @@ -9,28 +9,28 @@ "preview": "vite preview" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/names/verdant/package.json b/apps/names/verdant/package.json index 75187db1..04794a3f 100644 --- a/apps/names/verdant/package.json +++ b/apps/names/verdant/package.json @@ -10,9 +10,9 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" } } diff --git a/apps/names/web/package.json b/apps/names/web/package.json index 15417ee7..9ebffe53 100644 --- a/apps/names/web/package.json +++ b/apps/names/web/package.json @@ -10,28 +10,28 @@ "generate": "cd ../verdant && pnpm generate" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/palette/verdant/package.json b/apps/palette/verdant/package.json index c53785b5..142495fa 100644 --- a/apps/palette/verdant/package.json +++ b/apps/palette/verdant/package.json @@ -10,9 +10,9 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" } } diff --git a/apps/palette/web/package.json b/apps/palette/web/package.json index 4d9d232e..9b81d9d6 100644 --- a/apps/palette/web/package.json +++ b/apps/palette/web/package.json @@ -9,28 +9,28 @@ "preview": "vite preview" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@a-type/react-space": "^0.2.15", diff --git a/apps/star-chart/verdant/package.json b/apps/star-chart/verdant/package.json index e30257b9..828eaf1a 100644 --- a/apps/star-chart/verdant/package.json +++ b/apps/star-chart/verdant/package.json @@ -10,9 +10,9 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" } } diff --git a/apps/star-chart/web/package.json b/apps/star-chart/web/package.json index 24f6be10..a315c857 100644 --- a/apps/star-chart/web/package.json +++ b/apps/star-chart/web/package.json @@ -9,28 +9,28 @@ "preview": "vite preview" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/trip-tick/verdant/package.json b/apps/trip-tick/verdant/package.json index 0d76803e..784b9e07 100644 --- a/apps/trip-tick/verdant/package.json +++ b/apps/trip-tick/verdant/package.json @@ -9,10 +9,10 @@ "preflight": "verdant preflight -s ./src/schema.ts -o ./src/client" }, "peerDependencies": { - "react": "*", - "@verdant-web/store": "*", - "@verdant-web/react": "*", - "@verdant-web/cli": "*" + "react": "catalog:", + "@verdant-web/store": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/cli": "catalog:" }, "dependencies": { "cuid": "^2.1.8" diff --git a/apps/trip-tick/web/package.json b/apps/trip-tick/web/package.json index 7b6ecc29..33f26489 100644 --- a/apps/trip-tick/web/package.json +++ b/apps/trip-tick/web/package.json @@ -9,29 +9,29 @@ "preview": "vite preview" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "@verdant-web/react": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "@verdant-web/react": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/apps/wish-wash/common/package.json b/apps/wish-wash/common/package.json index 93800255..5bbde9a3 100644 --- a/apps/wish-wash/common/package.json +++ b/apps/wish-wash/common/package.json @@ -16,13 +16,13 @@ "build": "tsc" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", "@biscuits/graphql": "workspace:*", - "react": "*", - "react-dom": "*", - "@types/react": "*", - "@types/react-dom": "*", - "typescript": "*" + "react": "catalog:", + "react-dom": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "typescript": "catalog:" } } diff --git a/apps/wish-wash/hub/package.json b/apps/wish-wash/hub/package.json index 8ebeac09..9f3187c7 100644 --- a/apps/wish-wash/hub/package.json +++ b/apps/wish-wash/hub/package.json @@ -21,18 +21,18 @@ "typecheck": "tsc --build tsconfig.json" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "react": "*", - "react-dom": "*", - "vite": "*", - "typescript": "*", - "@vitejs/plugin-react-swc": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "@types/react": "*", - "@types/react-dom": "*", - "gql.tada": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "vite": "catalog:", + "typescript": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "gql.tada": "catalog:" }, "dependencies": { "@wish-wash.biscuits/common": "workspace:*", diff --git a/apps/wish-wash/verdant/package.json b/apps/wish-wash/verdant/package.json index cacf4489..814df47e 100644 --- a/apps/wish-wash/verdant/package.json +++ b/apps/wish-wash/verdant/package.json @@ -10,10 +10,10 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" }, "volta": { "node": "20.17.0" diff --git a/apps/wish-wash/web/package.json b/apps/wish-wash/web/package.json index 8135fc5f..c7d126d1 100644 --- a/apps/wish-wash/web/package.json +++ b/apps/wish-wash/web/package.json @@ -9,28 +9,28 @@ "preview": "vite preview" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:" }, "dependencies": { "@biscuits/client": "workspace:*", diff --git a/blog/package.json b/blog/package.json index f2b2a363..189f9d5d 100644 --- a/blog/package.json +++ b/blog/package.json @@ -10,10 +10,10 @@ "astro": "astro" }, "peerDependencies": { - "@a-type/ui": "*", - "typescript": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*" + "@a-type/ui": "catalog:", + "typescript": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:" }, "dependencies": { "@astrojs/check": "^0.9.4", diff --git a/packages/client/package.json b/packages/client/package.json index c974fd43..f35d3587 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -65,19 +65,19 @@ "@stripe/stripe-js": "4.2.0" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "@react-spring/web": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "react": "*", - "valtio": "*", - "vite-plugin-pwa": "*", - "gql.tada": "*", - "typescript": "*", - "@unocss/transformer-variant-group": "*", - "@types/react": "*", - "unocss": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "@react-spring/web": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "react": "catalog:", + "valtio": "catalog:", + "vite-plugin-pwa": "catalog:", + "gql.tada": "catalog:", + "typescript": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "@types/react": "catalog:", + "unocss": "catalog:" }, "devDependencies": { "@types/copy": "^0.3.5", diff --git a/packages/db/package.json b/packages/db/package.json index 0ae26f5b..aeade703 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -26,8 +26,8 @@ }, "type": "module", "peerDependencies": { - "@a-type/utils": "*", - "typescript": "*" + "@a-type/utils": "catalog:", + "typescript": "catalog:" }, "dependencies": { "@a-type/kysely": "^1.1.0", diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 9d5136ff..41a7c436 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -27,10 +27,10 @@ }, "type": "module", "peerDependencies": { - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "typescript": "*" + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "typescript": "catalog:" }, "dependencies": { "@a-type/auth-client": "1.0.13", diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index c42fa117..a49bfb0f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -5,3 +5,29 @@ packages: - 'apps/**/*' - 'blog' - 'cdk' + +catalog: + '@a-type/ui': 1.3.4 + '@a-type/utils': 1.1.4 + '@originjs/vite-plugin-commonjs': 1.0.3 + '@react-spring/web': 9.7.5 + '@unocss/transformer-variant-group': ^0.65.2 + '@verdant-web/cli': 4.7.2 + '@verdant-web/react': 40.2.1 + '@verdant-web/react-router': 0.7.1 + '@verdant-web/store': 4.1.0 + '@vitejs/plugin-react-swc': 3.7.2 + gql.tada: 1.8.10 + react: 19.0.0 + react-dom: 19.0.0 + typescript: 5.7.2 + unocss: ^0.65.2 + valtio: ^2.1.2 + vite: ^6.0.3 + vite-plugin-pwa: ^0.21.1 + workbox-core: ^7.3.0 + workbox-expiration: ^7.3.0 + workbox-precaching: ^7.3.0 + workbox-routing: ^7.3.0 + workbox-strategies: ^7.3.0 + workbox-window: ^7.3.0 diff --git a/scripts/create-app/template/verdant/package.json b/scripts/create-app/template/verdant/package.json index ae4485af..61a4c0d7 100644 --- a/scripts/create-app/template/verdant/package.json +++ b/scripts/create-app/template/verdant/package.json @@ -10,9 +10,9 @@ "build": "pnpm run preflight" }, "peerDependencies": { - "react": "*", - "@verdant-web/cli": "*", - "@verdant-web/react": "*", - "@verdant-web/store": "*" + "react": "catalog:", + "@verdant-web/cli": "catalog:", + "@verdant-web/react": "catalog:", + "@verdant-web/store": "catalog:" } } diff --git a/scripts/create-app/template/web/package.json b/scripts/create-app/template/web/package.json index 1a4b82ad..d218991e 100644 --- a/scripts/create-app/template/web/package.json +++ b/scripts/create-app/template/web/package.json @@ -10,29 +10,29 @@ "generate": "cd ../verdant && pnpm generate" }, "peerDependencies": { - "@a-type/ui": "*", - "@a-type/utils": "*", - "gql.tada": "*", - "react": "*", - "react-dom": "*", - "valtio": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@verdant-web/react-router": "*", - "@verdant-web/store": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*", - "vite-plugin-pwa": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "workbox-core": "*", - "workbox-expiration": "*", - "workbox-precaching": "*", - "workbox-routing": "*", - "workbox-strategies": "*", - "workbox-window": "*", - "@originjs/vite-plugin-commonjs": "*" + "@a-type/ui": "catalog:", + "@a-type/utils": "catalog:", + "gql.tada": "catalog:", + "react": "catalog:", + "react-dom": "catalog:", + "valtio": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@verdant-web/react-router": "catalog:", + "@verdant-web/store": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:", + "vite-plugin-pwa": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "workbox-core": "catalog:", + "workbox-expiration": "catalog:", + "workbox-precaching": "catalog:", + "workbox-routing": "catalog:", + "workbox-strategies": "catalog:", + "workbox-window": "catalog:", + "@originjs/vite-plugin-commonjs": "catalog:" }, "dependencies": { "@{{todoId}}.biscuits/verdant": "workspace:*", diff --git a/web/package.json b/web/package.json index dfdaf4df..ecd34cf1 100644 --- a/web/package.json +++ b/web/package.json @@ -11,17 +11,17 @@ "prepare-video": "ffmpeg -c:v libx265 -crf 25 -filter:v scale=-1:720 -i" }, "peerDependencies": { - "react": "*", - "react-dom": "*", - "@types/react": "*", - "@types/react-dom": "*", - "@a-type/ui": "*", - "gql.tada": "*", - "unocss": "*", - "@unocss/transformer-variant-group": "*", - "typescript": "*", - "vite": "*", - "@vitejs/plugin-react-swc": "*" + "react": "catalog:", + "react-dom": "catalog:", + "@types/react": "catalog:", + "@types/react-dom": "catalog:", + "@a-type/ui": "catalog:", + "gql.tada": "catalog:", + "unocss": "catalog:", + "@unocss/transformer-variant-group": "catalog:", + "typescript": "catalog:", + "vite": "catalog:", + "@vitejs/plugin-react-swc": "catalog:" }, "dependencies": { "@a-type/auth-client": "1.0.13",