From b0a4c78a96356f481837d3af264c0bac82318857 Mon Sep 17 00:00:00 2001 From: "WillBooster Inc." Date: Wed, 15 May 2024 14:10:13 +0000 Subject: [PATCH] chore: willboosterify this repo --- .editorconfig | 2 +- .eslintignore | 1 + .gitattributes | 4 + .github/pull_request_template.md | 4 +- .../add-focused-issue-to-project.yml | 13 - .../workflows/add-ready-issue-to-project.yml | 2 +- .gitignore | 1 + .husky/post-merge | 3 - .husky/pre-commit | 3 - .husky/pre-push | 3 - .idea/watcherTasks.xml | 297 ++++++++++++++++-- .lintstagedrc.cjs | 2 +- .prettierignore | 1 + .yarn/plugins/plugin-auto-install.cjs | 4 +- .yarnrc.yml | 4 +- package.json | 7 +- packages/babel-configs/.gitignore | 1 + packages/babel-configs/.lintstagedrc.cjs | 2 +- packages/babel-configs/.prettierignore | 1 + packages/babel-configs/package.json | 2 +- packages/biome-config/.gitignore | 1 + packages/biome-config/.lintstagedrc.cjs | 2 +- packages/biome-config/.prettierignore | 1 + packages/biome-config/package.json | 4 +- .../eslint-config-blitz-next/.eslintignore | 1 + packages/eslint-config-blitz-next/.gitignore | 1 + .../.lintstagedrc.cjs | 2 +- .../eslint-config-blitz-next/.prettierignore | 1 + .../eslint-config-blitz-next/package.json | 8 +- packages/eslint-config-js-react/.eslintignore | 1 + packages/eslint-config-js-react/.gitignore | 1 + .../eslint-config-js-react/.lintstagedrc.cjs | 2 +- .../eslint-config-js-react/.prettierignore | 1 + packages/eslint-config-js-react/package.json | 4 +- packages/eslint-config-js/.eslintignore | 1 + packages/eslint-config-js/.gitignore | 1 + packages/eslint-config-js/.lintstagedrc.cjs | 2 +- packages/eslint-config-js/.prettierignore | 1 + packages/eslint-config-js/package.json | 4 +- packages/eslint-config-next/.eslintignore | 1 + packages/eslint-config-next/.gitignore | 1 + packages/eslint-config-next/.lintstagedrc.cjs | 2 +- packages/eslint-config-next/.prettierignore | 1 + packages/eslint-config-next/package.json | 8 +- packages/eslint-config-ts-react/.eslintignore | 1 + packages/eslint-config-ts-react/.gitignore | 1 + .../eslint-config-ts-react/.lintstagedrc.cjs | 2 +- .../eslint-config-ts-react/.prettierignore | 1 + packages/eslint-config-ts-react/package.json | 8 +- packages/eslint-config-ts/.eslintignore | 1 + packages/eslint-config-ts/.gitignore | 1 + packages/eslint-config-ts/.lintstagedrc.cjs | 2 +- packages/eslint-config-ts/.prettierignore | 1 + packages/eslint-config-ts/package.json | 8 +- packages/prettier-config/.gitignore | 1 + packages/prettier-config/.lintstagedrc.cjs | 2 +- packages/prettier-config/.prettierignore | 1 + packages/prettier-config/package.json | 2 +- packages/rollup-configs/.gitignore | 1 + packages/rollup-configs/.lintstagedrc.cjs | 2 +- packages/rollup-configs/.prettierignore | 1 + packages/rollup-configs/package.json | 2 +- packages/shared/.eslintignore | 1 + packages/shared/.gitignore | 1 + packages/shared/.lintstagedrc.cjs | 2 +- packages/shared/.prettierignore | 1 + packages/shared/package.json | 8 +- yarn.lock | 218 +++++++------ 68 files changed, 497 insertions(+), 181 deletions(-) delete mode 100644 .github/workflows/add-focused-issue-to-project.yml diff --git a/.editorconfig b/.editorconfig index 329bb822..eb69cb45 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,7 +6,7 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true -[*.{cjs,cpp,cts,dart,htm,html,js,json,json5,jsx,mjs,mts,pu,puml,rb,ts,tsx,vue,yaml,yml}] +[*.{cjs,cpp,cts,dart,htm,html,js,json,json5,jsonc,jsx,mjs,mts,pu,puml,rb,ts,tsx,vue,xml,yaml,yml}] indent_size = 2 indent_style = space diff --git a/.eslintignore b/.eslintignore index 570d3f18..5b23ea70 100644 --- a/.eslintignore +++ b/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/.gitattributes b/.gitattributes index 2d4b19fd..fb3dd403 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,6 +11,7 @@ *.js text eol=lf *.json text eol=lf *.json5 text eol=lf +*.jsonc text eol=lf *.jsx text eol=lf *.mjs text eol=lf *.mts text eol=lf @@ -20,9 +21,12 @@ *.ts text eol=lf *.tsx text eol=lf *.vue text eol=lf +*.xml text eol=lf *.yaml text eol=lf *.yml text eol=lf *.go text eol=lf *.gradle text eol=lf *.py text eol=lf *.md text eol=lf + +dist/** linguist-generated=true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 958d4fd8..856d2f71 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,8 +10,8 @@ Close # - Lint command (e.g., `yarn lint`) is passed. - [ ] I've reviewed my changes on PR's diff view. - - + diff --git a/.github/workflows/add-focused-issue-to-project.yml b/.github/workflows/add-focused-issue-to-project.yml deleted file mode 100644 index 28525a7d..00000000 --- a/.github/workflows/add-focused-issue-to-project.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Add focused issue to GitHub project -on: - issues: - types: - - labeled -jobs: - add-focused-issue-to-project: - uses: WillBooster/reusable-workflows/.github/workflows/add-issue-to-project.yml@main - with: - label: 'focused :dart:' - secrets: - GH_PROJECT_URL: https://github.com/orgs/WillBooster/projects/7 - GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }} diff --git a/.github/workflows/add-ready-issue-to-project.yml b/.github/workflows/add-ready-issue-to-project.yml index 0f143bb7..87aa8dfa 100644 --- a/.github/workflows/add-ready-issue-to-project.yml +++ b/.github/workflows/add-ready-issue-to-project.yml @@ -7,7 +7,7 @@ jobs: add-ready-issue-to-project: uses: WillBooster/reusable-workflows/.github/workflows/add-issue-to-project.yml@main with: - label: 'ready :rocket:' + labeled: 'ready :rocket:' secrets: GH_PROJECT_URL: https://github.com/orgs/WillBoosterLab/projects/5 GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }} diff --git a/.gitignore b/.gitignore index c025dfc2..edaefd33 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/.husky/post-merge b/.husky/post-merge index d0dc55c7..6f9c95b9 100755 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" run_if_changed() { diff --git a/.husky/pre-commit b/.husky/pre-commit index 1df1cdea..2d46cfb8 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - node node_modules/.bin/lint-staged diff --git a/.husky/pre-push b/.husky/pre-push index 1c78ccb6..bf6106ac 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - yarn workspaces foreach --all --parallel --verbose run typecheck diff --git a/.idea/watcherTasks.xml b/.idea/watcherTasks.xml index 71a27745..ee5b2a77 100644 --- a/.idea/watcherTasks.xml +++ b/.idea/watcherTasks.xml @@ -2,19 +2,19 @@ - - + + + - + + + + + + - + + + - + + + + + + - + + + + + + + + + + + + + + + + + + + + + + diff --git a/.lintstagedrc.cjs b/.lintstagedrc.cjs index 98ea570d..7108e0ec 100644 --- a/.lintstagedrc.cjs +++ b/.lintstagedrc.cjs @@ -1,5 +1,5 @@ module.exports = { - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/') && !file.includes('/packages/')); if (filteredFiles.length === 0) return []; const commands = [`node node_modules/.bin/prettier --cache --write ${filteredFiles.join(' ')}`]; diff --git a/.prettierignore b/.prettierignore index 237f4587..358f961e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/.yarn/plugins/plugin-auto-install.cjs b/.yarn/plugins/plugin-auto-install.cjs index 6e758906..47b467e6 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"),r=n("fs"),c=n("path"),s="plugin-auto-install v1.9.2";let i=!1,o="";function a(n){try{const t=e.createHash("sha256"),s=c.join(n.cwd,"yarn.lock");r.statSync(s,{throwIfNoEntry:!1})&&t.update(r.readFileSync(s,"utf8"));for(const e of n.workspaces.map((n=>n.cwd)).sort()){const n=c.join(e,"package.json"),s=JSON.parse(r.readFileSync(n,"utf8")),i=Object.keys(s).filter((n=>n.endsWith("ependencies"))),o=[];for(const n of i)o.push(...Object.entries(s[n]).map((([n,t])=>`${n}: ${t}`)));t.update(o.sort().join(","))}return t.digest("hex")}catch{}}function u(n){try{const t=d(n);return r.readFileSync(c.join(t,"hash"),"utf8")}catch{}}function l(n,t){if(!n||n===o)return!1;try{const e=d(t);r.mkdirSync(e,{recursive:!0}),r.writeFileSync(c.join(e,"hash"),n),r.writeFileSync(c.join(e,".gitignore"),".gitignore\nhash"),console.info(`${s} updated dependency hash: ${n}`),o=n}catch{}return!0}function d(n){return c.join(n.cwd,".yarn","plugins","plugin-auto-install")}return{hooks:{validateProject(n){i=!0;const t=a(n);t&&t===u(n)||l(t,n)},afterAllInstalled(n){i=!1;const t=a(n);t&&t===u(n)||l(t,n)},async wrapScriptExecution(n,e,r,c,o){if(i)return n;try{const r=a(e);if(r&&r===u(e))return n;if(!l(r,e))return n;console.info(`${s} is running 'yarn install' due to dependency changes.`),t.spawnSync("yarn",["install"],{cwd:o.cwd,env:o.env}),console.info(`${s} finished 'yarn install'.`);const i=t.spawnSync("yarn",["run",c,...o.args],{cwd:o.cwd,env:o.env,stdio:"inherit",shell:!0});return async()=>i.status||0}catch{}return n}}}}};module.exports=n; -//# sourceMappingURL=index.cjs.map +"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; +//# sourceMappingURL=index.js.map diff --git a/.yarnrc.yml b/.yarnrc.yml index ce004511..13c9d9aa 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -7,8 +7,8 @@ nmMode: hardlinks-global nodeLinker: node-modules plugins: - - checksum: ce19b56f51c3b3ec807f36dfef041828dbd2ea66757299b28b0e33dc3346a830b230bc81d60c04892a2655f46ebb1a5475c0f47f3ea0df555d8c6ebac87d2ca5 + - checksum: 8b171ee8559cde7c8696b5459b49e19cb8ec2cdf942a6a64107706c803f5f1b9b96ae7378a32240ce5119807ac7cf12cd8dd32313188d2f72a3452d28e9c3e44 path: .yarn/plugins/plugin-auto-install.cjs - spec: 'https://github.com/WillBooster/yarn-plugin-auto-install/releases/download/v1.9.2/index.cjs' + spec: 'https://github.com/WillBooster/yarn-plugin-auto-install/releases/download/v2.0.1/index.cjs' yarnPath: .yarn/releases/yarn-4.2.2.cjs diff --git a/package.json b/package.json index 2a5aea02..3ca0fced 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,13 @@ "scripts": { "cleanup": "yarn format && yarn lint-fix", "format": "sort-package-json && yarn prettify && yarn workspaces foreach --all --parallel --verbose run format", - "postinstall": "husky install", + "postinstall": "husky || true", "lint": "yarn workspaces foreach --all --parallel --verbose run lint", "lint-fix": "yarn workspaces foreach --all --parallel --verbose run lint-fix", "prepack": "pinst --disable", "postpack": "pinst --enable", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/packages/**\" \"!**/test-fixtures/**\"", + "prepare": "husky || true", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/packages/**\" \"!**/test-fixtures/**\"", "release": "yarn multi-semantic-release --debug", "test": "CI=1 FORCE_COLOR=3 yarn workspaces foreach --all --verbose run test", "typecheck": "yarn workspaces foreach --all --parallel --verbose run typecheck" @@ -29,7 +30,7 @@ "@qiwi/multi-semantic-release": "7.1.1", "@types/eslint": "8.56.10", "@types/micromatch": "4.0.7", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/parser": "7.9.0", "@willbooster/prettier-config": "^9.0.1", "conventional-changelog-conventionalcommits": "6.1.0", "dotenv-cli": "7.4.2", diff --git a/packages/babel-configs/.gitignore b/packages/babel-configs/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/babel-configs/.gitignore +++ b/packages/babel-configs/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/babel-configs/.lintstagedrc.cjs b/packages/babel-configs/.lintstagedrc.cjs index cca6d824..ea5f27c3 100644 --- a/packages/babel-configs/.lintstagedrc.cjs +++ b/packages/babel-configs/.lintstagedrc.cjs @@ -1,5 +1,5 @@ module.exports = { - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; const commands = [`node ../../node_modules/.bin/prettier --cache --write ${filteredFiles.join(' ')}`]; diff --git a/packages/babel-configs/.prettierignore b/packages/babel-configs/.prettierignore index 237f4587..358f961e 100644 --- a/packages/babel-configs/.prettierignore +++ b/packages/babel-configs/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/babel-configs/package.json b/packages/babel-configs/package.json index 04f52c69..11bdaf69 100644 --- a/packages/babel-configs/package.json +++ b/packages/babel-configs/package.json @@ -10,7 +10,7 @@ "scripts": { "cleanup": "yarn format", "format": "sort-package-json && yarn prettify", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" }, "prettier": "@willbooster/prettier-config", "devDependencies": { diff --git a/packages/biome-config/.gitignore b/packages/biome-config/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/biome-config/.gitignore +++ b/packages/biome-config/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/biome-config/.lintstagedrc.cjs b/packages/biome-config/.lintstagedrc.cjs index cca6d824..ea5f27c3 100644 --- a/packages/biome-config/.lintstagedrc.cjs +++ b/packages/biome-config/.lintstagedrc.cjs @@ -1,5 +1,5 @@ module.exports = { - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; const commands = [`node ../../node_modules/.bin/prettier --cache --write ${filteredFiles.join(' ')}`]; diff --git a/packages/biome-config/.prettierignore b/packages/biome-config/.prettierignore index 237f4587..358f961e 100644 --- a/packages/biome-config/.prettierignore +++ b/packages/biome-config/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/biome-config/package.json b/packages/biome-config/package.json index 92ce87f3..8363ca99 100644 --- a/packages/biome-config/package.json +++ b/packages/biome-config/package.json @@ -11,11 +11,13 @@ "scripts": { "cleanup": "yarn format", "format": "sort-package-json && yarn prettify", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" }, + "prettier": "@willbooster/prettier-config", "devDependencies": { "@biomejs/biome": "1.7.3", "lint-staged": "15.2.2", + "prettier": "3.2.5", "sort-package-json": "2.10.0" }, "peerDependencies": { diff --git a/packages/eslint-config-blitz-next/.eslintignore b/packages/eslint-config-blitz-next/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/eslint-config-blitz-next/.eslintignore +++ b/packages/eslint-config-blitz-next/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-blitz-next/.gitignore b/packages/eslint-config-blitz-next/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/eslint-config-blitz-next/.gitignore +++ b/packages/eslint-config-blitz-next/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-blitz-next/.lintstagedrc.cjs b/packages/eslint-config-blitz-next/.lintstagedrc.cjs index aa85e2e1..5f272f2e 100644 --- a/packages/eslint-config-blitz-next/.lintstagedrc.cjs +++ b/packages/eslint-config-blitz-next/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix --rule "{ react-hooks/exhaustive-deps: 0 }"', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/eslint-config-blitz-next/.prettierignore b/packages/eslint-config-blitz-next/.prettierignore index 237f4587..358f961e 100644 --- a/packages/eslint-config-blitz-next/.prettierignore +++ b/packages/eslint-config-blitz-next/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-blitz-next/package.json b/packages/eslint-config-blitz-next/package.json index cf0ec86c..fa428c3b 100644 --- a/packages/eslint-config-blitz-next/package.json +++ b/packages/eslint-config-blitz-next/package.json @@ -13,7 +13,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix --rule \"{ react-hooks/exhaustive-deps: 0 }\"", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint", "typecheck": "tsc --noEmit --Pretty" }, @@ -27,8 +27,8 @@ "@types/micromatch": "4.0.7", "@types/node": "20.12.11", "@types/react": "18.3.1", - "@typescript-eslint/eslint-plugin": "7.8.0", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/eslint-plugin": "7.9.0", + "@typescript-eslint/parser": "7.9.0", "@willbooster/prettier-config": "^9.0.1", "eslint": "8.57.0", "eslint-config-next": "14.2.3", @@ -39,7 +39,7 @@ "eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/packages/eslint-config-js-react/.eslintignore b/packages/eslint-config-js-react/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/eslint-config-js-react/.eslintignore +++ b/packages/eslint-config-js-react/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-js-react/.gitignore b/packages/eslint-config-js-react/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/eslint-config-js-react/.gitignore +++ b/packages/eslint-config-js-react/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-js-react/.lintstagedrc.cjs b/packages/eslint-config-js-react/.lintstagedrc.cjs index aa85e2e1..5f272f2e 100644 --- a/packages/eslint-config-js-react/.lintstagedrc.cjs +++ b/packages/eslint-config-js-react/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix --rule "{ react-hooks/exhaustive-deps: 0 }"', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/eslint-config-js-react/.prettierignore b/packages/eslint-config-js-react/.prettierignore index 237f4587..358f961e 100644 --- a/packages/eslint-config-js-react/.prettierignore +++ b/packages/eslint-config-js-react/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-js-react/package.json b/packages/eslint-config-js-react/package.json index 9ed423b9..92e96d05 100644 --- a/packages/eslint-config-js-react/package.json +++ b/packages/eslint-config-js-react/package.json @@ -13,7 +13,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix --rule \"{ react-hooks/exhaustive-deps: 0 }\"", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint" }, "prettier": "@willbooster/prettier-config", @@ -32,7 +32,7 @@ "eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/packages/eslint-config-js/.eslintignore b/packages/eslint-config-js/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/eslint-config-js/.eslintignore +++ b/packages/eslint-config-js/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-js/.gitignore b/packages/eslint-config-js/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/eslint-config-js/.gitignore +++ b/packages/eslint-config-js/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-js/.lintstagedrc.cjs b/packages/eslint-config-js/.lintstagedrc.cjs index efa1ab0c..9baa2671 100644 --- a/packages/eslint-config-js/.lintstagedrc.cjs +++ b/packages/eslint-config-js/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/eslint-config-js/.prettierignore b/packages/eslint-config-js/.prettierignore index 237f4587..358f961e 100644 --- a/packages/eslint-config-js/.prettierignore +++ b/packages/eslint-config-js/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-js/package.json b/packages/eslint-config-js/package.json index 1f265538..ffc9c120 100644 --- a/packages/eslint-config-js/package.json +++ b/packages/eslint-config-js/package.json @@ -13,7 +13,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint" }, "prettier": "@willbooster/prettier-config", @@ -26,7 +26,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/packages/eslint-config-next/.eslintignore b/packages/eslint-config-next/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/eslint-config-next/.eslintignore +++ b/packages/eslint-config-next/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-next/.gitignore b/packages/eslint-config-next/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/eslint-config-next/.gitignore +++ b/packages/eslint-config-next/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-next/.lintstagedrc.cjs b/packages/eslint-config-next/.lintstagedrc.cjs index aa85e2e1..5f272f2e 100644 --- a/packages/eslint-config-next/.lintstagedrc.cjs +++ b/packages/eslint-config-next/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix --rule "{ react-hooks/exhaustive-deps: 0 }"', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/eslint-config-next/.prettierignore b/packages/eslint-config-next/.prettierignore index 237f4587..358f961e 100644 --- a/packages/eslint-config-next/.prettierignore +++ b/packages/eslint-config-next/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index 94495d34..59e34726 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -13,7 +13,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix --rule \"{ react-hooks/exhaustive-deps: 0 }\"", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint", "typecheck": "tsc --noEmit --Pretty" }, @@ -26,8 +26,8 @@ "@types/micromatch": "4.0.7", "@types/node": "20.12.11", "@types/react": "18.3.1", - "@typescript-eslint/eslint-plugin": "7.8.0", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/eslint-plugin": "7.9.0", + "@typescript-eslint/parser": "7.9.0", "@willbooster/prettier-config": "^9.0.1", "eslint": "8.57.0", "eslint-config-next": "14.2.3", @@ -38,7 +38,7 @@ "eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/packages/eslint-config-ts-react/.eslintignore b/packages/eslint-config-ts-react/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/eslint-config-ts-react/.eslintignore +++ b/packages/eslint-config-ts-react/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-ts-react/.gitignore b/packages/eslint-config-ts-react/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/eslint-config-ts-react/.gitignore +++ b/packages/eslint-config-ts-react/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-ts-react/.lintstagedrc.cjs b/packages/eslint-config-ts-react/.lintstagedrc.cjs index aa85e2e1..5f272f2e 100644 --- a/packages/eslint-config-ts-react/.lintstagedrc.cjs +++ b/packages/eslint-config-ts-react/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix --rule "{ react-hooks/exhaustive-deps: 0 }"', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/eslint-config-ts-react/.prettierignore b/packages/eslint-config-ts-react/.prettierignore index 237f4587..358f961e 100644 --- a/packages/eslint-config-ts-react/.prettierignore +++ b/packages/eslint-config-ts-react/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-ts-react/package.json b/packages/eslint-config-ts-react/package.json index c29451fb..a2733f9b 100644 --- a/packages/eslint-config-ts-react/package.json +++ b/packages/eslint-config-ts-react/package.json @@ -13,7 +13,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix --rule \"{ react-hooks/exhaustive-deps: 0 }\"", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint", "typecheck": "tsc --noEmit --Pretty" }, @@ -26,8 +26,8 @@ "@types/micromatch": "4.0.7", "@types/node": "20.12.11", "@types/react": "18.3.1", - "@typescript-eslint/eslint-plugin": "7.8.0", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/eslint-plugin": "7.9.0", + "@typescript-eslint/parser": "7.9.0", "@willbooster/prettier-config": "^9.0.1", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", @@ -37,7 +37,7 @@ "eslint-plugin-react-hooks": "4.6.2", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/packages/eslint-config-ts/.eslintignore b/packages/eslint-config-ts/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/eslint-config-ts/.eslintignore +++ b/packages/eslint-config-ts/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-ts/.gitignore b/packages/eslint-config-ts/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/eslint-config-ts/.gitignore +++ b/packages/eslint-config-ts/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-ts/.lintstagedrc.cjs b/packages/eslint-config-ts/.lintstagedrc.cjs index efa1ab0c..9baa2671 100644 --- a/packages/eslint-config-ts/.lintstagedrc.cjs +++ b/packages/eslint-config-ts/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/eslint-config-ts/.prettierignore b/packages/eslint-config-ts/.prettierignore index 237f4587..358f961e 100644 --- a/packages/eslint-config-ts/.prettierignore +++ b/packages/eslint-config-ts/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/eslint-config-ts/package.json b/packages/eslint-config-ts/package.json index b20553be..a3341849 100644 --- a/packages/eslint-config-ts/package.json +++ b/packages/eslint-config-ts/package.json @@ -13,7 +13,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint", "typecheck": "tsc --noEmit --Pretty" }, @@ -22,8 +22,8 @@ "@types/eslint": "8.56.10", "@types/micromatch": "4.0.7", "@types/node": "20.12.11", - "@typescript-eslint/eslint-plugin": "7.8.0", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/eslint-plugin": "7.9.0", + "@typescript-eslint/parser": "7.9.0", "@willbooster/prettier-config": "^9.0.1", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", @@ -31,7 +31,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/packages/prettier-config/.gitignore b/packages/prettier-config/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/prettier-config/.gitignore +++ b/packages/prettier-config/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/prettier-config/.lintstagedrc.cjs b/packages/prettier-config/.lintstagedrc.cjs index cca6d824..ea5f27c3 100644 --- a/packages/prettier-config/.lintstagedrc.cjs +++ b/packages/prettier-config/.lintstagedrc.cjs @@ -1,5 +1,5 @@ module.exports = { - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; const commands = [`node ../../node_modules/.bin/prettier --cache --write ${filteredFiles.join(' ')}`]; diff --git a/packages/prettier-config/.prettierignore b/packages/prettier-config/.prettierignore index 237f4587..358f961e 100644 --- a/packages/prettier-config/.prettierignore +++ b/packages/prettier-config/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 12f622d8..d0b98524 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -11,7 +11,7 @@ "scripts": { "cleanup": "yarn format", "format": "sort-package-json && yarn prettify", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" }, "devDependencies": { "lint-staged": "15.2.2", diff --git a/packages/rollup-configs/.gitignore b/packages/rollup-configs/.gitignore index c025dfc2..edaefd33 100644 --- a/packages/rollup-configs/.gitignore +++ b/packages/rollup-configs/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/gen-configs +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/rollup-configs/.lintstagedrc.cjs b/packages/rollup-configs/.lintstagedrc.cjs index cca6d824..ea5f27c3 100644 --- a/packages/rollup-configs/.lintstagedrc.cjs +++ b/packages/rollup-configs/.lintstagedrc.cjs @@ -1,5 +1,5 @@ module.exports = { - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; const commands = [`node ../../node_modules/.bin/prettier --cache --write ${filteredFiles.join(' ')}`]; diff --git a/packages/rollup-configs/.prettierignore b/packages/rollup-configs/.prettierignore index 237f4587..358f961e 100644 --- a/packages/rollup-configs/.prettierignore +++ b/packages/rollup-configs/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/rollup-configs/package.json b/packages/rollup-configs/package.json index ecb99cbc..86e10645 100644 --- a/packages/rollup-configs/package.json +++ b/packages/rollup-configs/package.json @@ -10,7 +10,7 @@ "scripts": { "cleanup": "yarn format", "format": "sort-package-json && yarn prettify", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"" }, "prettier": "@willbooster/prettier-config", "devDependencies": { diff --git a/packages/shared/.eslintignore b/packages/shared/.eslintignore index 570d3f18..5b23ea70 100644 --- a/packages/shared/.eslintignore +++ b/packages/shared/.eslintignore @@ -15,6 +15,7 @@ test-fixtures/ *.min.*js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/shared/.gitignore b/packages/shared/.gitignore index 5fbd7f30..170c94a9 100644 --- a/packages/shared/.gitignore +++ b/packages/shared/.gitignore @@ -3,6 +3,7 @@ # Generated by @willbooster/willboosterify +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/shared/.lintstagedrc.cjs b/packages/shared/.lintstagedrc.cjs index efa1ab0c..9baa2671 100644 --- a/packages/shared/.lintstagedrc.cjs +++ b/packages/shared/.lintstagedrc.cjs @@ -5,7 +5,7 @@ module.exports = { 'node ../../node_modules/.bin/eslint --fix', 'node ../../node_modules/.bin/prettier --cache --write', ], - './**/*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { + './**/*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}': (files) => { files = micromatch.not(files, './{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}'); const filteredFiles = files.filter((file) => !file.includes('/test-fixtures/')); if (filteredFiles.length === 0) return []; diff --git a/packages/shared/.prettierignore b/packages/shared/.prettierignore index e91d2dcc..84db4c1e 100644 --- a/packages/shared/.prettierignore +++ b/packages/shared/.prettierignore @@ -12,6 +12,7 @@ test-fixtures/ *.min.js .yarn/ .pnp.js +.idea/copilot/chatSessions/ .devcontainer/ dist/ temp/ diff --git a/packages/shared/package.json b/packages/shared/package.json index 82a8da0d..cfab1b56 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -10,7 +10,7 @@ "format": "sort-package-json && yarn prettify", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix", - "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", + "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test-fixtures/**\"", "test": "yarn lint", "typecheck": "tsc --noEmit --Pretty" }, @@ -18,8 +18,8 @@ "devDependencies": { "@types/eslint": "8.56.10", "@types/micromatch": "4.0.7", - "@typescript-eslint/eslint-plugin": "7.8.0", - "@typescript-eslint/parser": "7.8.0", + "@typescript-eslint/eslint-plugin": "7.9.0", + "@typescript-eslint/parser": "7.9.0", "@willbooster/prettier-config": "^9.0.1", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", @@ -27,7 +27,7 @@ "eslint-plugin-import": "2.29.1", "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "2.0.0", - "eslint-plugin-unicorn": "52.0.0", + "eslint-plugin-unicorn": "53.0.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", "prettier": "3.2.5", diff --git a/yarn.lock b/yarn.lock index e5373ddc..c1668a91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -31,7 +31,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.24.5": +"@babel/helper-validator-identifier@npm:^7.24.5": version: 7.24.5 resolution: "@babel/helper-validator-identifier@npm:7.24.5" checksum: 10c0/05f957229d89ce95a137d04e27f7d0680d84ae48b6ad830e399db0779341f7d30290f863a93351b4b3bde2166737f73a286ea42856bb07c8ddaa95600d38645c @@ -254,6 +254,23 @@ __metadata: languageName: node linkType: hard +"@eslint/eslintrc@npm:^3.0.2": + version: 3.0.2 + resolution: "@eslint/eslintrc@npm:3.0.2" + dependencies: + ajv: "npm:^6.12.4" + debug: "npm:^4.3.2" + espree: "npm:^10.0.1" + globals: "npm:^14.0.0" + ignore: "npm:^5.2.0" + import-fresh: "npm:^3.2.1" + js-yaml: "npm:^4.1.0" + minimatch: "npm:^3.1.2" + strip-json-comments: "npm:^3.1.1" + checksum: 10c0/d8c92f06bdf8e2be9fcc0eeac4a9351745174adfcc72571ef3d179101cb55e19f15f6385c2a4f4945a3ba9245802d3371208e2e1e4f00f6bcf6b8711656af85a + languageName: node + linkType: hard + "@eslint/js@npm:8.57.0": version: 8.57.0 resolution: "@eslint/js@npm:8.57.0" @@ -1376,7 +1393,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.9": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -1470,7 +1487,7 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.5.0, @types/semver@npm:^7.5.8": +"@types/semver@npm:^7.5.0": version: 7.5.8 resolution: "@types/semver@npm:7.5.8" checksum: 10c0/8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa @@ -1484,20 +1501,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.8.0" +"@typescript-eslint/eslint-plugin@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/eslint-plugin@npm:7.9.0" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:7.8.0" - "@typescript-eslint/type-utils": "npm:7.8.0" - "@typescript-eslint/utils": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" - debug: "npm:^4.3.4" + "@typescript-eslint/scope-manager": "npm:7.9.0" + "@typescript-eslint/type-utils": "npm:7.9.0" + "@typescript-eslint/utils": "npm:7.9.0" + "@typescript-eslint/visitor-keys": "npm:7.9.0" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" - semver: "npm:^7.6.0" ts-api-utils: "npm:^1.3.0" peerDependencies: "@typescript-eslint/parser": ^7.0.0 @@ -1505,25 +1520,25 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/37ca22620d1834ff0baa28fa4b8fd92039a3903cb95748353de32d56bae2a81ce50d1bbaed27487eebc884e0a0f9387fcb0f1647593e4e6df5111ef674afa9f0 + checksum: 10c0/5c0ded9cb2210c141d236075f01a86447bf497a5061773c3c64a90756264776b4c4df100f7588e36d34f727eca55afd52fe6696a3cbe2d1f131250934254603a languageName: node linkType: hard -"@typescript-eslint/parser@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/parser@npm:7.8.0" +"@typescript-eslint/parser@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/parser@npm:7.9.0" dependencies: - "@typescript-eslint/scope-manager": "npm:7.8.0" - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/typescript-estree": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" + "@typescript-eslint/scope-manager": "npm:7.9.0" + "@typescript-eslint/types": "npm:7.9.0" + "@typescript-eslint/typescript-estree": "npm:7.9.0" + "@typescript-eslint/visitor-keys": "npm:7.9.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10c0/0dd994c1b31b810c25e1b755b8d352debb7bf21a31f9a91acaec34acf4e471320bcceaa67cf64c110c0b8f5fac10a037dbabac6ec423e17adf037e59a7bce9c1 + checksum: 10c0/16ca04645429436d9b7986cddda979ef4d088f4223f4a69e04a369e0fd4852dd5ff3d4b99da2e43cddaa2b421b24ff42f275d87bd110ae2356bdd0e81c2534e7 languageName: node linkType: hard @@ -1555,22 +1570,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/scope-manager@npm:7.8.0" +"@typescript-eslint/scope-manager@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/scope-manager@npm:7.9.0" dependencies: - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" - checksum: 10c0/c253b98e96d4bf0375f473ca2c4d081726f1fd926cdfa65ee14c9ee99cca8eddb763b2d238ac365daa7246bef21b0af38180d04e56e9df7443c0e6f8474d097c + "@typescript-eslint/types": "npm:7.9.0" + "@typescript-eslint/visitor-keys": "npm:7.9.0" + checksum: 10c0/1ba6fc559a42a9b54e38c3ac2b6669efcff1a30292fb4e5fc8739c890a6c0f37d1a6aee1d115198f57c88e4f1776e95c1d7143de5cb5b970d5eb3023e97789dd languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/type-utils@npm:7.8.0" +"@typescript-eslint/type-utils@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/type-utils@npm:7.9.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:7.8.0" - "@typescript-eslint/utils": "npm:7.8.0" + "@typescript-eslint/typescript-estree": "npm:7.9.0" + "@typescript-eslint/utils": "npm:7.9.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependencies: @@ -1578,7 +1593,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/00f6315626b64f7dbc1f7fba6f365321bb8d34141ed77545b2a07970e59a81dbdf768c1e024225ea00953750d74409ddd8a16782fc4a39261e507c04192dacab + checksum: 10c0/775280fb179268f8bacd60e684d9d5a1c6a379646b082c7244bf2dfb7dd693053bd9efa473b71e10a86db69322b0a2cecf5598d019684930df50000bf3d70af0 languageName: node linkType: hard @@ -1589,10 +1604,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/types@npm:7.8.0" - checksum: 10c0/b2fdbfc21957bfa46f7d8809b607ad8c8b67c51821d899064d09392edc12f28b2318a044f0cd5d523d782e84e8f0558778877944964cf38e139f88790cf9d466 +"@typescript-eslint/types@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/types@npm:7.9.0" + checksum: 10c0/d5f4a547dba4865ee2391bf06f2b3f8e8592a561976d2be35bb61ce340c7d1b7b4b25ac6ab5b9941813b465b9420bebb7b2179b1d71f6a83069feeb000b3558d languageName: node linkType: hard @@ -1615,12 +1630,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.8.0" +"@typescript-eslint/typescript-estree@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.9.0" dependencies: - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/visitor-keys": "npm:7.8.0" + "@typescript-eslint/types": "npm:7.9.0" + "@typescript-eslint/visitor-keys": "npm:7.9.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -1630,24 +1645,21 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/1690b62679685073dcb0f62499f0b52b445b37ae6e12d02aa4acbafe3fb023cf999b01f714b6282e88f84fd934fe3e2eefb21a64455d19c348d22bbc68ca8e47 + checksum: 10c0/cfc3d2b7a5433c9a2989c7289bc72b49786993782801ad8ca5a07c651df457a67fbce13b120c86c34c03d56570a90e5cf4f3b8806349f103a3658f2366ec28ea languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/utils@npm:7.8.0" +"@typescript-eslint/utils@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/utils@npm:7.9.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@types/json-schema": "npm:^7.0.15" - "@types/semver": "npm:^7.5.8" - "@typescript-eslint/scope-manager": "npm:7.8.0" - "@typescript-eslint/types": "npm:7.8.0" - "@typescript-eslint/typescript-estree": "npm:7.8.0" - semver: "npm:^7.6.0" + "@typescript-eslint/scope-manager": "npm:7.9.0" + "@typescript-eslint/types": "npm:7.9.0" + "@typescript-eslint/typescript-estree": "npm:7.9.0" peerDependencies: eslint: ^8.56.0 - checksum: 10c0/31fb58388d15b082eb7bd5bce889cc11617aa1131dfc6950471541b3df64c82d1c052e2cccc230ca4ae80456d4f63a3e5dccb79899a8f3211ce36c089b7d7640 + checksum: 10c0/cb99d6a950e7da0319bc7b923a82c52c0798a14e837afee51b2295cfbde02e0a2ac8e0b5904cd7bd01d1b376c7a6ad3739101b486feaf2517c8640024deb88c7 languageName: node linkType: hard @@ -1661,13 +1673,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.8.0": - version: 7.8.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.8.0" +"@typescript-eslint/visitor-keys@npm:7.9.0": + version: 7.9.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.9.0" dependencies: - "@typescript-eslint/types": "npm:7.8.0" + "@typescript-eslint/types": "npm:7.9.0" eslint-visitor-keys: "npm:^3.4.3" - checksum: 10c0/5892fb5d9c58efaf89adb225f7dbbb77f9363961f2ff420b6b130bdd102dddd7aa8a16c46a5a71c19889d27b781e966119a89270555ea2cb5653a04d8994123d + checksum: 10c0/19181d8b9d2d7bc43d5c8884661cd9a86ac316392b8e590187cc507442093a1ba2bef0cc22181b8298d5dc9f455abb73cffa4663451bdf32b1b7fe12160c5c99 languageName: node linkType: hard @@ -1704,6 +1716,7 @@ __metadata: dependencies: "@biomejs/biome": "npm:1.7.3" lint-staged: "npm:15.2.2" + prettier: "npm:3.2.5" sort-package-json: "npm:2.10.0" peerDependencies: "@biomejs/biome": ">=1.7.1" @@ -1717,7 +1730,7 @@ __metadata: "@qiwi/multi-semantic-release": "npm:7.1.1" "@types/eslint": "npm:8.56.10" "@types/micromatch": "npm:4.0.7" - "@typescript-eslint/parser": "npm:7.8.0" + "@typescript-eslint/parser": "npm:7.9.0" "@willbooster/prettier-config": "npm:^9.0.1" conventional-changelog-conventionalcommits: "npm:6.1.0" dotenv-cli: "npm:7.4.2" @@ -1741,8 +1754,8 @@ __metadata: "@types/micromatch": "npm:4.0.7" "@types/node": "npm:20.12.11" "@types/react": "npm:18.3.1" - "@typescript-eslint/eslint-plugin": "npm:7.8.0" - "@typescript-eslint/parser": "npm:7.8.0" + "@typescript-eslint/eslint-plugin": "npm:7.9.0" + "@typescript-eslint/parser": "npm:7.9.0" "@willbooster/eslint-config-ts": "npm:^10.5.1" "@willbooster/prettier-config": "npm:^9.0.1" eslint: "npm:8.57.0" @@ -1754,7 +1767,7 @@ __metadata: eslint-plugin-react-hooks: "npm:4.6.2" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -1794,7 +1807,7 @@ __metadata: eslint-plugin-react-hooks: "npm:4.6.2" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -1838,7 +1851,7 @@ __metadata: eslint-plugin-import: "npm:2.29.1" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -1861,8 +1874,8 @@ __metadata: "@types/micromatch": "npm:4.0.7" "@types/node": "npm:20.12.11" "@types/react": "npm:18.3.1" - "@typescript-eslint/eslint-plugin": "npm:7.8.0" - "@typescript-eslint/parser": "npm:7.8.0" + "@typescript-eslint/eslint-plugin": "npm:7.9.0" + "@typescript-eslint/parser": "npm:7.9.0" "@willbooster/eslint-config-ts": "npm:^10.5.1" "@willbooster/prettier-config": "npm:^9.0.1" eslint: "npm:8.57.0" @@ -1874,7 +1887,7 @@ __metadata: eslint-plugin-react-hooks: "npm:4.6.2" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -1905,8 +1918,8 @@ __metadata: "@types/micromatch": "npm:4.0.7" "@types/node": "npm:20.12.11" "@types/react": "npm:18.3.1" - "@typescript-eslint/eslint-plugin": "npm:7.8.0" - "@typescript-eslint/parser": "npm:7.8.0" + "@typescript-eslint/eslint-plugin": "npm:7.9.0" + "@typescript-eslint/parser": "npm:7.9.0" "@willbooster/eslint-config-ts": "npm:^10.5.1" "@willbooster/prettier-config": "npm:^9.0.1" eslint: "npm:8.57.0" @@ -1917,7 +1930,7 @@ __metadata: eslint-plugin-react-hooks: "npm:4.6.2" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -1966,8 +1979,8 @@ __metadata: "@types/eslint": "npm:8.56.10" "@types/micromatch": "npm:4.0.7" "@types/node": "npm:20.12.11" - "@typescript-eslint/eslint-plugin": "npm:7.8.0" - "@typescript-eslint/parser": "npm:7.8.0" + "@typescript-eslint/eslint-plugin": "npm:7.9.0" + "@typescript-eslint/parser": "npm:7.9.0" "@willbooster/prettier-config": "npm:^9.0.1" eslint: "npm:8.57.0" eslint-config-prettier: "npm:9.1.0" @@ -1975,7 +1988,7 @@ __metadata: eslint-plugin-import: "npm:2.29.1" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -2043,8 +2056,8 @@ __metadata: dependencies: "@types/eslint": "npm:8.56.10" "@types/micromatch": "npm:4.0.7" - "@typescript-eslint/eslint-plugin": "npm:7.8.0" - "@typescript-eslint/parser": "npm:7.8.0" + "@typescript-eslint/eslint-plugin": "npm:7.9.0" + "@typescript-eslint/parser": "npm:7.9.0" "@willbooster/prettier-config": "npm:^9.0.1" eslint: "npm:8.57.0" eslint-config-prettier: "npm:9.1.0" @@ -2052,7 +2065,7 @@ __metadata: eslint-plugin-import: "npm:2.29.1" eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:2.0.0" - eslint-plugin-unicorn: "npm:52.0.0" + eslint-plugin-unicorn: "npm:53.0.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" prettier: "npm:3.2.5" @@ -2098,7 +2111,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.11.3, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.11.3 resolution: "acorn@npm:8.11.3" bin: @@ -3099,12 +3112,12 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.34.0": - version: 3.37.0 - resolution: "core-js-compat@npm:3.37.0" +"core-js-compat@npm:^3.37.0": + version: 3.37.1 + resolution: "core-js-compat@npm:3.37.1" dependencies: browserslist: "npm:^4.23.0" - checksum: 10c0/ca6ba7d200f7a4a850fd5cba58b40ab78139d3f301bad7b53816eafe0cfb000523e72882069ddaba440794b950ed101225668bf7b97b73e54a5e3384a8215e03 + checksum: 10c0/4e2da9c900f2951a57947af7aeef4d16f2c75d7f7e966c0d0b62953f65225003ade5e84d3ae98847f65b24c109c606821d9dc925db8ca418fb761e7c81963c2a languageName: node linkType: hard @@ -3889,16 +3902,16 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-unicorn@npm:52.0.0": - version: 52.0.0 - resolution: "eslint-plugin-unicorn@npm:52.0.0" +"eslint-plugin-unicorn@npm:53.0.0": + version: 53.0.0 + resolution: "eslint-plugin-unicorn@npm:53.0.0" dependencies: - "@babel/helper-validator-identifier": "npm:^7.22.20" + "@babel/helper-validator-identifier": "npm:^7.24.5" "@eslint-community/eslint-utils": "npm:^4.4.0" - "@eslint/eslintrc": "npm:^2.1.4" + "@eslint/eslintrc": "npm:^3.0.2" ci-info: "npm:^4.0.0" clean-regexp: "npm:^1.0.0" - core-js-compat: "npm:^3.34.0" + core-js-compat: "npm:^3.37.0" esquery: "npm:^1.5.0" indent-string: "npm:^4.0.0" is-builtin-module: "npm:^3.2.1" @@ -3907,11 +3920,11 @@ __metadata: read-pkg-up: "npm:^7.0.1" regexp-tree: "npm:^0.1.27" regjsparser: "npm:^0.10.0" - semver: "npm:^7.5.4" + semver: "npm:^7.6.1" strip-indent: "npm:^3.0.0" peerDependencies: eslint: ">=8.56.0" - checksum: 10c0/c68055ccbbdd4af50fd902f4fd88737f4047cbb727c8135efc578f747007a6c30a65c30af460b667f86e7a8f68d5a8ca031631018a4bdc719bb85114c77d319e + checksum: 10c0/da48048c21a68dd5410ed1f8abb1a80a7dabb5cf751e690dae435cb5359b3150f92682722bdb2e07258689ad1fdceaa9bd2dd08f211aaeb7ed19c62b98a32db5 languageName: node linkType: hard @@ -3932,6 +3945,13 @@ __metadata: languageName: node linkType: hard +"eslint-visitor-keys@npm:^4.0.0": + version: 4.0.0 + resolution: "eslint-visitor-keys@npm:4.0.0" + checksum: 10c0/76619f42cf162705a1515a6868e6fc7567e185c7063a05621a8ac4c3b850d022661262c21d9f1fc1d144ecf0d5d64d70a3f43c15c3fc969a61ace0fb25698cf5 + languageName: node + linkType: hard + "eslint@npm:8.57.0": version: 8.57.0 resolution: "eslint@npm:8.57.0" @@ -3980,6 +4000,17 @@ __metadata: languageName: node linkType: hard +"espree@npm:^10.0.1": + version: 10.0.1 + resolution: "espree@npm:10.0.1" + dependencies: + acorn: "npm:^8.11.3" + acorn-jsx: "npm:^5.3.2" + eslint-visitor-keys: "npm:^4.0.0" + checksum: 10c0/7c0f84afa0f9db7bb899619e6364ed832ef13fe8943691757ddde9a1805ae68b826ed66803323015f707a629a5507d0d290edda2276c25131fe0ad883b8b5636 + languageName: node + linkType: hard + "espree@npm:^9.6.0, espree@npm:^9.6.1": version: 9.6.1 resolution: "espree@npm:9.6.1" @@ -4555,6 +4586,13 @@ __metadata: languageName: node linkType: hard +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 10c0/b96ff42620c9231ad468d4c58ff42afee7777ee1c963013ff8aabe095a451d0ceeb8dcd8ef4cbd64d2538cef45f787a78ba3a9574f4a634438963e334471302d + languageName: node + linkType: hard + "globalthis@npm:^1.0.3": version: 1.0.4 resolution: "globalthis@npm:1.0.4" @@ -7923,7 +7961,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0": +"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.1": version: 7.6.2 resolution: "semver@npm:7.6.2" bin: