From b43c9644a0a5f026913c8df5a74448716b92d55b Mon Sep 17 00:00:00 2001 From: SukkaW Date: Thu, 30 Apr 2026 11:04:08 +0800 Subject: [PATCH] Housekeeping --- eslint.config.js | 5 +++++ package.json | 21 +-------------------- pnpm-workspace.yaml | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 pnpm-workspace.yaml diff --git a/eslint.config.js b/eslint.config.js index 268b9f37..ba5f466a 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -11,4 +11,9 @@ module.exports = require('eslint-config-sukka').sukka({ node: true, ts: true, yaml: false +}, { + files: ['./Mock/**/*'], + rules: { + 'sukka/unicorn/filename-case': 'off' + } }); diff --git a/package.json b/package.json index 3d802b54..2c88e44b 100644 --- a/package.json +++ b/package.json @@ -67,24 +67,5 @@ "tinyexec": "^1.1.2", "typescript": "^6.0.3" }, - "packageManager": "pnpm@10.33.2", - "pnpm": { - "onlyBuiltDependencies": [ - "@swc/core", - "better-sqlite3", - "oxc-resolver", - "unrs-resolver" - ], - "overrides": { - "eslint>chalk": "npm:picocolors@^1.1.1", - "globalthis": "npm:@nolyfill/globalthis@^1.0.44", - "has": "npm:@nolyfill/has@^1.0.44", - "safe-buffer": "npm:@nolyfill/safe-buffer@^1.0.44" - }, - "ignoredBuiltDependencies": [ - "bufferutil", - "es5-ext", - "utf-8-validate" - ] - } + "packageManager": "pnpm@11.0.1" } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 00000000..0c24552c --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,21 @@ +allowBuilds: + '@swc/core': true + better-sqlite3: true + bufferutil: false + es5-ext: false + unrs-resolver: true + utf-8-validate: false +ignoredBuiltDependencies: + - bufferutil + - es5-ext + - utf-8-validate +onlyBuiltDependencies: + - '@swc/core' + - better-sqlite3 + - oxc-resolver + - unrs-resolver +overrides: + eslint>chalk: npm:picocolors@^1.1.1 + globalthis: npm:@nolyfill/globalthis@^1.0.44 + has: npm:@nolyfill/has@^1.0.44 + safe-buffer: npm:@nolyfill/safe-buffer@^1.0.44