From 3f5d38f65540e9473e3ac75479021e924417777f Mon Sep 17 00:00:00 2001 From: ByungJoon Lee Date: Sun, 19 Jul 2026 22:33:28 +0900 Subject: [PATCH 1/3] refactor(config): remove baseUrl usage - remove baseUrl from project and example TypeScript configs - make path alias targets explicitly relative to each config file - retain compatibility with TypeScript 5 path resolution --- examples/tsconfig.empty.json | 3 +-- examples/tsconfig.example.json | 3 +-- examples/tsconfig.for.test.json | 3 +-- examples/type01/tsconfig.json | 3 +-- examples/type02/tsconfig.json | 3 +-- examples/type03/tsconfig.json | 3 +-- examples/type04/tsconfig.json | 3 +-- examples/type05/tsconfig.json | 3 +-- examples/type06/tsconfig.json | 3 +-- examples/type07/tsconfig.json | 3 +-- examples/type08/tsconfig.json | 3 +-- examples/type09/tsconfig.json | 3 +-- examples/type10/tsconfig.json | 1 - examples/type11/tsconfig.json | 1 - examples/type12/tsconfig.json | 3 +-- examples/type13/tsconfig.json | 3 +-- examples/type14/tsconfig.json | 1 - tsconfig.json | 3 +-- 18 files changed, 15 insertions(+), 33 deletions(-) diff --git a/examples/tsconfig.empty.json b/examples/tsconfig.empty.json index 8f6e4a1..90a3d03 100644 --- a/examples/tsconfig.empty.json +++ b/examples/tsconfig.empty.json @@ -28,10 +28,9 @@ "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */, /* Module Resolution Options */ - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, "rootDir": ".", "paths": { - "#/*": ["src/*"] + "#/*": ["./src/*"] }, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, diff --git a/examples/tsconfig.example.json b/examples/tsconfig.example.json index 0d6e256..2aa6a6b 100644 --- a/examples/tsconfig.example.json +++ b/examples/tsconfig.example.json @@ -28,10 +28,9 @@ "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */, /* Module Resolution Options */ - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, "rootDir": ".", "paths": { - "#/*": ["src/*"] + "#/*": ["./src/*"] }, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, diff --git a/examples/tsconfig.for.test.json b/examples/tsconfig.for.test.json index fd3db48..f3a4f60 100644 --- a/examples/tsconfig.for.test.json +++ b/examples/tsconfig.for.test.json @@ -39,10 +39,9 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "Node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, "rootDir": ".", "paths": { - "#/*": ["src/*"] + "#/*": ["./src/*"] }, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, diff --git a/examples/type01/tsconfig.json b/examples/type01/tsconfig.json index ccec3ad..78b1aa6 100644 --- a/examples/type01/tsconfig.json +++ b/examples/type01/tsconfig.json @@ -57,8 +57,7 @@ /* Module Resolution Options */ "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type02/tsconfig.json b/examples/type02/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type02/tsconfig.json +++ b/examples/type02/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type03/tsconfig.json b/examples/type03/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type03/tsconfig.json +++ b/examples/type03/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type04/tsconfig.json b/examples/type04/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type04/tsconfig.json +++ b/examples/type04/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type05/tsconfig.json b/examples/type05/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type05/tsconfig.json +++ b/examples/type05/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type06/tsconfig.json b/examples/type06/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type06/tsconfig.json +++ b/examples/type06/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type07/tsconfig.json b/examples/type07/tsconfig.json index c19db89..d1b1567 100644 --- a/examples/type07/tsconfig.json +++ b/examples/type07/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "Node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type08/tsconfig.json b/examples/type08/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type08/tsconfig.json +++ b/examples/type08/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type09/tsconfig.json b/examples/type09/tsconfig.json index c19db89..d1b1567 100644 --- a/examples/type09/tsconfig.json +++ b/examples/type09/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "Node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type10/tsconfig.json b/examples/type10/tsconfig.json index 2c91cc4..9a4cdab 100644 --- a/examples/type10/tsconfig.json +++ b/examples/type10/tsconfig.json @@ -28,7 +28,6 @@ "module": "commonjs", /* Specify what module code is generated. */ "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ diff --git a/examples/type11/tsconfig.json b/examples/type11/tsconfig.json index f8ec69c..8c72431 100644 --- a/examples/type11/tsconfig.json +++ b/examples/type11/tsconfig.json @@ -28,7 +28,6 @@ "module": "commonjs", /* Specify what module code is generated. */ "rootDir": "./", /* Specify the root folder within your source files. */ // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ - // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */ diff --git a/examples/type12/tsconfig.json b/examples/type12/tsconfig.json index f07fed1..07d0761 100644 --- a/examples/type12/tsconfig.json +++ b/examples/type12/tsconfig.json @@ -28,10 +28,9 @@ "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */, /* Module Resolution Options */ - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, "rootDir": ".", "paths": { - "#/*": ["src/*"] + "#/*": ["./src/*"] }, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, diff --git a/examples/type13/tsconfig.json b/examples/type13/tsconfig.json index 38d7c2f..a5e1b3c 100644 --- a/examples/type13/tsconfig.json +++ b/examples/type13/tsconfig.json @@ -58,8 +58,7 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, - "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */, + "paths": {} /* A series of entries which re-map imports to lookup locations relative to this config file. */, // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ // "typeRoots": [], /* List of folders to include type definitions from. */ // "types": [], /* Type declaration files to be included in compilation. */ diff --git a/examples/type14/tsconfig.json b/examples/type14/tsconfig.json index 0896c2b..b6ce7d2 100644 --- a/examples/type14/tsconfig.json +++ b/examples/type14/tsconfig.json @@ -14,7 +14,6 @@ "declaration": true, "declarationMap": true, "sourceMap": true, - "baseUrl": "./src", "paths": { } }, "include": ["src/**/*"], diff --git a/tsconfig.json b/tsconfig.json index fd3db48..f3a4f60 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -39,10 +39,9 @@ /* Module Resolution Options */ "module": "CommonJS", "moduleResolution": "Node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, - "baseUrl": "." /* Base directory to resolve non-absolute module names. */, "rootDir": ".", "paths": { - "#/*": ["src/*"] + "#/*": ["./src/*"] }, "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, From 6de9fb213aaf2a67d1bc190a0943bdb37933d263 Mon Sep 17 00:00:00 2001 From: ByungJoon Lee Date: Sun, 19 Jul 2026 23:35:34 +0900 Subject: [PATCH 2/3] feat(typescript): support TypeScript 6 - update ts-morph and TypeScript peer compatibility - migrate internal module resolution to bundler mode - replace the Vitest tsconfig paths plugin with an explicit alias - update declaration tooling and yargs type imports - document TypeScript 5 and 6 support --- README.md | 8 +- package.json | 15 +- pnpm-lock.yaml | 304 ++++++++++--------- src/cli/builders/__tests__/builder.test.ts | 12 +- src/cli/commands/buildCommand.ts | 4 +- src/cli/commands/initCommand.ts | 4 +- src/cli/commands/removeCommand.ts | 4 +- src/modules/file/getRemoveFileGlobPattern.ts | 4 +- tsconfig.json | 6 +- vitest.config.mts | 8 +- 10 files changed, 192 insertions(+), 177 deletions(-) diff --git a/README.md b/README.md index 26a3d8a..51af46a 100644 --- a/README.md +++ b/README.md @@ -102,13 +102,11 @@ npm install ctix --save-dev > **TypeScript version requirement** > -> ctix 2.8.0 requires **TypeScript >=5.0.0 and <6.0.0**. -> -> TypeScript 6.x shifts to ESM-first defaults and introduces breaking changes to `moduleResolution` and `baseUrl` that are not yet supported by ctix. Until ctix adds ESM support, please keep your TypeScript version in the 5.x range. +> ctix supports **TypeScript >=5.0.0 and <7.0.0**. > > ```bash -> # install a compatible TypeScript version explicitly -> npm install typescript@">=5 <6" --save-dev +> # install a supported TypeScript version explicitly +> npm install typescript@">=5 <7" --save-dev > ``` ## Usage diff --git a/package.json b/package.json index b14aea9..c54ea78 100644 --- a/package.json +++ b/package.json @@ -65,9 +65,7 @@ } } }, - "files": [ - "dist" - ], + "files": ["dist"], "bin": { "ctix": "./dist/cjs/cli.cjs" }, @@ -109,11 +107,10 @@ "read-pkg": "^5.2.0", "rimraf": "^5.0.5", "rollup": "^4.14.2", - "rollup-plugin-dts": "^6.1.0", + "rollup-plugin-dts": "^6.4.1", "ts-node": "^10.9.2", "tsc-alias": "^1.8.8", "tsconfig-paths": "^4.2.0", - "vite-tsconfig-paths": "^5.1.4", "vitest": "^3.1.1", "vue": "^3.4.21" }, @@ -142,7 +139,7 @@ "ora": "^5.4.1", "pathe": "2.0.3", "source-map-support": "^0.5.21", - "ts-morph": "27.0.0", + "ts-morph": "28.0.0", "ts-pattern": "^5.0.5", "tslib": "^2.6.2", "type-check": "^0.4.0", @@ -153,12 +150,10 @@ "peerDependencies": { "prettier": ">=3", "prettier-plugin-organize-imports": ">=3", - "typescript": ">=5 <6" + "typescript": ">=5 <7" }, "lint-staged": { - "*.{js,jsx,ts,tsx}": [ - "cross-env NODE_ENV=production eslint --cache" - ], + "*.{js,jsx,ts,tsx}": ["cross-env NODE_ENV=production eslint --cache"], "*.{js,jsx,ts,tsx},*.json,.{eslintrc.cjs,prettierrc}": [ "cross-env NODE_ENV=production prettier --ignore-path .eslintignore --parser json --write" ] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e534a23..c7ffc73 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,8 +81,8 @@ importers: specifier: ^0.5.21 version: 0.5.21 ts-morph: - specifier: 27.0.0 - version: 27.0.0 + specifier: 28.0.0 + version: 28.0.0 ts-pattern: specifier: ^5.0.5 version: 5.0.5 @@ -96,8 +96,8 @@ importers: specifier: 5.0.1 version: 5.0.1 typescript: - specifier: '>=5 <6' - version: 5.9.3 + specifier: '>=5 <7' + version: 6.0.2 yaml: specifier: 2.9.0 version: 2.9.0 @@ -107,7 +107,7 @@ importers: devDependencies: '@commitlint/cli': specifier: 20.1.0 - version: 20.1.0(@types/node@20.9.0)(typescript@5.9.3) + version: 20.1.0(@types/node@20.9.0)(typescript@6.0.2) '@commitlint/config-conventional': specifier: 20.0.0 version: 20.0.0 @@ -146,10 +146,10 @@ importers: version: 17.0.32 '@typescript-eslint/eslint-plugin': specifier: ^7.6.0 - version: 7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint@8.57.0)(typescript@5.9.3) + version: 7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint@8.57.0)(typescript@6.0.2) '@typescript-eslint/parser': specifier: ^7.6.0 - version: 7.6.0(eslint@8.57.0)(typescript@5.9.3) + version: 7.6.0(eslint@8.57.0)(typescript@6.0.2) '@vitest/coverage-v8': specifier: ^3.1.1 version: 3.1.1(vitest@3.1.1(@types/debug@4.1.12)(@types/node@20.9.0)) @@ -167,16 +167,16 @@ importers: version: 8.57.0 eslint-config-airbnb-typescript: specifier: ^18.0.0 - version: 18.0.0(@typescript-eslint/eslint-plugin@7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint@8.57.0)(typescript@5.9.3))(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0) + version: 18.0.0(@typescript-eslint/eslint-plugin@7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint@8.57.0)(typescript@6.0.2))(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-config-prettier: specifier: ^9.1.0 version: 9.1.0(eslint@8.57.0) eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0) + version: 3.6.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + version: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsdoc: specifier: ^48.2.3 version: 48.2.3(eslint@8.57.0) @@ -206,7 +206,7 @@ importers: version: 16.3.0 prettier-plugin-organize-imports: specifier: ^4.0.0 - version: 4.0.0(prettier@3.2.5)(typescript@5.9.3) + version: 4.0.0(prettier@3.2.5)(typescript@6.0.2) read-pkg: specifier: ^5.2.0 version: 5.2.0 @@ -217,26 +217,23 @@ importers: specifier: ^4.14.2 version: 4.14.2 rollup-plugin-dts: - specifier: ^6.1.0 - version: 6.1.0(rollup@4.14.2)(typescript@5.9.3) + specifier: ^6.4.1 + version: 6.4.1(rollup@4.14.2)(typescript@6.0.2) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.9.0)(typescript@5.9.3) + version: 10.9.2(@types/node@20.9.0)(typescript@6.0.2) tsc-alias: specifier: ^1.8.8 version: 1.8.8 tsconfig-paths: specifier: ^4.2.0 version: 4.2.0 - vite-tsconfig-paths: - specifier: ^5.1.4 - version: 5.1.4(typescript@5.9.3)(vite@5.1.4(@types/node@20.9.0)) vitest: specifier: ^3.1.1 version: 3.1.1(@types/debug@4.1.12)(@types/node@20.9.0) vue: specifier: ^3.4.21 - version: 3.4.21(typescript@5.9.3) + version: 3.4.21(typescript@6.0.2) packages: @@ -252,6 +249,10 @@ packages: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} + '@babel/code-frame@7.29.7': + resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==} + engines: {node: '>=6.9.0'} + '@babel/helper-string-parser@7.23.4': resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} engines: {node: '>=6.9.0'} @@ -260,14 +261,14 @@ packages: resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.22.20': - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - '@babel/helper-validator-identifier@7.25.9': resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier@7.29.7': + resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==} + engines: {node: '>=6.9.0'} + '@babel/highlight@7.22.20': resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} engines: {node: '>=6.9.0'} @@ -681,6 +682,7 @@ packages: '@humanwhocodes/config-array@0.11.14': resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} @@ -688,6 +690,7 @@ packages: '@humanwhocodes/object-schema@2.0.3': resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} + deprecated: Use @eslint/object-schema instead '@isaacs/balanced-match@4.0.1': resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==} @@ -713,6 +716,9 @@ packages: resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} engines: {node: '>=6.0.0'} + '@jridgewell/remapping@2.3.5': + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + '@jridgewell/resolve-uri@3.1.1': resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} engines: {node: '>=6.0.0'} @@ -721,12 +727,12 @@ packages: resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} engines: {node: '>=6.0.0'} - '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} @@ -806,36 +812,43 @@ packages: resolution: {integrity: sha512-Pg5TxxO2IVlMj79+c/9G0LREC9SY3HM+pfAwX7zj5/cAuwrbfj2Wv9JbMHIdPCfQpYsI4g9mE+2Bw/3aeSs2rQ==} cpu: [arm64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-arm64-musl@4.14.2': resolution: {integrity: sha512-cAOTjGNm84gc6tS02D1EXtG7tDRsVSDTBVXOLbj31DkwfZwgTPYZ6aafSU7rD/4R2a34JOwlF9fQayuTSkoclA==} cpu: [arm64] os: [linux] + libc: [musl] '@rollup/rollup-linux-powerpc64le-gnu@4.14.2': resolution: {integrity: sha512-4RyT6v1kXb7C0fn6zV33rvaX05P0zHoNzaXI/5oFHklfKm602j+N4mn2YvoezQViRLPnxP8M1NaY4s/5kXO5cw==} cpu: [ppc64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-riscv64-gnu@4.14.2': resolution: {integrity: sha512-KNUH6jC/vRGAKSorySTyc/yRYlCwN/5pnMjXylfBniwtJx5O7X17KG/0efj8XM3TZU7raYRXJFFReOzNmL1n1w==} cpu: [riscv64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-s390x-gnu@4.14.2': resolution: {integrity: sha512-xPV4y73IBEXToNPa3h5lbgXOi/v0NcvKxU0xejiFw6DtIYQqOTMhZ2DN18/HrrP0PmiL3rGtRG9gz1QE8vFKXQ==} cpu: [s390x] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-gnu@4.14.2': resolution: {integrity: sha512-QBhtr07iFGmF9egrPOWyO5wciwgtzKkYPNLVCFZTmr4TWmY0oY2Dm/bmhHjKRwZoGiaKdNcKhFtUMBKvlchH+Q==} cpu: [x64] os: [linux] + libc: [glibc] '@rollup/rollup-linux-x64-musl@4.14.2': resolution: {integrity: sha512-8zfsQRQGH23O6qazZSFY5jP5gt4cFvRuKTpuBsC1ZnSWxV8ZKQpPqOZIUtdfMOugCcBvFGRa1pDC/tkf19EgBw==} cpu: [x64] os: [linux] + libc: [musl] '@rollup/rollup-win32-arm64-msvc@4.14.2': resolution: {integrity: sha512-H4s8UjgkPnlChl6JF5empNvFHp77Jx+Wfy2EtmYPe9G22XV+PMuCinZVHurNe8ggtwoaohxARJZbaH/3xjB/FA==} @@ -855,8 +868,8 @@ packages: '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} - '@ts-morph/common@0.28.0': - resolution: {integrity: sha512-4w6X/oFmvXcwux6y6ExfM/xSqMHw20cYwFJH+BlYrtGa6nwY9qGq8GXnUs1sVYeF2o/KT3S8hAH6sKBI3VOkBg==} + '@ts-morph/common@0.29.0': + resolution: {integrity: sha512-35oUmphHbJvQ/+UTwFNme/t2p3FoKiGJ5auTjjpNTop2dyREspirjMy82PLSC1pnDJ8ah1GU98hwpVt64YXQsg==} '@tsconfig/node10@1.0.9': resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} @@ -1021,6 +1034,7 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + deprecated: Potential CWE-502 - Update to 1.3.1 or higher '@vitest/coverage-v8@3.1.1': resolution: {integrity: sha512-MgV6D2dhpD6Hp/uroUoAIvFqA8AuvXEFBC2eepG3WFc1pxTfdk1LEqqkWoWhjz+rytoqrnUUCdf6Lzco3iHkLQ==} @@ -1399,6 +1413,9 @@ packages: engines: {node: '>=16'} hasBin: true + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -1702,6 +1719,7 @@ packages: eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -1880,6 +1898,7 @@ packages: git-raw-commits@4.0.0: resolution: {integrity: sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==} engines: {node: '>=16'} + deprecated: Deprecated and no longer maintained. Use @conventional-changelog/git-client instead. hasBin: true glob-parent@5.1.2: @@ -1893,14 +1912,17 @@ packages: glob@10.3.12: resolution: {integrity: sha512-TCNv8vJ+xz4QiqTpfOJA7HvYv+tNIRHKfUWw/q+v2jdgN4ebz+KY9tGx5J4rHP0o84mNP+ApH66HRX8us3Khqg==} engines: {node: '>=16 || 14 >=14.17'} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me global-directory@4.0.1: resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==} @@ -1918,9 +1940,6 @@ packages: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} - globrex@0.1.2: - resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -2014,6 +2033,7 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -2312,9 +2332,8 @@ packages: magic-string@0.30.17: resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} - magic-string@0.30.5: - resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} - engines: {node: '>=12'} + magic-string@0.30.21: + resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} magic-string@0.30.9: resolution: {integrity: sha512-S1+hd+dIrC8EZqKyT9DstTH/0Z+f76kmmvZnkfQVmOpDEF9iVgdYif3Q/pIWHmCoo59bQVGW0kVL3e2nl+9+Sw==} @@ -2592,6 +2611,9 @@ packages: picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -2748,6 +2770,7 @@ packages: rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rimraf@5.0.5: @@ -2755,12 +2778,12 @@ packages: engines: {node: '>=14'} hasBin: true - rollup-plugin-dts@6.1.0: - resolution: {integrity: sha512-ijSCPICkRMDKDLBK9torss07+8dl9UpY9z1N/zTeA1cIqdzMlpkV3MOOC7zukyvQfDyxa1s3Dl2+DeiP/G6DOw==} - engines: {node: '>=16'} + rollup-plugin-dts@6.4.1: + resolution: {integrity: sha512-l//F3Zf7ID5GoOfLfD8kroBjQKEKpy1qfhtAdnpibFZMffPaylrg1CoDC2vGkPeTeyxUe4bVFCln2EFuL7IGGg==} + engines: {node: '>=20'} peerDependencies: rollup: ^3.29.4 || ^4 - typescript: ^4.5 || ^5.0 + typescript: ^4.5 || ^5.0 || ^6.0 rollup@4.14.2: resolution: {integrity: sha512-WkeoTWvuBoFjFAhsEOHKRoZ3r9GfTyhh7Vff1zwebEFLEFjT1lG3784xEgKiTa7E+e70vsC81roVL2MP4tgEEQ==} @@ -3067,8 +3090,8 @@ packages: peerDependencies: typescript: '>=4.2.0' - ts-morph@27.0.0: - resolution: {integrity: sha512-xcqelpTR5PCuZMs54qp9DE3t7tPgA2v/P1/qdW4ke5b3Y5liTGTYj6a/twT35EQW/H5okRqp1UOqwNlgg0K0eQ==} + ts-morph@28.0.0: + resolution: {integrity: sha512-Wp3tnZ2bzwxyTZMtgWVzXDfm7lB1Drz+y9DmmYH/L702PQhPyVrp3pkou3yIz4qjS14GY9kcpmLiOOMvl8oG1g==} ts-node@10.9.2: resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} @@ -3091,16 +3114,6 @@ packages: resolution: {integrity: sha512-OYUOd2wl0H858NvABWr/BoSKNERw3N9GTi3rHPK8Iv4O1UyUXIrTTOAZNHsjlVpXFOhpJBVARI1s+rzwLivN3Q==} hasBin: true - tsconfck@3.0.3: - resolution: {integrity: sha512-4t0noZX9t6GcPTfBAbIbbIU4pfpCwh0ueq3S4O/5qXI1VwK1outmxhe9dOiEWqMz3MW2LKgDTpqWV+37IWuVbA==} - engines: {node: ^18 || >=20} - hasBin: true - peerDependencies: - typescript: ^5.0.0 - peerDependenciesMeta: - typescript: - optional: true - tsconfig-paths@3.15.0: resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} @@ -3159,6 +3172,11 @@ packages: engines: {node: '>=14.17'} hasBin: true + typescript@6.0.2: + resolution: {integrity: sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==} + engines: {node: '>=14.17'} + hasBin: true + unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} @@ -3192,14 +3210,6 @@ packages: engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true - vite-tsconfig-paths@5.1.4: - resolution: {integrity: sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w==} - peerDependencies: - vite: '*' - peerDependenciesMeta: - vite: - optional: true - vite@5.1.4: resolution: {integrity: sha512-n+MPqzq+d9nMVTKyewqw6kSt+R3CkvF9QAKY8obiQn8g1fwTscKxyfaYnC632HtBXAQGc1Yjomphwn1dtwGAHg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -3359,17 +3369,25 @@ snapshots: '@babel/highlight': 7.22.20 chalk: 2.4.2 + '@babel/code-frame@7.29.7': + dependencies: + '@babel/helper-validator-identifier': 7.29.7 + js-tokens: 4.0.0 + picocolors: 1.1.1 + optional: true + '@babel/helper-string-parser@7.23.4': {} '@babel/helper-string-parser@7.25.9': {} - '@babel/helper-validator-identifier@7.22.20': {} - '@babel/helper-validator-identifier@7.25.9': {} + '@babel/helper-validator-identifier@7.29.7': + optional: true + '@babel/highlight@7.22.20': dependencies: - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.25.9 chalk: 2.4.2 js-tokens: 4.0.0 @@ -3388,7 +3406,7 @@ snapshots: '@babel/types@7.23.9': dependencies: '@babel/helper-string-parser': 7.23.4 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.25.9 to-fast-properties: 2.0.0 '@babel/types@7.27.0': @@ -3398,11 +3416,11 @@ snapshots: '@bcoe/v8-coverage@1.0.2': {} - '@commitlint/cli@20.1.0(@types/node@20.9.0)(typescript@5.9.3)': + '@commitlint/cli@20.1.0(@types/node@20.9.0)(typescript@6.0.2)': dependencies: '@commitlint/format': 20.0.0 '@commitlint/lint': 20.0.0 - '@commitlint/load': 20.1.0(@types/node@20.9.0)(typescript@5.9.3) + '@commitlint/load': 20.1.0(@types/node@20.9.0)(typescript@6.0.2) '@commitlint/read': 20.0.0 '@commitlint/types': 20.0.0 tinyexec: 1.0.1 @@ -3449,15 +3467,15 @@ snapshots: '@commitlint/rules': 20.0.0 '@commitlint/types': 20.0.0 - '@commitlint/load@20.1.0(@types/node@20.9.0)(typescript@5.9.3)': + '@commitlint/load@20.1.0(@types/node@20.9.0)(typescript@6.0.2)': dependencies: '@commitlint/config-validator': 20.0.0 '@commitlint/execute-rule': 20.0.0 '@commitlint/resolve-extends': 20.1.0 '@commitlint/types': 20.0.0 chalk: 5.3.0 - cosmiconfig: 9.0.0(typescript@5.9.3) - cosmiconfig-typescript-loader: 6.1.0(@types/node@20.9.0)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3) + cosmiconfig: 9.0.0(typescript@6.0.2) + cosmiconfig-typescript-loader: 6.1.0(@types/node@20.9.0)(cosmiconfig@9.0.0(typescript@6.0.2))(typescript@6.0.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -3723,14 +3741,19 @@ snapshots: '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/remapping@2.3.5': + dependencies: + '@jridgewell/gen-mapping': 0.3.8 + '@jridgewell/trace-mapping': 0.3.25 + '@jridgewell/resolve-uri@3.1.1': {} '@jridgewell/set-array@1.2.1': {} - '@jridgewell/sourcemap-codec@1.4.15': {} - '@jridgewell/sourcemap-codec@1.5.0': {} + '@jridgewell/sourcemap-codec@1.5.5': {} + '@jridgewell/trace-mapping@0.3.25': dependencies: '@jridgewell/resolve-uri': 3.1.1 @@ -3739,7 +3762,7 @@ snapshots: '@jridgewell/trace-mapping@0.3.9': dependencies: '@jridgewell/resolve-uri': 3.1.1 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@kwsites/file-exists@1.1.1': dependencies: @@ -3832,7 +3855,7 @@ snapshots: '@sinclair/typebox@0.27.8': {} - '@ts-morph/common@0.28.0': + '@ts-morph/common@0.29.0': dependencies: minimatch: 10.0.3 path-browserify: 1.0.1 @@ -3903,13 +3926,13 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint@8.57.0)(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint@8.57.0)(typescript@6.0.2)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@5.9.3) + '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@6.0.2) '@typescript-eslint/scope-manager': 7.6.0 - '@typescript-eslint/type-utils': 7.6.0(eslint@8.57.0)(typescript@5.9.3) - '@typescript-eslint/utils': 7.6.0(eslint@8.57.0)(typescript@5.9.3) + '@typescript-eslint/type-utils': 7.6.0(eslint@8.57.0)(typescript@6.0.2) + '@typescript-eslint/utils': 7.6.0(eslint@8.57.0)(typescript@6.0.2) '@typescript-eslint/visitor-keys': 7.6.0 debug: 4.3.4 eslint: 8.57.0 @@ -3917,9 +3940,9 @@ snapshots: ignore: 5.3.1 natural-compare: 1.4.0 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.9.3) + ts-api-utils: 1.3.0(typescript@6.0.2) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color @@ -3936,16 +3959,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3)': + '@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2)': dependencies: '@typescript-eslint/scope-manager': 7.6.0 '@typescript-eslint/types': 7.6.0 - '@typescript-eslint/typescript-estree': 7.6.0(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 7.6.0(typescript@6.0.2) '@typescript-eslint/visitor-keys': 7.6.0 debug: 4.3.4 eslint: 8.57.0 optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color @@ -3959,15 +3982,15 @@ snapshots: '@typescript-eslint/types': 7.6.0 '@typescript-eslint/visitor-keys': 7.6.0 - '@typescript-eslint/type-utils@7.6.0(eslint@8.57.0)(typescript@5.9.3)': + '@typescript-eslint/type-utils@7.6.0(eslint@8.57.0)(typescript@6.0.2)': dependencies: - '@typescript-eslint/typescript-estree': 7.6.0(typescript@5.9.3) - '@typescript-eslint/utils': 7.6.0(eslint@8.57.0)(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 7.6.0(typescript@6.0.2) + '@typescript-eslint/utils': 7.6.0(eslint@8.57.0)(typescript@6.0.2) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.9.3) + ts-api-utils: 1.3.0(typescript@6.0.2) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color @@ -3989,7 +4012,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.6.0(typescript@5.9.3)': + '@typescript-eslint/typescript-estree@7.6.0(typescript@6.0.2)': dependencies: '@typescript-eslint/types': 7.6.0 '@typescript-eslint/visitor-keys': 7.6.0 @@ -3998,20 +4021,20 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.4 semver: 7.6.0 - ts-api-utils: 1.3.0(typescript@5.9.3) + ts-api-utils: 1.3.0(typescript@6.0.2) optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.6.0(eslint@8.57.0)(typescript@5.9.3)': + '@typescript-eslint/utils@7.6.0(eslint@8.57.0)(typescript@6.0.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 7.6.0 '@typescript-eslint/types': 7.6.0 - '@typescript-eslint/typescript-estree': 7.6.0(typescript@5.9.3) + '@typescript-eslint/typescript-estree': 7.6.0(typescript@6.0.2) eslint: 8.57.0 semver: 7.6.0 transitivePeerDependencies: @@ -4133,11 +4156,11 @@ snapshots: '@vue/shared': 3.4.21 csstype: 3.1.3 - '@vue/server-renderer@3.4.21(vue@3.4.21(typescript@5.9.3))': + '@vue/server-renderer@3.4.21(vue@3.4.21(typescript@6.0.2))': dependencies: '@vue/compiler-ssr': 3.4.21 '@vue/shared': 3.4.21 - vue: 3.4.21(typescript@5.9.3) + vue: 3.4.21(typescript@6.0.2) '@vue/shared@3.4.21': {} @@ -4476,23 +4499,25 @@ snapshots: meow: 12.1.1 split2: 4.2.0 + convert-source-map@2.0.0: {} + core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@6.1.0(@types/node@20.9.0)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3): + cosmiconfig-typescript-loader@6.1.0(@types/node@20.9.0)(cosmiconfig@9.0.0(typescript@6.0.2))(typescript@6.0.2): dependencies: '@types/node': 20.9.0 - cosmiconfig: 9.0.0(typescript@5.9.3) + cosmiconfig: 9.0.0(typescript@6.0.2) jiti: 2.6.1 - typescript: 5.9.3 + typescript: 6.0.2 - cosmiconfig@9.0.0(typescript@5.9.3): + cosmiconfig@9.0.0(typescript@6.0.2): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 create-require@1.1.1: {} @@ -4754,15 +4779,15 @@ snapshots: dependencies: confusing-browser-globals: 1.0.11 eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) object.assign: 4.1.4 object.entries: 1.1.7 semver: 6.3.1 - eslint-config-airbnb-typescript@18.0.0(@typescript-eslint/eslint-plugin@7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint@8.57.0)(typescript@5.9.3))(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0): + eslint-config-airbnb-typescript@18.0.0(@typescript-eslint/eslint-plugin@7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint@8.57.0)(typescript@6.0.2))(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-plugin-import@2.29.1)(eslint@8.57.0): dependencies: - '@typescript-eslint/eslint-plugin': 7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint@8.57.0)(typescript@5.9.3) - '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 7.6.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint@8.57.0)(typescript@6.0.2) + '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@6.0.2) eslint: 8.57.0 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: @@ -4780,13 +4805,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0): dependencies: debug: 4.3.4 enhanced-resolve: 5.15.0 eslint: 8.57.0 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.2 is-core-module: 2.13.1 @@ -4797,18 +4822,18 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@5.9.3) + '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@6.0.2) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 @@ -4818,7 +4843,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@7.6.0(eslint@8.57.0)(typescript@6.0.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -4829,7 +4854,7 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@5.9.3) + '@typescript-eslint/parser': 7.6.0(eslint@8.57.0)(typescript@6.0.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -5134,8 +5159,6 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 - globrex@0.1.2: {} - gopd@1.0.1: dependencies: get-intrinsic: 1.2.2 @@ -5511,13 +5534,13 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 - magic-string@0.30.5: + magic-string@0.30.21: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.5 magic-string@0.30.9: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 magicast@0.3.5: dependencies: @@ -5799,6 +5822,9 @@ snapshots: picocolors@1.0.0: {} + picocolors@1.1.1: + optional: true + picomatch@2.3.1: {} picomatch@4.0.3: {} @@ -5842,10 +5868,10 @@ snapshots: dependencies: fast-diff: 1.3.0 - prettier-plugin-organize-imports@4.0.0(prettier@3.2.5)(typescript@5.9.3): + prettier-plugin-organize-imports@4.0.0(prettier@3.2.5)(typescript@6.0.2): dependencies: prettier: 3.2.5 - typescript: 5.9.3 + typescript: 6.0.2 prettier@3.2.5: {} @@ -5936,13 +5962,16 @@ snapshots: dependencies: glob: 10.3.12 - rollup-plugin-dts@6.1.0(rollup@4.14.2)(typescript@5.9.3): + rollup-plugin-dts@6.4.1(rollup@4.14.2)(typescript@6.0.2): dependencies: - magic-string: 0.30.5 + '@jridgewell/remapping': 2.3.5 + '@jridgewell/sourcemap-codec': 1.5.5 + convert-source-map: 2.0.0 + magic-string: 0.30.21 rollup: 4.14.2 - typescript: 5.9.3 + typescript: 6.0.2 optionalDependencies: - '@babel/code-frame': 7.22.13 + '@babel/code-frame': 7.29.7 rollup@4.14.2: dependencies: @@ -6250,16 +6279,16 @@ snapshots: dependencies: typescript: 5.9.3 - ts-api-utils@1.3.0(typescript@5.9.3): + ts-api-utils@1.3.0(typescript@6.0.2): dependencies: - typescript: 5.9.3 + typescript: 6.0.2 - ts-morph@27.0.0: + ts-morph@28.0.0: dependencies: - '@ts-morph/common': 0.28.0 + '@ts-morph/common': 0.29.0 code-block-writer: 13.0.3 - ts-node@10.9.2(@types/node@20.9.0)(typescript@5.9.3): + ts-node@10.9.2(@types/node@20.9.0)(typescript@6.0.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 @@ -6273,7 +6302,7 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.9.3 + typescript: 6.0.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 @@ -6288,10 +6317,6 @@ snapshots: normalize-path: 3.0.0 plimit-lit: 1.6.1 - tsconfck@3.0.3(typescript@5.9.3): - optionalDependencies: - typescript: 5.9.3 - tsconfig-paths@3.15.0: dependencies: '@types/json5': 0.0.29 @@ -6354,6 +6379,8 @@ snapshots: typescript@5.9.3: {} + typescript@6.0.2: {} + unbox-primitive@1.0.2: dependencies: call-bind: 1.0.5 @@ -6403,17 +6430,6 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@5.1.4(typescript@5.9.3)(vite@5.1.4(@types/node@20.9.0)): - dependencies: - debug: 4.4.0 - globrex: 0.1.2 - tsconfck: 3.0.3(typescript@5.9.3) - optionalDependencies: - vite: 5.1.4(@types/node@20.9.0) - transitivePeerDependencies: - - supports-color - - typescript - vite@5.1.4(@types/node@20.9.0): dependencies: esbuild: 0.19.5 @@ -6471,15 +6487,15 @@ snapshots: transitivePeerDependencies: - supports-color - vue@3.4.21(typescript@5.9.3): + vue@3.4.21(typescript@6.0.2): dependencies: '@vue/compiler-dom': 3.4.21 '@vue/compiler-sfc': 3.4.21 '@vue/runtime-dom': 3.4.21 - '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@5.9.3)) + '@vue/server-renderer': 3.4.21(vue@3.4.21(typescript@6.0.2)) '@vue/shared': 3.4.21 optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.2 wcwidth@1.0.1: dependencies: diff --git a/src/cli/builders/__tests__/builder.test.ts b/src/cli/builders/__tests__/builder.test.ts index dcf64b2..e4cd4b9 100644 --- a/src/cli/builders/__tests__/builder.test.ts +++ b/src/cli/builders/__tests__/builder.test.ts @@ -10,14 +10,14 @@ import type { IModeGenerateOptions } from '#/configs/interfaces/IModeGenerateOpt import type { IModeTsGenerateOptions } from '#/configs/interfaces/IModeTsGenerateOptions'; import type { IProjectOptions } from '#/configs/interfaces/IProjectOptions'; import { describe, expect, it } from 'vitest'; -import yargs from 'yargs'; +import yargs, { type Argv } from 'yargs'; import { hideBin } from 'yargs/helpers'; describe('option builder', () => { describe('setProjectOptions', () => { it('common option builded', () => { const y = yargs(hideBin(process.argv)); - const builded = setProjectOptions(y as unknown as yargs.Argv); + const builded = setProjectOptions(y as unknown as Argv); expect(builded).toBeDefined(); }); }); @@ -26,7 +26,7 @@ describe('option builder', () => { it('common option builded', () => { const y = yargs(hideBin(process.argv)); const builded = setModeGenerateOptions( - y as unknown as yargs.Argv, + y as unknown as Argv, ); expect(builded).toBeDefined(); }); @@ -35,7 +35,7 @@ describe('option builder', () => { describe('setCommandCreateOptions', () => { it('common option builded', () => { const y = yargs(hideBin(process.argv)); - const builded = setModeCreateOptions(y as unknown as yargs.Argv); + const builded = setModeCreateOptions(y as unknown as Argv); expect(builded).toBeDefined(); }); }); @@ -43,7 +43,7 @@ describe('option builder', () => { describe('setCommandBundleOptions', () => { it('common option builded', () => { const y = yargs(hideBin(process.argv)); - const builded = setModeBundleOptions(y as unknown as yargs.Argv); + const builded = setModeBundleOptions(y as unknown as Argv); expect(builded).toBeDefined(); }); }); @@ -51,7 +51,7 @@ describe('option builder', () => { describe('setCommandRemoveOptions', () => { it('common option builded', () => { const y = yargs(hideBin(process.argv)); - const builded = setCommandRemoveOptions(y as unknown as yargs.Argv); + const builded = setCommandRemoveOptions(y as unknown as Argv); expect(builded).toBeDefined(); }); }); diff --git a/src/cli/commands/buildCommand.ts b/src/cli/commands/buildCommand.ts index ac8cc4d..10ec0c6 100644 --- a/src/cli/commands/buildCommand.ts +++ b/src/cli/commands/buildCommand.ts @@ -6,9 +6,9 @@ import type { TCommandBuildArgvOptions } from '#/configs/interfaces/TCommandBuil import { createBuildOptions } from '#/configs/transforms/createBuildOptions'; import { building } from '#/modules/commands/building'; import consola from 'consola'; -import type yargs from 'yargs'; +import type { ArgumentsCamelCase } from 'yargs'; -export async function buildCommand(argv: yargs.ArgumentsCamelCase) { +export async function buildCommand(argv: ArgumentsCamelCase) { ProgressBar.it.enable = true; Spinner.it.enable = true; Reasoner.it.enable = true; diff --git a/src/cli/commands/initCommand.ts b/src/cli/commands/initCommand.ts index 61d8329..66977f1 100644 --- a/src/cli/commands/initCommand.ts +++ b/src/cli/commands/initCommand.ts @@ -6,9 +6,9 @@ import type { ICommandInitOptions } from '#/configs/interfaces/ICommandInitOptio import type { TCommandInitOptions } from '#/configs/interfaces/TCommandInitOptions'; import { initializing } from '#/modules/commands/initializing'; import consola from 'consola'; -import type yargs from 'yargs'; +import type { ArgumentsCamelCase } from 'yargs'; -export async function initCommand(argv: yargs.ArgumentsCamelCase) { +export async function initCommand(argv: ArgumentsCamelCase) { ProgressBar.it.enable = true; Spinner.it.enable = true; Reasoner.it.enable = true; diff --git a/src/cli/commands/removeCommand.ts b/src/cli/commands/removeCommand.ts index 2a2d8d1..9432df9 100644 --- a/src/cli/commands/removeCommand.ts +++ b/src/cli/commands/removeCommand.ts @@ -8,10 +8,10 @@ import { createBuildOptions } from '#/configs/transforms/createBuildOptions'; import { createRemoveOptions } from '#/configs/transforms/createRemoveOptions'; import { removing } from '#/modules/commands/removing'; import consola from 'consola'; -import type yargs from 'yargs'; +import type { ArgumentsCamelCase } from 'yargs'; export async function removeCommand( - argv: yargs.ArgumentsCamelCase, + argv: ArgumentsCamelCase, ) { ProgressBar.it.enable = true; Spinner.it.enable = true; diff --git a/src/modules/file/getRemoveFileGlobPattern.ts b/src/modules/file/getRemoveFileGlobPattern.ts index e4473e6..ec63d86 100644 --- a/src/modules/file/getRemoveFileGlobPattern.ts +++ b/src/modules/file/getRemoveFileGlobPattern.ts @@ -5,7 +5,7 @@ import type { TCreateOptions } from '#/configs/interfaces/TCreateOptions'; import { posixJoin } from '#/modules/path/modules/posixJoin'; import { posixResolve } from '#/modules/path/modules/posixResolve'; import { getDirname } from 'my-node-fp'; -import type yargs from 'yargs'; +import type { ArgumentsCamelCase } from 'yargs'; interface IGetRemoveFileGlobPatternReturn { origin: string; @@ -15,7 +15,7 @@ interface IGetRemoveFileGlobPatternReturn { export async function getRemoveFileGlobPattern( argv: Pick< - yargs.ArgumentsCamelCase, + ArgumentsCamelCase, 'exportFilename' | 'removeBackup' >, options: ( diff --git a/tsconfig.json b/tsconfig.json index f3a4f60..a970e82 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,8 @@ // compilerOptions specified here will override those declared below, // but *only* in ts-node. Useful if you want ts-node and tsc to use // different options with a single tsconfig.json. + "module": "Node16", + "moduleResolution": "Node16" }, "require": ["tsconfig-paths/register"] }, @@ -37,8 +39,8 @@ "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */, /* Module Resolution Options */ - "module": "CommonJS", - "moduleResolution": "Node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, + "module": "ESNext", + "moduleResolution": "Bundler" /* Resolve modules for the CJS and ESM bundle outputs. */, "rootDir": ".", "paths": { "#/*": ["./src/*"] diff --git a/vitest.config.mts b/vitest.config.mts index f54452a..9532d91 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -1,8 +1,13 @@ /* eslint-disable import/no-default-export, import/no-extraneous-dependencies */ -import tsconfigPaths from 'vite-tsconfig-paths'; +import { fileURLToPath } from 'node:url'; import { defineConfig } from 'vitest/config'; export default defineConfig({ + resolve: { + alias: { + '#': fileURLToPath(new URL('./src', import.meta.url)), + }, + }, test: { testTimeout: 10_000, coverage: { @@ -11,5 +16,4 @@ export default defineConfig({ }, exclude: ['node_modules', 'examples'], }, - plugins: [tsconfigPaths({ projects: ['tsconfig.json'] })], }); From 1bceb47d0c18e715c9f8cb10c00d6184ee86603f Mon Sep 17 00:00:00 2001 From: ByungJoon Lee Date: Sun, 19 Jul 2026 23:39:39 +0900 Subject: [PATCH 3/3] chore(version): bump version to 2.8.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c54ea78..0b29ea0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ctix", - "version": "2.8.1", + "version": "2.8.2", "description": "Automatic create index.ts file", "scripts": { "clean": "rimraf ./dist",