diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 7f6cf38eee..d0cb99a5fb 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -88,6 +88,17 @@ "groupSlug": "linting", "matchPackageNames": ["/eslint/", "/^@cspell/*/", "cspell"], }, + { + "groupName": "Typia", + "groupSlug": "typia", + "matchPackageNames": [ + "typia", + "rspack-plugin-typia", + "@samchon/openapi", + ], + "automerge": false, + "rangeStrategy": "pin", + }, { "matchDepTypes": [ "peerDependencies", diff --git a/cspell.jsonc b/cspell.jsonc index ee9100885e..41eefee93c 100644 --- a/cspell.jsonc +++ b/cspell.jsonc @@ -96,6 +96,7 @@ "tseslint", // https://github.com/typescript-eslint/typescript-eslint "publint", // https://github.com/bluwy/publint "rustc", + "samchon", // https://github.com/samchon/openapi "serde", // https://github.com/serde-rs/serde "turborepo", // https://github.com/vercel/turbo "typecheck", // vitest uses `--typecheck` diff --git a/packages/rspeedy/core/package.json b/packages/rspeedy/core/package.json index 2fe4865109..fabff3504f 100644 --- a/packages/rspeedy/core/package.json +++ b/packages/rspeedy/core/package.json @@ -67,17 +67,18 @@ "javascript-stringify": "^2.1.0", "picocolors": "^1.1.1", "tiny-invariant": "^1.3.3", - "ts-blank-space": "^0.6.1", - "typia": "7.6.4" + "ts-blank-space": "^0.6.1" }, "devDependencies": { "@lynx-js/vitest-setup": "workspace:*", "@rollup/plugin-typescript": "^12.1.2", "@rsbuild/webpack": "catalog:rsbuild", + "@samchon/openapi": "3.2.3", "eventemitter3": "^5.0.1", "rsbuild-plugin-publint": "0.3.0", "type-fest": "^4.38.0", - "typia-rspack-plugin": "^1.0.2", + "typia": "8.1.1", + "typia-rspack-plugin": "2.0.0", "vitest": "^3.1.1", "webpack": "^5.98.0" }, diff --git a/packages/rspeedy/core/rslib.config.ts b/packages/rspeedy/core/rslib.config.ts index 5556f518b2..ae99169ccf 100644 --- a/packages/rspeedy/core/rslib.config.ts +++ b/packages/rspeedy/core/rslib.config.ts @@ -33,7 +33,7 @@ export default defineConfig({ }, plugins: [ new TypiaRspackPlugin({ - cache: true, + cache: false, include: './src/config/validate.ts', tsconfig: './tsconfig.build.json', }), diff --git a/packages/rspeedy/plugin-react/package.json b/packages/rspeedy/plugin-react/package.json index 343e24103b..320883722b 100644 --- a/packages/rspeedy/plugin-react/package.json +++ b/packages/rspeedy/plugin-react/package.json @@ -57,10 +57,11 @@ "@rsbuild/plugin-typed-css-modules": "1.0.2", "@rsbuild/plugin-webpack-swc": "catalog:rsbuild", "@rsbuild/webpack": "catalog:rsbuild", + "@samchon/openapi": "3.2.3", "tailwindcss": "^3.4.17", "type-fest": "^4.38.0", - "typia": "7.6.4", - "typia-rspack-plugin": "^1.0.2" + "typia": "8.1.1", + "typia-rspack-plugin": "2.0.0" }, "peerDependencies": { "@lynx-js/react": "^0.103.0 || ^0.104.0 || ^0.105.0 || ^0.106.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 41e8fc8014..d44fa01e3f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -309,9 +309,6 @@ importers: ts-blank-space: specifier: ^0.6.1 version: 0.6.1 - typia: - specifier: 7.6.4 - version: 7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3) devDependencies: '@lynx-js/vitest-setup': specifier: workspace:* @@ -322,6 +319,9 @@ importers: '@rsbuild/webpack': specifier: catalog:rsbuild version: 1.3.0(@rsbuild/core@1.2.19)(@rspack/core@1.3.0(@swc/helpers@0.5.15)) + '@samchon/openapi': + specifier: 3.2.3 + version: 3.2.3 eventemitter3: specifier: ^5.0.1 version: 5.0.1 @@ -331,9 +331,12 @@ importers: type-fest: specifier: ^4.38.0 version: 4.38.0 + typia: + specifier: 8.1.1 + version: 8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3) typia-rspack-plugin: - specifier: ^1.0.2 - version: 1.0.2(typescript@5.7.3)(typia@7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3)) + specifier: 2.0.0 + version: 2.0.0(typescript@5.7.3)(typia@8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3)) vitest: specifier: ^3.1.1 version: 3.1.1(@types/debug@4.1.12)(@types/node@22.13.5)(@vitest/ui@3.1.1)(jsdom@26.0.0)(sass-embedded@1.86.0)(terser@5.31.6) @@ -439,6 +442,9 @@ importers: '@rsbuild/webpack': specifier: catalog:rsbuild version: 1.3.0(@rsbuild/core@1.2.19)(@rspack/core@1.3.0(@swc/helpers@0.5.15)) + '@samchon/openapi': + specifier: 3.2.3 + version: 3.2.3 tailwindcss: specifier: ^3.4.17 version: 3.4.17 @@ -446,11 +452,11 @@ importers: specifier: ^4.38.0 version: 4.38.0 typia: - specifier: 7.6.4 - version: 7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3) + specifier: 8.1.1 + version: 8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3) typia-rspack-plugin: - specifier: ^1.0.2 - version: 1.0.2(typescript@5.7.3)(typia@7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3)) + specifier: 2.0.0 + version: 2.0.0(typescript@5.7.3)(typia@8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3)) packages/rspeedy/plugin-react-alias: dependencies: @@ -2905,8 +2911,8 @@ packages: '@rushstack/ts-command-line@4.23.5': resolution: {integrity: sha512-jg70HfoK44KfSP3MTiL5rxsZH7X1ktX3cZs9Sl8eDu1/LxJSbPsh0MOFRC710lIuYYSgxWjI5AjbCBAl7u3RxA==} - '@samchon/openapi@2.4.2': - resolution: {integrity: sha512-uKoIzW7gHGTK1P4BQ+JSoHzSvLSPZs/J08KfEmci9cfVoNDb+5kmuDnoQwPGZW+dLCNoCSocgDDzLWApMgmaxw==} + '@samchon/openapi@3.2.3': + resolution: {integrity: sha512-CQVa92i3hvfZftd6mULs13/WRib5a5/5qfEH/L6e5gjSSHIXrKMmwVPawi447F/bQiEd4EPE+dPmGU3lvEsVqw==} '@selderee/plugin-htmlparser2@0.11.0': resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==} @@ -3456,8 +3462,8 @@ packages: resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} engines: {node: '>=0.4.0'} - acorn@8.14.0: - resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + acorn@8.14.1: + resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} engines: {node: '>=0.4.0'} hasBin: true @@ -7958,19 +7964,19 @@ packages: engines: {node: '>=14.17'} hasBin: true - typia-rspack-plugin@1.0.2: - resolution: {integrity: sha512-5vCunp+l8A985K0An7yjgTKCU+SUA4iC9OGbaa8+OifaqDECQKBVH61wZy927dkcnzK8z/aFgJc18GiSTCvuiw==} + typia-rspack-plugin@2.0.0: + resolution: {integrity: sha512-3csV7TwMVaPD4gWVgFz0o7MIdX2HdkNRBOuN1zwtfpvly46KqUS3qNHCSPQM2jsiZywwFKVrBfhWuZObXrPPCA==} engines: {node: '>=18'} peerDependencies: typescript: '*' typia: '*' - typia@7.6.4: - resolution: {integrity: sha512-Z3AcvGBjS7Dc7+iAG2VhsT0NIv3HMoXVTJ3F7Pgth8z7rhQu1JnyS8GGqqWdKk5ROvOgALEVEWmWv3Lym2eBIg==} + typia@8.1.1: + resolution: {integrity: sha512-R8iLPX52/tY/C/Ff7RhSsiV56JR21jLKbt1CShlrhKIJ6xoGejbXq8+y9RR/vLOo5WmZXi88yb2/zDHWyms2BQ==} hasBin: true peerDependencies: - '@samchon/openapi': '>=2.4.2 <3.0.0' - typescript: '>=4.8.0 <5.8.0' + '@samchon/openapi': '>=3.2.2 <4.0.0' + typescript: '>=4.8.0 <5.9.0' unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} @@ -8050,8 +8056,8 @@ packages: resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==} engines: {node: '>=14.0.0'} - unplugin@2.2.0: - resolution: {integrity: sha512-m1ekpSwuOT5hxkJeZGRxO7gXbXT3gF26NjQ7GdVHoLoF8/nopLcd/QfPigpCy7i51oFHiRJg/CyHhj4vs2+KGw==} + unplugin@2.2.2: + resolution: {integrity: sha512-Qp+iiD+qCRnUek+nDoYvtWX7tfnYyXsrOnJ452FRTgOyKmTM7TUJ3l+PLPJOOWPTUyKISKp4isC5JJPSXUjGgw==} engines: {node: '>=18.12.0'} unrs-resolver@1.3.3: @@ -9928,7 +9934,7 @@ snapshots: '@rsbuild/plugin-check-syntax@1.3.0(@rsbuild/core@1.2.19)': dependencies: - acorn: 8.14.0 + acorn: 8.14.1 browserslist-to-es-version: 1.0.0 htmlparser2: 10.0.0 picocolors: 1.1.1 @@ -10124,8 +10130,8 @@ snapshots: '@babel/code-frame': 7.26.2 '@rsdoctor/types': 1.0.1(@rspack/core@1.3.0(@swc/helpers@0.5.15))(webpack@5.98.0) '@types/estree': 1.0.5 - acorn: 8.14.0 - acorn-import-attributes: 1.9.5(acorn@8.14.0) + acorn: 8.14.1 + acorn-import-attributes: 1.9.5(acorn@8.14.1) acorn-walk: 8.3.4 chalk: 4.1.2 connect: 3.7.0 @@ -10518,7 +10524,7 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@samchon/openapi@2.4.2': {} + '@samchon/openapi@3.2.3': {} '@selderee/plugin-htmlparser2@0.11.0': dependencies: @@ -11119,19 +11125,19 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 - acorn-import-attributes@1.9.5(acorn@8.14.0): + acorn-import-attributes@1.9.5(acorn@8.14.1): dependencies: - acorn: 8.14.0 + acorn: 8.14.1 - acorn-jsx@5.3.2(acorn@8.14.0): + acorn-jsx@5.3.2(acorn@8.14.1): dependencies: - acorn: 8.14.0 + acorn: 8.14.1 acorn-walk@8.3.4: dependencies: - acorn: 8.14.0 + acorn: 8.14.1 - acorn@8.14.0: {} + acorn@8.14.1: {} agent-base@7.1.3: {} @@ -12536,8 +12542,8 @@ snapshots: espree@10.3.0: dependencies: - acorn: 8.14.0 - acorn-jsx: 5.3.2(acorn@8.14.0) + acorn: 8.14.1 + acorn-jsx: 5.3.2(acorn@8.14.1) eslint-visitor-keys: 4.2.0 esprima@4.0.1: {} @@ -14231,8 +14237,8 @@ snapshots: micromark-extension-mdxjs@1.0.1: dependencies: - acorn: 8.14.0 - acorn-jsx: 5.3.2(acorn@8.14.0) + acorn: 8.14.1 + acorn-jsx: 5.3.2(acorn@8.14.1) micromark-extension-mdx-expression: 1.0.8 micromark-extension-mdx-jsx: 1.0.5 micromark-extension-mdx-md: 1.0.1 @@ -16063,7 +16069,7 @@ snapshots: terser@5.31.6: dependencies: '@jridgewell/source-map': 0.3.6 - acorn: 8.14.0 + acorn: 8.14.1 commander: 2.20.3 source-map-support: 0.5.21 @@ -16308,15 +16314,15 @@ snapshots: typescript@5.7.3: {} - typia-rspack-plugin@1.0.2(typescript@5.7.3)(typia@7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3)): + typia-rspack-plugin@2.0.0(typescript@5.7.3)(typia@8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3)): dependencies: typescript: 5.7.3 - typia: 7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3) - unplugin: 2.2.0 + typia: 8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3) + unplugin: 2.2.2 - typia@7.6.4(@samchon/openapi@2.4.2)(typescript@5.7.3): + typia@8.1.1(@samchon/openapi@3.2.3)(typescript@5.7.3): dependencies: - '@samchon/openapi': 2.4.2 + '@samchon/openapi': 3.2.3 commander: 10.0.1 comment-json: 4.2.5 inquirer: 8.2.6 @@ -16420,12 +16426,12 @@ snapshots: unplugin@1.16.1: dependencies: - acorn: 8.14.0 + acorn: 8.14.1 webpack-virtual-modules: 0.6.2 - unplugin@2.2.0: + unplugin@2.2.2: dependencies: - acorn: 8.14.0 + acorn: 8.14.1 webpack-virtual-modules: 0.6.2 unrs-resolver@1.3.3: @@ -16616,7 +16622,7 @@ snapshots: webpack-bundle-analyzer@4.10.2: dependencies: '@discoveryjs/json-ext': 0.5.7 - acorn: 8.14.0 + acorn: 8.14.1 acorn-walk: 8.3.4 commander: 7.2.0 debounce: 1.2.1 @@ -16702,7 +16708,7 @@ snapshots: '@webassemblyjs/ast': 1.14.1 '@webassemblyjs/wasm-edit': 1.14.1 '@webassemblyjs/wasm-parser': 1.14.1 - acorn: 8.14.0 + acorn: 8.14.1 browserslist: 4.24.4 chrome-trace-event: 1.0.4 enhanced-resolve: 5.18.1 @@ -16732,7 +16738,7 @@ snapshots: '@webassemblyjs/ast': 1.14.1 '@webassemblyjs/wasm-edit': 1.14.1 '@webassemblyjs/wasm-parser': 1.14.1 - acorn: 8.14.0 + acorn: 8.14.1 browserslist: 4.24.4 chrome-trace-event: 1.0.4 enhanced-resolve: 5.18.1