@modern-js/app-tools 2.64.0 → 2.64.1

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.
@@ -48,12 +48,6 @@ export const registerEsm = async ({ appDir, distDir, alias }) => {
48
48
  if (hasTsconfig) {
49
49
  tsConfig = readTsConfigByFile(tsconfigPath);
50
50
  }
51
- const esbuildRegister = await import('esbuild-register/dist/node');
52
- esbuildRegister.register({
53
- tsconfigRaw: hasTsconfig ? tsConfig : undefined,
54
- hookIgnoreNodeModules: true,
55
- hookMatcher: fileName => !fileName.startsWith(distDir),
56
- });
57
51
  register('./esbuild-loader.mjs', import.meta.url, {
58
52
  data: {
59
53
  appDir,
package/dist/cjs/index.js CHANGED
@@ -96,8 +96,6 @@ const appTools = (options = {
96
96
  registryHooks: {
97
97
  onAfterPrepare: (0, import_plugin_v2.createAsyncHook)(),
98
98
  deploy: (0, import_plugin_v2.createAsyncHook)(),
99
- _internalRuntimePlugins: (0, import_plugin_v2.createAsyncHook)(),
100
- _internalServerPlugins: (0, import_plugin_v2.createAsyncHook)(),
101
99
  checkEntryPoint: (0, import_plugin_v2.createAsyncHook)(),
102
100
  modifyEntrypoints: (0, import_plugin_v2.createAsyncHook)(),
103
101
  modifyFileSystemRoutes: (0, import_plugin_v2.createAsyncHook)(),
@@ -29,7 +29,7 @@ var import_constants = require("../constants");
29
29
  var import_getConfigFile = require("../utils/getConfigFile");
30
30
  var import_isAutoLoadPlugins = require("../utils/isAutoLoadPlugins");
31
31
  var import_loadPlugins = require("../utils/loadPlugins");
32
- async function run({ cwd, initialLog, metaName, version, internalPlugins, packageJsonConfig, configFile }) {
32
+ async function run({ cwd, initialLog, metaName = "MODERN", version, internalPlugins, packageJsonConfig = import_constants.PACKAGE_JSON_CONFIG_NAME, configFile }) {
33
33
  const command = process.argv[2];
34
34
  const cliParams = (0, import_utils.minimist)(process.argv.slice(2));
35
35
  const SUPPORT_CONFIG_PARAM_COMMANDS = [
@@ -64,14 +64,14 @@ async function run({ cwd, initialLog, metaName, version, internalPlugins, packag
64
64
  }
65
65
  const appDirectory = await (0, import_cli.initAppDir)(cwd);
66
66
  const finalConfigFile = customConfigFile || (0, import_getConfigFile.getConfigFile)(configFile);
67
- const autoLoadPlugins = await (0, import_isAutoLoadPlugins.isAutoLoadPlugins)(appDirectory, finalConfigFile);
67
+ const autoLoadPlugins = await (0, import_isAutoLoadPlugins.isAutoLoadPlugins)(appDirectory, finalConfigFile, packageJsonConfig, metaName);
68
68
  const plugins = await (0, import_loadPlugins.loadInternalPlugins)(appDirectory, internalPlugins === null || internalPlugins === void 0 ? void 0 : internalPlugins.cli, internalPlugins === null || internalPlugins === void 0 ? void 0 : internalPlugins.autoLoad, autoLoadPlugins);
69
69
  await (0, import_run.run)({
70
70
  cwd,
71
71
  initialLog: initialLog || `Modern.js Framework v${version}`,
72
72
  configFile: finalConfigFile,
73
73
  metaName,
74
- packageJsonConfig: packageJsonConfig || import_constants.PACKAGE_JSON_CONFIG_NAME,
74
+ packageJsonConfig,
75
75
  internalPlugins: plugins,
76
76
  handleSetupResult: import_hooks.handleSetupResult
77
77
  });
@@ -34,10 +34,10 @@ __export(generateWatchFiles_exports, {
34
34
  module.exports = __toCommonJS(generateWatchFiles_exports);
35
35
  var import_path = __toESM(require("path"));
36
36
  var import_utils = require("@modern-js/utils");
37
+ var import_constants = require("../constants");
37
38
  const getPackageConfig = (appDirectory, packageJsonConfig) => {
38
- const PACKAGE_JSON_CONFIG_NAME = "modernConfig";
39
39
  const json = JSON.parse(import_utils.fs.readFileSync(import_path.default.resolve(appDirectory, "./package.json"), "utf8"));
40
- return json[packageJsonConfig !== null && packageJsonConfig !== void 0 ? packageJsonConfig : PACKAGE_JSON_CONFIG_NAME];
40
+ return json[packageJsonConfig !== null && packageJsonConfig !== void 0 ? packageJsonConfig : import_constants.PACKAGE_JSON_CONFIG_NAME];
41
41
  };
42
42
  const addServerConfigToDeps = async (dependencies, appDirectory, serverConfigFile) => {
43
43
  const serverConfig = await (0, import_utils.getServerConfig)(appDirectory, serverConfigFile);
@@ -22,8 +22,9 @@ __export(isAutoLoadPlugins_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(isAutoLoadPlugins_exports);
24
24
  var import_cli = require("@modern-js/plugin-v2/cli");
25
- async function isAutoLoadPlugins(appDirectory, configFile = "modern.config.ts", packageJsonConfig = "ModernConfig") {
25
+ async function isAutoLoadPlugins(appDirectory, configFile, packageJsonConfig, metaName) {
26
26
  var _loaded_config;
27
+ (0, import_cli.loadEnv)(appDirectory, process.env[`${metaName.toUpperCase()}_ENV`]);
27
28
  const loaded = await (0, import_cli.createLoadedConfig)(appDirectory, configFile, packageJsonConfig);
28
29
  const autoLoadPlugins = (_loaded_config = loaded.config) === null || _loaded_config === void 0 ? void 0 : _loaded_config.autoLoadPlugins;
29
30
  return autoLoadPlugins || false;
@@ -48,12 +48,6 @@ export const registerEsm = async ({ appDir, distDir, alias }) => {
48
48
  if (hasTsconfig) {
49
49
  tsConfig = readTsConfigByFile(tsconfigPath);
50
50
  }
51
- const esbuildRegister = await import('esbuild-register/dist/node');
52
- esbuildRegister.register({
53
- tsconfigRaw: hasTsconfig ? tsConfig : undefined,
54
- hookIgnoreNodeModules: true,
55
- hookMatcher: fileName => !fileName.startsWith(distDir),
56
- });
57
51
  register('./esbuild-loader.mjs', import.meta.url, {
58
52
  data: {
59
53
  appDir,
package/dist/esm/index.js CHANGED
@@ -55,8 +55,6 @@ var appTools = function() {
55
55
  registryHooks: {
56
56
  onAfterPrepare: createAsyncHook(),
57
57
  deploy: createAsyncHook(),
58
- _internalRuntimePlugins: createAsyncHook(),
59
- _internalServerPlugins: createAsyncHook(),
60
58
  checkEntryPoint: createAsyncHook(),
61
59
  modifyEntrypoints: createAsyncHook(),
62
60
  modifyFileSystemRoutes: createAsyncHook(),
@@ -13,11 +13,11 @@ function run(_) {
13
13
  }
14
14
  function _run() {
15
15
  _run = _async_to_generator(function(param) {
16
- var cwd, initialLog, metaName, version, internalPlugins, packageJsonConfig, configFile, command, cliParams, SUPPORT_CONFIG_PARAM_COMMANDS, customConfigFile, appDirectory, finalConfigFile, autoLoadPlugins, plugins;
16
+ var cwd, initialLog, _param_metaName, metaName, version, internalPlugins, _param_packageJsonConfig, packageJsonConfig, configFile, command, cliParams, SUPPORT_CONFIG_PARAM_COMMANDS, customConfigFile, appDirectory, finalConfigFile, autoLoadPlugins, plugins;
17
17
  return _ts_generator(this, function(_state) {
18
18
  switch (_state.label) {
19
19
  case 0:
20
- cwd = param.cwd, initialLog = param.initialLog, metaName = param.metaName, version = param.version, internalPlugins = param.internalPlugins, packageJsonConfig = param.packageJsonConfig, configFile = param.configFile;
20
+ cwd = param.cwd, initialLog = param.initialLog, _param_metaName = param.metaName, metaName = _param_metaName === void 0 ? "MODERN" : _param_metaName, version = param.version, internalPlugins = param.internalPlugins, _param_packageJsonConfig = param.packageJsonConfig, packageJsonConfig = _param_packageJsonConfig === void 0 ? PACKAGE_JSON_CONFIG_NAME : _param_packageJsonConfig, configFile = param.configFile;
21
21
  command = process.argv[2];
22
22
  cliParams = minimist(process.argv.slice(2));
23
23
  SUPPORT_CONFIG_PARAM_COMMANDS = [
@@ -58,7 +58,7 @@ function _run() {
58
58
  finalConfigFile = customConfigFile || getConfigFile(configFile);
59
59
  return [
60
60
  4,
61
- isAutoLoadPlugins(appDirectory, finalConfigFile)
61
+ isAutoLoadPlugins(appDirectory, finalConfigFile, packageJsonConfig, metaName)
62
62
  ];
63
63
  case 2:
64
64
  autoLoadPlugins = _state.sent();
@@ -75,7 +75,7 @@ function _run() {
75
75
  initialLog: initialLog || "Modern.js Framework v".concat(version),
76
76
  configFile: finalConfigFile,
77
77
  metaName,
78
- packageJsonConfig: packageJsonConfig || PACKAGE_JSON_CONFIG_NAME,
78
+ packageJsonConfig,
79
79
  internalPlugins: plugins,
80
80
  handleSetupResult
81
81
  })
@@ -3,8 +3,8 @@ import { _ as _to_consumable_array } from "@swc/helpers/_/_to_consumable_array";
3
3
  import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
4
4
  import path from "path";
5
5
  import { fs, getServerConfig } from "@modern-js/utils";
6
+ import { PACKAGE_JSON_CONFIG_NAME } from "../constants";
6
7
  var getPackageConfig = function(appDirectory, packageJsonConfig) {
7
- var PACKAGE_JSON_CONFIG_NAME = "modernConfig";
8
8
  var json = JSON.parse(fs.readFileSync(path.resolve(appDirectory, "./package.json"), "utf8"));
9
9
  return json[packageJsonConfig !== null && packageJsonConfig !== void 0 ? packageJsonConfig : PACKAGE_JSON_CONFIG_NAME];
10
10
  };
@@ -1,17 +1,16 @@
1
1
  import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
2
2
  import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
3
- import { createLoadedConfig } from "@modern-js/plugin-v2/cli";
4
- function isAutoLoadPlugins(appDirectory) {
3
+ import { createLoadedConfig, loadEnv } from "@modern-js/plugin-v2/cli";
4
+ function isAutoLoadPlugins(appDirectory, configFile, packageJsonConfig, metaName) {
5
5
  return _isAutoLoadPlugins.apply(this, arguments);
6
6
  }
7
7
  function _isAutoLoadPlugins() {
8
- _isAutoLoadPlugins = _async_to_generator(function(appDirectory) {
9
- var configFile, packageJsonConfig, _loaded_config, loaded, autoLoadPlugins;
10
- var _arguments = arguments;
8
+ _isAutoLoadPlugins = _async_to_generator(function(appDirectory, configFile, packageJsonConfig, metaName) {
9
+ var _loaded_config, loaded, autoLoadPlugins;
11
10
  return _ts_generator(this, function(_state) {
12
11
  switch (_state.label) {
13
12
  case 0:
14
- configFile = _arguments.length > 1 && _arguments[1] !== void 0 ? _arguments[1] : "modern.config.ts", packageJsonConfig = _arguments.length > 2 && _arguments[2] !== void 0 ? _arguments[2] : "ModernConfig";
13
+ loadEnv(appDirectory, process.env["".concat(metaName.toUpperCase(), "_ENV")]);
15
14
  return [
16
15
  4,
17
16
  createLoadedConfig(appDirectory, configFile, packageJsonConfig)
@@ -48,12 +48,6 @@ export const registerEsm = async ({ appDir, distDir, alias }) => {
48
48
  if (hasTsconfig) {
49
49
  tsConfig = readTsConfigByFile(tsconfigPath);
50
50
  }
51
- const esbuildRegister = await import('esbuild-register/dist/node');
52
- esbuildRegister.register({
53
- tsconfigRaw: hasTsconfig ? tsConfig : undefined,
54
- hookIgnoreNodeModules: true,
55
- hookMatcher: fileName => !fileName.startsWith(distDir),
56
- });
57
51
  register('./esbuild-loader.mjs', import.meta.url, {
58
52
  data: {
59
53
  appDir,
@@ -50,8 +50,6 @@ const appTools = (options = {
50
50
  registryHooks: {
51
51
  onAfterPrepare: createAsyncHook(),
52
52
  deploy: createAsyncHook(),
53
- _internalRuntimePlugins: createAsyncHook(),
54
- _internalServerPlugins: createAsyncHook(),
55
53
  checkEntryPoint: createAsyncHook(),
56
54
  modifyEntrypoints: createAsyncHook(),
57
55
  modifyFileSystemRoutes: createAsyncHook(),
@@ -6,7 +6,7 @@ import { PACKAGE_JSON_CONFIG_NAME } from "../constants";
6
6
  import { getConfigFile } from "../utils/getConfigFile";
7
7
  import { isAutoLoadPlugins } from "../utils/isAutoLoadPlugins";
8
8
  import { loadInternalPlugins } from "../utils/loadPlugins";
9
- async function run({ cwd, initialLog, metaName, version, internalPlugins, packageJsonConfig, configFile }) {
9
+ async function run({ cwd, initialLog, metaName = "MODERN", version, internalPlugins, packageJsonConfig = PACKAGE_JSON_CONFIG_NAME, configFile }) {
10
10
  const command = process.argv[2];
11
11
  const cliParams = minimist(process.argv.slice(2));
12
12
  const SUPPORT_CONFIG_PARAM_COMMANDS = [
@@ -41,14 +41,14 @@ async function run({ cwd, initialLog, metaName, version, internalPlugins, packag
41
41
  }
42
42
  const appDirectory = await initAppDir(cwd);
43
43
  const finalConfigFile = customConfigFile || getConfigFile(configFile);
44
- const autoLoadPlugins = await isAutoLoadPlugins(appDirectory, finalConfigFile);
44
+ const autoLoadPlugins = await isAutoLoadPlugins(appDirectory, finalConfigFile, packageJsonConfig, metaName);
45
45
  const plugins = await loadInternalPlugins(appDirectory, internalPlugins === null || internalPlugins === void 0 ? void 0 : internalPlugins.cli, internalPlugins === null || internalPlugins === void 0 ? void 0 : internalPlugins.autoLoad, autoLoadPlugins);
46
46
  await CLIPluginRun({
47
47
  cwd,
48
48
  initialLog: initialLog || `Modern.js Framework v${version}`,
49
49
  configFile: finalConfigFile,
50
50
  metaName,
51
- packageJsonConfig: packageJsonConfig || PACKAGE_JSON_CONFIG_NAME,
51
+ packageJsonConfig,
52
52
  internalPlugins: plugins,
53
53
  handleSetupResult
54
54
  });
@@ -1,7 +1,7 @@
1
1
  import path from "path";
2
2
  import { fs, getServerConfig } from "@modern-js/utils";
3
+ import { PACKAGE_JSON_CONFIG_NAME } from "../constants";
3
4
  const getPackageConfig = (appDirectory, packageJsonConfig) => {
4
- const PACKAGE_JSON_CONFIG_NAME = "modernConfig";
5
5
  const json = JSON.parse(fs.readFileSync(path.resolve(appDirectory, "./package.json"), "utf8"));
6
6
  return json[packageJsonConfig !== null && packageJsonConfig !== void 0 ? packageJsonConfig : PACKAGE_JSON_CONFIG_NAME];
7
7
  };
@@ -1,6 +1,7 @@
1
- import { createLoadedConfig } from "@modern-js/plugin-v2/cli";
2
- async function isAutoLoadPlugins(appDirectory, configFile = "modern.config.ts", packageJsonConfig = "ModernConfig") {
1
+ import { createLoadedConfig, loadEnv } from "@modern-js/plugin-v2/cli";
2
+ async function isAutoLoadPlugins(appDirectory, configFile, packageJsonConfig, metaName) {
3
3
  var _loaded_config;
4
+ loadEnv(appDirectory, process.env[`${metaName.toUpperCase()}_ENV`]);
4
5
  const loaded = await createLoadedConfig(appDirectory, configFile, packageJsonConfig);
5
6
  const autoLoadPlugins = (_loaded_config = loaded.config) === null || _loaded_config === void 0 ? void 0 : _loaded_config.autoLoadPlugins;
6
7
  return autoLoadPlugins || false;
@@ -1,21 +1,17 @@
1
1
  import type { DevToolData, RegisterBuildPlatformResult } from '@modern-js/core';
2
2
  import type { AsyncWaterfall, AsyncWorkflow, ParallelWorkflow } from '@modern-js/plugin';
3
- import type { Entrypoint, HtmlPartials, NestedRouteForCli, PageRoute, RouteLegacy, ServerPlugin, ServerRoute } from '@modern-js/types';
3
+ import type { RuntimePluginConfig, ServerPluginConfig } from '@modern-js/plugin-v2';
4
+ import type { Entrypoint, HtmlPartials, NestedRouteForCli, PageRoute, RouteLegacy, ServerRoute } from '@modern-js/types';
4
5
  import type { MultiStats, Rspack, Stats, webpack } from '@modern-js/uni-builder';
5
6
  import type { Bundler } from './utils';
6
7
  export interface ImportSpecifier {
7
8
  local?: string;
8
9
  imported?: string;
9
10
  }
10
- export interface RuntimePlugin {
11
- name: string;
12
- path: string;
13
- config: Record<string, any>;
14
- }
15
11
  export type AppToolsHooks<B extends Bundler = 'webpack'> = {
16
12
  _internalRuntimePlugins: AsyncWaterfall<{
17
13
  entrypoint: Entrypoint;
18
- plugins: RuntimePlugin[];
14
+ plugins: RuntimePluginConfig[];
19
15
  }>;
20
16
  modifyFileSystemRoutes: AsyncWaterfall<{
21
17
  entrypoint: Entrypoint;
@@ -43,7 +39,7 @@ export type AppToolsHooks<B extends Bundler = 'webpack'> = {
43
39
  code: string;
44
40
  }>;
45
41
  _internalServerPlugins: AsyncWaterfall<{
46
- plugins: ServerPlugin[];
42
+ plugins: ServerPluginConfig[];
47
43
  }>;
48
44
  beforeDev: AsyncWorkflow<void, unknown>;
49
45
  afterDev: AsyncWorkflow<{
@@ -1,11 +1,11 @@
1
1
  import type { NormalizedConfig, UserConfig } from '@modern-js/core';
2
- import type { CLIPlugin, CLIPluginExtends } from '@modern-js/plugin-v2';
2
+ import type { CLIPlugin, CLIPluginExtends, RuntimePluginConfig, ServerPluginConfig } from '@modern-js/plugin-v2';
3
3
  import type { AppToolsNormalizedConfig, AppToolsUserConfig } from './config';
4
4
  import type { AppToolsHooks } from './hooks';
5
5
  import type { AppToolsLegacyNormalizedConfig, AppToolsLegacyUserConfig } from './legacyConfig';
6
6
  import type { AppToolsExtendAPI, AppToolsExtendContext, AppToolsExtendHooks } from './new';
7
7
  import type { Bundler } from './utils';
8
- export type { CLIPluginExtends };
8
+ export type { CLIPluginExtends, RuntimePluginConfig, ServerPluginConfig };
9
9
  export * from './hooks';
10
10
  export * from './config';
11
11
  export * from './legacyConfig';
@@ -5,16 +5,8 @@ import type { Entrypoint, HtmlPartials, HtmlTemplates, NestedRouteForCli, PageRo
5
5
  import type { AppTools } from '.';
6
6
  import type { getHookRunners } from '../compat/hooks';
7
7
  import type { AppToolsNormalizedConfig, AppToolsUserConfig } from './config';
8
- import type { RuntimePlugin } from './hooks';
9
8
  import type { Bundler } from './utils';
10
9
  export type AfterPrepareFn = () => Promise<void> | void;
11
- export type InternalRuntimePluginsFn = TransformFunction<{
12
- entrypoint: Entrypoint;
13
- plugins: RuntimePlugin[];
14
- }>;
15
- export type InternalServerPluginsFn = TransformFunction<{
16
- plugins: ServerPlugin[];
17
- }>;
18
10
  export type CheckEntryPointFn = TransformFunction<{
19
11
  path: string;
20
12
  entry: false | string;
@@ -46,8 +38,6 @@ export type AddRuntimeExportsFn = () => Promise<void> | void;
46
38
  export interface AppToolsExtendAPI<B extends Bundler = 'webpack'> {
47
39
  onAfterPrepare: PluginHookTap<AfterPrepareFn>;
48
40
  deploy: PluginHookTap<DeplpoyFn>;
49
- _internalRuntimePlugins: PluginHookTap<InternalRuntimePluginsFn>;
50
- _internalServerPlugins: PluginHookTap<InternalServerPluginsFn>;
51
41
  checkEntryPoint: PluginHookTap<CheckEntryPointFn>;
52
42
  modifyEntrypoints: PluginHookTap<ModifyEntrypointsFn>;
53
43
  modifyFileSystemRoutes: PluginHookTap<ModifyFileSystemRoutesFn>;
@@ -90,8 +80,6 @@ export interface AppToolsExtendAPI<B extends Bundler = 'webpack'> {
90
80
  export interface AppToolsExtendHooks extends Record<string, PluginHook<(...args: any[]) => any>> {
91
81
  onAfterPrepare: AsyncHook<AfterPrepareFn>;
92
82
  deploy: AsyncHook<DeplpoyFn>;
93
- _internalRuntimePlugins: AsyncHook<InternalRuntimePluginsFn>;
94
- _internalServerPlugins: AsyncHook<InternalServerPluginsFn>;
95
83
  checkEntryPoint: AsyncHook<CheckEntryPointFn>;
96
84
  modifyEntrypoints: AsyncHook<ModifyEntrypointsFn>;
97
85
  modifyFileSystemRoutes: AsyncHook<ModifyFileSystemRoutesFn>;
@@ -152,4 +140,4 @@ export interface AppToolsExtendContext<B extends Bundler = 'webpack'> {
152
140
  toolsType?: string;
153
141
  }
154
142
  export type AppToolsContext<B extends Bundler = 'webpack'> = AppContext<AppTools<B>> & AppToolsExtendContext<B>;
155
- export type AppToolsHooks<B extends Bundler = 'webpack'> = Hooks<AppToolsUserConfig<B>, AppToolsNormalizedConfig, {}> & AppToolsExtendHooks;
143
+ export type AppToolsHooks<B extends Bundler = 'webpack'> = Hooks<AppToolsUserConfig<B>, AppToolsNormalizedConfig, {}, {}> & AppToolsExtendHooks;
@@ -1 +1 @@
1
- export declare function isAutoLoadPlugins(appDirectory: string, configFile?: string, packageJsonConfig?: string): Promise<boolean>;
1
+ export declare function isAutoLoadPlugins(appDirectory: string, configFile: string, packageJsonConfig: string, metaName: string): Promise<boolean>;
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.64.0",
18
+ "version": "2.64.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -83,7 +83,7 @@
83
83
  "@rsbuild/core": "1.1.13",
84
84
  "@rsbuild/plugin-node-polyfill": "1.2.0",
85
85
  "@swc/helpers": "0.5.13",
86
- "@vercel/nft": "^0.26.4",
86
+ "@vercel/nft": "^0.29.0",
87
87
  "es-module-lexer": "^1.1.0",
88
88
  "esbuild": "0.17.19",
89
89
  "esbuild-register": "^3.5.0",
@@ -92,20 +92,20 @@
92
92
  "pkg-types": "^1.1.0",
93
93
  "ndepe": "0.1.5",
94
94
  "std-env": "^3.7.0",
95
- "@modern-js/core": "2.64.0",
96
- "@modern-js/node-bundle-require": "2.64.0",
97
- "@modern-js/plugin-data-loader": "2.64.0",
98
- "@modern-js/plugin": "2.64.0",
99
- "@modern-js/plugin-i18n": "2.64.0",
100
- "@modern-js/plugin-v2": "2.64.0",
101
- "@modern-js/prod-server": "2.64.0",
102
- "@modern-js/rsbuild-plugin-esbuild": "2.64.0",
103
- "@modern-js/server": "2.64.0",
104
- "@modern-js/server-core": "2.64.0",
105
- "@modern-js/server-utils": "2.64.0",
106
- "@modern-js/types": "2.64.0",
107
- "@modern-js/uni-builder": "2.64.0",
108
- "@modern-js/utils": "2.64.0"
95
+ "@modern-js/node-bundle-require": "2.64.1",
96
+ "@modern-js/core": "2.64.1",
97
+ "@modern-js/plugin": "2.64.1",
98
+ "@modern-js/plugin-data-loader": "2.64.1",
99
+ "@modern-js/plugin-v2": "2.64.1",
100
+ "@modern-js/plugin-i18n": "2.64.1",
101
+ "@modern-js/rsbuild-plugin-esbuild": "2.64.1",
102
+ "@modern-js/prod-server": "2.64.1",
103
+ "@modern-js/server": "2.64.1",
104
+ "@modern-js/server-core": "2.64.1",
105
+ "@modern-js/server-utils": "2.64.1",
106
+ "@modern-js/types": "2.64.1",
107
+ "@modern-js/uni-builder": "2.64.1",
108
+ "@modern-js/utils": "2.64.1"
109
109
  },
110
110
  "devDependencies": {
111
111
  "@rsbuild/plugin-webpack-swc": "1.0.9",
@@ -117,8 +117,8 @@
117
117
  "tsconfig-paths": "^4.2.0",
118
118
  "typescript": "^5",
119
119
  "webpack": "^5.97.1",
120
- "@scripts/jest-config": "2.64.0",
121
- "@scripts/build": "2.64.0"
120
+ "@scripts/build": "2.64.1",
121
+ "@scripts/jest-config": "2.64.1"
122
122
  },
123
123
  "peerDependencies": {
124
124
  "ts-node": "^10.7.0",