Skip to content

Commit

Permalink
feat: publish npm-shrinkwrap.json (#604)
Browse files Browse the repository at this point in the history
* fix: publish npm-shrinkwrap.json

* chore: add back oclif.lock

---------

Co-authored-by: Steve Hetzel <[email protected]>
  • Loading branch information
mdonnalley and shetzel authored Mar 6, 2024
1 parent 8bd6666 commit 2169b8c
Show file tree
Hide file tree
Showing 4 changed files with 315 additions and 357 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
node_modules

oclif.lock
oclif.manifest.json
oclif.manifest.json
npm-shrinkwrap.json
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.json": ["prettier --write"],
"*.md": ["prettier --write"],
"+(src|test)/**/*.+(ts|js)": ["eslint --fix", "prettier --write"]
"+(src|test|bin)/**/*.+(ts|js)": ["eslint --fix", "prettier --write"]
}
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"lodash.uniqby": "^4.7.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@oclif/plugin-help": "^5.2.20",
"@commitlint/config-conventional": "^18",
"@oclif/plugin-help": "^6",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.2.1",
"@types/chai": "^4.3.11",
Expand All @@ -22,19 +22,16 @@
"@types/lodash.template": "^4.5.3",
"@types/lodash.uniqby": "^4.7.9",
"@types/mocha": "^10.0.6",
"@types/nock": "^11.1.0",
"@types/node": "^18",
"chai": "^4.4.1",
"commitlint": "^17.8.1",
"commitlint": "^18",
"eslint": "^8.56.0",
"eslint-config-oclif": "^5.0.4",
"eslint-config-oclif-typescript": "^3.0.48",
"eslint-config-prettier": "^9.1.0",
"globby": "^11",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"nock": "^13.5.4",
"nyc": "^15.1.0",
"oclif": "^4.4.19",
"prettier": "^3.2.5",
Expand All @@ -49,8 +46,8 @@
"files": [
"/lib",
"/oclif.manifest.json",
"/yarn.lock",
"/oclif.lock"
"npm-shrinkwrap.json",
"oclif.lock"
],
"homepage": "https://github.com/oclif/plugin-commands",
"keywords": [
Expand All @@ -68,13 +65,15 @@
"repository": "oclif/plugin-commands",
"scripts": {
"build": "shx rm -rf lib && tsc",
"clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json oclif.lock",
"compile": "tsc",
"lint": "eslint . --ext .ts",
"postpack": "shx rm -f oclif.manifest.json oclif.lock",
"postpack": "yarn run clean",
"posttest": "yarn lint",
"prepack": "shx rm -rf lib && tsc && oclif lock && oclif manifest . && oclif readme",
"prepare": "husky install && yarn build",
"pretest": "yarn build && tsc -p test --noEmit",
"test": "mocha \"test/**/*.test.ts\"",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
"prepare": "husky && yarn build",
"pretest": "yarn build --noEmit && tsc -p test --noEmit",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
"type": "module"
Expand Down
Loading

0 comments on commit 2169b8c

Please sign in to comment.