pnpx codemod pnpm/catalog

This commit is contained in:
vchikalkin 2024-12-23 18:34:01 +03:00
parent 23e29f90cd
commit 6ec85bd234
3 changed files with 26 additions and 60 deletions

View File

@ -4,12 +4,6 @@
"type": "module",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@apollo/client": "^3.12.3",
"jsonwebtoken": "^9.0.2",
"telegraf": "catalog:",
"zod": "catalog:"
},
"scripts": {
"build": "rimraf ./build & tsc -p tsconfig.json",
"build:watch": "tsc -w -p tsconfig.json",
@ -19,12 +13,18 @@
"lint-staged": "lint-staged",
"test:unit": "vitest"
},
"dependencies": {
"@apollo/client": "catalog:",
"jsonwebtoken": "catalog:",
"telegraf": "catalog:",
"zod": "catalog:"
},
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/graphql": "workspace:*",
"@repo/lint-staged-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/jsonwebtoken": "^9.0.7",
"@types/jsonwebtoken": "catalog:",
"@types/node": "catalog:",
"dotenv-cli": "catalog:",
"lint-staged": "catalog:",

68
pnpm-lock.yaml generated
View File

@ -7,8 +7,8 @@ settings:
catalogs:
default:
'@apollo/client':
specifier: ^3.12.2
version: 3.12.2
specifier: ^3.12.4
version: 3.12.4
'@graphql-codegen/cli':
specifier: 5.0.3
version: 5.0.3
@ -39,6 +39,9 @@ catalogs:
'@testing-library/react':
specifier: ^16.1.0
version: 16.1.0
'@types/jsonwebtoken':
specifier: ^9.0.7
version: 9.0.7
'@types/node':
specifier: ^20
version: 20.17.8
@ -87,6 +90,9 @@ catalogs:
jsdom:
specifier: ^25.0.1
version: 25.0.1
jsonwebtoken:
specifier: ^9.0.2
version: 9.0.2
lint-staged:
specifier: ^15.2.10
version: 15.2.10
@ -168,10 +174,10 @@ importers:
apps/bot:
dependencies:
'@apollo/client':
specifier: ^3.12.3
version: 3.12.3(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
specifier: 'catalog:'
version: 3.12.4(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
jsonwebtoken:
specifier: ^9.0.2
specifier: 'catalog:'
version: 9.0.2
telegraf:
specifier: 'catalog:'
@ -193,7 +199,7 @@ importers:
specifier: workspace:*
version: link:../../packages/typescript-config
'@types/jsonwebtoken':
specifier: ^9.0.7
specifier: 'catalog:'
version: 9.0.7
'@types/node':
specifier: 'catalog:'
@ -224,7 +230,7 @@ importers:
dependencies:
'@apollo/client':
specifier: 'catalog:'
version: 3.12.2(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
version: 3.12.4(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
'@repo/ui':
specifier: workspace:*
version: link:../../packages/ui
@ -422,26 +428,8 @@ packages:
resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}
engines: {node: '>=6.0.0'}
'@apollo/client@3.12.2':
resolution: {integrity: sha512-dkacsdMgVsrrQhLpN4JqZTIEfnNsPVwny+4vccSRqheWZElzUz1Xi0h39p2+TieS1f+wwvyzwpoJEV57vwzT9Q==}
peerDependencies:
graphql: ^15.0.0 || ^16.0.0
graphql-ws: ^5.5.5
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc
subscriptions-transport-ws: ^0.9.0 || ^0.11.0
peerDependenciesMeta:
graphql-ws:
optional: true
react:
optional: true
react-dom:
optional: true
subscriptions-transport-ws:
optional: true
'@apollo/client@3.12.3':
resolution: {integrity: sha512-KZ5zymRdb8bMbGUb1wP2U04ff7qIGgaC1BCdCVC+IPFiXkxEhHBc5fDEQOwAUT+vUo9KbBh3g7QK/JCOswn59w==}
'@apollo/client@3.12.4':
resolution: {integrity: sha512-S/eC9jxEW9Jg1BjD6AZonE1fHxYuvC3gFHop8FRQkUdeK63MmBD5r0DOrN2WlJbwha1MSD6A97OwXwjaujEQpA==}
peerDependencies:
graphql: ^15.0.0 || ^16.0.0
graphql-ws: ^5.5.5
@ -5823,31 +5811,7 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
'@apollo/client@3.12.2(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)':
dependencies:
'@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0)
'@wry/caches': 1.0.1
'@wry/equality': 0.5.7
'@wry/trie': 0.5.0
graphql: 16.9.0
graphql-tag: 2.12.6(graphql@16.9.0)
hoist-non-react-statics: 3.3.2
optimism: 0.18.1
prop-types: 15.8.1
rehackt: 0.1.0(@types/react@19.0.1)(react@19.0.0)
response-iterator: 0.2.6
symbol-observable: 4.0.0
ts-invariant: 0.10.3
tslib: 2.8.1
zen-observable-ts: 1.2.5
optionalDependencies:
graphql-ws: 5.16.0(graphql@16.9.0)
react: 19.0.0
react-dom: 19.0.0(react@19.0.0)
transitivePeerDependencies:
- '@types/react'
'@apollo/client@3.12.3(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)':
'@apollo/client@3.12.4(@types/react@19.0.1)(graphql-ws@5.16.0(graphql@16.9.0))(graphql@16.9.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)':
dependencies:
'@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0)
'@wry/caches': 1.0.1

View File

@ -2,7 +2,7 @@ packages:
- apps/*
- packages/*
catalog:
"@apollo/client": ^3.12.2
"@apollo/client": ^3.12.4
"@graphql-codegen/cli": 5.0.3
"@graphql-codegen/typed-document-node": ^5.0.12
"@graphql-codegen/typescript": ^4.1.2
@ -13,6 +13,7 @@ catalog:
"@radix-ui/react-slot": ^1.1.0
"@telegram-apps/sdk-react": ^2.0.19
"@testing-library/react": ^16.1.0
"@types/jsonwebtoken": ^9.0.7
"@types/node": ^20
"@types/react": ^19
"@types/react-dom": ^19
@ -29,6 +30,7 @@ catalog:
graphql: ^16.9.0
husky: ^9.1.7
jsdom: ^25.0.1
jsonwebtoken: ^9.0.2
lint-staged: ^15.2.10
lucide-react: ^0.462.0
next: ^15.1.0