Skip to content

Commit 6ed6313

Browse files
authored
feat: add xml declaration nodes and tokens
* feat: add node and token definitions * chore: update * chore: update
1 parent cd15074 commit 6ed6313

34 files changed

+2108
-1344
lines changed

.github/workflows/autofix.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: autofix.ci # must named autofix.ci
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request: {}
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
autofix:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: pnpm/action-setup@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: lts/*
21+
cache: pnpm
22+
23+
- run: pnpm install --frozen-lockfile
24+
- run: pnpm run lint --fix
25+
26+
- uses: autofix-ci/[email protected]
27+
with:
28+
commit-message: 'chore: autofix by ci'

docs/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@
1111
"@codemirror/lang-xml": "^6.1.0",
1212
"@codemirror/language": "^6.10.8",
1313
"@codemirror/state": "^6.5.2",
14-
"@codemirror/view": "^6.36.2",
14+
"@codemirror/view": "^6.36.4",
1515
"@lezer/highlight": "^1.2.1",
1616
"@ntnyq/utils": "catalog:",
17-
"@uiw/codemirror-themes": "^4.23.8",
18-
"@vueuse/core": "^12.5.0",
17+
"@uiw/codemirror-themes": "^4.23.10",
18+
"@vueuse/core": "^12.8.2",
1919
"codemirror": "^6.0.1",
2020
"floating-vue": "^5.2.2",
2121
"svg-eslint-parser": "workspace:*",
2222
"vue-codemirror": "^6.1.1",
2323
"vue-resizable-panels": "^0.0.1"
2424
},
2525
"devDependencies": {
26-
"@iconify-json/carbon": "^1.2.6",
27-
"@iconify-json/lucide": "^1.2.26",
28-
"@shikijs/transformers": "^3.0.0",
29-
"@shikijs/vitepress-twoslash": "^3.0.0",
30-
"twoslash": "^0.2.12",
31-
"unocss": "^66.0.0",
32-
"unplugin-vue-components": "^28.0.0",
33-
"vite": "^6.1.0",
26+
"@iconify-json/carbon": "^1.2.8",
27+
"@iconify-json/lucide": "^1.2.28",
28+
"@shikijs/transformers": "^3.1.0",
29+
"@shikijs/vitepress-twoslash": "^3.1.0",
30+
"twoslash": "^0.3.1",
31+
"unocss": "^66.1.0-beta.3",
32+
"unplugin-vue-components": "^28.4.1",
33+
"vite": "^6.2.0",
3434
"vitepress": "^1.6.3",
35-
"vitepress-plugin-group-icons": "^1.3.5",
35+
"vitepress-plugin-group-icons": "^1.3.6",
3636
"vue": "^3.5.13"
3737
}
3838
}

docs/uno.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
defineConfig,
33
presetIcons,
4-
presetUno,
4+
presetWind3,
55
transformerDirectives,
66
transformerVariantGroup,
77
} from 'unocss'
@@ -10,7 +10,7 @@ export default defineConfig({
1010
transformers: [transformerDirectives(), transformerVariantGroup()],
1111

1212
presets: [
13-
presetUno(),
13+
presetWind3(),
1414
presetIcons({
1515
autoInstall: true,
1616
extraProperties: {},

docs/vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export default defineConfig({
99
exclude: ['vitepress'],
1010
},
1111
plugins: [
12-
UnoCSS(),
12+
UnoCSS({
13+
inspector: false,
14+
}),
1315
VueComponents({
1416
dts: fileURLToPath(new URL('./components.d.ts', import.meta.url)),
1517
extensions: ['vue', 'md'],

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "svg-eslint-parser",
33
"type": "module",
44
"version": "0.0.2",
5-
"packageManager": "pnpm@10.2.1",
5+
"packageManager": "pnpm@10.5.2",
66
"description": "An SVG parser that produces output compatible with ESLint.",
77
"keywords": [
88
"eslint-parser",
@@ -46,7 +46,7 @@
4646
"dev": "tsup --watch src",
4747
"docs:build": "pnpm -C docs run build",
4848
"docs:dev": "pnpm -C docs run dev",
49-
"lint": "eslint .",
49+
"lint": "eslint",
5050
"prepare": "husky",
5151
"prepublishOnly": "pnpm run build",
5252
"release": "run-s release:check release:publish",
@@ -60,19 +60,19 @@
6060
"eslint-visitor-keys": "^4.2.0"
6161
},
6262
"devDependencies": {
63-
"@ntnyq/eslint-config": "^4.0.0-beta.3",
64-
"@ntnyq/prettier-config": "^2.0.0-beta.2",
65-
"@types/node": "^22.13.1",
66-
"@vitest/coverage-v8": "^3.0.5",
67-
"bumpp": "^10.0.2",
68-
"eslint": "^9.20.0",
63+
"@ntnyq/eslint-config": "^4.0.0-beta.10",
64+
"@ntnyq/prettier-config": "^2.0.0",
65+
"@types/node": "^22.13.9",
66+
"@vitest/coverage-v8": "^3.0.7",
67+
"bumpp": "^10.0.3",
68+
"eslint": "^9.21.0",
6969
"husky": "^9.1.7",
7070
"nano-staged": "^0.8.0",
7171
"npm-run-all2": "^7.0.2",
72-
"prettier": "^3.5.0",
73-
"tsup": "^8.3.6",
74-
"typescript": "^5.7.3",
75-
"vitest": "^3.0.5"
72+
"prettier": "^3.5.3",
73+
"tsup": "^8.4.0",
74+
"typescript": "^5.8.2",
75+
"vitest": "^3.0.7"
7676
},
7777
"engines": {
7878
"node": ">=18.18.0"
@@ -86,7 +86,7 @@
8686
}
8787
},
8888
"nano-staged": {
89-
"*.{js,ts,mjs,cjs,vue,json,md,yml,yaml}": "eslint --fix",
89+
"*.{js,ts,mjs,cjs,vue,md,yml,yaml,json}": "eslint --fix",
9090
"*.{css,scss,html}": "prettier -uw"
9191
}
9292
}

0 commit comments

Comments
 (0)