Skip to content

Commit

Permalink
chore: update npm dependencies and remove redundant vite version in p…
Browse files Browse the repository at this point in the history
…ackage.json
  • Loading branch information
Daydreamer-riri committed Jun 24, 2024
1 parent 3148c34 commit 1b46040
Show file tree
Hide file tree
Showing 10 changed files with 1,128 additions and 1,436 deletions.
8 changes: 4 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@
"preview": "vite preview"
},
"dependencies": {
"@unocss/reset": "^0.58.0",
"@unocss/reset": "^0.61.0",
"clsx": "^2.0.0"

},
"devDependencies": {
"@mdx-js/rollup": "3.0.1",
"@types/mdx": "2.0.11",
"@shikijs/rehype": "1.9.0",
"@types/mdx": "2.0.13",
"@vitejs/plugin-react-swc": "^3.5.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-shikiji": "0.9.10",
"rehype-slug": "^6.0.0",
"serve": "^14.2.0",
"unocss": "^0.58.0",
"unocss": "^0.61.0",
"vite-plugin-pages": "^0.32.0",
"vite-react-ssg": "*"
}
Expand Down
5 changes: 3 additions & 2 deletions docs/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'vite'
import mdx from '@mdx-js/rollup'
import react from '@vitejs/plugin-react-swc'
import UnoCSS from 'unocss/vite'
import rehypeShikiji from 'rehype-shikiji'
import rehypeShiki from '@shikijs/rehype'
import rehypeSlug from 'rehype-slug'
import rehypeAutoLinkHeadings from 'rehype-autolink-headings'

Expand All @@ -22,7 +22,8 @@ export default defineConfig({
},
},
],
[rehypeShikiji, { themes: { light: 'vitesse-light', dark: 'vitesse-dark' } }],
// @ts-expect-error ignore
[rehypeShiki, { themes: { light: 'vitesse-light', dark: 'vitesse-dark' } }],
],
}),
UnoCSS(),
Expand Down
1 change: 0 additions & 1 deletion examples/auto-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.5.0",
"vite": "5.0.12",
"vite-plugin-pages": "^0.32.0",
"vite-react-ssg": "workspace:*"
}
Expand Down
1 change: 0 additions & 1 deletion examples/lazy-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.5.0",
"vite": "5.0.12",
"vite-plugin-pages": "^0.32.0",
"vite-react-ssg": "workspace:*"
}
Expand Down
1 change: 0 additions & 1 deletion examples/multiple-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.5.0",
"vite": "5.0.12",
"vite-plugin-pages": "^0.32.0",
"vite-react-ssg": "workspace:*"
}
Expand Down
1 change: 0 additions & 1 deletion examples/single-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.5.0",
"vite": "5.0.12",
"vite-plugin-pages": "^0.32.0",
"vite-react-ssg": "workspace:*"
}
Expand Down
1 change: 0 additions & 1 deletion examples/styled-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.5.0",
"vite": "5.0.12",
"vite-plugin-pages": "^0.32.0",
"vite-react-ssg": "workspace:*"
}
Expand Down
1 change: 0 additions & 1 deletion examples/with-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@mdx-js/rollup": "3.0.1",
"@types/mdx": "2.0.11",
"@vitejs/plugin-react-swc": "^3.5.0",
"vite": "5.0.12",
"vite-react-ssg": "workspace:*"
}
}
11 changes: 3 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@childrentime/devcert": "*",
"critters": "^0.0.19",
"prettier": "*",
"react": "^18.0.0",
Expand All @@ -87,9 +86,6 @@
"vite": "^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0"
},
"peerDependenciesMeta": {
"@childrentime/devcert": {
"optional": true
},
"critters": {
"optional": true
},
Expand All @@ -114,7 +110,6 @@
"yargs": "^17.7.2"
},
"devDependencies": {
"@childrentime/devcert": "^1.2.5",
"@ririd/eslint-config": "^1.1.0",
"@types/fs-extra": "^11.0.1",
"@types/html-minifier": "^4.0.2",
Expand All @@ -135,10 +130,10 @@
"react-router-dom": "^6.15.0",
"rimraf": "5.0.1",
"styled-components": "6.0.5",
"typescript": "5.1.6",
"typescript": "^5.5.2",
"unbuild": "^2.0.0",
"vite": "^5.0.12",
"vite": "^5.3.1",
"vite-plugin-pwa": "^0.17.4",
"vitest": "1.0.4"
"vitest": "1.6.0"
}
}
Loading

0 comments on commit 1b46040

Please sign in to comment.