Skip to content

Commit

Permalink
chore(workflow): work around npm bug npm/cli#3707
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie-BitFlight committed Aug 12, 2022
1 parent c08d9a8 commit f1a3246
Showing 1 changed file with 11 additions and 39 deletions.
50 changes: 11 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,7 @@
"bugs": {
"url": "https://github.com/bitflight-devops/github-action-readme-generator/issues"
},
"keywords": [
"actions",
"github",
"node16",
"documentation",
"github-actions",
"generator"
],
"keywords": ["actions", "github", "node16", "documentation", "github-actions", "generator"],
"author": "Jamie Nelson <[email protected]>",
"license": "APACHE",
"scripts": {
Expand All @@ -44,7 +37,7 @@
"release:post": "yarn npm publish --access public --tag v${npm_package_version} --tag latest",
"postversion": "git push --tags origin && git push origin",
"precommit": "pretty-quick --staged",
"prepare": "is-ci || husky install; yarn run build",
"prepare": "[[ -n ${GITHUB_ACTIONS:-} ]] || husky install",
"corepack": "corepack enable",
"cachefolder": "corepack yarn config get cacheFolder",
"clean": "rimraf dist",
Expand Down Expand Up @@ -73,39 +66,20 @@
"bin": "github-action-readme-generator"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"extends": ["@commitlint/config-conventional"],
"rules": {
"body-max-length": [
0
],
"body-max-line-length": [
0
],
"footer-max-length": [
0
],
"footer-max-line-length": [
0
],
"header-max-length": [
0
]
"body-max-length": [0],
"body-max-line-length": [0],
"footer-max-length": [0],
"footer-max-line-length": [0],
"header-max-length": [0]
}
},
"engines": {
"node": ">=14.0.0"
},
"files": [
"package.json",
"README.md",
"/bin",
"/dist"
],
"os": [
"!win32"
],
"files": ["package.json", "README.md", "/bin", "/dist"],
"os": ["!win32"],
"dependencies": {
"@actions/core": "^1.9.0",
"@actions/github": "^5.0.3",
Expand Down Expand Up @@ -221,9 +195,7 @@
"lint-staged": {
"*.{md,json,yaml,yml,sh}": "prettier --write",
"{src,__tests__}/**/*.js": "eslint --cache --fix",
"*.ts": [
"eslint --cache --fix"
]
"*.ts": ["eslint --cache --fix"]
},
"resolutions": {
"typescript": "^4.7.4"
Expand Down

0 comments on commit f1a3246

Please sign in to comment.