diff --git a/package.json b/package.json index 9bfaab6..d8972aa 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint:lint-staged": "lint-staged", "lint:eslint": "eslint --fix --cache \"**/*.{js,jsx,ts,tsx,vue}\"", "lint:stylelint": "stylelint --fix --cache \"**/*.{css,scss,less,styl,vue}\"", - "lint:prettier": "prettier --write \"**/*.{css,scss,less,styl,js,jsx,ts,tsx,vue}\"", + "lint:prettier": "prettier --write \"**/*.{css,scss,less,styl,js,jsx,ts,tsx,vue}\"", "version-packages": "changeset version", "release": "changeset publish" }, diff --git a/packages/create-lint/CHANGELOG.md b/packages/create-lint/CHANGELOG.md index 68fd3ad..d08cab4 100644 --- a/packages/create-lint/CHANGELOG.md +++ b/packages/create-lint/CHANGELOG.md @@ -1,5 +1,11 @@ # @bfehub/create-lint +## 2.1.0 + +### Minor Changes + +- add vitest vue/react + ## 2.0.2 ### Patch Changes diff --git a/packages/create-lint/index.js b/packages/create-lint/index.js index cd0cb4e..cfacd02 100755 --- a/packages/create-lint/index.js +++ b/packages/create-lint/index.js @@ -60,7 +60,8 @@ async function main() { message: 'Pick a test preset', choices: [ { title: 'none', value: [] }, - { title: 'vitest-vue', value: ['test-jest-vue'] }, + { title: 'vitest-vue', value: ['test-vitest-vue'] }, + { title: 'vitest-react', value: ['test-vitest-react'] }, { title: 'jest-vue', value: ['test-jest-vue'] }, { title: 'jest-react', value: ['test-jest-react'] }, ], @@ -85,6 +86,7 @@ async function main() { const config = require(path.resolve(tplPath, configPath, 'config.js')) return config(options) }) + if (!configs.length) return // 安装依赖包 const pkgNames = Array.from( diff --git a/packages/create-lint/package.json b/packages/create-lint/package.json index c1126a5..2c05f88 100644 --- a/packages/create-lint/package.json +++ b/packages/create-lint/package.json @@ -1,7 +1,7 @@ { "name": "@bfehub/create-lint", "type": "commonjs", - "version": "2.0.2", + "version": "2.1.0", "description": "lint cli", "author": "haiweilian ", "homepage": "https://github.com/bfehub/lint", @@ -14,7 +14,7 @@ "access": "public" }, "dependencies": { - "@antfu/install-pkg": "^0.3.1", + "@antfu/install-pkg": "^0.1.0", "fs-extra": "^11.2.0", "kolorist": "^1.8.0", "prompts": "^2.4.2", diff --git a/packages/create-lint/template/test-jest-react/config.js b/packages/create-lint/template/test-jest-react/config.js index ca54e97..b2ca021 100644 --- a/packages/create-lint/template/test-jest-react/config.js +++ b/packages/create-lint/template/test-jest-react/config.js @@ -8,7 +8,9 @@ module.exports = (options) => { pkg: [ 'jest', 'ts-jest', + 'ts-node', 'jest-transform-stub', + 'jest-environment-jsdom', '@types/jest', '@testing-library/react', '@testing-library/jest-dom', diff --git a/packages/create-lint/template/test-jest-vue/config.js b/packages/create-lint/template/test-jest-vue/config.js index eea9632..72fac22 100644 --- a/packages/create-lint/template/test-jest-vue/config.js +++ b/packages/create-lint/template/test-jest-vue/config.js @@ -9,7 +9,9 @@ module.exports = (options) => { pkg: [ 'jest', 'ts-jest', + 'ts-node', 'jest-transform-stub', + 'jest-environment-jsdom', '@types/jest', '@vue/vue3-jest', '@vue/test-utils', diff --git a/packages/create-lint/template/test-vitest-react/config.js b/packages/create-lint/template/test-vitest-react/config.js new file mode 100644 index 0000000..2b840aa --- /dev/null +++ b/packages/create-lint/template/test-vitest-react/config.js @@ -0,0 +1,26 @@ +const { setPkg } = require('../../utils/index') + +// https://github.com/vitest-dev/vitest +// https://github.com/testing-library/react-testing-library +module.exports = (options) => { + return { + pkg: [ + 'vitest', + '@vitest/ui', + '@vitest/coverage-v8', + '@vitejs/plugin-react', + '@testing-library/react', + 'happy-dom', + ], + configFile: ['test-vitest-react/vitest.config.ts'], + async afterInstall() { + await setPkg(options.cwd, { + scripts: { + test: 'vitest', + 'test:ui': 'vitest --ui', + 'test:coverage': 'vitest run --coverage', + }, + }) + }, + } +} diff --git a/packages/create-lint/template/test-vitest-react/vitest.config.ts b/packages/create-lint/template/test-vitest-react/vitest.config.ts new file mode 100644 index 0000000..d00994e --- /dev/null +++ b/packages/create-lint/template/test-vitest-react/vitest.config.ts @@ -0,0 +1,11 @@ +import React from '@vitejs/plugin-react' +import { defineConfig } from 'vitest/config' + +// https://cn.vitest.dev/config/ +// Can write vite.config.ts if it already exists +export default defineConfig({ + plugins: [React()], + test: { + environment: 'happy-dom', + }, +}) diff --git a/packages/create-lint/template/test-vitest-vue/config.js b/packages/create-lint/template/test-vitest-vue/config.js index d4cd7ea..176998c 100644 --- a/packages/create-lint/template/test-vitest-vue/config.js +++ b/packages/create-lint/template/test-vitest-vue/config.js @@ -7,10 +7,9 @@ module.exports = (options) => { pkg: [ 'vitest', '@vitest/ui', + '@vitest/coverage-v8', '@vitejs/plugin-vue', - '@vitejs/plugin-vue-jsx', '@vue/test-utils', - 'c8', 'happy-dom', ], configFile: ['test-vitest-vue/vitest.config.ts'], diff --git a/packages/create-lint/template/test-vitest-vue/vitest.config.ts b/packages/create-lint/template/test-vitest-vue/vitest.config.ts index 48645bf..94ae264 100644 --- a/packages/create-lint/template/test-vitest-vue/vitest.config.ts +++ b/packages/create-lint/template/test-vitest-vue/vitest.config.ts @@ -1,18 +1,11 @@ import Vue from '@vitejs/plugin-vue' -import VueJsx from '@vitejs/plugin-vue-jsx' import { defineConfig } from 'vitest/config' // https://cn.vitest.dev/config/ +// Can write vite.config.ts if it already exists export default defineConfig({ - plugins: [Vue(), VueJsx()], - optimizeDeps: { - disabled: true, - }, + plugins: [Vue()], test: { - clearMocks: true, environment: 'happy-dom', - transformMode: { - web: [/\.[jt]sx$/], - }, }, }) diff --git a/packages/eslint-config-basic/CHANGELOG.md b/packages/eslint-config-basic/CHANGELOG.md index 9088619..e42ce4a 100644 --- a/packages/eslint-config-basic/CHANGELOG.md +++ b/packages/eslint-config-basic/CHANGELOG.md @@ -1,5 +1,11 @@ # @bfehub/eslint-config-basic +## 2.1.0 + +### Minor Changes + +- add vitest vue/react + ## 2.0.2 ### Patch Changes diff --git a/packages/eslint-config-basic/package.json b/packages/eslint-config-basic/package.json index 7859659..edcb4be 100644 --- a/packages/eslint-config-basic/package.json +++ b/packages/eslint-config-basic/package.json @@ -1,7 +1,7 @@ { "name": "@bfehub/eslint-config-basic", "type": "commonjs", - "version": "2.0.2", + "version": "2.1.0", "description": "eslint basic", "author": "haiweilian ", "homepage": "https://github.com/bfehub/lint", diff --git a/packages/eslint-config-react/CHANGELOG.md b/packages/eslint-config-react/CHANGELOG.md index 688ca9d..b9d3f30 100644 --- a/packages/eslint-config-react/CHANGELOG.md +++ b/packages/eslint-config-react/CHANGELOG.md @@ -1,5 +1,16 @@ # @bfehub/eslint-config-react +## 2.1.0 + +### Minor Changes + +- add vitest vue/react + +### Patch Changes + +- Updated dependencies + - @bfehub/eslint-config-typescript@2.1.0 + ## 2.0.2 ### Patch Changes diff --git a/packages/eslint-config-react/package.json b/packages/eslint-config-react/package.json index cc6afbe..9e2d027 100644 --- a/packages/eslint-config-react/package.json +++ b/packages/eslint-config-react/package.json @@ -1,7 +1,7 @@ { "name": "@bfehub/eslint-config-react", "type": "commonjs", - "version": "2.0.2", + "version": "2.1.0", "description": "eslint react", "author": "haiweilian ", "homepage": "https://github.com/bfehub/lint", diff --git a/packages/eslint-config-typescript/CHANGELOG.md b/packages/eslint-config-typescript/CHANGELOG.md index 2d21ef2..691c9b1 100644 --- a/packages/eslint-config-typescript/CHANGELOG.md +++ b/packages/eslint-config-typescript/CHANGELOG.md @@ -1,5 +1,16 @@ # @bfehub/eslint-config-typescript +## 2.1.0 + +### Minor Changes + +- add vitest vue/react + +### Patch Changes + +- Updated dependencies + - @bfehub/eslint-config-basic@2.1.0 + ## 2.0.2 ### Patch Changes diff --git a/packages/eslint-config-typescript/package.json b/packages/eslint-config-typescript/package.json index b3eefe4..e4a4dd7 100644 --- a/packages/eslint-config-typescript/package.json +++ b/packages/eslint-config-typescript/package.json @@ -1,7 +1,7 @@ { "name": "@bfehub/eslint-config-typescript", "type": "commonjs", - "version": "2.0.2", + "version": "2.1.0", "description": "eslint typescript", "author": "haiweilian ", "homepage": "https://github.com/bfehub/lint", diff --git a/packages/eslint-config-vue/CHANGELOG.md b/packages/eslint-config-vue/CHANGELOG.md index e1fffbb..f888ee9 100644 --- a/packages/eslint-config-vue/CHANGELOG.md +++ b/packages/eslint-config-vue/CHANGELOG.md @@ -1,5 +1,16 @@ # @bfehub/eslint-config-vue +## 2.1.0 + +### Minor Changes + +- add vitest vue/react + +### Patch Changes + +- Updated dependencies + - @bfehub/eslint-config-typescript@2.1.0 + ## 2.0.2 ### Patch Changes diff --git a/packages/eslint-config-vue/package.json b/packages/eslint-config-vue/package.json index 7e41ccb..f91c405 100644 --- a/packages/eslint-config-vue/package.json +++ b/packages/eslint-config-vue/package.json @@ -1,7 +1,7 @@ { "name": "@bfehub/eslint-config-vue", "type": "commonjs", - "version": "2.0.2", + "version": "2.1.0", "description": "eslint vue", "author": "haiweilian ", "homepage": "https://github.com/bfehub/lint", diff --git a/packages/stylelint-config-basic/CHANGELOG.md b/packages/stylelint-config-basic/CHANGELOG.md index 43a674a..b5cc37a 100644 --- a/packages/stylelint-config-basic/CHANGELOG.md +++ b/packages/stylelint-config-basic/CHANGELOG.md @@ -1,5 +1,11 @@ # @bfehub/stylelint-config-basic +## 2.1.0 + +### Minor Changes + +- add vitest vue/react + ## 2.0.2 ### Patch Changes diff --git a/packages/stylelint-config-basic/index.js b/packages/stylelint-config-basic/index.js index 3efa0f4..3a1c828 100644 --- a/packages/stylelint-config-basic/index.js +++ b/packages/stylelint-config-basic/index.js @@ -1,15 +1,19 @@ // https://stylelint.io/user-guide/get-started module.exports = { - // https://github.com/ota-meshi/postcss-html - // customSyntax: 'postcss-html', overrides: [ { files: ['**/*.scss'], customSyntax: 'postcss-scss', + rules: { + 'import-notation': 'string', + }, }, { files: ['**/*.less'], customSyntax: 'postcss-less', + rules: { + 'import-notation': 'string', + }, }, ], extends: [ diff --git a/packages/stylelint-config-basic/package.json b/packages/stylelint-config-basic/package.json index a8430d9..c1331c9 100644 --- a/packages/stylelint-config-basic/package.json +++ b/packages/stylelint-config-basic/package.json @@ -1,7 +1,7 @@ { "name": "@bfehub/stylelint-config-basic", "type": "commonjs", - "version": "2.0.2", + "version": "2.1.0", "description": "stylelint basic", "author": "haiweilian ", "homepage": "https://github.com/bfehub/lint", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7bd4896..fd69286 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,10 +34,10 @@ importers: version: 18.4.4 commitizen: specifier: ^4.3.0 - version: 4.3.0 + version: 4.3.0(@types/node@17.0.35)(typescript@5.3.3) cz-conventional-changelog: specifier: ^3.3.0 - version: 3.3.0 + version: 3.3.0(@types/node@17.0.35)(typescript@5.3.3) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -63,8 +63,8 @@ importers: packages/create-lint: dependencies: '@antfu/install-pkg': - specifier: ^0.3.1 - version: 0.3.1 + specifier: ^0.1.0 + version: 0.1.1 fs-extra: specifier: ^11.2.0 version: 11.2.0 @@ -315,10 +315,11 @@ packages: '@jridgewell/trace-mapping': 0.3.18 dev: true - /@antfu/install-pkg@0.3.1: - resolution: {integrity: sha512-A3zWY9VeTPnxlMiZtsGHw2lSd3ghwvL8s9RiGOtqvDxhhFfZ781ynsGBa/iUnDJ5zBrmTFQrJDud3TGgRISaxw==} + /@antfu/install-pkg@0.1.1: + resolution: {integrity: sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==} dependencies: - execa: 8.0.1 + execa: 5.1.1 + find-up: 5.0.0 dev: false /@babel/code-frame@7.22.5: @@ -790,16 +791,6 @@ packages: conventional-changelog-conventionalcommits: 7.0.2 dev: true - /@commitlint/config-validator@17.4.4: - resolution: {integrity: sha512-bi0+TstqMiqoBAQDvdEP4AFh0GaKyLFlPPEObgI29utoKEYoPQTvF0EYqIwYYLEoJYhj5GfMIhPHJkTJhagfeg==} - engines: {node: '>=v14'} - requiresBuild: true - dependencies: - '@commitlint/types': 17.4.4 - ajv: 8.11.0 - dev: true - optional: true - /@commitlint/config-validator@18.4.4: resolution: {integrity: sha512-/QI8KIg/h7O0Eus36fPcEcO3QPBcdXuGfZeCF5m15k0EB2bcU8s6pHNTNEa6xz9PrAefHCL+yzRJj7w20T6Mow==} engines: {node: '>=v18'} @@ -820,13 +811,6 @@ packages: lodash.upperfirst: 4.3.1 dev: true - /@commitlint/execute-rule@17.4.0: - resolution: {integrity: sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==} - engines: {node: '>=v14'} - requiresBuild: true - dev: true - optional: true - /@commitlint/execute-rule@18.4.4: resolution: {integrity: sha512-a37Nd3bDQydtg9PCLLWM9ZC+GO7X5i4zJvrggJv5jBhaHsXeQ9ZWdO6ODYR+f0LxBXXNYK3geYXJrCWUCP8JEg==} engines: {node: '>=v18'} @@ -858,31 +842,6 @@ packages: '@commitlint/types': 18.4.4 dev: true - /@commitlint/load@17.5.0: - resolution: {integrity: sha512-l+4W8Sx4CD5rYFsrhHH8HP01/8jEP7kKf33Xlx2Uk2out/UKoKPYMOIRcDH5ppT8UXLMV+x6Wm5osdRKKgaD1Q==} - engines: {node: '>=v14'} - requiresBuild: true - dependencies: - '@commitlint/config-validator': 17.4.4 - '@commitlint/execute-rule': 17.4.0 - '@commitlint/resolve-extends': 17.4.4 - '@commitlint/types': 17.4.4 - '@types/node': 17.0.35 - chalk: 4.1.2 - cosmiconfig: 8.2.0 - cosmiconfig-typescript-loader: 4.3.0(@types/node@17.0.35)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.3.3) - lodash.isplainobject: 4.0.6 - lodash.merge: 4.6.2 - lodash.uniq: 4.5.0 - resolve-from: 5.0.0 - ts-node: 10.9.1(@types/node@17.0.35)(typescript@5.3.3) - typescript: 5.3.3 - transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' - dev: true - optional: true - /@commitlint/load@18.4.4(@types/node@17.0.35)(typescript@5.3.3): resolution: {integrity: sha512-RaDIa9qwOw2xRJ3Jr2DBXd14rmnHJIX2XdZF4kmoF1rgsg/+7cvrExLSUNAkQUNimyjCn1b/bKX2Omm+GdY0XQ==} engines: {node: '>=v18'} @@ -927,20 +886,6 @@ packages: minimist: 1.2.7 dev: true - /@commitlint/resolve-extends@17.4.4: - resolution: {integrity: sha512-znXr1S0Rr8adInptHw0JeLgumS11lWbk5xAWFVno+HUFVN45875kUtqjrI6AppmD3JI+4s0uZlqqlkepjJd99A==} - engines: {node: '>=v14'} - requiresBuild: true - dependencies: - '@commitlint/config-validator': 17.4.4 - '@commitlint/types': 17.4.4 - import-fresh: 3.3.0 - lodash.mergewith: 4.6.2 - resolve-from: 5.0.0 - resolve-global: 1.0.0 - dev: true - optional: true - /@commitlint/resolve-extends@18.4.4: resolution: {integrity: sha512-RRpIHSbRnFvmGifVk21Gqazf1QF/yeP+Kkg/e3PlkegcOKd/FGOXp/Kx9cvSO2K7ucSn4GD/oBvgasFoy+NCAw==} engines: {node: '>=v18'} @@ -976,15 +921,6 @@ packages: find-up: 5.0.0 dev: true - /@commitlint/types@17.4.4: - resolution: {integrity: sha512-amRN8tRLYOsxRr6mTnGGGvB5EmW/4DDjLMgiwK3CCVEmN6Sr/6xePGEpWaspKkckILuUORCwe6VfDBw6uj4axQ==} - engines: {node: '>=v14'} - requiresBuild: true - dependencies: - chalk: 4.1.2 - dev: true - optional: true - /@commitlint/types@18.4.4: resolution: {integrity: sha512-/FykLtodD8gKs3+VNkAUwofu4LBHankclj+I8fB2jTRvG6PV7k/OUt4P+VbM7ip853qS4F0g7Z6hLNa6JeMcAQ==} engines: {node: '>=v18'} @@ -992,15 +928,6 @@ packages: chalk: 4.1.2 dev: true - /@cspotcode/source-map-support@0.8.1: - resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} - engines: {node: '>=12'} - requiresBuild: true - dependencies: - '@jridgewell/trace-mapping': 0.3.9 - dev: true - optional: true - /@csstools/css-parser-algorithms@2.5.0(@csstools/css-tokenizer@2.2.3): resolution: {integrity: sha512-abypo6m9re3clXA00eu5syw+oaPHbJTPapu9C4pzNsJ4hdZDzushT50Zhu+iIYXgEe1CxnRMn7ngsbV+MLrlpQ==} engines: {node: ^14 || ^16 || >=18} @@ -1345,15 +1272,6 @@ packages: '@jridgewell/sourcemap-codec': 1.4.14 dev: true - /@jridgewell/trace-mapping@0.3.9: - resolution: {integrity: sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==} - requiresBuild: true - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - optional: true - /@manypkg/find-root@1.1.0: resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} dependencies: @@ -1507,30 +1425,6 @@ packages: dev: true optional: true - /@tsconfig/node10@1.0.8: - resolution: {integrity: sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==} - requiresBuild: true - dev: true - optional: true - - /@tsconfig/node12@1.0.9: - resolution: {integrity: sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==} - requiresBuild: true - dev: true - optional: true - - /@tsconfig/node14@1.0.1: - resolution: {integrity: sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==} - requiresBuild: true - dev: true - optional: true - - /@tsconfig/node16@1.0.2: - resolution: {integrity: sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==} - requiresBuild: true - dev: true - optional: true - /@types/babel__core@7.20.5: resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} dependencies: @@ -1913,13 +1807,6 @@ packages: dependencies: acorn: 8.10.0 - /acorn-walk@8.2.0: - resolution: {integrity: sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==} - engines: {node: '>=0.4.0'} - requiresBuild: true - dev: true - optional: true - /acorn@8.10.0: resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==} engines: {node: '>=0.4.0'} @@ -1989,12 +1876,6 @@ packages: engines: {node: '>=12'} dev: true - /arg@4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - requiresBuild: true - dev: true - optional: true - /argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} dependencies: @@ -2371,13 +2252,13 @@ packages: engines: {node: '>=16'} dev: true - /commitizen@4.3.0: + /commitizen@4.3.0(@types/node@17.0.35)(typescript@5.3.3): resolution: {integrity: sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==} engines: {node: '>= 12'} hasBin: true dependencies: cachedir: 2.3.0 - cz-conventional-changelog: 3.3.0 + cz-conventional-changelog: 3.3.0(@types/node@17.0.35)(typescript@5.3.3) dedent: 0.7.0 detect-indent: 6.1.0 find-node-modules: 2.1.3 @@ -2391,8 +2272,8 @@ packages: strip-bom: 4.0.0 strip-json-comments: 3.1.1 transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@types/node' + - typescript dev: true /compare-func@2.0.0: @@ -2442,23 +2323,6 @@ packages: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true - /cosmiconfig-typescript-loader@4.3.0(@types/node@17.0.35)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.3.3): - resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==} - engines: {node: '>=12', npm: '>=6'} - requiresBuild: true - peerDependencies: - '@types/node': '*' - cosmiconfig: '>=7' - ts-node: '>=10' - typescript: '>=3' - dependencies: - '@types/node': 17.0.35 - cosmiconfig: 8.2.0 - ts-node: 10.9.1(@types/node@17.0.35)(typescript@5.3.3) - typescript: 5.3.3 - dev: true - optional: true - /cosmiconfig-typescript-loader@5.0.0(@types/node@17.0.35)(cosmiconfig@8.3.6)(typescript@5.3.3): resolution: {integrity: sha512-+8cK7jRAReYkMwMiG+bxhcNKiHJDM6bR9FD/nGBXOWdMLuYawjF5cGrtLilJ+LGd3ZjCXnJjR5DkfWPoIVlqJA==} engines: {node: '>=v16'} @@ -2473,18 +2337,6 @@ packages: typescript: 5.3.3 dev: true - /cosmiconfig@8.2.0: - resolution: {integrity: sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==} - engines: {node: '>=14'} - requiresBuild: true - dependencies: - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - path-type: 4.0.0 - dev: true - optional: true - /cosmiconfig@8.3.6(typescript@5.3.3): resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} engines: {node: '>=14'} @@ -2516,12 +2368,6 @@ packages: parse-json: 5.2.0 typescript: 5.3.3 - /create-require@1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - requiresBuild: true - dev: true - optional: true - /cross-spawn@5.1.0: resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} dependencies: @@ -2583,21 +2429,21 @@ packages: stream-transform: 2.1.3 dev: true - /cz-conventional-changelog@3.3.0: + /cz-conventional-changelog@3.3.0(@types/node@17.0.35)(typescript@5.3.3): resolution: {integrity: sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==} engines: {node: '>= 10'} dependencies: chalk: 2.4.2 - commitizen: 4.3.0 + commitizen: 4.3.0(@types/node@17.0.35)(typescript@5.3.3) conventional-commit-types: 3.0.0 lodash.map: 4.6.0 longest: 2.0.1 word-wrap: 1.2.3 optionalDependencies: - '@commitlint/load': 17.5.0 + '@commitlint/load': 18.4.4(@types/node@17.0.35)(typescript@5.3.3) transitivePeerDependencies: - - '@swc/core' - - '@swc/wasm' + - '@types/node' + - typescript dev: true /dargs@7.0.0: @@ -2690,13 +2536,6 @@ packages: engines: {node: '>=8'} dev: true - /diff@4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - requiresBuild: true - dev: true - optional: true - /dir-glob@3.0.1: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} @@ -3307,7 +3146,6 @@ packages: onetime: 5.1.2 signal-exit: 3.0.7 strip-final-newline: 2.0.0 - dev: true /execa@8.0.1: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} @@ -3322,6 +3160,7 @@ packages: onetime: 6.0.0 signal-exit: 4.1.0 strip-final-newline: 3.0.0 + dev: true /expand-tilde@2.0.2: resolution: {integrity: sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==} @@ -3474,7 +3313,7 @@ packages: engines: {node: '>=14'} dependencies: cross-spawn: 7.0.3 - signal-exit: 4.0.2 + signal-exit: 4.1.0 /fs-extra@11.2.0: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} @@ -3586,11 +3425,11 @@ packages: /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} - dev: true /get-stream@8.0.1: resolution: {integrity: sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==} engines: {node: '>=16'} + dev: true /get-symbol-description@1.0.0: resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} @@ -3834,11 +3673,11 @@ packages: /human-signals@2.1.0: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} - dev: true /human-signals@5.0.0: resolution: {integrity: sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==} engines: {node: '>=16.17.0'} + dev: true /husky@8.0.3: resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} @@ -4078,11 +3917,11 @@ packages: /is-stream@2.0.1: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} - dev: true /is-stream@3.0.0: resolution: {integrity: sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true /is-string@1.0.7: resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} @@ -4471,12 +4310,6 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.4.15 - /make-error@1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - requiresBuild: true - dev: true - optional: true - /map-obj@1.0.1: resolution: {integrity: sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==} engines: {node: '>=0.10.0'} @@ -4557,11 +4390,11 @@ packages: /mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - dev: true /mimic-fn@4.0.0: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} + dev: true /min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} @@ -4655,13 +4488,13 @@ packages: engines: {node: '>=8'} dependencies: path-key: 3.1.1 - dev: true /npm-run-path@5.1.0: resolution: {integrity: sha512-sJOdmRGrY2sjNTRMbSvluQqg+8X7ZK61yvzBEIDhz4f8z1TZFYABsqjjCBd/0PUNE9M6QDgHJXQkGUEm7Q+l9Q==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: path-key: 4.0.0 + dev: true /nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} @@ -4765,13 +4598,13 @@ packages: engines: {node: '>=6'} dependencies: mimic-fn: 2.1.0 - dev: true /onetime@6.0.0: resolution: {integrity: sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ==} engines: {node: '>=12'} dependencies: mimic-fn: 4.0.0 + dev: true /optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} @@ -4890,6 +4723,7 @@ packages: /path-key@4.0.0: resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} engines: {node: '>=12'} + dev: true /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -5422,7 +5256,6 @@ packages: /signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - dev: true /signal-exit@4.0.2: resolution: {integrity: sha512-MY2/qGx4enyjprQnFaZsHib3Yadh3IXyV2C321GY0pjGfVBu4un0uDJkwgdxqO+Rdx8JMT8IfJIRwbYVz3Ob3Q==} @@ -5651,11 +5484,11 @@ packages: /strip-final-newline@2.0.0: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} - dev: true /strip-final-newline@3.0.0: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} + dev: true /strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} @@ -5874,39 +5707,6 @@ packages: typescript: 5.3.3 dev: false - /ts-node@10.9.1(@types/node@17.0.35)(typescript@5.3.3): - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} - hasBin: true - requiresBuild: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.8 - '@tsconfig/node12': 1.0.9 - '@tsconfig/node14': 1.0.1 - '@tsconfig/node16': 1.0.2 - '@types/node': 17.0.35 - acorn: 8.10.0 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.3.3 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - optional: true - /tsconfig-paths@3.15.0: resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} dependencies: @@ -6056,12 +5856,6 @@ packages: /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - /v8-compile-cache-lib@3.0.1: - resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - requiresBuild: true - dev: true - optional: true - /validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} dependencies: @@ -6377,13 +6171,6 @@ packages: yargs-parser: 21.1.1 dev: true - /yn@3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - requiresBuild: true - dev: true - optional: true - /yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'}