Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pnpm catalog #249

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/violet-roses-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Thank you for your interest in contributing to next-yak! This document provides
Before you begin

- Install [Node.js](https://nodejs.org/en) v20.x or later
- Install [pnpm](https://pnpm.io/) v8.6.1 or later
- Install [pnpm](https://pnpm.io/) v9.7.0 or later
- Install [Rust](https://www.rust-lang.org/) toolchain <br />
**⚠️ Important**<br />
Do _not_ use brew or other package managers to install Rust, as this can lead to permission issues<br />
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"engines": {
"node": ">=20",
"pnpm": ">=9"
"pnpm": ">=9.7.0"
},
"pnpm": {
"overrides": {
Expand All @@ -31,7 +31,7 @@
"author": "Jan Nicklas",
"license": "MIT",
"devDependencies": {
"prettier": "^3.0.3",
"@changesets/cli": "^2.27.9"
"prettier": "catalog:",
"@changesets/cli": "catalog:"
}
}
28 changes: 14 additions & 14 deletions packages/benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
"codspeed:run": "NODE_ENV=production node ./codspeed/dist/index.bench.mjs"
},
"dependencies": {
"@swc/core": "1.7.42",
"next": "15.0.4",
"@swc/core": "catalog:",
"next": "catalog:",
"next-yak": "workspace:*",
"react": "19.0.0",
"react-dom": "19.0.0",
"styled-components": "6.1.1",
"yak-swc": "workspace:^"
"react": "catalog:",
"react-dom": "catalog:",
"styled-components": "catalog:",
"yak-swc": "catalog:"
},
"devDependencies": {
"@codspeed/benchmark.js-plugin": "3.1.0",
"@types/benchmark": "2.1.5",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"benchmark": "2.1.4",
"tree-kill": "1.2.2",
"tsup": "7.2.0",
"typescript": "5.5.2"
"@codspeed/benchmark.js-plugin": "catalog:",
"@types/benchmark": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"benchmark": "catalog:",
"tree-kill": "catalog:",
"tsup": "catalog:",
"typescript": "catalog:"
}
}
16 changes: 8 additions & 8 deletions packages/cross-file-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"test:watch": "vitest"
},
"devDependencies": {
"vite": "5.3.4",
"vitest": "2.0.4",
"webpack": "5.92.1",
"swc-loader": "0.2.6",
"@swc/core": "1.7.42",
"vite": "catalog:",
"vitest": "catalog:",
"webpack": "catalog:",
"swc-loader": "catalog:",
"@swc/core": "catalog:",
"next-yak": "workspace:*",
"memfs": "4.9.3",
"unionfs": "4.5.4",
"fast-glob": "3.3.2"
"memfs": "catalog:",
"unionfs": "catalog:",
"fast-glob": "catalog:"
}
}
56 changes: 28 additions & 28 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@
"prettier": "npx prettier --write \"./{lib,components,app}/**/*.{ts,tsx,js,jsx}\""
},
"dependencies": {
"@babel/preset-typescript": "7.26.0",
"@monaco-editor/react": "4.6.0",
"@next/mdx": "15.0.2",
"@shikijs/monaco": "1.22.2",
"@shikijs/transformers": "1.22.2",
"@swc/core": "1.7.42",
"fumadocs-core": "14.5.6",
"fumadocs-mdx": "11.1.2",
"fumadocs-openapi": "5.8.1",
"fumadocs-twoslash": "2.0.1",
"fumadocs-ui": "14.5.6",
"next": "15.0.4",
"next-themes": "0.4.3",
"@babel/preset-typescript": "catalog:",
"@monaco-editor/react": "catalog:",
"@next/mdx": "catalog:",
"@shikijs/monaco": "catalog:",
"@shikijs/transformers": "catalog:",
"@swc/core": "catalog:",
"fumadocs-core": "catalog:",
"fumadocs-mdx": "catalog:",
"fumadocs-openapi": "catalog:",
"fumadocs-twoslash": "catalog:",
"fumadocs-ui": "catalog:",
"next": "catalog:",
"next-themes": "catalog:",
"next-yak": "workspace:*",
"raw-loader": "4.0.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-resizable-panels": "2.1.6",
"shiki": "1.22.2",
"yak-swc": "workspace:*"
"raw-loader": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"react-resizable-panels": "catalog:",
"shiki": "catalog:",
"yak-swc": "catalog:"
},
"devDependencies": {
"@types/mdx": "2.0.13",
"@types/node": "22.9.0",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"@types/webpack": "5.28.5",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.14",
"typescript": "5.5.2"
"@types/mdx": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"@types/webpack": "catalog:",
"autoprefixer": "catalog:",
"postcss": "catalog:",
"tailwindcss": "catalog:",
"typescript": "catalog:"
}
}
38 changes: 19 additions & 19 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,27 @@
"test:watch": "jest --watch -u"
},
"dependencies": {
"@types/node": "20.4.5",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"next": "15.0.4",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"next": "catalog:",
"next-yak": "workspace:*",
"postcss-nested": "^6.2.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"typescript": "5.5.2",
"yak-swc": "workspace:*"
"postcss-nested": "catalog:",
"react": "catalog:",
"react-dom": "catalog:",
"typescript": "catalog:",
"yak-swc": "catalog:"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/dom": "10.4.0",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.12",
"@vitejs/plugin-react": "4.3.1",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"jsdom": "^22.1.0",
"vite": "5.3.4",
"vitest": "2.0.4"
"@testing-library/jest-dom": "catalog:",
"@testing-library/dom": "catalog:",
"@testing-library/react": "catalog:",
"@types/jest": "catalog:",
"@vitejs/plugin-react": "catalog:",
"jest": "catalog:",
"jest-environment-jsdom": "catalog:",
"jsdom": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}
40 changes: 20 additions & 20 deletions packages/next-yak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,28 @@
"prettier": "npx prettier --write \"./{loaders,runtime,withYak}/**/*.{ts,tsx,js,jsx}\""
},
"dependencies": {
"@babel/core": "7.23.2",
"@babel/plugin-syntax-typescript": "7.22.5",
"yak-swc": "4.0.3"
"@babel/core": "catalog:",
"@babel/plugin-syntax-typescript": "catalog:",
"yak-swc": "catalog:"
},
"devDependencies": {
"@types/babel__core": "^7.1.14",
"@types/webpack": "5.28.5",
"@babel/types": "7.23.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^16.1.0",
"@types/jest": "29.5.5",
"@types/node": "20.4.5",
"@types/react": "19.0.1",
"@types/react-dom": "19.0.1",
"fast-glob": "3.3.2",
"jsdom": "^25.0.1",
"next": "15.0.4",
"react": "19.0.0",
"typescript": "5.5.2",
"vite": "5.3.4",
"vitest": "2.0.4",
"tsup": "7.2.0"
"@types/babel__core": "catalog:",
"@types/webpack": "catalog:",
"@babel/types": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/react": "catalog:",
"@types/jest": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",
"@types/react-dom": "catalog:",
"fast-glob": "catalog:",
"jsdom": "catalog:",
"next": "catalog:",
"react": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:",
"tsup": "catalog:"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/yak-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"files": [],
"preferUnplugged": true,
"dependencies": {
"@swc/counter": "0.1.3"
"@swc/counter": "catalog:"
},
"publishConfig": {
"access": "public"
Expand Down
Loading
Loading