Skip to content

Commit

Permalink
fix(deps): clean up more unused dependencies (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Nov 16, 2024
1 parent 610997f commit 0a5720e
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 105 deletions.
14 changes: 3 additions & 11 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,17 @@
"@rspress/runtime": "workspace:*",
"@rspress/shared": "workspace:*",
"@rspress/theme-default": "workspace:*",
"body-scroll-lock": "4.0.0-beta.0",
"copy-to-clipboard": "^3.3.3",
"enhanced-resolve": "5.17.1",
"github-slugger": "^2.0.0",
"hast-util-from-html": "^2.0.3",
"hast-util-heading-rank": "^3.0.0",
"html-to-text": "^9.0.5",
"htmr": "^1.0.2",
"is-html": "^3.1.0",
"lodash-es": "^4.17.21",
"mdast-util-mdxjs-esm": "^1.3.1",
"node-fetch": "3.3.2",
"nprogress": "^0.2.0",
"postcss": "8.4.49",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-helmet-async": "^1.3.0",
Expand All @@ -78,20 +75,16 @@
"rehype-stringify": "^9.0.4",
"remark": "^14.0.3",
"remark-gfm": "3.0.1",
"remark-html": "^15.0.2",
"remark-parse": "^10.0.2",
"remark-rehype": "^10.1.0",
"rspack-plugin-virtual-module": "0.1.13",
"source-map": "0.7.4",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.2",
"unist-util-visit-children": "^3.0.0",
"yaml-front-matter": "^4.1.1"
"unist-util-visit-children": "^3.0.0"
},
"devDependencies": {
"@modern-js/plugin-tailwindcss": "2.62.0",
"@modern-js/tsconfig": "2.62.0",
"@types/body-scroll-lock": "^3.1.2",
"@types/hast": "3.0.4",
"@types/html-to-text": "^9.0.4",
"@types/jest": "~29.5.14",
Expand All @@ -101,12 +94,11 @@
"@types/nprogress": "^0.2.3",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/yaml-front-matter": "^4.1.3",
"postcss": "8.4.49",
"rimraf": "^3.0.2",
"tailwindcss": "^3.4.14",
"typescript": "^5.5.3",
"vitest": "2.1.4",
"webpack": "^5.96.1"
"vitest": "2.1.4"
},
"sideEffects": [
"*.css",
Expand Down
4 changes: 1 addition & 3 deletions packages/plugin-preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"node": ">=14.17.6"
},
"dependencies": {
"@mdx-js/mdx": "2.3.0",
"@rsbuild/core": "~1.1.1",
"@rsbuild/plugin-babel": "~1.0.3",
"@rsbuild/plugin-less": "~1.1.0",
Expand All @@ -32,8 +31,7 @@
"@rspress/shared": "workspace:*",
"@rspress/theme-default": "workspace:*",
"lodash": "4.17.21",
"qrcode.react": "^3.2.0",
"remark-gfm": "3.0.1"
"qrcode.react": "^3.2.0"
},
"devDependencies": {
"@types/lodash": "^4.17.13",
Expand Down
10 changes: 2 additions & 8 deletions packages/theme-default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
"body-scroll-lock": "4.0.0-beta.0",
"copy-to-clipboard": "^3.3.3",
"flexsearch": "0.7.43",
"github-slugger": "^2.0.0",
"hast-util-from-html": "^2.0.3",
"html-to-text": "^9.0.5",
"htmlparser2": "^9.1.0",
"htmr": "^1.0.2",
"lodash-es": "^4.17.21",
Expand All @@ -52,15 +49,13 @@
"react-dom": "^18.3.1",
"react-helmet-async": "^1.3.0",
"react-syntax-highlighter": "^15.6.1",
"react-transition-group": "4.4.5",
"rspack-plugin-virtual-module": "0.1.13"
"react-transition-group": "4.4.5"
},
"devDependencies": {
"@modern-js/plugin-tailwindcss": "2.62.0",
"@modern-js/tsconfig": "2.62.0",
"@types/body-scroll-lock": "^3.1.2",
"@types/hast": "3.0.4",
"@types/html-to-text": "^9.0.4",
"@types/jest": "~29.5.14",
"@types/lodash-es": "^4.17.12",
"@types/mdast": "^4.0.4",
Expand All @@ -71,8 +66,7 @@
"gray-matter": "4.0.3",
"tailwindcss": "^3.4.14",
"typescript": "^5.5.3",
"vitest": "2.1.4",
"webpack": "^5.96.1"
"vitest": "2.1.4"
},
"sideEffects": [
"*.css",
Expand Down
Loading

0 comments on commit 0a5720e

Please sign in to comment.