@modern-js/plugin 3.1.0 → 3.1.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.
- package/dist/esm/cli/index.mjs +6 -7
- package/dist/esm/cli/run/index.mjs +5 -5
- package/dist/esm/index.mjs +2 -3
- package/dist/esm/runtime/index.mjs +4 -5
- package/dist/esm/server/index.mjs +4 -5
- package/dist/esm-node/cli/index.mjs +6 -7
- package/dist/esm-node/cli/run/index.mjs +5 -5
- package/dist/esm-node/index.mjs +2 -3
- package/dist/esm-node/runtime/index.mjs +4 -5
- package/dist/esm-node/server/index.mjs +4 -5
- package/package.json +6 -6
- /package/{rstest.config.ts → rstest.config.mts} +0 -0
package/dist/esm/cli/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { cli, createCli, createConfigOptions, createContext, createLoadedConfig, createStorybookOptions, initAppContext, initAppDir, initHooks, initPluginAPI, mergeConfig };
|
|
1
|
+
export { initPluginAPI } from "./api.mjs";
|
|
2
|
+
export { createContext, initAppContext } from "./context.mjs";
|
|
3
|
+
export { initHooks } from "./hooks.mjs";
|
|
4
|
+
export { cli, createCli, createLoadedConfig, initAppDir } from "./run/index.mjs";
|
|
5
|
+
export { createConfigOptions, createStorybookOptions } from "./run/create.mjs";
|
|
6
|
+
export { mergeConfig } from "./run/utils/mergeConfig.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createCli } from "./create.mjs";
|
|
2
|
-
import { createLoadedConfig } from "./config/createLoadedConfig.mjs";
|
|
3
|
-
import { initAppDir } from "./utils/initAppDir.mjs";
|
|
4
|
-
import { loadTypeScriptFile } from "./config/loadConfig.mjs";
|
|
5
|
-
import { run } from "./run.mjs";
|
|
6
2
|
const cli = createCli();
|
|
7
|
-
export {
|
|
3
|
+
export { createLoadedConfig } from "./config/createLoadedConfig.mjs";
|
|
4
|
+
export { initAppDir } from "./utils/initAppDir.mjs";
|
|
5
|
+
export { loadTypeScriptFile } from "./config/loadConfig.mjs";
|
|
6
|
+
export { run } from "./run.mjs";
|
|
7
|
+
export { cli, createCli };
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export { createAsyncHook, createAsyncInterruptHook, createAsyncPipelineHook, createCollectAsyncHook, createCollectSyncHook, createPluginManager, createSyncHook };
|
|
1
|
+
export { createPluginManager } from "./manager.mjs";
|
|
2
|
+
export { createAsyncHook, createAsyncInterruptHook, createAsyncPipelineHook, createCollectAsyncHook, createCollectSyncHook, createSyncHook } from "./hooks.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { createRuntimeContext, initHooks, initPluginAPI, initRuntimeContext, runtime };
|
|
1
|
+
export { initPluginAPI } from "./api.mjs";
|
|
2
|
+
export { createRuntimeContext, initRuntimeContext } from "./context.mjs";
|
|
3
|
+
export { initHooks } from "./hooks.mjs";
|
|
4
|
+
export { runtime } from "./run/index.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export { createServer, createServerContext, initHooks, initPluginAPI, initServerContext, server };
|
|
1
|
+
export { initPluginAPI } from "./api.mjs";
|
|
2
|
+
export { createServerContext, initServerContext } from "./context.mjs";
|
|
3
|
+
export { initHooks } from "./hooks.mjs";
|
|
4
|
+
export { createServer, server } from "./run/index.mjs";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { cli, createCli, createConfigOptions, createContext, createLoadedConfig, createStorybookOptions, initAppContext, initAppDir, initHooks, initPluginAPI, mergeConfig };
|
|
2
|
+
export { initPluginAPI } from "./api.mjs";
|
|
3
|
+
export { createContext, initAppContext } from "./context.mjs";
|
|
4
|
+
export { initHooks } from "./hooks.mjs";
|
|
5
|
+
export { cli, createCli, createLoadedConfig, initAppDir } from "./run/index.mjs";
|
|
6
|
+
export { createConfigOptions, createStorybookOptions } from "./run/create.mjs";
|
|
7
|
+
export { mergeConfig } from "./run/utils/mergeConfig.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "node:module";
|
|
2
2
|
import { createCli } from "./create.mjs";
|
|
3
|
-
import { createLoadedConfig } from "./config/createLoadedConfig.mjs";
|
|
4
|
-
import { initAppDir } from "./utils/initAppDir.mjs";
|
|
5
|
-
import { loadTypeScriptFile } from "./config/loadConfig.mjs";
|
|
6
|
-
import { run } from "./run.mjs";
|
|
7
3
|
const cli = createCli();
|
|
8
|
-
export {
|
|
4
|
+
export { createLoadedConfig } from "./config/createLoadedConfig.mjs";
|
|
5
|
+
export { initAppDir } from "./utils/initAppDir.mjs";
|
|
6
|
+
export { loadTypeScriptFile } from "./config/loadConfig.mjs";
|
|
7
|
+
export { run } from "./run.mjs";
|
|
8
|
+
export { cli, createCli };
|
package/dist/esm-node/index.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export { createAsyncHook, createAsyncInterruptHook, createAsyncPipelineHook, createCollectAsyncHook, createCollectSyncHook, createPluginManager, createSyncHook };
|
|
2
|
+
export { createPluginManager } from "./manager.mjs";
|
|
3
|
+
export { createAsyncHook, createAsyncInterruptHook, createAsyncPipelineHook, createCollectAsyncHook, createCollectSyncHook, createSyncHook } from "./hooks.mjs";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { createRuntimeContext, initHooks, initPluginAPI, initRuntimeContext, runtime };
|
|
2
|
+
export { initPluginAPI } from "./api.mjs";
|
|
3
|
+
export { createRuntimeContext, initRuntimeContext } from "./context.mjs";
|
|
4
|
+
export { initHooks } from "./hooks.mjs";
|
|
5
|
+
export { runtime } from "./run/index.mjs";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { createServer, createServerContext, initHooks, initPluginAPI, initServerContext, server };
|
|
2
|
+
export { initPluginAPI } from "./api.mjs";
|
|
3
|
+
export { createServerContext, initServerContext } from "./context.mjs";
|
|
4
|
+
export { initHooks } from "./hooks.mjs";
|
|
5
|
+
export { createServer, server } from "./run/index.mjs";
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "3.1.
|
|
18
|
+
"version": "3.1.1",
|
|
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-beta.4",
|
|
86
86
|
"@swc/helpers": "^0.5.17",
|
|
87
87
|
"jiti": "^2.6.1",
|
|
88
|
-
"@modern-js/runtime-utils": "3.1.
|
|
89
|
-
"@modern-js/types": "3.1.
|
|
90
|
-
"@modern-js/utils": "3.1.
|
|
88
|
+
"@modern-js/runtime-utils": "3.1.1",
|
|
89
|
+
"@modern-js/types": "3.1.1",
|
|
90
|
+
"@modern-js/utils": "3.1.1"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@rslib/core": "0.
|
|
93
|
+
"@rslib/core": "0.20.0",
|
|
94
94
|
"@types/node": "^20",
|
|
95
95
|
"@types/react": "^19.2.14",
|
|
96
96
|
"typescript": "^5",
|
|
97
|
-
"@modern-js/builder": "3.1.
|
|
97
|
+
"@modern-js/builder": "3.1.1",
|
|
98
98
|
"@modern-js/rslib": "2.68.10"
|
|
99
99
|
},
|
|
100
100
|
"sideEffects": false,
|
|
File without changes
|