From 90ef9c3518e63bd3f2012411adcb7c77533c8816 Mon Sep 17 00:00:00 2001 From: jill64 Date: Fri, 1 Dec 2023 21:35:22 +0900 Subject: [PATCH] chore: refactor ci config --- .eslintignore | 5 - .eslintrc.yml | 15 --- .prettierrc | 5 - demo/.eslintignore | 1 - demo/.eslintrc.yml | 26 ----- demo/eslint.config.js | 4 + demo/package.json | 7 +- eslint.config.js | 9 ++ package.json | 9 +- playwright.config.ts | 32 +----- pnpm-lock.yaml | 250 +++++++++++++++++++----------------------- 11 files changed, 135 insertions(+), 228 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.yml delete mode 100644 .prettierrc delete mode 100644 demo/.eslintignore delete mode 100644 demo/.eslintrc.yml create mode 100644 demo/eslint.config.js create mode 100644 eslint.config.js diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 373a1fa..0000000 --- a/.eslintignore +++ /dev/null @@ -1,5 +0,0 @@ -/demo -/dist -/tests -*.config.* -/scripts diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index a3f27e4..0000000 --- a/.eslintrc.yml +++ /dev/null @@ -1,15 +0,0 @@ -extends: - - eslint:recommended - - plugin:@typescript-eslint/recommended -parserOptions: - ecmaVersion: 2020 - sourceType: module - project: ./tsconfig.json -plugins: - - '@typescript-eslint' - - deprecation -rules: - deprecation/deprecation: error -env: - browser: true - node: true diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 299b9e1..0000000 --- a/.prettierrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "singleQuote": true, - "semi": false, - "trailingComma": "none" -} diff --git a/demo/.eslintignore b/demo/.eslintignore deleted file mode 100644 index 91deea5..0000000 --- a/demo/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -*.config.* diff --git a/demo/.eslintrc.yml b/demo/.eslintrc.yml deleted file mode 100644 index 78a999a..0000000 --- a/demo/.eslintrc.yml +++ /dev/null @@ -1,26 +0,0 @@ -root: true -extends: - - eslint:recommended - - plugin:@typescript-eslint/recommended - - plugin:svelte/recommended - - prettier -parserOptions: - ecmaVersion: 2020 - sourceType: module - project: ./tsconfig.json - extraFileExtensions: - - .svelte -plugins: - - '@typescript-eslint' - - deprecation -rules: - deprecation/deprecation: error -env: - browser: true - node: true -overrides: - - files: - - '*.svelte' - parser: svelte-eslint-parser - parserOptions: - parser: '@typescript-eslint/parser' diff --git a/demo/eslint.config.js b/demo/eslint.config.js new file mode 100644 index 0000000..8b69e92 --- /dev/null +++ b/demo/eslint.config.js @@ -0,0 +1,4 @@ +import { svelteTsConfig } from '@jill64/eslint-config-svelte' + +/** @type {import('@jill64/eslint-config-svelte').FlatConfig[]} */ +export default svelteTsConfig() diff --git a/demo/package.json b/demo/package.json index c86601c..f17d4d9 100644 --- a/demo/package.json +++ b/demo/package.json @@ -5,16 +5,15 @@ "build": "vite build", "preview": "npm run build && vite preview", "lint": "npm run check && npx eslint .", - "format": "npx prettier --write . --plugin prettier-plugin-svelte .", + "format": "npx @jill64/psx", "check": "svelte-kit sync && npx svelte-check" }, + "prettier": "@jill64/prettier-config", "devDependencies": { + "@jill64/eslint-config-svelte": "0.0.3", "@jill64/svelte-toast": "1.2.1", "@sentry/vite-plugin": "2.10.2", "@sveltejs/adapter-cloudflare": "2.3.3", - "eslint-config-prettier": "9.0.0", - "eslint-plugin-svelte": "2.35.1", - "prettier-plugin-svelte": "3.1.2", "svelte": "4.2.8", "vite": "5.0.4" } diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..b437fc0 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,9 @@ +import { tsConfig } from '@jill64/eslint-config-ts' + +/** @type {import('@jill64/eslint-config-ts').FlatConfig[]} */ +export default [ + ...tsConfig(), + { + ignores: ['tests', 'demo', 'scripts'] + } +] diff --git a/package.json b/package.json index e8a7e8d..83270cc 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,7 @@ "publishConfig": { "access": "public" }, + "prettier": "@jill64/prettier-config", "scripts": { "dev": "cd demo && npm run dev", "build": "npm run build:lib && npm run build:demo && npx publint", @@ -53,21 +54,21 @@ "lint:lib": "npx eslint .", "lint:demo": "cd demo && npm run lint", "format": "npm run format:lib && npm run format:demo", - "format:lib": "npx prettier --write .", + "format:lib": "npx prettier -w .", "format:demo": "cd demo && npm run format" }, "peerDependencies": { "@sveltejs/kit": "^1.0.0" }, "devDependencies": { + "@jill64/eslint-config-ts": "0.1.2", + "@jill64/prettier-config": "0.0.1", + "@jill64/playwright-config": "0.0.1", "@playwright/test": "1.40.1", "@sentry/core": "7.84.0", "@sentry/utils": "7.84.0", "@sveltejs/kit": "1.27.6", - "@typescript-eslint/eslint-plugin": "6.13.1", - "@typescript-eslint/parser": "6.13.1", "esbuild": "0.19.8", - "eslint-plugin-deprecation": "2.0.0", "typescript": "5.3.2" }, "dependencies": { diff --git a/playwright.config.ts b/playwright.config.ts index ae8a1c7..d34a741 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,38 +1,12 @@ -import { defineConfig, devices } from '@playwright/test' +import { extendsConfig } from '@jill64/playwright-config' const ref_name = process.env.GITHUB_REF_NAME -export default defineConfig({ +export default extendsConfig({ use: { baseURL: ref_name === 'main' ? 'https://sentry-sveltekit-cloudflare.pages.dev' : `https://${ref_name}.sentry-sveltekit-cloudflare.pages.dev` - }, - testDir: 'tests', - fullyParallel: true, - workers: '100%', - retries: process.env.CI ? 2 : 0, - projects: [ - { - name: 'chromium', - use: devices['Desktop Chrome'] - }, - { - name: 'firefox', - use: devices['Desktop Firefox'] - }, - { - name: 'webkit', - use: devices['Desktop Safari'] - }, - { - name: 'Mobile Chrome', - use: devices['Pixel 5'] - }, - { - name: 'Mobile Safari', - use: devices['iPhone 12'] - } - ] + } }) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7fc3801..5521124 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,6 +15,15 @@ importers: specifier: 3.3.1 version: 3.3.1 devDependencies: + '@jill64/eslint-config-ts': + specifier: 0.1.2 + version: 0.1.2(typescript@5.3.2) + '@jill64/playwright-config': + specifier: 0.0.1 + version: 0.0.1(@playwright/test@1.40.1) + '@jill64/prettier-config': + specifier: 0.0.1 + version: 0.0.1 '@playwright/test': specifier: 1.40.1 version: 1.40.1 @@ -27,24 +36,18 @@ importers: '@sveltejs/kit': specifier: 1.27.6 version: 1.27.6(svelte@4.2.8)(vite@4.5.0) - '@typescript-eslint/eslint-plugin': - specifier: 6.13.1 - version: 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@5.3.2) - '@typescript-eslint/parser': - specifier: 6.13.1 - version: 6.13.1(eslint@8.52.0)(typescript@5.3.2) esbuild: specifier: 0.19.8 version: 0.19.8 - eslint-plugin-deprecation: - specifier: 2.0.0 - version: 2.0.0(eslint@8.52.0)(typescript@5.3.2) typescript: specifier: 5.3.2 version: 5.3.2 demo: devDependencies: + '@jill64/eslint-config-svelte': + specifier: 0.0.3 + version: 0.0.3(svelte@4.2.8)(typescript@5.3.2) '@jill64/svelte-toast': specifier: 1.2.1 version: 1.2.1(svelte@4.2.8) @@ -54,15 +57,6 @@ importers: '@sveltejs/adapter-cloudflare': specifier: 2.3.3 version: 2.3.3(@sveltejs/kit@1.27.6) - eslint-config-prettier: - specifier: 9.0.0 - version: 9.0.0(eslint@8.52.0) - eslint-plugin-svelte: - specifier: 2.35.1 - version: 2.35.1(eslint@8.52.0)(svelte@4.2.8) - prettier-plugin-svelte: - specifier: 3.1.2 - version: 3.1.2(prettier@3.0.3)(svelte@4.2.8) svelte: specifier: 4.2.8 version: 4.2.8 @@ -489,13 +483,13 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.52.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.54.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.52.0 + eslint: 8.54.0 eslint-visitor-keys: 3.4.3 dev: true @@ -504,8 +498,8 @@ packages: engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} dev: true - /@eslint/eslintrc@2.1.2: - resolution: {integrity: sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==} + /@eslint/eslintrc@2.1.3: + resolution: {integrity: sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: ajv: 6.12.6 @@ -521,8 +515,8 @@ packages: - supports-color dev: true - /@eslint/js@8.52.0: - resolution: {integrity: sha512-mjZVbpaeMZludF2fsWLD0Z9gCref1Tk4i9+wddjRvpUNqqcndPkBD09N/Mapey0b3jaXbLm2kICwFv2E64QinA==} + /@eslint/js@8.54.0: + resolution: {integrity: sha512-ut5V+D+fOoWPgGGNj83GGjnntO39xDy6DWxO0wb7Jp3DcMX0TfIqdzHF85VTQkerdyGmuuMD9AKAo5KiNlf/AQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true @@ -550,6 +544,54 @@ packages: resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} dev: true + /@jill64/eslint-config-svelte@0.0.3(svelte@4.2.8)(typescript@5.3.2): + resolution: {integrity: sha512-41NSubPPUJq2Xugr3GhhyueSPFozYpMtwbVHnD317ErxTeW8qhcYkU3wfylGIu2J8gaTENHzxndNWAmRRqIz3g==} + peerDependencies: + svelte: ^4.0.0 + dependencies: + '@eslint/js': 8.54.0 + '@types/eslint': 8.44.8 + '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + eslint: 8.54.0 + eslint-config-prettier: 9.0.0(eslint@8.54.0) + eslint-plugin-deprecation: 2.0.0(eslint@8.54.0)(typescript@5.3.2) + eslint-plugin-svelte: 2.35.1(eslint@8.54.0)(svelte@4.2.8) + svelte: 4.2.8 + svelte-eslint-parser: 0.33.1(svelte@4.2.8) + transitivePeerDependencies: + - supports-color + - ts-node + - typescript + dev: true + + /@jill64/eslint-config-ts@0.1.2(typescript@5.3.2): + resolution: {integrity: sha512-YpQRLFpcknpjLvKvVZQ+WimwejplClFjYfXqKqRq/SKWhbg50McdDDjEd7Zs9P9T1XfibCbq0JaZNrlrrw4odA==} + dependencies: + '@eslint/js': 8.54.0 + '@types/eslint': 8.44.8 + '@typescript-eslint/eslint-plugin': 6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + eslint: 8.54.0 + eslint-config-prettier: 9.0.0(eslint@8.54.0) + eslint-plugin-deprecation: 2.0.0(eslint@8.54.0)(typescript@5.3.2) + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@jill64/playwright-config@0.0.1(@playwright/test@1.40.1): + resolution: {integrity: sha512-PJdJCpdzwxphqn2UWCSng0W9wjzqVBajdbR3pS3YPTf/SoRCsu5kEZ+/tT//BSoe6fZDJ9bEr+aVU0vTvbuX7g==} + peerDependencies: + '@playwright/test': ^1.40.0 + dependencies: + '@playwright/test': 1.40.1 + dev: true + + /@jill64/prettier-config@0.0.1: + resolution: {integrity: sha512-CIFY+UxRAdDGlrmm6b8nMbw+7pLTifR5QANezIyrHMg0oT8jjZSkawcztvcUlTzFKMjCW9yvXiWwCJdRRufjnw==} + dev: true + /@jill64/svelte-device-theme@1.2.2(svelte@4.2.8): resolution: {integrity: sha512-M4woCkhP0lmzPZQq71WEIoc2qvep+RLFI5X/iquZCLTXwwiqlrapmeOQQ2Ic/iHrEAmrH/VF0+b88Ib7QqdHtA==} peerDependencies: @@ -1208,18 +1250,25 @@ packages: /@types/cookie@0.5.3: resolution: {integrity: sha512-SLg07AS9z1Ab2LU+QxzU8RCmzsja80ywjf/t5oqw+4NSH20gIGlhLOrBDm1L3PBWzPa4+wkgFQVZAjE6Ioj2ug==} + /@types/eslint@8.44.8: + resolution: {integrity: sha512-4K8GavROwhrYl2QXDXm0Rv9epkA8GBFu0EI+XrrnnuCl7u8CWBRusX7fXJfanhZTDWSAL24gDI/UqXyUM0Injw==} + dependencies: + '@types/estree': 1.0.3 + '@types/json-schema': 7.0.15 + dev: true + /@types/estree@1.0.3: resolution: {integrity: sha512-CS2rOaoQ/eAgAfcTfq6amKG7bsN+EMcgGY4FAFQdvSj2y1ixvOZTUA9mOtCai7E1SYu283XNw7urKK30nP3wkQ==} - /@types/json-schema@7.0.14: - resolution: {integrity: sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==} + /@types/json-schema@7.0.15: + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} dev: true - /@types/semver@7.5.4: - resolution: {integrity: sha512-MMzuxN3GdFwskAnb6fz0orFvhfqi752yjaXylr0Rp4oDg5H0Zn1IuyRhDVvYOwAXoJirx2xuS16I3WjxnAIHiQ==} + /@types/semver@7.5.6: + resolution: {integrity: sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==} dev: true - /@typescript-eslint/eslint-plugin@6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.52.0)(typescript@5.3.2): + /@typescript-eslint/eslint-plugin@6.13.1(@typescript-eslint/parser@6.13.1)(eslint@8.54.0)(typescript@5.3.2): resolution: {integrity: sha512-5bQDGkXaxD46bPvQt08BUz9YSaO4S0fB1LB5JHQuXTfkGPI3+UUeS387C/e9jRie5GqT8u5kFTrMvAjtX4O5kA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1231,13 +1280,13 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.9.1 - '@typescript-eslint/parser': 6.13.1(eslint@8.52.0)(typescript@5.3.2) + '@typescript-eslint/parser': 6.13.1(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/scope-manager': 6.13.1 - '@typescript-eslint/type-utils': 6.13.1(eslint@8.52.0)(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.52.0)(typescript@5.3.2) + '@typescript-eslint/type-utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.13.1 debug: 4.3.4 - eslint: 8.52.0 + eslint: 8.54.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 @@ -1248,7 +1297,7 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@6.13.1(eslint@8.52.0)(typescript@5.3.2): + /@typescript-eslint/parser@6.13.1(eslint@8.54.0)(typescript@5.3.2): resolution: {integrity: sha512-fs2XOhWCzRhqMmQf0eicLa/CWSaYss2feXsy7xBD/pLyWke/jCIVc2s1ikEAtSW7ina1HNhv7kONoEfVNEcdDQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1263,7 +1312,7 @@ packages: '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) '@typescript-eslint/visitor-keys': 6.13.1 debug: 4.3.4 - eslint: 8.52.0 + eslint: 8.54.0 typescript: 5.3.2 transitivePeerDependencies: - supports-color @@ -1277,15 +1326,7 @@ packages: '@typescript-eslint/visitor-keys': 6.13.1 dev: true - /@typescript-eslint/scope-manager@6.9.0: - resolution: {integrity: sha512-1R8A9Mc39n4pCCz9o79qRO31HGNDvC7UhPhv26TovDsWPBDx+Sg3rOZdCELIA3ZmNoWAuxaMOT7aWtGRSYkQxw==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.9.0 - '@typescript-eslint/visitor-keys': 6.9.0 - dev: true - - /@typescript-eslint/type-utils@6.13.1(eslint@8.52.0)(typescript@5.3.2): + /@typescript-eslint/type-utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): resolution: {integrity: sha512-A2qPlgpxx2v//3meMqQyB1qqTg1h1dJvzca7TugM3Yc2USDY+fsRBiojAEo92HO7f5hW5mjAUF6qobOPzlBCBQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1296,9 +1337,9 @@ packages: optional: true dependencies: '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - '@typescript-eslint/utils': 6.13.1(eslint@8.52.0)(typescript@5.3.2) + '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) debug: 4.3.4 - eslint: 8.52.0 + eslint: 8.54.0 ts-api-utils: 1.0.3(typescript@5.3.2) typescript: 5.3.2 transitivePeerDependencies: @@ -1310,11 +1351,6 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/types@6.9.0: - resolution: {integrity: sha512-+KB0lbkpxBkBSiVCuQvduqMJy+I1FyDbdwSpM3IoBS7APl4Bu15lStPjgBIdykdRqQNYqYNMa8Kuidax6phaEw==} - engines: {node: ^16.0.0 || >=18.0.0} - dev: true - /@typescript-eslint/typescript-estree@6.13.1(typescript@5.3.2): resolution: {integrity: sha512-sBLQsvOC0Q7LGcUHO5qpG1HxRgePbT6wwqOiGLpR8uOJvPJbfs0mW3jPA3ujsDvfiVwVlWUDESNXv44KtINkUQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1336,59 +1372,19 @@ packages: - supports-color dev: true - /@typescript-eslint/typescript-estree@6.9.0(typescript@5.3.2): - resolution: {integrity: sha512-NJM2BnJFZBEAbCfBP00zONKXvMqihZCrmwCaik0UhLr0vAgb6oguXxLX1k00oQyD+vZZ+CJn3kocvv2yxm4awQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 6.9.0 - '@typescript-eslint/visitor-keys': 6.9.0 - debug: 4.3.4 - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.3.2) - typescript: 5.3.2 - transitivePeerDependencies: - - supports-color - dev: true - - /@typescript-eslint/utils@6.13.1(eslint@8.52.0)(typescript@5.3.2): + /@typescript-eslint/utils@6.13.1(eslint@8.54.0)(typescript@5.3.2): resolution: {integrity: sha512-ouPn/zVoan92JgAegesTXDB/oUp6BP1v8WpfYcqh649ejNc9Qv+B4FF2Ff626kO1xg0wWwwG48lAJ4JuesgdOw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.52.0) - '@types/json-schema': 7.0.14 - '@types/semver': 7.5.4 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.6 '@typescript-eslint/scope-manager': 6.13.1 '@typescript-eslint/types': 6.13.1 '@typescript-eslint/typescript-estree': 6.13.1(typescript@5.3.2) - eslint: 8.52.0 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - - /@typescript-eslint/utils@6.9.0(eslint@8.52.0)(typescript@5.3.2): - resolution: {integrity: sha512-5Wf+Jsqya7WcCO8me504FBigeQKVLAMPmUzYgDbWchINNh1KJbxCgVya3EQ2MjvJMVeXl3pofRmprqX6mfQkjQ==} - engines: {node: ^16.0.0 || >=18.0.0} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.52.0) - '@types/json-schema': 7.0.14 - '@types/semver': 7.5.4 - '@typescript-eslint/scope-manager': 6.9.0 - '@typescript-eslint/types': 6.9.0 - '@typescript-eslint/typescript-estree': 6.9.0(typescript@5.3.2) - eslint: 8.52.0 + eslint: 8.54.0 semver: 7.5.4 transitivePeerDependencies: - supports-color @@ -1403,14 +1399,6 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@typescript-eslint/visitor-keys@6.9.0: - resolution: {integrity: sha512-dGtAfqjV6RFOtIP8I0B4ZTBRrlTT8NHHlZZSchQx3qReaoDeXhYM++M4So2AgFK9ZB0emRPA6JI1HkafzA2Ibg==} - engines: {node: ^16.0.0 || >=18.0.0} - dependencies: - '@typescript-eslint/types': 6.9.0 - eslint-visitor-keys: 3.4.3 - dev: true - /@ungap/structured-clone@1.2.0: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true @@ -1748,32 +1736,32 @@ packages: engines: {node: '>=10'} dev: true - /eslint-compat-utils@0.1.2(eslint@8.52.0): + /eslint-compat-utils@0.1.2(eslint@8.54.0): resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' dependencies: - eslint: 8.52.0 + eslint: 8.54.0 dev: true - /eslint-config-prettier@9.0.0(eslint@8.52.0): + /eslint-config-prettier@9.0.0(eslint@8.54.0): resolution: {integrity: sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==} hasBin: true peerDependencies: eslint: '>=7.0.0' dependencies: - eslint: 8.52.0 + eslint: 8.54.0 dev: true - /eslint-plugin-deprecation@2.0.0(eslint@8.52.0)(typescript@5.3.2): + /eslint-plugin-deprecation@2.0.0(eslint@8.54.0)(typescript@5.3.2): resolution: {integrity: sha512-OAm9Ohzbj11/ZFyICyR5N6LbOIvQMp7ZU2zI7Ej0jIc8kiGUERXPNMfw2QqqHD1ZHtjMub3yPZILovYEYucgoQ==} peerDependencies: eslint: ^7.0.0 || ^8.0.0 typescript: ^4.2.4 || ^5.0.0 dependencies: - '@typescript-eslint/utils': 6.9.0(eslint@8.52.0)(typescript@5.3.2) - eslint: 8.52.0 + '@typescript-eslint/utils': 6.13.1(eslint@8.54.0)(typescript@5.3.2) + eslint: 8.54.0 tslib: 2.6.2 tsutils: 3.21.0(typescript@5.3.2) typescript: 5.3.2 @@ -1781,7 +1769,7 @@ packages: - supports-color dev: true - /eslint-plugin-svelte@2.35.1(eslint@8.52.0)(svelte@4.2.8): + /eslint-plugin-svelte@2.35.1(eslint@8.54.0)(svelte@4.2.8): resolution: {integrity: sha512-IF8TpLnROSGy98Z3NrsKXWDSCbNY2ReHDcrYTuXZMbfX7VmESISR78TWgO9zdg4Dht1X8coub5jKwHzP0ExRug==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: @@ -1791,11 +1779,11 @@ packages: svelte: optional: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.52.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@jridgewell/sourcemap-codec': 1.4.15 debug: 4.3.4 - eslint: 8.52.0 - eslint-compat-utils: 0.1.2(eslint@8.52.0) + eslint: 8.54.0 + eslint-compat-utils: 0.1.2(eslint@8.54.0) esutils: 2.0.3 known-css-properties: 0.29.0 postcss: 8.4.31 @@ -1823,15 +1811,15 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint@8.52.0: - resolution: {integrity: sha512-zh/JHnaixqHZsolRB/w9/02akBk9EPrOs9JwcTP2ek7yL5bVvXuRariiaAjjoJ5DvuwQ1WAE/HsMz+w17YgBCg==} + /eslint@8.54.0: + resolution: {integrity: sha512-NY0DfAkM8BIZDVl6PgSa1ttZbx3xHgJzSNJKYcQglem6CppHyMhRIQkBVSSMaSRnLhig3jsDbEzOjwCVt4AmmA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.52.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.54.0) '@eslint-community/regexpp': 4.9.1 - '@eslint/eslintrc': 2.1.2 - '@eslint/js': 8.52.0 + '@eslint/eslintrc': 2.1.3 + '@eslint/js': 8.54.0 '@humanwhocodes/config-array': 0.11.13 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -1921,8 +1909,8 @@ packages: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} dev: true - /fast-glob@3.3.1: - resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==} + /fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} dependencies: '@nodelib/fs.stat': 2.0.5 @@ -2064,7 +2052,7 @@ packages: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.3.1 + fast-glob: 3.3.2 ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 @@ -2583,22 +2571,6 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-svelte@3.1.2(prettier@3.0.3)(svelte@4.2.8): - resolution: {integrity: sha512-7xfMZtwgAWHMT0iZc8jN4o65zgbAQ3+O32V6W7pXrqNvKnHnkoyQCGCbKeUyXKZLbYE0YhFRnamfxfkEGxm8qA==} - peerDependencies: - prettier: ^3.0.0 - svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 - dependencies: - prettier: 3.0.3 - svelte: 4.2.8 - dev: true - - /prettier@3.0.3: - resolution: {integrity: sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==} - engines: {node: '>=14'} - hasBin: true - dev: true - /progress@2.0.3: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'}