From b7a772dc477c55624dc6b5b49150c1a03a4beab7 Mon Sep 17 00:00:00 2001 From: siujamo Date: Mon, 8 Jun 2026 16:43:43 +0800 Subject: [PATCH] fix: replace .npmrc with pnpm-workspace.yaml for build config pnpm-workspace.yaml is the canonical location for allowBuilds in pnpm v10+, and the package.json trailing comma was cleaned up. --- .github/dependabot.yml | 27 --------------------------- .npmrc | 1 - package.json | 2 +- pnpm-workspace.yaml | 2 ++ 4 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .npmrc create mode 100644 pnpm-workspace.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 9a810e3..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,27 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - -version: 2 -updates: - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "weekly" - commit-message: - prefix: "chore: " - - groups: - dependency-updates: - patterns: ["*"] - update-types: ["minor", "patch"] - - ignore: - - dependency-name: "@types/node" - update-types: ["version-update:semver-major"] - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" \ No newline at end of file diff --git a/.npmrc b/.npmrc deleted file mode 100644 index b6277fc..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -onlyBuiltDependencies[]=@tailwindcss/oxide diff --git a/package.json b/package.json index 3c47c33..537d988 100644 --- a/package.json +++ b/package.json @@ -40,5 +40,5 @@ "prettier": "^3.8.0", "typescript": "~5.9.3", "vite": "^7.3.1" - }, + } } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..5ed0b5a --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +allowBuilds: + esbuild: true