From fe12e495113c8b08d53471b9291056ede52fa712 Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Fri, 2 May 2025 11:30:25 +0800 Subject: [PATCH 1/2] chore: add pnpm setting to pnpm-workspace --- package.json | 17 ----------------- pnpm-workspace.yaml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 0753b670c61..82bd2a0322a 100644 --- a/package.json +++ b/package.json @@ -111,22 +111,5 @@ "typescript-eslint": "^8.31.1", "vite": "catalog:", "vitest": "^3.0.9" - }, - "pnpm": { - "peerDependencyRules": { - "allowedVersions": { - "typescript-eslint>eslint": "^9.0.0", - "@typescript-eslint/eslint-plugin>eslint": "^9.0.0", - "@typescript-eslint/parser>eslint": "^9.0.0", - "@typescript-eslint/type-utils>eslint": "^9.0.0", - "@typescript-eslint/utils>eslint": "^9.0.0" - } - }, - "onlyBuiltDependencies": [ - "@swc/core", - "esbuild", - "puppeteer", - "simple-git-hooks" - ] } } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 9e6f2e32c0d..356a7d37ef0 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -10,3 +10,18 @@ catalog: 'source-map-js': ^1.2.1 'vite': ^5.4.15 '@vitejs/plugin-vue': ^5.2.3 + +onlyBuiltDependencies: + - '@swc/core' + - 'esbuild' + - 'puppeteer' + - 'simple-git-hooks' + - 'unrs-resolver' + +peerDependencyRules: + allowedVersions: + 'typescript-eslint>eslint': '^9.0.0' + '@typescript-eslint/eslint-plugin>eslint': '^9.0.0' + '@typescript-eslint/parser>eslint': '^9.0.0' + '@typescript-eslint/type-utils>eslint': '^9.0.0' + '@typescript-eslint/utils>eslint': '^9.0.0' \ No newline at end of file From 09401eace0ad6798220856ce5617c9f7540fb18a Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Fri, 2 May 2025 03:32:55 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- pnpm-workspace.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 356a7d37ef0..af01b99c77c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -24,4 +24,4 @@ peerDependencyRules: '@typescript-eslint/eslint-plugin>eslint': '^9.0.0' '@typescript-eslint/parser>eslint': '^9.0.0' '@typescript-eslint/type-utils>eslint': '^9.0.0' - '@typescript-eslint/utils>eslint': '^9.0.0' \ No newline at end of file + '@typescript-eslint/utils>eslint': '^9.0.0'