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 1bfe812 commit 7f2a3e7
Show file tree
Hide file tree
Showing 6 changed files with 346 additions and 291 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@
.idea
oclif.lock
oclif.manifest.json
npm-shrinkwrap.json
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

yarn run commitlint --edit $1
yarn commitlint --edit $1
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname $0)/_/husky.sh"

yarn lint-staged --concurrent false
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"]
}
24 changes: 11 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,24 @@
"author": "Salesforce",
"bugs": "https://github.com/oclif/plugin-version/issues",
"dependencies": {
"@oclif/core": "^3.18.2"
"@oclif/core": "^3.19.5"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.8.1",
"@commitlint/config-conventional": "^18",
"@oclif/plugin-help": "^6",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^3",
"@types/chai": "^4.3.11",
"@types/mocha": "^10",
"@types/node": "^18",
"chai": "^4.4.1",
"commitlint": "^17.8.1",
"commitlint": "^18",
"eslint": "^8.56.0",
"eslint-config-oclif": "^5",
"eslint-config-oclif-typescript": "^3",
"eslint-config-prettier": "^9.1.0",
"fancy-test": "^3",
"husky": "^8",
"lint-staged": "^14.0.1",
"husky": "^9",
"lint-staged": "^15",
"mocha": "^10.3.0",
"oclif": "^4",
"prettier": "^3.2.5",
Expand All @@ -36,7 +35,7 @@
},
"files": [
"oclif.manifest.json",
"oclif.lock",
"npm-shrinkwrap.json",
"/lib"
],
"homepage": "https://github.com/oclif/plugin-version",
Expand All @@ -54,15 +53,14 @@
"repository": "oclif/plugin-version",
"scripts": {
"build": "shx rm -rf lib && tsc",
"clean": "shx rm -f oclif.manifest.json oclif.lock",
"commitlint": "commitlint",
"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",
"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 7f2a3e7

Please sign in to comment.