Skip to content

Commit d142bcf

Browse files
committed
fix(npm): add publish access and keywords
1 parent 31346da commit d142bcf

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

package.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
"module": "build/module/index.js",
88
"repository": "https://github.com/ali-master/json-diff-patch",
99
"license": "MIT",
10-
"keywords": [],
10+
"keywords": [
11+
"json",
12+
"diff",
13+
"patch",
14+
"json-diff",
15+
"json-patch",
16+
"json-diff-patch"
17+
],
1118
"scripts": {
1219
"build": "run-p build:*",
1320
"build:main": "tsc -p tsconfig.json",
@@ -34,7 +41,8 @@
3441
"preinstall": "npx only-allow pnpm"
3542
},
3643
"engines": {
37-
"node": ">=14"
44+
"node": ">=14",
45+
"pnpm": ">=9"
3846
},
3947
"devDependencies": {
4048
"@typescript-eslint/eslint-plugin": "^7.16.1",
@@ -68,5 +76,8 @@
6876
"LICENSE",
6977
"README.md"
7078
],
71-
"packageManager": "pnpm@9.5.0"
79+
"packageManager": "pnpm@9.5.0",
80+
"publishConfig": {
81+
"access": "public"
82+
}
7283
}

0 commit comments

Comments
 (0)