Skip to content

Commit

Permalink
Merge pull request #40 from schmidtk/chore-upgrade-husky
Browse files Browse the repository at this point in the history
chore(husky): upgrade husky to v7
  • Loading branch information
schmidtk authored Nov 9, 2021
2 parents 3a0d1ef + ee91dc2 commit 69f770e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 23 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no-install commitlint --edit "$1"
1 change: 1 addition & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run package:update
1 change: 1 addition & 0 deletions .husky/post-rewrite
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm run package:update
40 changes: 17 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
"compile:resolve": "os-resolve --outputDir .build --exclude resources",
"build": "echo 'Please run the build script in the opensphere project' && exit 1",
"package:update": "if git diff --name-only ORIG_HEAD HEAD | grep --quiet package.json; then echo 'UPDATE: package.json updated, consider running yarn in the workspace root'; fi",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"postinstall": "husky install"
},
"keywords": [
"opensphere",
Expand Down Expand Up @@ -79,47 +80,40 @@
]
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@ngageoint/closure-webpack-plugin": "^3.0.0",
"@ngageoint/opensphere-coverage-loader": "^1.0.0",
"@semantic-release/changelog": "^3.0.2",
"@semantic-release/commit-analyzer": "^6.1.0",
"@semantic-release/git": "^7.0.8",
"@semantic-release/github": "^5.2.10",
"@semantic-release/npm": "^5.1.4",
"@semantic-release/release-notes-generator": "^7.1.4",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.2",
"@semantic-release/npm": "^8.0.3",
"@semantic-release/release-notes-generator": "^10.0.2",
"angular-mocks": "~1.8.x",
"eslint": "^8.0.1",
"eslint-config-opensphere": "^6.0.2",
"husky": "^3.0.2",
"karma": "^4.3.0",
"husky": "^7.0.4",
"karma": "^6.3.8",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.3",
"karma-firefox-launcher": "^1.2.0",
"karma-firefox-launcher": "^2.1.2",
"karma-jasmine": "^0.1.0",
"karma-junit-reporter": "^1.2.0",
"mkdirp": "^0.5.1",
"karma-junit-reporter": "^2.0.1",
"mkdirp": "^1.0.4",
"modernizr": "^3.8.0",
"npm-run-all": "^4.1.5",
"opensphere-build-closure-helper": "^7.0.0",
"opensphere-build-resolver": "^10.0.0",
"rimraf": "^2.5.4",
"rimraf": "^3.0.2",
"stylelint": "^14.0.0",
"stylelint-config-opensphere": "^1.0.0",
"semantic-release": "^15.13.32"
"semantic-release": "^18.0.0"
},
"dependencies": {
"@ngageoint/geopackage": "^4.0.0-beta.36",
"better-sqlite3": "7.4.1",
"nan": "2.14.0",
"opensphere": "0.0.0-development"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-merge": "npm run package:update",
"post-rewrite": "npm run package:update"
}
}
}

0 comments on commit 69f770e

Please sign in to comment.