Skip to content

Commit db0d88e

Browse files
authored
feat: use oclif.lock (#134)
* feat: use oclif.lock * chore: update .gitignore
1 parent 4c679f5 commit db0d88e

File tree

4 files changed

+904
-229
lines changed

4 files changed

+904
-229
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
/tmp
88
node_modules
99
oclif.manifest.json
10+
oclif.lock

.sfdevrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"exclude-scripts": ["prepack"]
3+
}

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"isbinaryfile": "^5.0.0",
4444
"mocha": "^10.0.0",
4545
"nyc": "^15.1.0",
46-
"oclif": "^3.1.2",
46+
"oclif": "^3.14.0",
4747
"prettier": "^2.0.5",
4848
"pretty-quick": "^3.1.0",
4949
"sinon": "^14.0.0",
@@ -56,7 +56,8 @@
5656
"files": [
5757
"/lib",
5858
"/messages",
59-
"/oclif.manifest.json"
59+
"/oclif.manifest.json",
60+
"/oclif.lock"
6061
],
6162
"keywords": [
6263
"sfdx-plugin"
@@ -105,12 +106,12 @@
105106
"lint": "sf-lint",
106107
"postpack": "rm -f oclif.manifest.json",
107108
"posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
108-
"prepack": "sf-prepack",
109+
"prepack": "sf-prepack && oclif lock",
109110
"pretest": "sf-compile-test",
110111
"test": "sf-test",
111112
"test:command-reference": "./bin/dev commandreference:generate -p @salesforce/sfdx-plugin-lwc-test --erroronwarnings",
112113
"test:deprecation-policy": "./bin/dev snapshot:compare",
113114
"test:nuts": "nyc mocha \"./test/**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
114115
"version": "oclif-dev readme && git add README.md"
115116
}
116-
}
117+
}

0 commit comments

Comments
 (0)