chore: add pnpm packageManager field and workspace config
Add pnpm@10.33.0 as packageManager, create pnpm-workspace.yaml with minimumReleaseAge (3 days) and onlyBuiltDependencies allowlist (better-sqlite3, esbuild, protobufjs, sharp), update .npmrc as safety-net fallback.
This commit is contained in:
4
.npmrc
4
.npmrc
@@ -1 +1,3 @@
|
|||||||
minReleaseAge=7d
|
# Safety net — pnpm-workspace.yaml has the authoritative minimumReleaseAge (4320 min = 3 days)
|
||||||
|
# This .npmrc value is a fallback if npm is ever invoked directly
|
||||||
|
minReleaseAge=3d
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"version": "1.2.52",
|
"version": "1.2.52",
|
||||||
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
|
"description": "Personal Claude assistant. Lightweight, secure, customizable.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"packageManager": "pnpm@10.33.0",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
|
|||||||
8
pnpm-workspace.yaml
Normal file
8
pnpm-workspace.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
onlyBuiltDependencies:
|
||||||
|
- better-sqlite3
|
||||||
|
- esbuild
|
||||||
|
- protobufjs
|
||||||
|
- sharp
|
||||||
|
|
||||||
|
pnpm:
|
||||||
|
minimumReleaseAge: 4320
|
||||||
Reference in New Issue
Block a user