@modern-js/app-tools 2.65.0 → 2.65.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.
|
@@ -80,12 +80,6 @@ const build = async (api, options) => {
|
|
|
80
80
|
});
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
api.modifyResolvedConfig((config) => {
|
|
84
|
-
return {
|
|
85
|
-
...config,
|
|
86
|
-
cliOptions: options
|
|
87
|
-
};
|
|
88
|
-
});
|
|
89
83
|
const { distDirectory, appDirectory, serverConfigFile } = appContext;
|
|
90
84
|
await (0, import_config.buildServerConfig)({
|
|
91
85
|
appDirectory,
|
package/dist/cjs/commands/dev.js
CHANGED
|
@@ -59,12 +59,6 @@ const dev = async (api, options, devServerOptions) => {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
await (0, import_register.registerCompiler)(appContext.appDirectory, appContext.distDirectory, normalizedConfig === null || normalizedConfig === void 0 ? void 0 : (_normalizedConfig_source = normalizedConfig.source) === null || _normalizedConfig_source === void 0 ? void 0 : _normalizedConfig_source.alias);
|
|
62
|
-
api.modifyResolvedConfig((config) => {
|
|
63
|
-
return {
|
|
64
|
-
...config,
|
|
65
|
-
cliOptions: options
|
|
66
|
-
};
|
|
67
|
-
});
|
|
68
62
|
const { appDirectory, distDirectory, port, apiOnly, serverConfigFile, metaName, serverRoutes } = appContext;
|
|
69
63
|
await (0, import_config.buildServerConfig)({
|
|
70
64
|
appDirectory,
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
2
|
-
import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
|
|
3
|
-
import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
|
|
4
2
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
5
3
|
import { logger } from "@modern-js/utils";
|
|
6
4
|
import { buildServerConfig } from "../utils/config";
|
|
@@ -105,11 +103,6 @@ var build = function() {
|
|
|
105
103
|
2
|
|
106
104
|
];
|
|
107
105
|
case 10:
|
|
108
|
-
api.modifyResolvedConfig(function(config) {
|
|
109
|
-
return _object_spread_props(_object_spread({}, config), {
|
|
110
|
-
cliOptions: options
|
|
111
|
-
});
|
|
112
|
-
});
|
|
113
106
|
distDirectory1 = appContext.distDirectory, appDirectory1 = appContext.appDirectory, serverConfigFile1 = appContext.serverConfigFile;
|
|
114
107
|
return [
|
|
115
108
|
4,
|
package/dist/esm/commands/dev.js
CHANGED
|
@@ -53,11 +53,6 @@ var dev = function() {
|
|
|
53
53
|
];
|
|
54
54
|
case 4:
|
|
55
55
|
_state.sent();
|
|
56
|
-
api.modifyResolvedConfig(function(config) {
|
|
57
|
-
return _object_spread_props(_object_spread({}, config), {
|
|
58
|
-
cliOptions: options
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
56
|
appDirectory = appContext.appDirectory, distDirectory = appContext.distDirectory, port = appContext.port, apiOnly = appContext.apiOnly, serverConfigFile = appContext.serverConfigFile, metaName = appContext.metaName, serverRoutes = appContext.serverRoutes;
|
|
62
57
|
return [
|
|
63
58
|
4,
|
|
@@ -47,12 +47,6 @@ const build = async (api, options) => {
|
|
|
47
47
|
});
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
|
-
api.modifyResolvedConfig((config) => {
|
|
51
|
-
return {
|
|
52
|
-
...config,
|
|
53
|
-
cliOptions: options
|
|
54
|
-
};
|
|
55
|
-
});
|
|
56
50
|
const { distDirectory, appDirectory, serverConfigFile } = appContext;
|
|
57
51
|
await buildServerConfig({
|
|
58
52
|
appDirectory,
|
|
@@ -26,12 +26,6 @@ const dev = async (api, options, devServerOptions) => {
|
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
await registerCompiler(appContext.appDirectory, appContext.distDirectory, normalizedConfig === null || normalizedConfig === void 0 ? void 0 : (_normalizedConfig_source = normalizedConfig.source) === null || _normalizedConfig_source === void 0 ? void 0 : _normalizedConfig_source.alias);
|
|
29
|
-
api.modifyResolvedConfig((config) => {
|
|
30
|
-
return {
|
|
31
|
-
...config,
|
|
32
|
-
cliOptions: options
|
|
33
|
-
};
|
|
34
|
-
});
|
|
35
29
|
const { appDirectory, distDirectory, port, apiOnly, serverConfigFile, metaName, serverRoutes } = appContext;
|
|
36
30
|
await buildServerConfig({
|
|
37
31
|
appDirectory,
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.65.
|
|
18
|
+
"version": "2.65.2",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -91,20 +91,20 @@
|
|
|
91
91
|
"ndepe": "0.1.5",
|
|
92
92
|
"pkg-types": "^1.1.0",
|
|
93
93
|
"std-env": "^3.7.0",
|
|
94
|
-
"@modern-js/core": "2.65.
|
|
95
|
-
"@modern-js/node-bundle-require": "2.65.
|
|
96
|
-
"@modern-js/plugin": "2.65.
|
|
97
|
-
"@modern-js/plugin-data-loader": "2.65.
|
|
98
|
-
"@modern-js/plugin-i18n": "2.65.
|
|
99
|
-
"@modern-js/plugin-v2": "2.65.
|
|
100
|
-
"@modern-js/prod-server": "2.65.
|
|
101
|
-
"@modern-js/rsbuild-plugin-esbuild": "2.65.
|
|
102
|
-
"@modern-js/server": "2.65.
|
|
103
|
-
"@modern-js/server-core": "2.65.
|
|
104
|
-
"@modern-js/server-utils": "2.65.
|
|
105
|
-
"@modern-js/types": "2.65.
|
|
106
|
-
"@modern-js/uni-builder": "2.65.
|
|
107
|
-
"@modern-js/utils": "2.65.
|
|
94
|
+
"@modern-js/core": "2.65.2",
|
|
95
|
+
"@modern-js/node-bundle-require": "2.65.2",
|
|
96
|
+
"@modern-js/plugin": "2.65.2",
|
|
97
|
+
"@modern-js/plugin-data-loader": "2.65.2",
|
|
98
|
+
"@modern-js/plugin-i18n": "2.65.2",
|
|
99
|
+
"@modern-js/plugin-v2": "2.65.2",
|
|
100
|
+
"@modern-js/prod-server": "2.65.2",
|
|
101
|
+
"@modern-js/rsbuild-plugin-esbuild": "2.65.2",
|
|
102
|
+
"@modern-js/server": "2.65.2",
|
|
103
|
+
"@modern-js/server-core": "2.65.2",
|
|
104
|
+
"@modern-js/server-utils": "2.65.2",
|
|
105
|
+
"@modern-js/types": "2.65.2",
|
|
106
|
+
"@modern-js/uni-builder": "2.65.2",
|
|
107
|
+
"@modern-js/utils": "2.65.2"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
110
|
"@rsbuild/plugin-webpack-swc": "1.0.9",
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"tsconfig-paths": "^4.2.0",
|
|
117
117
|
"typescript": "^5",
|
|
118
118
|
"webpack": "^5.98.0",
|
|
119
|
-
"@scripts/build": "2.65.
|
|
120
|
-
"@scripts/jest-config": "2.65.
|
|
119
|
+
"@scripts/build": "2.65.2",
|
|
120
|
+
"@scripts/jest-config": "2.65.2"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"ts-node": "^10.7.0",
|