Skip to content

Commit

Permalink
chore(deps): unify devDependencies versions
Browse files Browse the repository at this point in the history
  • Loading branch information
SoonIter committed Apr 22, 2024
1 parent f127348 commit bdb2e06
Show file tree
Hide file tree
Showing 22 changed files with 286 additions and 437 deletions.
4 changes: 2 additions & 2 deletions e2e/fixtures/custom-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@rspress/plugin-playground": "workspace:*",
"@rspress/plugin-preview": "workspace:*",
"@rspress/shared": "workspace:*",
"react": "^18",
"react-dom": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-transition-group": "4.4.5",
"rspress": "workspace:*",
"solid-js": "^1.8.12"
Expand Down
4 changes: 0 additions & 4 deletions e2e/fixtures/modern-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,5 @@
"react-dom": "^18.2.0",
"typescript": "^5"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"sideEffects": []
}
4 changes: 2 additions & 2 deletions e2e/fixtures/plugin-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@rspress/plugin-playground": "workspace:*",
"@rspress/plugin-preview": "workspace:*",
"@rspress/shared": "workspace:*",
"react": "^18",
"react-dom": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-transition-group": "4.4.5",
"rspress": "workspace:*",
"solid-js": "^1.8.12"
Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"changeset": "changeset",
"prepare": "npm run build && husky install",
"check-spell": "npx cspell",
"check-dependency-version": "check-dependency-version-consistency . --dep-type devDependencies",
"dev": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t dev --exclude @rspress-fixture/*",
"build": "cross-env NX_DAEMON=false NX_REJECT_UNKNOWN_LOCAL_CACHE=0 nx run-many -t build --exclude @rspress-fixture/*",
"test": "pnpm test:unit && pnpm test:e2e",
Expand All @@ -25,6 +26,9 @@
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs}": [
"biome lint . --diagnostic-level=warn"
],
"package.json": [
"pnpm run check-dependency-version"
]
},
"workspaces": {
Expand All @@ -36,6 +40,7 @@
]
},
"devDependencies": {
"check-dependency-version-consistency": "^4.1.0",
"@biomejs/biome": "1.5.3",
"@changesets/cli": "^2.27.1",
"@manypkg/get-packages": "^2.2.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
},
"devDependencies": {
"@types/jest": "~29.2.4",
"@types/node": "~16.11.7",
"@types/react": "~18.0.26",
"rimraf": "~3.0.2",
"@types/node": "^18.11.17",
"@types/react": "^18",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4"
"typescript": "^5"
},
"sideEffects": [],
"publishConfig": {
Expand Down
10 changes: 5 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,19 @@
"@modern-js/plugin-tailwindcss": "2.49.0",
"@modern-js/tsconfig": "2.49.0",
"@types/body-scroll-lock": "^3.1.0",
"@types/hast": "^2.3.4",
"@types/hast": "3.0.3",
"@types/html-to-text": "^8.1.1",
"@types/jest": "^26.0.9",
"@types/lodash-es": "^4.17.6",
"@types/jest": "~29.2.4",
"@types/lodash-es": "^4.17.8",
"@types/mdast": "^3.0.10",
"@types/node": "^14",
"@types/node": "^18.11.17",
"@types/nprogress": "^0.2.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/yaml-front-matter": "^4.1.0",
"rimraf": "^3.0.2",
"typescript": "^5",
"vitest": "0.33.0",
"vitest": "0.34.1",
"webpack": "^5.88.1"
},
"sideEffects": [
Expand Down
8 changes: 4 additions & 4 deletions packages/create-rspress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
},
"devDependencies": {
"@types/jest": "~29.2.4",
"@types/node": "~16.11.7",
"@types/node": "^18.11.17",
"@types/prompts": "^2.4.4",
"@types/react": "~18.0.26",
"@types/react": "^18",
"@types/fs-extra": "11.0.4",
"rimraf": "~3.0.2",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"typescript": "^5",
"cac": "6.7.14",
"chalk": "5.3.0",
"fs-extra": "11.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/document/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@documate/documate": "^0.1.0",
"@documate/react": "0.2.1",
"@types/react": "18.2.0",
"@types/react": "^18",
"framer-motion": "10.18.0",
"rsbuild-plugin-google-analytics": "^1.0.0",
"rsbuild-plugin-open-graph": "^1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/modern-plugin-rspress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
},
"devDependencies": {
"@modern-js/utils": "2.49.0",
"@types/node": "^14",
"@types/node": "^18.11.17",
"@types/react": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5",
"vitest": "0.33.0"
"vitest": "0.34.1"
},
"sideEffects": [
"**/*.scss"
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-api-docgen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"mdast-util-mdxjs-esm": "^1.3.0",
"react": "^18",
"react-dom": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"typescript": "^5",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.1"
},
"peerDependencies": {
"react": ">=17",
"react": ">=17.0.0",
"react-router-dom": "^6.8.1",
"@rspress/core": "^1.0.2",
"typescript": "^5"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-auto-nav-sidebar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5",
"vitest": "0.33.0",
"vitest": "0.34.1",
"react": "^18.2.0"
},
"sideEffects": [
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-last-updated/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5",
"vitest": "0.33.0",
"vitest": "0.34.1",
"react": "^18.2.0"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-medium-zoom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5",
"vitest": "0.33.0",
"react": "^17",
"vitest": "0.34.1",
"react": "^18.2.0",
"@rspress/shared": "workspace:*"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/plugin-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"mdast-util-mdxjs-esm": "^1.3.0",
"react": "^18",
"react-dom": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"typescript": "^5",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.1"
},
"peerDependencies": {
"@rspress/core": "^1.0.2",
"react": ">=17",
"react": ">=17.0.0",
"react-router-dom": "^6.8.1"
},
"files": [
Expand Down
9 changes: 4 additions & 5 deletions packages/plugin-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,26 @@
"@rsbuild/plugin-react": "0.6.1",
"@rspress/shared": "workspace:*",
"@rspress/theme-default": "workspace:*",
"get-port": "6.1.2",
"qrcode.react": "^3.1.0",
"remark-gfm": "3.0.1",
"lodash": "4.17.21"
},
"devDependencies": {
"@types/mdast": "^3.0.10",
"@types/node": "^18.11.17",
"@types/lodash": "4.17.0",
"@types/lodash": "^4.17.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"mdast-util-mdxjs-esm": "^1.3.0",
"react": "^18",
"react-dom": "^18",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.1",
"typescript": "^5",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.1"
},
"peerDependencies": {
"react": ">=17",
"react": ">=17.0.0",
"react-router-dom": "^6.8.1",
"@rspress/core": "^1.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-rss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/node": "^18.11.17",
"@types/react": "^18",
"@rspress/runtime": "workspace:*",
"react": "^18",
"react": "^18.2.0",
"typescript": "^5"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5",
"vitest": "0.33.0",
"vitest": "0.34.1",
"react": "^18.2.0",
"@types/hast": "3.0.3",
"unified": "10.1.2"
"unified": "^10.1.2"
},
"sideEffects": [
"*.css",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin-typedoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5",
"vitest": "0.33.0",
"react": "^18"
"vitest": "0.34.1",
"react": "^18.2.0"
},
"peerDependencies": {
"rspress": "^1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"devDependencies": {
"@modern-js/tsconfig": "2.49.0",
"@types/jest": "^26.0.9",
"@types/jest": "~29.2.4",
"@types/react": "^18",
"@types/react-dom": "^18",
"typescript": "^5"
Expand Down
12 changes: 6 additions & 6 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@rsbuild/core": "0.6.1",
"unified": "10.1.2",
"unified": "^10.1.2",
"chalk": "4.1.2",
"execa": "5.1.1",
"fs-extra": "11.2.0",
Expand All @@ -64,13 +64,13 @@
"@types/jest": "~29.2.4",
"@types/lodash": "^4.17.0",
"@types/lodash-es": "^4.17.8",
"@types/node": "~16.11.7",
"@types/react": "~18.0.26",
"@types/node": "^18.11.17",
"@types/react": "^18",
"@types/rechoir": "^0.6.1",
"rimraf": "~3.0.2",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"medium-zoom": "1.1.0",
"typescript": "^5",
"medium-zoom": "1.0.8",
"@types/fs-extra": "11.0.4"
},
"sideEffects": [],
Expand Down
10 changes: 5 additions & 5 deletions packages/theme-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@
"@modern-js/plugin-tailwindcss": "2.49.0",
"@modern-js/tsconfig": "2.49.0",
"@types/body-scroll-lock": "^3.1.0",
"@types/hast": "^2.3.4",
"@types/hast": "3.0.3",
"@types/html-to-text": "^8.1.1",
"@types/is-html": "^2.0.1",
"@types/jest": "^26.0.9",
"@types/lodash-es": "^4.17.6",
"@types/jest": "~29.2.4",
"@types/lodash-es": "^4.17.8",
"@types/mdast": "^3.0.10",
"@types/nprogress": "^0.2.0",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/react-syntax-highlighter": "^15.5.9",
"gray-matter": "4.0.3",
"typescript": "^5",
"vitest": "0.33.0",
"vitest": "0.34.1",
"webpack": "^5.88.1",
"tailwindcss": "3.2.7"
"tailwindcss": "^3.2.7"
},
"sideEffects": [
"*.css",
Expand Down
Loading

0 comments on commit bdb2e06

Please sign in to comment.