From a1c36708027962d8cc930b3ce960637cdf195178 Mon Sep 17 00:00:00 2001 From: "WillBooster Inc." Date: Mon, 21 Oct 2024 16:35:12 +0000 Subject: [PATCH] chore: willboosterify this repo --- .yarn/plugins/plugin-auto-install.cjs | 2 +- .yarnrc.yml | 4 +- package.json | 2 +- packages/shared-lib-blitz-next/package.json | 4 +- packages/shared-lib-node/package.json | 4 +- packages/shared-lib-react/package.json | 4 +- packages/shared-lib/package.json | 4 +- packages/wb/package.json | 4 +- yarn.lock | 52 ++++++++++----------- 9 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.yarn/plugins/plugin-auto-install.cjs b/.yarn/plugins/plugin-auto-install.cjs index 47b467e6..6ba6b663 100644 --- a/.yarn/plugins/plugin-auto-install.cjs +++ b/.yarn/plugins/plugin-auto-install.cjs @@ -1,2 +1,2 @@ -"use strict";var n={name:"plugin-auto-install",factory:n=>{const t=n("child_process"),e=n("crypto"),c=n("fs"),r=n("path"),o="plugin-auto-install v2.0.1";let i=!1,s="";function a(n){try{const t=e.createHash("sha256"),o=r.join(n.cwd,"yarn.lock");c.statSync(o,{throwIfNoEntry:!1})&&t.update(c.readFileSync(o,"utf8"));for(const e of n.workspaces.map((n=>n.cwd)).sort()){const n=r.join(e,"package.json"),o=JSON.parse(c.readFileSync(n,"utf8")),i=Object.keys(o).filter((n=>n.endsWith("ependencies"))),s=[];for(const n of i)s.push(...Object.entries(o[n]).map((([n,t])=>`${n}: ${t}`)));t.update(s.sort().join(","))}return t.digest("hex")}catch{}}function l(n){try{const t=d(n);return c.readFileSync(r.join(t,"hash"),"utf8")}catch{}}function u(n,t){if(!n||n===s)return!1;try{const e=d(t);c.mkdirSync(e,{recursive:!0}),c.writeFileSync(r.join(e,"hash"),n),c.writeFileSync(r.join(e,".gitignore"),".gitignore\nhash"),console.info(`${o} updated dependency hash: ${n}`),s=n}catch{}return!0}function d(n){return r.join(n.cwd,".yarn","plugins","plugin-auto-install")}return{hooks:{validateProject(n){i=!0;const t=a(n);t&&t===l(n)||u(t,n)},afterAllInstalled(n){i=!1;const t=a(n);t&&t===l(n)||u(t,n)},async setupScriptEnvironment(n,e){if(!i)try{const c=a(n);if(c&&c===l(n))return;if(!u(c,n))return;console.info(`${o} is running 'yarn install' due to dependency changes.`),t.spawnSync("yarn",["install"],{cwd:n.cwd,env:e}),console.info(`${o} finished 'yarn install'.`)}catch{}}}}}};module.exports=n; +"use strict";var n={name:"plugin-auto-install",factory:n=>{const t=n("child_process"),e=n("crypto"),c=n("fs"),r=n("path"),o="plugin-auto-install v2.0.2";let i=!1,s="";function a(n){try{const t=e.createHash("sha256"),o=r.join(n.cwd,"yarn.lock");c.statSync(o,{throwIfNoEntry:!1})&&t.update(c.readFileSync(o,"utf8"));for(const e of n.workspaces.map((n=>n.cwd)).sort()){const n=r.join(e,"package.json"),o=JSON.parse(c.readFileSync(n,"utf8")),i=Object.keys(o).filter((n=>n.endsWith("ependencies"))),s=[];for(const n of i)s.push(...Object.entries(o[n]).map((([n,t])=>`${n}: ${t}`)));t.update(s.sort().join(","))}return t.digest("hex")}catch{}}function l(n){try{const t=d(n);return c.readFileSync(r.join(t,"hash"),"utf8")}catch{}}function u(n,t){if(!n||n===s)return!1;try{const e=d(t);c.mkdirSync(e,{recursive:!0}),c.writeFileSync(r.join(e,"hash"),n),c.writeFileSync(r.join(e,".gitignore"),".gitignore\nhash"),console.info(`${o} updated dependency hash: ${n}`),s=n}catch{}return!0}function d(n){return r.join(n.cwd,".yarn","plugins","plugin-auto-install")}return{hooks:{validateProject(n){i=!0;const t=a(n);t&&t===l(n)||u(t,n)},afterAllInstalled(n){i=!1;const t=a(n);t&&t===l(n)||u(t,n)},async setupScriptEnvironment(n,e){if(!i)try{const c=a(n);if(c&&c===l(n))return;if(!u(c,n))return;console.info(`${o} is running 'yarn install' due to dependency changes.`),t.spawnSync("yarn",["install"],{cwd:n.cwd,env:e}),console.info(`${o} finished 'yarn install'.`)}catch{}}}}}};module.exports=n; //# sourceMappingURL=index.js.map diff --git a/.yarnrc.yml b/.yarnrc.yml index 6452edc6..5b0d841d 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -7,8 +7,8 @@ nmMode: hardlinks-global nodeLinker: node-modules plugins: - - checksum: 8b171ee8559cde7c8696b5459b49e19cb8ec2cdf942a6a64107706c803f5f1b9b96ae7378a32240ce5119807ac7cf12cd8dd32313188d2f72a3452d28e9c3e44 + - checksum: 38e9c07e39ad26ceca2aad81e352f9827d3f08608a396e7286ee684b0551208b9043ba43811e5757e32867999023c982b719e6ae981cffdf2e48ba0aa42b77ef path: .yarn/plugins/plugin-auto-install.cjs - spec: 'https://github.com/WillBooster/yarn-plugin-auto-install/releases/download/v2.0.1/index.cjs' + spec: 'https://github.com/WillBooster/yarn-plugin-auto-install/releases/download/v2.0.2/index.cjs' yarnPath: .yarn/releases/yarn-4.5.1.cjs diff --git a/package.json b/package.json index 1e8753da..46792222 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@qiwi/multi-semantic-release": "7.1.2", "@types/eslint": "8.56.10", "@typescript-eslint/parser": "8.10.0", - "@willbooster/prettier-config": "9.1.2", + "@willbooster/prettier-config": "9.1.3", "conventional-changelog-conventionalcommits": "6.1.0", "eslint": "8.57.0", "husky": "9.1.6", diff --git a/packages/shared-lib-blitz-next/package.json b/packages/shared-lib-blitz-next/package.json index db623af2..ed79d6c5 100644 --- a/packages/shared-lib-blitz-next/package.json +++ b/packages/shared-lib-blitz-next/package.json @@ -40,8 +40,8 @@ "@types/micromatch": "4.0.9", "@typescript-eslint/eslint-plugin": "8.10.0", "@typescript-eslint/parser": "8.10.0", - "@willbooster/eslint-config-ts": "10.6.0", - "@willbooster/prettier-config": "9.1.2", + "@willbooster/eslint-config-ts": "10.6.1", + "@willbooster/prettier-config": "9.1.3", "blitz": "2.1.1", "build-ts": "13.1.8", "eslint": "8.57.0", diff --git a/packages/shared-lib-node/package.json b/packages/shared-lib-node/package.json index 791df52a..ea694444 100644 --- a/packages/shared-lib-node/package.json +++ b/packages/shared-lib-node/package.json @@ -45,8 +45,8 @@ "@types/node": "20.16.13", "@typescript-eslint/eslint-plugin": "8.10.0", "@typescript-eslint/parser": "8.10.0", - "@willbooster/eslint-config-ts": "10.6.0", - "@willbooster/prettier-config": "9.1.2", + "@willbooster/eslint-config-ts": "10.6.1", + "@willbooster/prettier-config": "9.1.3", "build-ts": "13.1.8", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", diff --git a/packages/shared-lib-react/package.json b/packages/shared-lib-react/package.json index 3d3583b7..3e1127f0 100644 --- a/packages/shared-lib-react/package.json +++ b/packages/shared-lib-react/package.json @@ -50,8 +50,8 @@ "@types/react-dom": "18.3.1", "@typescript-eslint/eslint-plugin": "8.10.0", "@typescript-eslint/parser": "8.10.0", - "@willbooster/eslint-config-ts-react": "10.2.0", - "@willbooster/prettier-config": "9.1.2", + "@willbooster/eslint-config-ts-react": "10.2.1", + "@willbooster/prettier-config": "9.1.3", "babel-loader": "9.2.1", "build-ts": "13.1.8", "eslint": "8.57.0", diff --git a/packages/shared-lib/package.json b/packages/shared-lib/package.json index f8115baf..9dda1396 100644 --- a/packages/shared-lib/package.json +++ b/packages/shared-lib/package.json @@ -40,8 +40,8 @@ "@types/micromatch": "4.0.9", "@typescript-eslint/eslint-plugin": "8.10.0", "@typescript-eslint/parser": "8.10.0", - "@willbooster/eslint-config-ts": "10.6.0", - "@willbooster/prettier-config": "9.1.2", + "@willbooster/eslint-config-ts": "10.6.1", + "@willbooster/prettier-config": "9.1.3", "build-ts": "13.1.8", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", diff --git a/packages/wb/package.json b/packages/wb/package.json index cf6e2ec8..d725279b 100644 --- a/packages/wb/package.json +++ b/packages/wb/package.json @@ -42,8 +42,8 @@ "@types/yargs": "17.0.33", "@typescript-eslint/eslint-plugin": "8.10.0", "@typescript-eslint/parser": "8.10.0", - "@willbooster/eslint-config-ts": "10.6.0", - "@willbooster/prettier-config": "9.1.2", + "@willbooster/eslint-config-ts": "10.6.1", + "@willbooster/prettier-config": "9.1.3", "at-decorators": "2.1.0", "build-ts": "13.1.8", "eslint": "8.57.0", diff --git a/yarn.lock b/yarn.lock index c22341af..27f450f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5578,15 +5578,15 @@ __metadata: languageName: node linkType: hard -"@willbooster/eslint-config-ts-react@npm:10.2.0": - version: 10.2.0 - resolution: "@willbooster/eslint-config-ts-react@npm:10.2.0" +"@willbooster/eslint-config-ts-react@npm:10.2.1": + version: 10.2.1 + resolution: "@willbooster/eslint-config-ts-react@npm:10.2.1" dependencies: - "@willbooster/eslint-config-ts": "npm:10.6.0" + "@willbooster/eslint-config-ts": "npm:10.6.1" peerDependencies: "@typescript-eslint/eslint-plugin": ">=5" "@typescript-eslint/parser": ">=5" - "@willbooster/prettier-config": 9.1.2 + "@willbooster/prettier-config": 9.1.3 eslint: ">=8" eslint-config-prettier: ">=8" eslint-import-resolver-typescript: ">=2" @@ -5596,17 +5596,17 @@ __metadata: eslint-plugin-sort-class-members: ">=1.14" eslint-plugin-sort-destructure-keys: ">=1.4" typescript: ">=4" - checksum: 10c0/9edb47ef4baaecc7463fae50609d3cd5dce2108415f91d5f85f8a696d88a71dd992826f77262788ff399d080bcc559aab86b0f97f7b10acb196c4a06618b8bca + checksum: 10c0/31957060047a72fd8774a897c16205b13632023fb702119bfc054f98878e3fc5d306c0b245953beb2f38c37ef7cc03ce04973e520713afc35b69b8382e6e0d2b languageName: node linkType: hard -"@willbooster/eslint-config-ts@npm:10.6.0": - version: 10.6.0 - resolution: "@willbooster/eslint-config-ts@npm:10.6.0" +"@willbooster/eslint-config-ts@npm:10.6.1": + version: 10.6.1 + resolution: "@willbooster/eslint-config-ts@npm:10.6.1" peerDependencies: "@typescript-eslint/eslint-plugin": ">=5" "@typescript-eslint/parser": ">=5" - "@willbooster/prettier-config": 9.1.2 + "@willbooster/prettier-config": 9.1.3 eslint: ">=8" eslint-config-prettier: ">=8" eslint-import-resolver-typescript: ">=2" @@ -5614,16 +5614,16 @@ __metadata: eslint-plugin-sort-class-members: ">=1.14" eslint-plugin-sort-destructure-keys: ">=1.4" typescript: ">=4" - checksum: 10c0/f403804cd9f04aeb7af08bc801bfa6ed653f650f10667bd8986cf0cf2e700e166edad26f3b60c5784508984039abd729b510d9dbc64be454597274b2c6881c3b + checksum: 10c0/a90c08d9d3ef1246f8d7e10744a409a1bf39e333eee52d1ef0b02bccdfa5c5832f2bf2f5330a05adfe98d64ce95d1dd36014c632866d0f8779e9c40043e5b4a6 languageName: node linkType: hard -"@willbooster/prettier-config@npm:9.1.2": - version: 9.1.2 - resolution: "@willbooster/prettier-config@npm:9.1.2" +"@willbooster/prettier-config@npm:9.1.3": + version: 9.1.3 + resolution: "@willbooster/prettier-config@npm:9.1.3" peerDependencies: prettier: ">=2" - checksum: 10c0/814c5ca454f809f391b1884a9243764aaa3bd2d2ccbc853be925bf7d1cb395c0d2a5df9165eb2239cf72fa19b56b22597d375221674c229da6ffcc55cdcdc9dc + checksum: 10c0/b3be5c34e2052bfb2030d21bebe72594b55e448ca5a22d7a0f49d9d166cced36618f5862df3ac9c3d3b495a46119678711b62bb916aba52769019650ec4f5f66 languageName: node linkType: hard @@ -5635,8 +5635,8 @@ __metadata: "@types/micromatch": "npm:4.0.9" "@typescript-eslint/eslint-plugin": "npm:8.10.0" "@typescript-eslint/parser": "npm:8.10.0" - "@willbooster/eslint-config-ts": "npm:10.6.0" - "@willbooster/prettier-config": "npm:9.1.2" + "@willbooster/eslint-config-ts": "npm:10.6.1" + "@willbooster/prettier-config": "npm:9.1.3" blitz: "npm:2.1.1" build-ts: "npm:13.1.8" eslint: "npm:8.57.0" @@ -5674,8 +5674,8 @@ __metadata: "@types/node": "npm:20.16.13" "@typescript-eslint/eslint-plugin": "npm:8.10.0" "@typescript-eslint/parser": "npm:8.10.0" - "@willbooster/eslint-config-ts": "npm:10.6.0" - "@willbooster/prettier-config": "npm:9.1.2" + "@willbooster/eslint-config-ts": "npm:10.6.1" + "@willbooster/prettier-config": "npm:9.1.3" build-ts: "npm:13.1.8" dotenv: "npm:16.4.5" eslint: "npm:8.57.0" @@ -5716,8 +5716,8 @@ __metadata: "@types/react-dom": "npm:18.3.1" "@typescript-eslint/eslint-plugin": "npm:8.10.0" "@typescript-eslint/parser": "npm:8.10.0" - "@willbooster/eslint-config-ts-react": "npm:10.2.0" - "@willbooster/prettier-config": "npm:9.1.2" + "@willbooster/eslint-config-ts-react": "npm:10.2.1" + "@willbooster/prettier-config": "npm:9.1.3" babel-loader: "npm:9.2.1" build-ts: "npm:13.1.8" eslint: "npm:8.57.0" @@ -5752,8 +5752,8 @@ __metadata: "@types/micromatch": "npm:4.0.9" "@typescript-eslint/eslint-plugin": "npm:8.10.0" "@typescript-eslint/parser": "npm:8.10.0" - "@willbooster/eslint-config-ts": "npm:10.6.0" - "@willbooster/prettier-config": "npm:9.1.2" + "@willbooster/eslint-config-ts": "npm:10.6.1" + "@willbooster/prettier-config": "npm:9.1.3" build-ts: "npm:13.1.8" eslint: "npm:8.57.0" eslint-config-prettier: "npm:9.1.0" @@ -5784,8 +5784,8 @@ __metadata: "@types/yargs": "npm:17.0.33" "@typescript-eslint/eslint-plugin": "npm:8.10.0" "@typescript-eslint/parser": "npm:8.10.0" - "@willbooster/eslint-config-ts": "npm:10.6.0" - "@willbooster/prettier-config": "npm:9.1.2" + "@willbooster/eslint-config-ts": "npm:10.6.1" + "@willbooster/prettier-config": "npm:9.1.3" at-decorators: "npm:2.1.0" build-ts: "npm:13.1.8" chalk: "npm:5.3.0" @@ -20057,7 +20057,7 @@ __metadata: "@qiwi/multi-semantic-release": "npm:7.1.2" "@types/eslint": "npm:8.56.10" "@typescript-eslint/parser": "npm:8.10.0" - "@willbooster/prettier-config": "npm:9.1.2" + "@willbooster/prettier-config": "npm:9.1.3" conventional-changelog-conventionalcommits: "npm:6.1.0" eslint: "npm:8.57.0" husky: "npm:9.1.6"