Skip to content

Commit

Permalink
feat: upgrade to Vite 3
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 29, 2022
1 parent 1dbfda2 commit c7d4e9e
Show file tree
Hide file tree
Showing 9 changed files with 675 additions and 892 deletions.
4 changes: 2 additions & 2 deletions cypress/fixtures/basic/package.json
Expand Up @@ -8,8 +8,8 @@
"devDependencies": {
"@slidev/cli": "workspace:*",
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.2",
"@slidev/theme-seriph": "^0.21.3",
"@slidev/types": "workspace:*",
"nodemon": "^2.0.18"
"nodemon": "^2.0.19"
}
}
6 changes: 3 additions & 3 deletions demo/composable-vue/package.json
Expand Up @@ -7,12 +7,12 @@
"export:clicks": "slidev export --with-clicks"
},
"devDependencies": {
"@iconify-json/mdi": "^1.1.24",
"@iconify-json/mdi": "^1.1.29",
"@iconify-json/ri": "^1.1.3",
"@slidev/cli": "workspace:*",
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.2",
"@slidev/theme-seriph": "^0.21.3",
"@slidev/types": "workspace:*",
"nodemon": "^2.0.18"
"nodemon": "^2.0.19"
}
}
6 changes: 3 additions & 3 deletions demo/starter/package.json
Expand Up @@ -8,9 +8,9 @@
"devDependencies": {
"@slidev/cli": "workspace:*",
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.2",
"@slidev/theme-seriph": "^0.21.3",
"@slidev/types": "workspace:*",
"nodemon": "^2.0.18",
"vite-plugin-inspect": "^0.5.1"
"nodemon": "^2.0.19",
"vite-plugin-inspect": "^0.6.0"
}
}
28 changes: 14 additions & 14 deletions package.json
@@ -1,7 +1,7 @@
{
"version": "0.34.3",
"private": true,
"packageManager": "pnpm@7.4.0",
"packageManager": "pnpm@7.7.0",
"engines": {
"node": ">=14.0.0"
},
Expand All @@ -21,7 +21,7 @@
},
"devDependencies": {
"@antfu/eslint-config": "^0.25.2",
"@antfu/ni": "^0.16.3",
"@antfu/ni": "^0.17.2",
"@antfu/utils": "^0.5.2",
"@slidev/cli": "workspace:*",
"@slidev/parser": "workspace:*",
Expand All @@ -36,35 +36,35 @@
"@types/katex": "^0.14.0",
"@types/markdown-it": "^12.2.3",
"@types/mermaid": "^8.2.9",
"@types/node": "^18.0.0",
"@types/prettier": "^2.6.3",
"@types/node": "^18.6.2",
"@types/prettier": "^2.6.4",
"@types/prismjs": "^1.26.0",
"@types/prompts": "^2.4.0",
"@types/recordrtc": "^5.6.8",
"@types/resolve": "^1.20.2",
"@types/semver": "^7.3.10",
"@types/yargs": "^17.0.10",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@vueuse/core": "^8.7.5",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@vueuse/core": "^9.0.1",
"bumpp": "^8.2.1",
"cross-env": "^7.0.3",
"cypress": "^10.3.0",
"eslint": "^8.18.0",
"cypress": "^10.3.1",
"eslint": "^8.20.0",
"eslint-plugin-cypress": "^2.12.1",
"esno": "^0.16.3",
"katex": "^0.16.0",
"lint-staged": "^13.0.3",
"mermaid": "^9.1.3",
"playwright-chromium": "^1.23.0",
"pnpm": "^7.4.0",
"playwright-chromium": "^1.24.1",
"pnpm": "^7.7.0",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.8.0",
"tsup": "^5.12.9",
"typescript": "^4.7.4",
"vite": "^2.9.13",
"vite-plugin-windicss": "^1.8.6",
"vitest": "^0.16.0",
"zx": "^7.0.4"
"vite": "^3.0.4",
"vite-plugin-windicss": "^1.8.7",
"vitest": "^0.19.1",
"zx": "^7.0.7"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
3 changes: 2 additions & 1 deletion packages/client/logic/shortcuts.ts
@@ -1,5 +1,6 @@
import type { Fn, KeyFilter } from '@vueuse/core'
import { and, not, onKeyStroke } from '@vueuse/core'
import { onKeyStroke } from '@vueuse/core'
import { and, not } from '@vueuse/math'
import type { Ref } from 'vue'
import { watch } from 'vue'
import type { ShortcutOptions } from '@slidev/types'
Expand Down
18 changes: 11 additions & 7 deletions packages/client/package.json
Expand Up @@ -18,9 +18,10 @@
"@antfu/utils": "^0.5.2",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@unocss/reset": "^0.42.0",
"@vueuse/core": "^8.7.5",
"@vueuse/head": "^0.7.6",
"@unocss/reset": "^0.45.1",
"@vueuse/core": "^9.0.1",
"@vueuse/head": "^0.7.8",
"@vueuse/math": "^9.0.1",
"@vueuse/motion": "^2.0.0-beta.18",
"codemirror": "^5.65.5",
"defu": "^6.0.0",
Expand All @@ -35,11 +36,14 @@
"prettier": "^2.7.1",
"recordrtc": "^5.6.2",
"resolve": "^1.22.1",
"unocss": "^0.42.0",
"vite-plugin-windicss": "^1.8.6",
"unocss": "^0.45.1",
"vite-plugin-windicss": "^1.8.7",
"vue": "^3.2.37",
"vue-router": "^4.0.16",
"vue-router": "^4.1.3",
"vue-starport": "^0.3.0",
"windicss": "^3.5.5"
"windicss": "^3.5.6"
},
"devDependencies": {
"vite": "^3.0.4"
}
}
4 changes: 2 additions & 2 deletions packages/create-theme/template/package.json
Expand Up @@ -16,8 +16,8 @@
"dependencies": {
"@slidev/types": "^0.34.3",
"codemirror-theme-vars": "^0.1.1",
"prism-theme-vars": "^0.2.3",
"theme-vitesse": "^0.4.10"
"prism-theme-vars": "^0.2.4",
"theme-vitesse": "^0.5.0"
},
"devDependencies": {
"@slidev/cli": "^0.34.3"
Expand Down
24 changes: 12 additions & 12 deletions packages/slidev/package.json
Expand Up @@ -49,13 +49,13 @@
},
"dependencies": {
"@antfu/utils": "^0.5.2",
"@hedgedoc/markdown-it-task-lists": "^1.0.4",
"@iconify-json/carbon": "^1.1.6",
"@hedgedoc/markdown-it-task-lists": "^1.0.5",
"@iconify-json/carbon": "^1.1.7",
"@iconify-json/ph": "^1.1.2",
"@slidev/client": "workspace:*",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@vitejs/plugin-vue": "^2.3.3",
"@vitejs/plugin-vue": "^3.0.1",
"@vue/compiler-sfc": "^3.2.37",
"cli-progress": "^3.11.2",
"codemirror": "^5.65.5",
Expand Down Expand Up @@ -84,16 +84,16 @@
"resolve-from": "^5.0.0",
"resolve-global": "^1.0.0",
"shiki": "^0.10.1",
"unocss": "^0.42.0",
"unplugin-icons": "^0.14.6",
"unplugin-vue-components": "^0.20.1",
"vite": "^2.9.13",
"vite-plugin-remote-assets": "^0.2.2",
"vite-plugin-vue-markdown": "^0.20.1",
"vite-plugin-vue-server-ref": "^0.2.4",
"vite-plugin-windicss": "^1.8.6",
"unocss": "^0.45.1",
"unplugin-icons": "^0.14.8",
"unplugin-vue-components": "^0.21.2",
"vite": "^3.0.4",
"vite-plugin-remote-assets": "^0.3.0",
"vite-plugin-vue-markdown": "^0.21.1",
"vite-plugin-vue-server-ref": "^0.3.0",
"vite-plugin-windicss": "^1.8.7",
"vue": "^3.2.37",
"windicss": "^3.5.5",
"windicss": "^3.5.6",
"yargs": "^17.5.1"
},
"devDependencies": {
Expand Down

0 comments on commit c7d4e9e

Please sign in to comment.