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 af4cc47 commit bbdbed5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6,379 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 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
28 changes: 5 additions & 23 deletions npm-shrinkwrap.json

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

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"files": [
"oclif.manifest.json",
"/lib",
"/oclif.lock",
"npm-shrinkwrap.json"
],
"homepage": "https://github.com/oclif/plugin-help",
Expand All @@ -53,12 +52,14 @@
"repository": "oclif/plugin-help",
"scripts": {
"build": "shx rm -rf lib && tsc",
"commitlint": "commitlint --edit $1",
"lint": "eslint . --ext .ts",
"postpack": "shx rm oclif.manifest.json oclif.lock",
"posttest": "yarn lint",
"prepack": "yarn run build && oclif manifest . && oclif lock",
"prepare": "husky install && yarn build",
"pretest": "yarn build && tsc --noEmit",
"lint-staged": "lint-staged",
"postpack": "shx rm oclif.manifest.json",
"posttest": "npm run lint",
"prepack": "npm run build && oclif manifest .",
"prepare": "husky install && npm run build",
"pretest": "npm build && tsc --noEmit",
"test": "mocha --forbid-only \"test/**/*.test.ts\""
},
"type": "module",
Expand Down
Loading

0 comments on commit bbdbed5

Please sign in to comment.