From 50a9a80dea353d9d7dd390ccf736041eb6e9b573 Mon Sep 17 00:00:00 2001 From: AC-0308 Date: Tue, 22 Jul 2025 15:57:17 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E2=9E=95=20=E8=A1=A5=E5=85=A8eslint?= =?UTF-8?q?=E4=B8=A2=E5=A4=B1=E7=9A=84=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 7 ++++--- pnpm-lock.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++ pnpm-workspace.yaml | 1 + 3 files changed, 54 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 707e901a..738dba12 100644 --- a/package.json +++ b/package.json @@ -12,10 +12,10 @@ "docs:build": "pnpm -C packages/docs build" }, "dependencies": { + "@opensig/opendesign": "workspace:^", "normalize.css": "catalog:css", "vue": "catalog:vue", - "vue-router": "catalog:vue", - "@opensig/opendesign": "workspace:^" + "vue-router": "catalog:vue" }, "devDependencies": { "@rushstack/eslint-patch": "catalog:lint", @@ -25,6 +25,7 @@ "eslint": "catalog:lint", "eslint-plugin-vue": "catalog:lint", "typescript": "catalog:typescript", - "vite-node": "catalog:utils" + "vite-node": "catalog:utils", + "vue-eslint-parser": "catalog:lint" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e59c68fd..b6cc8e06 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,6 +63,9 @@ catalogs: prettier: specifier: ^3.6.2 version: 3.6.2 + vue-eslint-parser: + specifier: ^10.2.0 + version: 10.2.0 markdown: '@shikijs/langs': specifier: ^3.7.0 @@ -181,6 +184,9 @@ importers: vite-node: specifier: catalog:utils version: 3.2.4(@types/node@22.13.1)(sass-embedded@1.83.4)(sass@1.84.0)(terser@5.38.1) + vue-eslint-parser: + specifier: catalog:lint + version: 10.2.0(eslint@8.57.1) packages/docs: dependencies: @@ -1474,10 +1480,18 @@ packages: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@8.4.0: + resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.1: + resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@8.57.1: resolution: {integrity: sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1487,6 +1501,10 @@ packages: esm-resolve@1.0.11: resolution: {integrity: sha512-LxF0wfUQm3ldUDHkkV2MIbvvY0TgzIpJ420jHSV1Dm+IlplBEWiJTKWM61GtxUfvjV6iD4OtTYFGAGM2uuIUWg==} + espree@10.4.0: + resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2632,6 +2650,12 @@ packages: peerDependencies: vue: '>=2' + vue-eslint-parser@10.2.0: + resolution: {integrity: sha512-CydUvFOQKD928UzZhTp4pr2vWz1L+H99t7Pkln2QSPdvmURT0MoC4wUccfCnuEaihNsu9aYYyk+bep8rlfkUXw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + vue-eslint-parser@9.4.3: resolution: {integrity: sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==} engines: {node: ^14.17.0 || >=16.0.0} @@ -3787,8 +3811,15 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 + eslint-scope@8.4.0: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.1: {} + eslint@8.57.1: dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) @@ -3834,6 +3865,12 @@ snapshots: esm-resolve@1.0.11: {} + espree@10.4.0: + dependencies: + acorn: 8.15.0 + acorn-jsx: 5.3.2(acorn@8.15.0) + eslint-visitor-keys: 4.2.1 + espree@9.6.1: dependencies: acorn: 8.15.0 @@ -4999,6 +5036,18 @@ snapshots: vue: 3.5.13(typescript@5.8.2) vue-inbrowser-compiler-independent-utils: 4.71.1(vue@3.5.13(typescript@5.8.2)) + vue-eslint-parser@10.2.0(eslint@8.57.1): + dependencies: + debug: 4.4.1 + eslint: 8.57.1 + eslint-scope: 8.4.0 + eslint-visitor-keys: 4.2.1 + espree: 10.4.0 + esquery: 1.6.0 + semver: 7.7.1 + transitivePeerDependencies: + - supports-color + vue-eslint-parser@9.4.3(eslint@8.57.1): dependencies: debug: 4.4.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 52fd6706..dd143c44 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -52,6 +52,7 @@ catalogs: lint: "eslint": "^8.57.1" "eslint-plugin-vue": "^9.32.0" + "vue-eslint-parser": "^10.2.0" "@vue/eslint-config-typescript": "^12.0.0" "@rushstack/eslint-patch": "^1.10.5" "prettier": "^3.6.2" -- Gitee