Skip to content

Commit

Permalink
fix: publish npm-shrinkwrap.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Feb 22, 2024
1 parent 8869ac1 commit 59a550d
Show file tree
Hide file tree
Showing 4 changed files with 322 additions and 296 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
/tmp

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"]
}
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,26 @@
"lodash.template": "^4.5.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/config-conventional": "^18",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3.1.16",
"@types/chai": "^4.3.11",
"@types/debug": "^4.1.12",
"@types/lodash.template": "^4.5.3",
"@types/mocha": "^10.0.6",
"@types/node": "^18",
"@types/semver": "^7.5.6",
"chai": "^4.4.0",
"commitlint": "^17.8.1",
"commitlint": "^18",
"eslint": "^8.56.0",
"eslint-config-oclif": "^5.0.0",
"eslint-config-oclif-typescript": "^3.0.47",
"eslint-config-prettier": "^9.1.0",
"globby": "^11.0.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"oclif": "^4.4.9",
"prettier": "^3.2.5",
"shx": "^0.3.3",
"sinon": "^16.1.3",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
Expand All @@ -44,7 +43,7 @@
"files": [
"oclif.manifest.json",
"/lib",
"/oclif.lock"
"npm-shrinkwrap.json"
],
"homepage": "https://github.com/oclif/plugin-warn-if-update-available",
"keywords": [
Expand All @@ -62,15 +61,15 @@
},
"repository": "oclif/plugin-warn-if-update-available",
"scripts": {
"build": "rm -rf lib && tsc",
"clean": "rm -f oclif.manifest.json oclif.lock",
"build": "shx rm -rf lib && tsc",
"clean": "shx rm -f oclif.manifest.json npm-shrinkwrap.json",
"compile": "tsc",
"lint": "eslint . --ext .ts",
"postpublish": "yarn run clean",
"postpack": "yarn run clean",
"posttest": "yarn lint",
"prepare": "husky install && yarn build",
"prepublishOnly": "yarn run build && oclif lock && oclif manifest . && oclif readme",
"prepack": "yarn build && oclif manifest && oclif readme && npm shrinkwrap",
"prepare": "husky && yarn build",
"pretest": "yarn build --noEmit && tsc -p test --noEmit",
"preversion": "yarn run clean",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
Expand Down
Loading

0 comments on commit 59a550d

Please sign in to comment.