Skip to content

Commit b45ac4e

Browse files
committed
update publish-please config
1 parent bf9dfda commit b45ac4e

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.publishrc

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
"vulnerableDependencies": true,
44
"uncommittedChanges": true,
55
"untrackedFiles": true,
6-
"sensitiveData": {
7-
"ignore": []
8-
},
6+
"sensitiveData": true,
97
"branch": "master",
108
"gitTag": true
119
},
1210
"confirm": true,
13-
"publishTag": "latest",
14-
"prePublishScript": "npm test"
15-
}
11+
"publishTag": "--access public",
12+
"prePublishScript": "npm test && npm run autoformat && npm run clean-up && npm run build",
13+
"postPublishScript": false
14+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"autoformat": "tsfmt -r",
1111
"prepublish": "tsc -d && publish-please guard",
1212
"clean-up": "rm -rf coverage && rm -rf lib",
13-
"publish-please": "npm run autoformat && npm run clean-up && npm run build && publish-please",
13+
"publish-please": "publish-please",
1414
"build": "webpack --env.production"
1515
},
1616
"repository": {

0 commit comments

Comments
 (0)