@modern-js/app-tools 3.2.0 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/cjs/builder/builder-rspack/index.js +9 -5
  2. package/dist/cjs/builder/generator/adapterCopy.js +9 -5
  3. package/dist/cjs/builder/generator/createBuilderProviderConfig.js +9 -5
  4. package/dist/cjs/builder/generator/createCopyPattern.js +9 -5
  5. package/dist/cjs/builder/generator/getBuilderEnvironments.js +9 -5
  6. package/dist/cjs/builder/generator/index.js +9 -5
  7. package/dist/cjs/builder/index.js +9 -5
  8. package/dist/cjs/builder/shared/builderPlugins/adapterBasic.js +9 -5
  9. package/dist/cjs/builder/shared/builderPlugins/adapterHtml.js +10 -6
  10. package/dist/cjs/builder/shared/builderPlugins/adapterSSR.js +9 -5
  11. package/dist/cjs/builder/shared/builderPlugins/builderHooks.js +12 -8
  12. package/dist/cjs/builder/shared/builderPlugins/index.js +9 -5
  13. package/dist/cjs/builder/shared/bundlerPlugins/HtmlAsyncChunkPlugin.js +9 -5
  14. package/dist/cjs/builder/shared/bundlerPlugins/HtmlBottomTemplate.js +12 -8
  15. package/dist/cjs/builder/shared/bundlerPlugins/RouterPlugin.js +9 -5
  16. package/dist/cjs/builder/shared/bundlerPlugins/index.js +9 -5
  17. package/dist/cjs/builder/shared/createCopyInfo.js +9 -5
  18. package/dist/cjs/builder/shared/index.js +9 -5
  19. package/dist/cjs/builder/shared/loaders/serverModuleLoader.js +12 -8
  20. package/dist/cjs/commands/build.js +11 -6
  21. package/dist/cjs/commands/deploy.js +9 -5
  22. package/dist/cjs/commands/dev.js +11 -6
  23. package/dist/cjs/commands/index.js +9 -5
  24. package/dist/cjs/commands/info.js +9 -5
  25. package/dist/cjs/commands/inspect.js +12 -8
  26. package/dist/cjs/commands/serve.js +9 -5
  27. package/dist/cjs/compat/hooks.js +9 -5
  28. package/dist/cjs/compat/index.js +9 -5
  29. package/dist/cjs/compat/utils.js +9 -5
  30. package/dist/cjs/config/default.js +9 -5
  31. package/dist/cjs/config/index.js +9 -5
  32. package/dist/cjs/config/initialize/index.js +9 -5
  33. package/dist/cjs/config/initialize/inits.js +9 -5
  34. package/dist/cjs/constants.js +13 -9
  35. package/dist/cjs/defineConfig.js +12 -8
  36. package/dist/cjs/esm/register-esm.js +9 -5
  37. package/dist/cjs/esm/ts-node-loader.js +9 -5
  38. package/dist/cjs/esm/ts-paths-loader.js +9 -5
  39. package/dist/cjs/index.js +21 -16
  40. package/dist/cjs/locale/en.js +12 -8
  41. package/dist/cjs/locale/index.js +9 -5
  42. package/dist/cjs/locale/zh.js +12 -8
  43. package/dist/cjs/plugins/analyze/constants.js +14 -10
  44. package/dist/cjs/plugins/analyze/getBundleEntry.js +9 -5
  45. package/dist/cjs/plugins/analyze/getFileSystemEntry.js +9 -5
  46. package/dist/cjs/plugins/analyze/getHtmlTemplate.js +9 -5
  47. package/dist/cjs/plugins/analyze/getServerRoutes.js +9 -5
  48. package/dist/cjs/plugins/analyze/index.js +9 -5
  49. package/dist/cjs/plugins/analyze/isDefaultExportFunction.js +9 -5
  50. package/dist/cjs/plugins/analyze/templates.js +12 -8
  51. package/dist/cjs/plugins/analyze/utils.js +9 -5
  52. package/dist/cjs/plugins/deploy/index.js +9 -5
  53. package/dist/cjs/plugins/deploy/platforms/gh-pages.js +9 -5
  54. package/dist/cjs/plugins/deploy/platforms/netlify.js +9 -5
  55. package/dist/cjs/plugins/deploy/platforms/node.js +9 -5
  56. package/dist/cjs/plugins/deploy/platforms/vercel.js +9 -5
  57. package/dist/cjs/plugins/deploy/utils/generator.js +9 -5
  58. package/dist/cjs/plugins/deploy/utils/index.js +9 -5
  59. package/dist/cjs/plugins/initialize/index.js +9 -5
  60. package/dist/cjs/plugins/serverBuild.js +10 -7
  61. package/dist/cjs/plugins/serverRuntime.js +12 -8
  62. package/dist/cjs/rsbuild.js +9 -5
  63. package/dist/cjs/run/index.js +9 -5
  64. package/dist/cjs/types/config/index.js +9 -5
  65. package/dist/cjs/types/index.js +9 -5
  66. package/dist/cjs/utils/config.js +9 -5
  67. package/dist/cjs/utils/createServer.js +14 -10
  68. package/dist/cjs/utils/env.js +9 -5
  69. package/dist/cjs/utils/generateWatchFiles.js +9 -5
  70. package/dist/cjs/utils/getConfigFile.js +9 -5
  71. package/dist/cjs/utils/getSelectedEntries.js +9 -5
  72. package/dist/cjs/utils/initAppContext.js +9 -5
  73. package/dist/cjs/utils/loadPlugins.js +9 -5
  74. package/dist/cjs/utils/printInstructions.js +9 -5
  75. package/dist/cjs/utils/register.js +10 -7
  76. package/dist/cjs/utils/restart.js +9 -5
  77. package/dist/cjs/utils/routes.js +9 -5
  78. package/dist/esm/builder/shared/builderPlugins/adapterHtml.mjs +1 -1
  79. package/dist/esm/commands/build.mjs +2 -1
  80. package/dist/esm/commands/dev.mjs +2 -1
  81. package/dist/esm/plugins/serverBuild.mjs +2 -3
  82. package/dist/esm/utils/register.mjs +2 -3
  83. package/dist/esm-node/builder/shared/builderPlugins/adapterHtml.mjs +1 -1
  84. package/dist/esm-node/commands/build.mjs +2 -1
  85. package/dist/esm-node/commands/dev.mjs +2 -1
  86. package/dist/esm-node/plugins/serverBuild.mjs +2 -3
  87. package/dist/esm-node/utils/register.mjs +2 -3
  88. package/dist/types/utils/register.d.ts +6 -0
  89. package/lib/types.d.ts +1 -0
  90. package/package.json +19 -19
@@ -10,11 +10,15 @@ var __webpack_require__ = {};
10
10
  };
11
11
  })();
12
12
  (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
13
+ __webpack_require__.d = (exports1, getters, values)=>{
14
+ var define = (defs, kind)=>{
15
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
+ enumerable: true,
17
+ [kind]: defs[key]
18
+ });
19
+ };
20
+ define(getters, "get");
21
+ define(values, "value");
18
22
  };
19
23
  })();
20
24
  (()=>{
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
3
  (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
4
+ __webpack_require__.d = (exports1, getters, values)=>{
5
+ var define = (defs, kind)=>{
6
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
+ enumerable: true,
8
+ [kind]: defs[key]
9
+ });
10
+ };
11
+ define(getters, "get");
12
+ define(values, "value");
9
13
  };
10
14
  })();
11
15
  (()=>{
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
3
  (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
4
+ __webpack_require__.d = (exports1, getters, values)=>{
5
+ var define = (defs, kind)=>{
6
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
+ enumerable: true,
8
+ [kind]: defs[key]
9
+ });
10
+ };
11
+ define(getters, "get");
12
+ define(values, "value");
9
13
  };
10
14
  })();
11
15
  (()=>{
@@ -10,11 +10,15 @@ var __webpack_require__ = {};
10
10
  };
11
11
  })();
12
12
  (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
13
+ __webpack_require__.d = (exports1, getters, values)=>{
14
+ var define = (defs, kind)=>{
15
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
+ enumerable: true,
17
+ [kind]: defs[key]
18
+ });
19
+ };
20
+ define(getters, "get");
21
+ define(values, "value");
18
22
  };
19
23
  })();
20
24
  (()=>{
@@ -94,8 +98,7 @@ const resolveTsRuntimeRegisterMode = (hasTsNode)=>{
94
98
  return 'unsupported';
95
99
  };
96
100
  const setupTsRuntime = async (appDir, distDir, alias, options = {})=>{
97
- const TS_CONFIG_FILENAME = "tsconfig.json";
98
- const tsconfigPath = external_node_path_default().resolve(appDir, TS_CONFIG_FILENAME);
101
+ const tsconfigPath = (0, utils_namespaceObject.resolveServerTsconfig)(appDir, options.tsconfigPath);
99
102
  const isTsProject = await utils_namespaceObject.fs.pathExists(tsconfigPath);
100
103
  const hasTsNode = (0, utils_namespaceObject.isDepExists)(appDir, 'ts-node');
101
104
  if (!isTsProject) return;
@@ -1,11 +1,15 @@
1
1
  "use strict";
2
2
  var __webpack_require__ = {};
3
3
  (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
4
+ __webpack_require__.d = (exports1, getters, values)=>{
5
+ var define = (defs, kind)=>{
6
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
7
+ enumerable: true,
8
+ [kind]: defs[key]
9
+ });
10
+ };
11
+ define(getters, "get");
12
+ define(values, "value");
9
13
  };
10
14
  })();
11
15
  (()=>{
@@ -10,11 +10,15 @@ var __webpack_require__ = {};
10
10
  };
11
11
  })();
12
12
  (()=>{
13
- __webpack_require__.d = (exports1, definition)=>{
14
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
15
- enumerable: true,
16
- get: definition[key]
17
- });
13
+ __webpack_require__.d = (exports1, getters, values)=>{
14
+ var define = (defs, kind)=>{
15
+ for(var key in defs)if (__webpack_require__.o(defs, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
16
+ enumerable: true,
17
+ [kind]: defs[key]
18
+ });
19
+ };
20
+ define(getters, "get");
21
+ define(values, "value");
18
22
  };
19
23
  })();
20
24
  (()=>{
@@ -38,7 +38,7 @@ function applyBottomHtmlPlugin({ chain, options, CHAIN_ID, HtmlBundlerPlugin, ht
38
38
  const baseTemplateParams = {
39
39
  entryName,
40
40
  title: modernConfig.html.title,
41
- mountId: modernConfig.html.templateParameters
41
+ mountId: modernConfig.html.mountId
42
42
  };
43
43
  chain.plugin(`${CHAIN_ID.PLUGIN.HTML}-${entryName}`).tap((args)=>[
44
44
  {
@@ -33,7 +33,8 @@ const build = async (api, options)=>{
33
33
  const combinedAlias = [].concat(resolvedConfig?.resolve?.alias ?? []).concat(resolvedConfig?.source?.alias ?? []);
34
34
  await loadServerPlugins(api, appContext.appDirectory, appContext.metaName);
35
35
  await setupTsRuntime(appContext.appDirectory, appContext.distDirectory, combinedAlias, {
36
- moduleType: appContext.moduleType
36
+ moduleType: appContext.moduleType,
37
+ tsconfigPath: resolvedConfig?.server?.tsconfigPath
37
38
  });
38
39
  const { apiOnly } = appContext;
39
40
  if (apiOnly) {
@@ -14,7 +14,8 @@ const dev = async (api, options, devServerOptions)=>{
14
14
  const hooks = api.getHooks();
15
15
  const combinedAlias = [].concat(normalizedConfig?.resolve?.alias ?? []).concat(normalizedConfig?.source?.alias ?? []);
16
16
  await setupTsRuntime(appContext.appDirectory, appContext.distDirectory, combinedAlias, {
17
- moduleType: appContext.moduleType
17
+ moduleType: appContext.moduleType,
18
+ tsconfigPath: normalizedConfig?.server?.tsconfigPath
18
19
  });
19
20
  const { appDirectory, port, apiOnly, metaName, serverRoutes } = appContext;
20
21
  const meta = getMeta(metaName);
@@ -1,8 +1,7 @@
1
1
  import fs from "fs";
2
2
  import path from "path";
3
3
  import { compile } from "@modern-js/server-utils";
4
- import { SERVER_DIR, SHARED_DIR, getMeta } from "@modern-js/utils";
5
- const TS_CONFIG_FILENAME = 'tsconfig.json';
4
+ import { SERVER_DIR, SHARED_DIR, getMeta, resolveServerTsconfig } from "@modern-js/utils";
6
5
  function checkHasCache(appDir) {
7
6
  const tsFilepath = path.resolve(appDir, SERVER_DIR, 'cache.ts');
8
7
  const jsfilepath = path.resolve(appDir, SERVER_DIR, 'cache.js');
@@ -24,7 +23,7 @@ const serverBuild = ()=>({
24
23
  const distDir = path.resolve(distDirectory);
25
24
  const serverDir = path.resolve(appDirectory, SERVER_DIR);
26
25
  const sharedDir = path.resolve(appDirectory, SHARED_DIR);
27
- const tsconfigPath = path.resolve(appDirectory, TS_CONFIG_FILENAME);
26
+ const tsconfigPath = resolveServerTsconfig(appDirectory, modernConfig?.server?.tsconfigPath);
28
27
  const sourceDirs = [];
29
28
  if (fs.existsSync(serverDir)) {
30
29
  sourceDirs.push(serverDir);
@@ -1,5 +1,5 @@
1
1
  import node_path from "node:path";
2
- import { fs, getAliasConfig, isDepExists, loadFromProject, mergeAlias, readTsConfigByFile } from "@modern-js/utils";
2
+ import { fs, getAliasConfig, isDepExists, loadFromProject, mergeAlias, readTsConfigByFile, resolveServerTsconfig } from "@modern-js/utils";
3
3
  const normalizePathValue = ({ key, value, absoluteBaseUrl })=>{
4
4
  let normalizedValue = value;
5
5
  if (key.startsWith('@') && normalizedValue.startsWith('@')) try {
@@ -55,8 +55,7 @@ const resolveTsRuntimeRegisterMode = (hasTsNode)=>{
55
55
  return 'unsupported';
56
56
  };
57
57
  const setupTsRuntime = async (appDir, distDir, alias, options = {})=>{
58
- const TS_CONFIG_FILENAME = "tsconfig.json";
59
- const tsconfigPath = node_path.resolve(appDir, TS_CONFIG_FILENAME);
58
+ const tsconfigPath = resolveServerTsconfig(appDir, options.tsconfigPath);
60
59
  const isTsProject = await fs.pathExists(tsconfigPath);
61
60
  const hasTsNode = isDepExists(appDir, 'ts-node');
62
61
  if (!isTsProject) return;
@@ -39,7 +39,7 @@ function applyBottomHtmlPlugin({ chain, options, CHAIN_ID, HtmlBundlerPlugin, ht
39
39
  const baseTemplateParams = {
40
40
  entryName,
41
41
  title: modernConfig.html.title,
42
- mountId: modernConfig.html.templateParameters
42
+ mountId: modernConfig.html.mountId
43
43
  };
44
44
  chain.plugin(`${CHAIN_ID.PLUGIN.HTML}-${entryName}`).tap((args)=>[
45
45
  {
@@ -34,7 +34,8 @@ const build = async (api, options)=>{
34
34
  const combinedAlias = [].concat(resolvedConfig?.resolve?.alias ?? []).concat(resolvedConfig?.source?.alias ?? []);
35
35
  await loadServerPlugins(api, appContext.appDirectory, appContext.metaName);
36
36
  await setupTsRuntime(appContext.appDirectory, appContext.distDirectory, combinedAlias, {
37
- moduleType: appContext.moduleType
37
+ moduleType: appContext.moduleType,
38
+ tsconfigPath: resolvedConfig?.server?.tsconfigPath
38
39
  });
39
40
  const { apiOnly } = appContext;
40
41
  if (apiOnly) {
@@ -15,7 +15,8 @@ const dev = async (api, options, devServerOptions)=>{
15
15
  const hooks = api.getHooks();
16
16
  const combinedAlias = [].concat(normalizedConfig?.resolve?.alias ?? []).concat(normalizedConfig?.source?.alias ?? []);
17
17
  await setupTsRuntime(appContext.appDirectory, appContext.distDirectory, combinedAlias, {
18
- moduleType: appContext.moduleType
18
+ moduleType: appContext.moduleType,
19
+ tsconfigPath: normalizedConfig?.server?.tsconfigPath
19
20
  });
20
21
  const { appDirectory, port, apiOnly, metaName, serverRoutes } = appContext;
21
22
  const meta = getMeta(metaName);
@@ -2,8 +2,7 @@ import "node:module";
2
2
  import fs from "fs";
3
3
  import path from "path";
4
4
  import { compile } from "@modern-js/server-utils";
5
- import { SERVER_DIR, SHARED_DIR, getMeta } from "@modern-js/utils";
6
- const TS_CONFIG_FILENAME = 'tsconfig.json';
5
+ import { SERVER_DIR, SHARED_DIR, getMeta, resolveServerTsconfig } from "@modern-js/utils";
7
6
  function checkHasCache(appDir) {
8
7
  const tsFilepath = path.resolve(appDir, SERVER_DIR, 'cache.ts');
9
8
  const jsfilepath = path.resolve(appDir, SERVER_DIR, 'cache.js');
@@ -25,7 +24,7 @@ const serverBuild = ()=>({
25
24
  const distDir = path.resolve(distDirectory);
26
25
  const serverDir = path.resolve(appDirectory, SERVER_DIR);
27
26
  const sharedDir = path.resolve(appDirectory, SHARED_DIR);
28
- const tsconfigPath = path.resolve(appDirectory, TS_CONFIG_FILENAME);
27
+ const tsconfigPath = resolveServerTsconfig(appDirectory, modernConfig?.server?.tsconfigPath);
29
28
  const sourceDirs = [];
30
29
  if (fs.existsSync(serverDir)) {
31
30
  sourceDirs.push(serverDir);
@@ -1,7 +1,7 @@
1
1
  import __rslib_shim_module__ from "node:module";
2
2
  const require = /*#__PURE__*/ __rslib_shim_module__.createRequire(/*#__PURE__*/ (()=>import.meta.url)());
3
3
  import node_path from "node:path";
4
- import { fs, getAliasConfig, isDepExists, loadFromProject, mergeAlias, readTsConfigByFile } from "@modern-js/utils";
4
+ import { fs, getAliasConfig, isDepExists, loadFromProject, mergeAlias, readTsConfigByFile, resolveServerTsconfig } from "@modern-js/utils";
5
5
  const normalizePathValue = ({ key, value, absoluteBaseUrl })=>{
6
6
  let normalizedValue = value;
7
7
  if (key.startsWith('@') && normalizedValue.startsWith('@')) try {
@@ -57,8 +57,7 @@ const resolveTsRuntimeRegisterMode = (hasTsNode)=>{
57
57
  return 'unsupported';
58
58
  };
59
59
  const setupTsRuntime = async (appDir, distDir, alias, options = {})=>{
60
- const TS_CONFIG_FILENAME = "tsconfig.json";
61
- const tsconfigPath = node_path.resolve(appDir, TS_CONFIG_FILENAME);
60
+ const tsconfigPath = resolveServerTsconfig(appDir, options.tsconfigPath);
62
61
  const isTsProject = await fs.pathExists(tsconfigPath);
63
62
  const hasTsNode = isDepExists(appDir, 'ts-node');
64
63
  if (!isTsProject) return;
@@ -3,6 +3,12 @@ import type { ConfigChain } from '@rsbuild/core';
3
3
  type TsRuntimeRegisterMode = 'ts-node' | 'node-loader' | 'unsupported';
4
4
  interface TsRuntimeSetupOptions {
5
5
  moduleType?: string;
6
+ /**
7
+ * User-configured `server.tsconfigPath`. Forwarded into the shared
8
+ * resolveServerTsconfig helper. Resolved relative to appDir when not
9
+ * absolute. Falls back to `<appDir>/tsconfig.json` when unset.
10
+ */
11
+ tsconfigPath?: string;
6
12
  }
7
13
  export declare const resolveTsRuntimeRegisterMode: (hasTsNode: boolean) => TsRuntimeRegisterMode;
8
14
  /**
package/lib/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  /// <reference types="react" />
3
3
  /// <reference types="react-dom" />
4
+ /// <reference types="@rsbuild/core/types" />
4
5
  /// <reference path="../dist/types/index.d.ts" />
5
6
 
6
7
  declare namespace NodeJS {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "3.2.0",
18
+ "version": "3.2.2",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "main": "./dist/cjs/index.js",
21
21
  "exports": {
@@ -80,39 +80,39 @@
80
80
  "modern-app": "./bin/modern.js"
81
81
  },
82
82
  "dependencies": {
83
- "@babel/parser": "^7.29.3",
84
- "@babel/traverse": "^7.29.0",
85
- "@babel/types": "^7.29.0",
86
- "@rsbuild/core": "2.0.0",
83
+ "@babel/parser": "^7.29.7",
84
+ "@babel/traverse": "^7.29.7",
85
+ "@babel/types": "^7.29.7",
86
+ "@rsbuild/core": "2.0.10",
87
87
  "@swc/core": "1.15.33",
88
88
  "@swc/helpers": "^0.5.17",
89
89
  "es-module-lexer": "^1.7.0",
90
- "import-meta-resolve": "^4.2.0",
91
90
  "flatted": "^3.4.2",
91
+ "import-meta-resolve": "^4.2.0",
92
92
  "mlly": "^1.8.2",
93
93
  "ndepe": "^0.1.13",
94
94
  "pkg-types": "^1.3.1",
95
95
  "std-env": "^3.10.0",
96
- "@modern-js/i18n-utils": "3.2.0",
97
- "@modern-js/builder": "3.2.0",
98
- "@modern-js/plugin": "3.2.0",
99
- "@modern-js/plugin-data-loader": "3.2.0",
100
- "@modern-js/server": "3.2.0",
101
- "@modern-js/server-core": "3.2.0",
102
- "@modern-js/prod-server": "3.2.0",
103
- "@modern-js/types": "3.2.0",
104
- "@modern-js/server-utils": "3.2.0",
105
- "@modern-js/utils": "3.2.0"
96
+ "@modern-js/builder": "3.2.2",
97
+ "@modern-js/i18n-utils": "3.2.2",
98
+ "@modern-js/plugin-data-loader": "3.2.2",
99
+ "@modern-js/prod-server": "3.2.2",
100
+ "@modern-js/server": "3.2.2",
101
+ "@modern-js/plugin": "3.2.2",
102
+ "@modern-js/server-core": "3.2.2",
103
+ "@modern-js/types": "3.2.2",
104
+ "@modern-js/server-utils": "3.2.2",
105
+ "@modern-js/utils": "3.2.2"
106
106
  },
107
107
  "devDependencies": {
108
- "@rslib/core": "0.21.4",
108
+ "@rslib/core": "0.21.5",
109
109
  "@types/babel__traverse": "7.28.0",
110
110
  "@types/node": "^20",
111
111
  "ts-node": "^10.9.2",
112
112
  "tsconfig-paths": "^4.2.0",
113
113
  "typescript": "^5",
114
- "@scripts/rstest-config": "2.66.0",
115
- "@modern-js/rslib": "2.68.10"
114
+ "@modern-js/rslib": "2.68.10",
115
+ "@scripts/rstest-config": "2.66.0"
116
116
  },
117
117
  "peerDependencies": {
118
118
  "ts-node": "^10.9.2",