pnpx codemod pnpm/catalog

This commit is contained in:
vchikalkin 2024-12-17 15:18:42 +03:00
parent 3f4f47ed8e
commit ab65579ccc
5 changed files with 54 additions and 18 deletions

View File

@ -5,8 +5,8 @@
"main": "index.js",
"license": "MIT",
"dependencies": {
"telegraf": "^4.16.3",
"zod": "^3.24.1"
"telegraf": "catalog:",
"zod": "catalog:"
},
"scripts": {
"build": "rimraf ./build & tsc -p tsconfig.json",
@ -21,8 +21,8 @@
"@repo/lint-staged-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"lint-staged": "catalog:",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"rimraf": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:"
}
}

View File

@ -16,16 +16,16 @@
"dependencies": {
"@apollo/client": "catalog:",
"@repo/ui": "workspace:*",
"@telegram-apps/sdk-react": "^2.0.19",
"@telegram-apps/sdk-react": "catalog:",
"graphql": "catalog:",
"lucide-react": "catalog:",
"next": "catalog:",
"next-intl": "^3.26.0",
"next-intl": "catalog:",
"react": "catalog:",
"react-dom": "catalog:"
},
"devDependencies": {
"@playwright/test": "^1.49.1",
"@playwright/test": "catalog:",
"@repo/eslint-config": "workspace:*",
"@repo/lint-staged-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
@ -36,7 +36,7 @@
"@types/react-dom": "catalog:",
"@vitejs/plugin-react": "catalog:",
"autoprefixer": "catalog:",
"eruda": "^3.4.1",
"eruda": "catalog:",
"jsdom": "catalog:",
"lint-staged": "catalog:",
"postcss": "catalog:",

View File

@ -44,7 +44,7 @@
"typescript": "catalog:"
},
"dependencies": {
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-avatar": "catalog:",
"react": "catalog:",
"react-dom": "catalog:"
}

45
pnpm-lock.yaml generated
View File

@ -24,9 +24,18 @@ catalogs:
'@graphql-typed-document-node/core':
specifier: ^3.2.0
version: 3.2.0
'@playwright/test':
specifier: ^1.49.1
version: 1.49.1
'@radix-ui/react-avatar':
specifier: ^1.1.2
version: 1.1.2
'@radix-ui/react-slot':
specifier: ^1.1.0
version: 1.1.0
'@telegram-apps/sdk-react':
specifier: ^2.0.19
version: 2.0.19
'@testing-library/react':
specifier: ^16.1.0
version: 16.1.0
@ -54,6 +63,9 @@ catalogs:
clsx:
specifier: ^2.1.1
version: 2.1.1
eruda:
specifier: ^3.4.1
version: 3.4.1
eslint:
specifier: ^9.15.0
version: 9.15.0
@ -81,6 +93,9 @@ catalogs:
next:
specifier: ^15.1.0
version: 15.1.0
next-intl:
specifier: ^3.26.0
version: 3.26.0
postcss:
specifier: ^8.4.49
version: 8.4.49
@ -96,6 +111,9 @@ catalogs:
react-dom:
specifier: ^19
version: 19.0.0
rimraf:
specifier: ^6.0.1
version: 6.0.1
tailwind-merge:
specifier: ^2.5.5
version: 2.5.5
@ -105,6 +123,12 @@ catalogs:
tailwindcss-animate:
specifier: ^1.0.7
version: 1.0.7
telegraf:
specifier: ^4.16.3
version: 4.16.3
tsx:
specifier: ^4.19.2
version: 4.19.2
turbo:
specifier: ^2.3.2
version: 2.3.2
@ -117,6 +141,9 @@ catalogs:
vitest:
specifier: ^2.1.8
version: 2.1.8
zod:
specifier: ^3.24.1
version: 3.24.1
importers:
@ -138,10 +165,10 @@ importers:
apps/bot:
dependencies:
telegraf:
specifier: ^4.16.3
specifier: 'catalog:'
version: 4.16.3
zod:
specifier: ^3.24.1
specifier: 'catalog:'
version: 3.24.1
devDependencies:
'@repo/eslint-config':
@ -157,10 +184,10 @@ importers:
specifier: 'catalog:'
version: 15.2.10
rimraf:
specifier: ^6.0.1
specifier: 'catalog:'
version: 6.0.1
tsx:
specifier: ^4.19.2
specifier: 'catalog:'
version: 4.19.2
typescript:
specifier: 'catalog:'
@ -175,7 +202,7 @@ importers:
specifier: workspace:*
version: link:../../packages/ui
'@telegram-apps/sdk-react':
specifier: ^2.0.19
specifier: 'catalog:'
version: 2.0.19(@types/react@19.0.1)(react@19.0.0)
graphql:
specifier: 'catalog:'
@ -187,7 +214,7 @@ importers:
specifier: 'catalog:'
version: 15.1.0(@babel/core@7.26.0)(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
next-intl:
specifier: ^3.26.0
specifier: 'catalog:'
version: 3.26.0(next@15.1.0(@babel/core@7.26.0)(@playwright/test@1.49.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0))(react@19.0.0)
react:
specifier: 'catalog:'
@ -197,7 +224,7 @@ importers:
version: 19.0.0(react@19.0.0)
devDependencies:
'@playwright/test':
specifier: ^1.49.1
specifier: 'catalog:'
version: 1.49.1
'@repo/eslint-config':
specifier: workspace:*
@ -230,7 +257,7 @@ importers:
specifier: 'catalog:'
version: 10.4.20(postcss@8.4.49)
eruda:
specifier: ^3.4.1
specifier: 'catalog:'
version: 3.4.1
jsdom:
specifier: 'catalog:'
@ -300,7 +327,7 @@ importers:
packages/ui:
dependencies:
'@radix-ui/react-avatar':
specifier: ^1.1.2
specifier: 'catalog:'
version: 1.1.2(@types/react-dom@19.0.1)(@types/react@19.0.1)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)
react:
specifier: 'catalog:'

View File

@ -8,7 +8,10 @@ catalog:
"@graphql-codegen/typescript": ^4.1.2
"@graphql-codegen/typescript-operations": ^4.4.0
"@graphql-typed-document-node/core": ^3.2.0
"@playwright/test": ^1.49.1
"@radix-ui/react-avatar": ^1.1.2
"@radix-ui/react-slot": ^1.1.0
"@telegram-apps/sdk-react": ^2.0.19
"@testing-library/react": ^16.1.0
"@types/node": ^20
"@types/react": ^19
@ -18,6 +21,7 @@ catalog:
autoprefixer: ^10.4.20
class-variance-authority: ^0.7.1
clsx: ^2.1.1
eruda: ^3.4.1
eslint: ^9.15.0
eslint-plugin-tailwindcss: ^3.17.5
eslint-plugin-turbo: ^2.3.0
@ -27,15 +31,20 @@ catalog:
lint-staged: ^15.2.10
lucide-react: ^0.462.0
next: ^15.1.0
next-intl: ^3.26.0
postcss: ^8.4.49
postcss-load-config: ^6.0.1
prettier: ^3.2.5
react: ^19
react-dom: ^19
rimraf: ^6.0.1
tailwind-merge: ^2.5.5
tailwindcss: ^3.4.15
tailwindcss-animate: ^1.0.7
telegraf: ^4.16.3
tsx: ^4.19.2
turbo: ^2.3.2
typescript: ^5.7
vite-tsconfig-paths: ^5.1.4
vitest: ^2.1.8
zod: ^3.24.1