Skip to content

Commit 8e2ba8b

Browse files
committed
chore: update deps
1 parent 846d815 commit 8e2ba8b

File tree

14 files changed

+1488
-1401
lines changed

14 files changed

+1488
-1401
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,41 @@
11
{
2+
// Enable the ESlint flat config support
3+
"eslint.experimental.useFlatConfig": true,
4+
5+
// Disable the default formatter, use eslint instead
26
"prettier.enable": false,
3-
"prettier": false
7+
"editor.formatOnSave": false,
8+
9+
// Auto fix
10+
"editor.codeActionsOnSave": {
11+
"source.fixAll": "explicit",
12+
"source.organizeImports": "never"
13+
},
14+
15+
// Silent the stylistic rules in you IDE, but still auto fix them
16+
"eslint.rules.customizations": [
17+
{ "rule": "style/*", "severity": "off" },
18+
{ "rule": "*-indent", "severity": "off" },
19+
{ "rule": "*-spacing", "severity": "off" },
20+
{ "rule": "*-spaces", "severity": "off" },
21+
{ "rule": "*-order", "severity": "off" },
22+
{ "rule": "*-dangle", "severity": "off" },
23+
{ "rule": "*-newline", "severity": "off" },
24+
{ "rule": "*quotes", "severity": "off" },
25+
{ "rule": "*semi", "severity": "off" }
26+
],
27+
28+
// Enable eslint for all supported languages
29+
"eslint.validate": [
30+
"javascript",
31+
"javascriptreact",
32+
"typescript",
33+
"typescriptreact",
34+
"vue",
35+
"html",
36+
"markdown",
37+
"json",
38+
"jsonc",
39+
"yaml"
40+
]
441
}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,9 @@ export default {
201201
// src/main.js
202202
import { createApp } from 'vue'
203203

204-
import { createHead } from '@unhead/vue' // <--
204+
import { createHead } from '@unhead/vue'
205+
206+
// <--
205207

206208
const app = createApp(App)
207209

eslint.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// @ts-check
2+
import antfu from '@antfu/eslint-config'
3+
4+
export default antfu(
5+
{
6+
ignores: [
7+
// eslint ignore globs here
8+
],
9+
},
10+
{
11+
rules: {
12+
// overrides
13+
},
14+
},
15+
)

examples/vite/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ export default {
200200
// src/main.js
201201
import { createApp } from 'vue'
202202

203-
import { createHead } from '@unhead/vue' // <--
203+
import { createHead } from '@unhead/vue'
204+
205+
// <--
204206

205207
const app = createApp(App)
206208

examples/vite/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
{
2-
"private": true,
32
"type": "commonjs",
3+
"private": true,
44
"scripts": {
55
"dev": "cross-env DEBUG=unplugin-vue-markdown:* vite",
66
"build": "cross-env DEBUG=unplugin-vue-markdown:* vite build"
77
},
88
"dependencies": {
9-
"@unhead/vue": "^1.3.9",
10-
"vue": "^3.3.4",
11-
"vue-router": "^4.2.4"
9+
"@unhead/vue": "^1.8.3",
10+
"vue": "^3.3.8",
11+
"vue-router": "^4.2.5"
1212
},
1313
"devDependencies": {
14-
"@vitejs/plugin-vue": "^4.3.4",
14+
"@vitejs/plugin-vue": "^4.4.1",
1515
"cross-env": "^7.0.3",
1616
"markdown-it-prism": "^2.3.0",
1717
"prismjs": "^1.29.0",
1818
"typescript": "^5.2.2",
1919
"unplugin-vue-markdown": "workspace:*",
20-
"vite": "^4.4.9",
21-
"vite-plugin-inspect": "^0.7.38",
20+
"vite": "^4.5.0",
21+
"vite-plugin-inspect": "^0.7.42",
2222
"vite-plugin-pages": "^0.31.0"
2323
}
2424
}

examples/vite/vue-shim.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
declare module '*.vue' {
22
import type { ComponentOptions } from 'vue'
3+
34
const Component: ComponentOptions
45
export default Component
56
}
67

78
declare module '*.md' {
89
import type { ComponentOptions } from 'vue'
10+
911
const Component: ComponentOptions
1012
export default Component
1113
}

examples/vue-cli/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"lint": "vue-cli-service lint"
99
},
1010
"dependencies": {
11-
"core-js": "^3.32.1",
12-
"vue": "^3.3.4"
11+
"core-js": "^3.33.2",
12+
"vue": "^3.3.8"
1313
},
1414
"devDependencies": {
15-
"@babel/core": "^7.22.11",
15+
"@babel/core": "^7.23.3",
1616
"@vue/cli-plugin-babel": "~5.0.8",
1717
"@vue/cli-service": "~5.0.8",
1818
"unplugin-vue-markdown": "workspace:*"

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "unplugin-vue-markdown",
33
"type": "module",
44
"version": "0.24.3",
5-
"packageManager": "pnpm@8.7.0",
5+
"packageManager": "pnpm@8.10.2",
66
"description": "Compile Markdown to Vue component",
77
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
88
"license": "MIT",
@@ -78,32 +78,32 @@
7878
"vite": "^2.0.0 || ^3.0.0-0 || ^4.0.0"
7979
},
8080
"dependencies": {
81-
"@mdit-vue/plugin-component": "^0.12.1",
82-
"@mdit-vue/plugin-frontmatter": "^0.12.1",
83-
"@mdit-vue/types": "^0.12.0",
84-
"@rollup/pluginutils": "^5.0.4",
85-
"@types/markdown-it": "^13.0.1",
86-
"markdown-it": "^13.0.1",
87-
"unplugin": "^1.4.0"
81+
"@mdit-vue/plugin-component": "^1.0.0",
82+
"@mdit-vue/plugin-frontmatter": "^1.0.0",
83+
"@mdit-vue/types": "^1.0.0",
84+
"@rollup/pluginutils": "^5.0.5",
85+
"@types/markdown-it": "^13.0.6",
86+
"markdown-it": "^13.0.2",
87+
"unplugin": "^1.5.0"
8888
},
8989
"devDependencies": {
90-
"@antfu/eslint-config": "^0.41.0",
91-
"@antfu/ni": "^0.21.6",
90+
"@antfu/eslint-config": "^1.1.0",
91+
"@antfu/ni": "^0.21.8",
9292
"@antfu/utils": "^0.7.6",
93-
"@types/node": "^20.5.7",
94-
"@unhead/vue": "^1.3.9",
93+
"@types/node": "^20.9.0",
94+
"@unhead/vue": "^1.8.3",
9595
"@vue/test-utils": "^2.4.1",
9696
"bumpp": "^9.2.0",
9797
"chalk": "^5.3.0",
98-
"eslint": "^8.48.0",
98+
"eslint": "^8.53.0",
9999
"esno": "^0.17.0",
100-
"fast-glob": "^3.3.1",
101-
"rollup": "^3.28.1",
100+
"fast-glob": "^3.3.2",
101+
"rollup": "^4.3.0",
102102
"tsup": "^7.2.0",
103103
"typescript": "^5.2.2",
104-
"vite": "^4.4.9",
105-
"vitest": "^0.34.3",
106-
"vue": "^3.3.4",
107-
"webpack": "^5.88.2"
104+
"vite": "^4.5.0",
105+
"vitest": "^0.34.6",
106+
"vue": "^3.3.8",
107+
"webpack": "^5.89.0"
108108
}
109109
}

0 commit comments

Comments
 (0)