Skip to content

Commit

Permalink
Merge pull request #11 from mittwald/chore/yarn-install-via-git-hooks
Browse files Browse the repository at this point in the history
Do 'yarn install' on post-checkout
  • Loading branch information
deder-mw authored Dec 1, 2023
2 parents 4a756fd + 2666767 commit 041161b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pnp.cjs

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"format": "prettier --write '**/*.{ts,tsx,yaml,yml,json,md,mdx,js,cjs,mjs,css}'",
"lint": "eslint ."
},
"simple-git-hooks": {
"post-checkout": "yarn install"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
Expand All @@ -30,6 +33,7 @@
"prettier-plugin-jsdoc": "^1.1.1",
"prettier-plugin-pkgsort": "^0.2.1",
"prettier-plugin-sort-json": "^3.1.0",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.2.2"
},
"resolutions": {
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2706,6 +2706,7 @@ __metadata:
prettier-plugin-jsdoc: "npm:^1.1.1"
prettier-plugin-pkgsort: "npm:^0.2.1"
prettier-plugin-sort-json: "npm:^3.1.0"
simple-git-hooks: "npm:^2.9.0"
typescript: "npm:^5.2.2"
dependenciesMeta:
"@types/[email protected]":
Expand Down Expand Up @@ -16806,6 +16807,15 @@ __metadata:
languageName: node
linkType: hard

"simple-git-hooks@npm:^2.9.0":
version: 2.9.0
resolution: "simple-git-hooks@npm:2.9.0"
bin:
simple-git-hooks: cli.js
checksum: 4ccc501810b5102b4d7fdb2a2707e0ea9241c708152cf36c30c816ba04a1a06bf3e94efd6f1699f5fba6c191bdd6d65ff026836d12f4c292130cfda5b60a5ba0
languageName: node
linkType: hard

"simple-update-notifier@npm:^2.0.0":
version: 2.0.0
resolution: "simple-update-notifier@npm:2.0.0"
Expand Down

0 comments on commit 041161b

Please sign in to comment.