Skip to content

Commit 909c94b

Browse files
committed
add publishConfig
1 parent daa60ac commit 909c94b

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ jobs:
4545

4646
- name: Publish Package
4747
run: npm publish --tolerate-republish --no-fund --access public --provenance
48+
env:
49+
NPM_CONFIG_PROVENANCE: true

package.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"type": "module",
66
"main": "./dist/index.js",
77
"types": "./dist/index.d.ts",
8+
"publishConfig": {
9+
"access": "public",
10+
"provenance": true
11+
},
812
"exports": {
913
".": {
1014
"types": "./dist/index.d.ts",
@@ -20,9 +24,7 @@
2024
"url": "git+https://github.com/code-store-platform/arcxp-sdk-ts.git"
2125
},
2226
"homepage": "https://github.com/code-store-platform/arcxp-sdk-ts",
23-
"files": [
24-
"dist"
25-
],
27+
"files": ["dist"],
2628
"scripts": {
2729
"build": "tsc --noEmit && rollup -c",
2830
"format": "npx @biomejs/biome format --write .",
@@ -33,11 +35,7 @@
3335
"gen:ts": "npx tsx ./src/scripts/json-schema-to-ts.ts",
3436
"cs": "npx changeset && npx changeset version"
3537
},
36-
"keywords": [
37-
"ArcXP",
38-
"SDK",
39-
"Code.Store"
40-
],
38+
"keywords": ["ArcXP", "SDK", "Code.Store"],
4139
"author": "code.store",
4240
"license": "MIT",
4341
"dependencies": {

0 commit comments

Comments
 (0)