Skip to content

Commit

Permalink
Merge pull request #627 from oclif/mdonnalley/shrinkwrap
Browse files Browse the repository at this point in the history
feat: publish npm-shrinkwrap.json
  • Loading branch information
shetzel authored Mar 6, 2024
2 parents 0ba327c + 28d511c commit 1c1b2b0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ node_modules
.vscode/

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"]
}
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.1.12",
"@types/chai": "^4",
"@types/chalk": "^2.2.0",
"@types/debug": "^4.1.12",
"@types/ejs": "^3.1.5",
"@types/mocha": "^10.0.6",
Expand All @@ -28,8 +27,7 @@
"eslint-config-oclif": "^5.0.2",
"eslint-config-oclif-typescript": "^3.0.47",
"eslint-config-prettier": "^9.1.0",
"globby": "^11",
"husky": "^8.0.3",
"husky": "^9",
"lint-staged": "^15.2.2",
"mocha": "^10.3.0",
"nock": "^13.5.3",
Expand All @@ -45,9 +43,10 @@
},
"exports": "./lib/index.js",
"files": [
"oclif.manifest.json",
"npm-shrinkwrap.json",
"/lib",
"/oclif.manifest.json",
"/oclif.lock"
"oclif.lock"
],
"homepage": "https://github.com/oclif/plugin-autocomplete",
"keywords": [
Expand All @@ -65,12 +64,14 @@
"repository": "oclif/plugin-autocomplete",
"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",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap && oclif lock",
"prepare": "husky && yarn build",
"pretest": "yarn build && tsc -p test --noEmit",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
Expand Down

0 comments on commit 1c1b2b0

Please sign in to comment.