Skip to content

Commit 99734c1

Browse files
authored
feat: publish npm-shrinkwrap.json (#161)
1 parent 90ca43d commit 99734c1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
node_modules
99
oclif.manifest.json
1010
oclif.lock
11+
npm-shrinkwrap.json

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"/lib",
5858
"/messages",
5959
"/oclif.manifest.json",
60-
"/oclif.lock"
60+
"/oclif.lock",
61+
"/npm-shrinkwrap.json"
6162
],
6263
"keywords": [
6364
"sfdx-plugin"
@@ -104,9 +105,9 @@
104105
"docs": "sf-docs",
105106
"format": "sf-format",
106107
"lint": "sf-lint",
107-
"postpack": "rm -f oclif.manifest.json",
108+
"postpack": "rm -f oclif.manifest.json oclif.lock npm-shrinkwrap.json",
108109
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
109-
"prepack": "sf-prepack && oclif lock",
110+
"prepack": "sf-prepack && oclif lock && npm shrinkwrap",
110111
"pretest": "sf-compile-test",
111112
"test": "sf-test",
112113
"test:command-reference": "./bin/dev commandreference:generate -p @salesforce/sfdx-plugin-lwc-test --erroronwarnings",

0 commit comments

Comments
 (0)