diff --git a/.pnp.cjs b/.pnp.cjs index 3414b8c29..15e00a309 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -60,6 +60,7 @@ const RAW_RUNTIME_STATE = ["prettier-plugin-jsdoc", "virtual:293d93f0dab39a9cb110260f7247420c230cdd19f40de541518b0c0bf8cd4537ab2d1f6cc813f83c1428d6fb37d8de496941cc588e7a64bfbcb303780e1f6334#npm:1.1.1"],\ ["prettier-plugin-pkgsort", "virtual:293d93f0dab39a9cb110260f7247420c230cdd19f40de541518b0c0bf8cd4537ab2d1f6cc813f83c1428d6fb37d8de496941cc588e7a64bfbcb303780e1f6334#npm:0.2.1"],\ ["prettier-plugin-sort-json", "virtual:293d93f0dab39a9cb110260f7247420c230cdd19f40de541518b0c0bf8cd4537ab2d1f6cc813f83c1428d6fb37d8de496941cc588e7a64bfbcb303780e1f6334#npm:3.1.0"],\ + ["simple-git-hooks", "npm:2.9.0"],\ ["typescript", "patch:typescript@npm%3A5.2.2#optional!builtin::version=5.2.2&hash=f3b441"]\ ],\ "linkType": "SOFT"\ @@ -4443,6 +4444,7 @@ const RAW_RUNTIME_STATE = ["prettier-plugin-jsdoc", "virtual:293d93f0dab39a9cb110260f7247420c230cdd19f40de541518b0c0bf8cd4537ab2d1f6cc813f83c1428d6fb37d8de496941cc588e7a64bfbcb303780e1f6334#npm:1.1.1"],\ ["prettier-plugin-pkgsort", "virtual:293d93f0dab39a9cb110260f7247420c230cdd19f40de541518b0c0bf8cd4537ab2d1f6cc813f83c1428d6fb37d8de496941cc588e7a64bfbcb303780e1f6334#npm:0.2.1"],\ ["prettier-plugin-sort-json", "virtual:293d93f0dab39a9cb110260f7247420c230cdd19f40de541518b0c0bf8cd4537ab2d1f6cc813f83c1428d6fb37d8de496941cc588e7a64bfbcb303780e1f6334#npm:3.1.0"],\ + ["simple-git-hooks", "npm:2.9.0"],\ ["typescript", "patch:typescript@npm%3A5.2.2#optional!builtin::version=5.2.2&hash=f3b441"]\ ],\ "linkType": "SOFT"\ @@ -21357,6 +21359,15 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ + ["simple-git-hooks", [\ + ["npm:2.9.0", {\ + "packageLocation": "./.yarn/cache/simple-git-hooks-npm-2.9.0-4354a7c11a-4ccc501810.zip/node_modules/simple-git-hooks/",\ + "packageDependencies": [\ + ["simple-git-hooks", "npm:2.9.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["simple-update-notifier", [\ ["npm:2.0.0", {\ "packageLocation": "./.yarn/cache/simple-update-notifier-npm-2.0.0-4d6e5dba61-2a00bd03bf.zip/node_modules/simple-update-notifier/",\ diff --git a/package.json b/package.json index b6892e784..4eb7a0b23 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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": { diff --git a/yarn.lock b/yarn.lock index 5a320b85b..0bbb45930 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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/react@18.2.37": @@ -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"