Skip to content

Commit

Permalink
Merged PR 12850: Update dependency husky to v9
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [husky](https://github.com/typicode/husky) | [`^8.0.1` -> `^9.0.0`](https://renovatebot.com/diffs/npm/husky/8.0.3/9.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/husky/9.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/husky/9.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/husky/8.0.3/9.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/husky/8.0.3/9.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>typicode/husky (husky)</summary>

### [`v9.0.6`](https://github.com/typicode/husky/releases/tag/v9.0.6)

[Compare Source](typicode/husky@v9.0.5...v9.0.6)

-   docs: add favicon by [@&#8203;rakleed](https://github.com/rakleed) in typicode/husky#1354
-   chore: apply editorconfig to code only by [@&#8203;typicode](https://github.com/typicode) in typicode/husky#1355
-   docs: update install script to mjs and fix CI checks by [@&#8203;starnayuta](https://github.com/starnayuta) in typicode/husky#1357
-   Fix  unbound variable by [@&#8203;typicode](https://github.com/typicode) in typicode/husky#1359

### [`v9.0.5`](https://github.com/typicode/husky/releases/tag/v9.0.5)

[Compare Source](typicode/husky@v9.0.4...v9.0.5)

-   docs: update path to startup files by [@&#8203;ManuelRauber](https://github.com/ManuelRauber) in typicode/husky#1350
-   fix: init error by [@&#8203;typicode](https://github.com/typicode) in typicode/husky#1353

### [`v9.0.4`](https://github.com/typicode/husky/releases/tag/v9.0.4)

[Compare Source](typicode/husky@v9.0.3...v9.0.4)

-   fix: init create dir before by [@&#8203;typicode](https://github.com/typicode) in typicode/husky#1348
-   refactor: simplify by [@&#8203;typicode](https://github.com/typicode) in typicode/husky#1349
-   fix: init not working on pnpm [#&#8203;1334](typicode/husky#1334) by [@&#8203;rozbo](https://github.com/rozbo) in typicode/husky#1347

### [`v9.0.3`](https://github.com/typicode/husky/releases/tag/v9.0.3)

[Compare Source](typicode/husky@v9.0.2...v9.0.3)

-   docs: fix link by [@&#8203;typicode](https://github.com/typicode) in typicode/husky#1340
-   chore: fix links in issue template by [@&#8203;julien-f](https://github.com/julien-f) in typicode/husky#1341
-   fi...
  • Loading branch information
s-ch-Renovate-TechnicalUser authored and wes-EBP committed Jan 29, 2024
2 parents 9828d26 + 2ce22a3 commit 7ecca8d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"watch": "ng build --configuration development",
"test": "ng test",
"test-ci": "ng test --no-watch --no-progress --code-coverage",
"prepare": "node ./prepare.js",
"prepare": "node ./prepare.mjs",
"update-version": "node ./update-version.js",
"format-all": "prettier --write ./src",
"generate-gb3-api": "npx swagger-typescript-api -p https://maps.zh.ch/api-docs/gb3/v1/swagger.yaml -o ./src/app/shared/models -n gb3-api-generated.interfaces.ts --no-client --extract-response-body --extract-request-body --extract-request-body && node ./remove-generated-api-version-references.js ./src/app/shared/models/gb3-api-generated.interfaces.ts"
Expand Down Expand Up @@ -77,7 +77,7 @@
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-rxjs": "^5.0.2",
"eslint-plugin-rxjs-angular": "^2.0.0",
"husky": "^8.0.1",
"husky": "^9.0.0",
"jasmine-core": "~5.1.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
Expand Down
5 changes: 3 additions & 2 deletions prepare.js → prepare.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* Install husky only if the npm was called without omitting 'dev'
* Or in other words: install husky only in a development environment
*
* For more information see: https://typicode.github.io/husky/#/?id=with-a-custom-script
* For more information see: https://typicode.github.io/husky/how-to.html#ci-server-and-docker
*/
const installHusky = process.env.npm_config_omit !== 'dev';
if (installHusky) {
require('husky').install();
const husky = (await import('husky')).default;
console.log(husky());
}

0 comments on commit 7ecca8d

Please sign in to comment.