diff --git a/package.json b/package.json index 185f4eb9..2c302bbc 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "build": "tsup", "lint": "biome check && oxlint && pnpm run typecheck", "lint:fix": "biome check --fix --unsafe && oxlint --fix", + "prepack": "clean-pkg-json", "release": "bumpp --no-push", "test": "vitest", "test:ci": "pnpm run lint && vitest", @@ -87,6 +88,7 @@ "@types/react-dom": "^18.3.0", "@types/web-bluetooth": "^0.0.20", "bumpp": "^9.4.1", + "clean-pkg-json": "^1.2.0", "esno": "^4.7.0", "jsdom": "^24.1.0", "oxlint": "^0.4.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f578a2c5..8c5a1913 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,6 +38,9 @@ importers: bumpp: specifier: ^9.4.1 version: 9.4.1 + clean-pkg-json: + specifier: ^1.2.0 + version: 1.2.0 esno: specifier: ^4.7.0 version: 4.7.0 @@ -1124,6 +1127,10 @@ packages: citty@0.1.6: resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==} + clean-pkg-json@1.2.0: + resolution: {integrity: sha512-QHBWWOtpSCv5nfMFKwyxn4WMvkYE0msxj5xiqejYGqYepWVrK7O/om1Vn6nSl/WPtYn8ge9YmSCbTi1Hp8k+Hg==} + hasBin: true + color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} @@ -3193,6 +3200,8 @@ snapshots: dependencies: consola: 3.2.3 + clean-pkg-json@1.2.0: {} + color-convert@1.9.3: dependencies: color-name: 1.1.3