Skip to content

Commit 18d7488

Browse files
committed
ci: try fix
1 parent 79d440d commit 18d7488

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/.vitepress/theme/components/eslint-code-block.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default {
142142
this.height = `${Math.max(120, 20 * (1 + lines))}px`
143143
// Load linter.
144144
const [plugin, { Linter }, vueEslintParser, globals] = await Promise.all([
145-
import('../../../..'),
145+
import('eslint-plugin-vue'),
146146
import('eslint'),
147147
import('vue-eslint-parser'),
148148
import('globals')

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
"update": "node ./tools/update.js",
2323
"update-resources": "node ./tools/update-resources.js",
2424
"typegen": "node ./tools/generate-typegen.mjs",
25+
"build": "tsdown",
2526
"docs:watch": "vitepress dev docs",
26-
"predocs:build": "npm run update",
27+
"predocs:build": "npm run update && npm run build",
2728
"docs:build": "vitepress build docs",
2829
"generate:version": "env-cmd -e version npm run update && npm run lint -- --fix",
2930
"changeset:version": "changeset version && npm run generate:version && git add --all",
30-
"changeset:publish": "npm run typegen && changeset publish"
31+
"changeset:publish": "npm run typegen && changeset publish",
32+
"prepublishOnly": "npm run build"
3133
},
3234
"files": [
3335
"dist"

0 commit comments

Comments
 (0)