@modern-js/plugin 3.1.5 → 3.2.0
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.
- package/dist/cjs/cli/context.js +2 -2
- package/dist/cjs/cli/index.js +5 -5
- package/dist/cjs/cli/run/config/loadConfig.js +2 -2
- package/dist/cjs/cli/run/create.js +2 -2
- package/dist/cjs/cli/run/index.js +3 -3
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/runtime/index.js +3 -3
- package/dist/cjs/server/index.js +4 -4
- package/dist/cjs/server/run/index.js +2 -2
- package/package.json +6 -6
package/dist/cjs/cli/context.js
CHANGED
|
@@ -33,8 +33,8 @@ var __webpack_require__ = {};
|
|
|
33
33
|
var __webpack_exports__ = {};
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
createContext: ()=>createContext,
|
|
37
|
+
initAppContext: ()=>initAppContext
|
|
38
38
|
});
|
|
39
39
|
const external_path_namespaceObject = require("path");
|
|
40
40
|
var external_path_default = /*#__PURE__*/ __webpack_require__.n(external_path_namespaceObject);
|
package/dist/cjs/cli/index.js
CHANGED
|
@@ -25,16 +25,16 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
cli: ()=>index_js_namespaceObject.cli,
|
|
28
|
-
|
|
29
|
-
createContext: ()=>external_context_js_namespaceObject.createContext,
|
|
28
|
+
createCli: ()=>index_js_namespaceObject.createCli,
|
|
30
29
|
createConfigOptions: ()=>create_js_namespaceObject.createConfigOptions,
|
|
30
|
+
createContext: ()=>external_context_js_namespaceObject.createContext,
|
|
31
|
+
createLoadedConfig: ()=>index_js_namespaceObject.createLoadedConfig,
|
|
31
32
|
createStorybookOptions: ()=>create_js_namespaceObject.createStorybookOptions,
|
|
32
|
-
createCli: ()=>index_js_namespaceObject.createCli,
|
|
33
33
|
initAppContext: ()=>external_context_js_namespaceObject.initAppContext,
|
|
34
|
+
initAppDir: ()=>index_js_namespaceObject.initAppDir,
|
|
34
35
|
initHooks: ()=>external_hooks_js_namespaceObject.initHooks,
|
|
35
36
|
initPluginAPI: ()=>external_api_js_namespaceObject.initPluginAPI,
|
|
36
|
-
|
|
37
|
-
createLoadedConfig: ()=>index_js_namespaceObject.createLoadedConfig
|
|
37
|
+
mergeConfig: ()=>mergeConfig_js_namespaceObject.mergeConfig
|
|
38
38
|
});
|
|
39
39
|
const external_api_js_namespaceObject = require("./api.js");
|
|
40
40
|
const external_context_js_namespaceObject = require("./context.js");
|
|
@@ -33,9 +33,9 @@ var __webpack_require__ = {};
|
|
|
33
33
|
var __webpack_exports__ = {};
|
|
34
34
|
__webpack_require__.r(__webpack_exports__);
|
|
35
35
|
__webpack_require__.d(__webpack_exports__, {
|
|
36
|
-
loadConfig: ()=>loadConfig,
|
|
37
|
-
getConfigFilePath: ()=>getConfigFilePath,
|
|
38
36
|
clearFilesOverTime: ()=>clearFilesOverTime,
|
|
37
|
+
getConfigFilePath: ()=>getConfigFilePath,
|
|
38
|
+
loadConfig: ()=>loadConfig,
|
|
39
39
|
loadTypeScriptFile: ()=>loadTypeScriptFile
|
|
40
40
|
});
|
|
41
41
|
const external_path_namespaceObject = require("path");
|
|
@@ -24,9 +24,9 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
createCli: ()=>createCli,
|
|
27
28
|
createConfigOptions: ()=>createConfigOptions,
|
|
28
|
-
createStorybookOptions: ()=>createStorybookOptions
|
|
29
|
-
createCli: ()=>createCli
|
|
29
|
+
createStorybookOptions: ()=>createStorybookOptions
|
|
30
30
|
});
|
|
31
31
|
const utils_namespaceObject = require("@modern-js/utils");
|
|
32
32
|
const commander_namespaceObject = require("@modern-js/utils/commander");
|
|
@@ -25,11 +25,11 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
cli: ()=>cli,
|
|
28
|
+
createCli: ()=>external_create_js_namespaceObject.createCli,
|
|
29
|
+
createLoadedConfig: ()=>createLoadedConfig_js_namespaceObject.createLoadedConfig,
|
|
28
30
|
initAppDir: ()=>initAppDir_js_namespaceObject.initAppDir,
|
|
29
|
-
run: ()=>external_run_js_namespaceObject.run,
|
|
30
31
|
loadTypeScriptFile: ()=>loadConfig_js_namespaceObject.loadTypeScriptFile,
|
|
31
|
-
|
|
32
|
-
createLoadedConfig: ()=>createLoadedConfig_js_namespaceObject.createLoadedConfig
|
|
32
|
+
run: ()=>external_run_js_namespaceObject.run
|
|
33
33
|
});
|
|
34
34
|
const external_create_js_namespaceObject = require("./create.js");
|
|
35
35
|
const createLoadedConfig_js_namespaceObject = require("./config/createLoadedConfig.js");
|
package/dist/cjs/index.js
CHANGED
|
@@ -24,13 +24,13 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
createAsyncHook: ()=>external_hooks_js_namespaceObject.createAsyncHook,
|
|
27
28
|
createAsyncInterruptHook: ()=>external_hooks_js_namespaceObject.createAsyncInterruptHook,
|
|
28
|
-
createPluginManager: ()=>external_manager_js_namespaceObject.createPluginManager,
|
|
29
|
-
createSyncHook: ()=>external_hooks_js_namespaceObject.createSyncHook,
|
|
30
29
|
createAsyncPipelineHook: ()=>external_hooks_js_namespaceObject.createAsyncPipelineHook,
|
|
31
|
-
createAsyncHook: ()=>external_hooks_js_namespaceObject.createAsyncHook,
|
|
32
30
|
createCollectAsyncHook: ()=>external_hooks_js_namespaceObject.createCollectAsyncHook,
|
|
33
|
-
createCollectSyncHook: ()=>external_hooks_js_namespaceObject.createCollectSyncHook
|
|
31
|
+
createCollectSyncHook: ()=>external_hooks_js_namespaceObject.createCollectSyncHook,
|
|
32
|
+
createPluginManager: ()=>external_manager_js_namespaceObject.createPluginManager,
|
|
33
|
+
createSyncHook: ()=>external_hooks_js_namespaceObject.createSyncHook
|
|
34
34
|
});
|
|
35
35
|
const external_manager_js_namespaceObject = require("./manager.js");
|
|
36
36
|
const external_hooks_js_namespaceObject = require("./hooks.js");
|
|
@@ -24,11 +24,11 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
runtime: ()=>index_js_namespaceObject.runtime,
|
|
28
27
|
createRuntimeContext: ()=>external_context_js_namespaceObject.createRuntimeContext,
|
|
29
|
-
initRuntimeContext: ()=>external_context_js_namespaceObject.initRuntimeContext,
|
|
30
28
|
initHooks: ()=>external_hooks_js_namespaceObject.initHooks,
|
|
31
|
-
initPluginAPI: ()=>external_api_js_namespaceObject.initPluginAPI
|
|
29
|
+
initPluginAPI: ()=>external_api_js_namespaceObject.initPluginAPI,
|
|
30
|
+
initRuntimeContext: ()=>external_context_js_namespaceObject.initRuntimeContext,
|
|
31
|
+
runtime: ()=>index_js_namespaceObject.runtime
|
|
32
32
|
});
|
|
33
33
|
const external_api_js_namespaceObject = require("./api.js");
|
|
34
34
|
const external_context_js_namespaceObject = require("./context.js");
|
package/dist/cjs/server/index.js
CHANGED
|
@@ -24,12 +24,12 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
initServerContext: ()=>external_context_js_namespaceObject.initServerContext,
|
|
29
|
-
initHooks: ()=>external_hooks_js_namespaceObject.initHooks,
|
|
27
|
+
createServer: ()=>index_js_namespaceObject.createServer,
|
|
30
28
|
createServerContext: ()=>external_context_js_namespaceObject.createServerContext,
|
|
29
|
+
initHooks: ()=>external_hooks_js_namespaceObject.initHooks,
|
|
31
30
|
initPluginAPI: ()=>external_api_js_namespaceObject.initPluginAPI,
|
|
32
|
-
|
|
31
|
+
initServerContext: ()=>external_context_js_namespaceObject.initServerContext,
|
|
32
|
+
server: ()=>index_js_namespaceObject.server
|
|
33
33
|
});
|
|
34
34
|
const external_api_js_namespaceObject = require("./api.js");
|
|
35
35
|
const external_context_js_namespaceObject = require("./context.js");
|
|
@@ -24,8 +24,8 @@ var __webpack_require__ = {};
|
|
|
24
24
|
var __webpack_exports__ = {};
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
createServer: ()=>external_create_js_namespaceObject.createServer,
|
|
28
|
+
server: ()=>server
|
|
29
29
|
});
|
|
30
30
|
const external_create_js_namespaceObject = require("./create.js");
|
|
31
31
|
const server = (0, external_create_js_namespaceObject.createServer)();
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.
|
|
18
|
+
"version": "3.2.0",
|
|
19
19
|
"types": "./dist/types/index.d.ts",
|
|
20
20
|
"main": "./dist/cjs/index.js",
|
|
21
21
|
"exports": {
|
|
@@ -85,16 +85,16 @@
|
|
|
85
85
|
"@rsbuild/core": "2.0.0",
|
|
86
86
|
"@swc/helpers": "^0.5.17",
|
|
87
87
|
"jiti": "^2.6.1",
|
|
88
|
-
"@modern-js/runtime-utils": "3.
|
|
89
|
-
"@modern-js/types": "3.
|
|
90
|
-
"@modern-js/utils": "3.
|
|
88
|
+
"@modern-js/runtime-utils": "3.2.0",
|
|
89
|
+
"@modern-js/types": "3.2.0",
|
|
90
|
+
"@modern-js/utils": "3.2.0"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@rslib/core": "0.21.
|
|
93
|
+
"@rslib/core": "0.21.4",
|
|
94
94
|
"@types/node": "^20",
|
|
95
95
|
"@types/react": "^19.2.14",
|
|
96
96
|
"typescript": "^5",
|
|
97
|
-
"@modern-js/builder": "3.
|
|
97
|
+
"@modern-js/builder": "3.2.0",
|
|
98
98
|
"@modern-js/rslib": "2.68.10"
|
|
99
99
|
},
|
|
100
100
|
"sideEffects": false,
|