Skip to content

Commit

Permalink
fix: fully commit to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Dec 14, 2023
1 parent 4aa1494 commit 1ed90bf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6,393 deletions.
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
npm run commitlint
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"

yarn lint-staged --concurrent false
npm run lint-staged --concurrent false
4 changes: 2 additions & 2 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
},
"files": [
"oclif.manifest.json",
"oclif.lock",
"/lib",
"npm-shrinkwrap.json"
],
Expand All @@ -55,15 +54,16 @@
"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",
"commitlint": "commitlint --edit $1",
"lint": "eslint . --ext .ts",
"postpublish": "yarn run clean",
"posttest": "yarn lint",
"prepare": "husky install && yarn build",
"prepublishOnly": "yarn run build && oclif lock && oclif manifest . && oclif readme",
"pretest": "yarn build --noEmit && tsc -p test --noEmit",
"preversion": "yarn run clean",
"lint-staged": "lint-staged",
"postpublish": "npm run clean",
"posttest": "npm run lint",
"prepare": "husky install && npm run build",
"prepublishOnly": "npm run build && oclif manifest . && oclif readme",
"pretest": "npm run build --noEmit && tsc -p test --noEmit",
"preversion": "npm run clean",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
Expand Down
Loading

0 comments on commit 1ed90bf

Please sign in to comment.