Skip to content

Commit

Permalink
Merge branch 'main' into editor_only_in_presenter
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyGrajciar authored Aug 17, 2023
2 parents eeb282b + 9386351 commit a4b0445
Show file tree
Hide file tree
Showing 14 changed files with 697 additions and 556 deletions.
4 changes: 2 additions & 2 deletions demo/composable-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"export:clicks": "slidev export --with-clicks"
},
"devDependencies": {
"@iconify-json/mdi": "^1.1.53",
"@iconify-json/ri": "^1.1.11",
"@iconify-json/mdi": "^1.1.54",
"@iconify-json/ri": "^1.1.12",
"@slidev/cli": "workspace:*",
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.3",
Expand Down
30 changes: 14 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "0.42.7",
"version": "0.42.8",
"private": true,
"packageManager": "[email protected].11",
"packageManager": "[email protected].12",
"engines": {
"node": ">=14.0.0"
},
Expand All @@ -22,9 +22,9 @@
"test": "vitest test"
},
"devDependencies": {
"@antfu/eslint-config": "^0.40.0",
"@antfu/eslint-config": "^0.40.2",
"@antfu/ni": "^0.21.5",
"@antfu/utils": "^0.7.5",
"@antfu/utils": "^0.7.6",
"@slidev/cli": "workspace:*",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
Expand All @@ -37,34 +37,32 @@
"@types/js-yaml": "^4.0.5",
"@types/katex": "^0.16.2",
"@types/localtunnel": "^2.0.1",
"@types/markdown-it": "^12.2.3",
"@types/node": "^18.17.3",
"@types/prettier": "^3.0.0",
"@types/markdown-it": "^13.0.0",
"@types/node": "^20.5.0",
"@types/prismjs": "^1.26.0",
"@types/prompts": "^2.4.4",
"@types/recordrtc": "^5.6.11",
"@types/resolve": "^1.20.2",
"@types/semver": "^7.5.0",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@vueuse/core": "^10.3.0",
"bumpp": "^9.1.1",
"cross-env": "^7.0.3",
"cypress": "^12.17.3",
"eslint": "^8.46.0",
"eslint-plugin-cypress": "^2.13.3",
"eslint": "^8.47.0",
"eslint-plugin-cypress": "^2.14.0",
"esno": "^0.17.0",
"katex": "^0.16.8",
"lint-staged": "^13.2.3",
"mermaid": "^10.3.0",
"playwright-chromium": "^1.36.2",
"pnpm": "^8.6.11",
"lint-staged": "^14.0.0",
"mermaid": "^10.3.1",
"playwright-chromium": "^1.37.0",
"pnpm": "^8.6.12",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.9.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.8",
"vite-plugin-windicss": "^1.9.0",
"vite": "^4.4.9",
"vite-plugin-windicss": "^1.9.1",
"vitest": "^0.34.1",
"vue-tsc": "^1.8.8",
"zx": "^7.2.3"
Expand Down
18 changes: 9 additions & 9 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slidev/client",
"version": "0.42.7",
"version": "0.42.8",
"description": "Presentation slides for developers",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand All @@ -15,12 +15,12 @@
"node": ">=14.0.0"
},
"dependencies": {
"@antfu/utils": "^0.7.5",
"@antfu/utils": "^0.7.6",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@unocss/reset": "^0.54.1",
"@unocss/reset": "^0.55.0",
"@vueuse/core": "^10.3.0",
"@vueuse/head": "^1.1.26",
"@vueuse/head": "^1.3.1",
"@vueuse/math": "^10.3.0",
"@vueuse/motion": "^2.0.0",
"codemirror": "^5.65.5",
Expand All @@ -31,20 +31,20 @@
"js-base64": "^3.7.5",
"js-yaml": "^4.1.0",
"katex": "^0.16.8",
"mermaid": "^10.3.0",
"mermaid": "^10.3.1",
"monaco-editor": "^0.37.1",
"nanoid": "^4.0.2",
"prettier": "^3.0.1",
"prettier": "^3.0.2",
"recordrtc": "^5.6.2",
"resolve": "^1.22.4",
"unocss": "^0.54.1",
"vite-plugin-windicss": "^1.9.0",
"unocss": "^0.55.0",
"vite-plugin-windicss": "^1.9.1",
"vue": "^3.3.4",
"vue-router": "^4.2.4",
"vue-starport": "^0.3.0",
"windicss": "^3.5.6"
},
"devDependencies": {
"vite": "^4.4.8"
"vite": "^4.4.9"
}
}
2 changes: 1 addition & 1 deletion packages/client/shim.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare interface Window {

declare module '*.vue';

// with vite-plugin-vue-markdown, markdowns can be treat as Vue components
// with unplugin-vue-markdown, markdowns can be treat as Vue components
declare module '*.md' {
import type { ComponentOptions } from 'vue'
const component: ComponentOptions
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-slidev",
"version": "0.42.7",
"version": "0.42.8",
"description": "Create starter template for Slidev",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"export": "slidev export"
},
"dependencies": {
"@slidev/cli": "^0.42.7",
"@slidev/cli": "^0.42.8",
"@slidev/theme-default": "latest",
"@slidev/theme-seriph": "latest"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-slidev-theme",
"version": "0.42.7",
"version": "0.42.8",
"description": "Create starter theme template for Slidev",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-theme/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"screenshot": "slidev export example.md --format png"
},
"dependencies": {
"@slidev/types": "^0.42.7",
"@slidev/types": "^0.42.8",
"codemirror-theme-vars": "^0.1.2",
"prism-theme-vars": "^0.2.4",
"theme-vitesse": "^0.7.2"
},
"devDependencies": {
"@slidev/cli": "^0.42.7"
"@slidev/cli": "^0.42.8"
},
"//": "Learn more: https://sli.dev/themes/write-a-theme.html",
"slidev": {
Expand Down
2 changes: 1 addition & 1 deletion packages/parser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slidev/parser",
"version": "0.42.7",
"version": "0.42.8",
"description": "Markdown parser for Slidev",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/slidev/node/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type Vue from '@vitejs/plugin-vue'
import type VueJsx from '@vitejs/plugin-vue-jsx'
import type Icons from 'unplugin-icons/vite'
import type Components from 'unplugin-vue-components/vite'
import type Markdown from 'vite-plugin-vue-markdown'
import type Markdown from 'unplugin-vue-markdown/vite'
import type WindiCSS from 'vite-plugin-windicss'
import type { VitePluginConfig as UnoCSSConfig } from 'unocss/vite'
import type RemoteAssets from 'vite-plugin-remote-assets'
Expand Down
4 changes: 2 additions & 2 deletions packages/slidev/node/plugins/markdown.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Markdown from 'vite-plugin-vue-markdown'
import Markdown from 'unplugin-vue-markdown/vite'
import type { Plugin } from 'vite'
import * as base64 from 'js-base64'
import { slash } from '@antfu/utils'
Expand Down Expand Up @@ -94,7 +94,7 @@ export async function createMarkdownPlugin(
return code
},
},
})
}) as Plugin
}

export function transformMarkdownMonaco(md: string) {
Expand Down
22 changes: 11 additions & 11 deletions packages/slidev/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slidev/cli",
"version": "0.42.7",
"version": "0.42.8",
"description": "Presentation slides for developers",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -48,18 +48,18 @@
}
},
"dependencies": {
"@antfu/utils": "^0.7.5",
"@antfu/utils": "^0.7.6",
"@hedgedoc/markdown-it-plugins": "^2.1.3",
"@iconify-json/carbon": "^1.1.18",
"@iconify-json/ph": "^1.1.5",
"@iconify-json/carbon": "^1.1.19",
"@iconify-json/ph": "^1.1.6",
"@lillallol/outline-pdf": "^4.0.0",
"@mrdrogdrog/optional": "^1.2.1",
"@slidev/client": "workspace:*",
"@slidev/parser": "workspace:*",
"@slidev/types": "workspace:*",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@windicss/config": "^1.9.0",
"@windicss/config": "^1.9.1",
"cli-progress": "^3.12.0",
"codemirror": "^5.65.5",
"connect": "^3.7.0",
Expand Down Expand Up @@ -91,17 +91,17 @@
"resolve-from": "^5.0.0",
"resolve-global": "^1.0.0",
"shiki": "^0.14.3",
"unocss": "^0.54.1",
"unocss": "^0.55.0",
"unplugin-icons": "^0.16.5",
"unplugin-vue-components": "^0.25.1",
"uqr": "^0.0.3",
"vite": "^4.4.8",
"vite-plugin-inspect": "^0.7.35",
"unplugin-vue-markdown": "^0.24.1",
"uqr": "^0.1.1",
"vite": "^4.4.9",
"vite-plugin-inspect": "^0.7.38",
"vite-plugin-remote-assets": "^0.3.2",
"vite-plugin-static-copy": "^0.17.0",
"vite-plugin-vue-markdown": "^0.23.7",
"vite-plugin-vue-server-ref": "^0.3.4",
"vite-plugin-windicss": "^1.9.0",
"vite-plugin-windicss": "^1.9.1",
"vue": "^3.3.4",
"windicss": "^3.5.6",
"yargs": "^17.7.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slidev/types",
"version": "0.42.7",
"version": "0.42.8",
"description": "Shared types declarations for Slidev",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand Down
Loading

0 comments on commit a4b0445

Please sign in to comment.