@modern-js/server-core 1.4.1-beta.0 → 1.4.1-beta.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.
@@ -7,7 +7,7 @@ const prepare = createWaterfall();
7
7
  const create = createAsyncPipeline();
8
8
  const prepareWebServer = createAsyncPipeline();
9
9
  const prepareApiServer = createAsyncPipeline();
10
- const onApiChange = createAsyncPipeline();
10
+ const onApiChange = createWaterfall();
11
11
  const beforeDevServer = createParallelWorkflow();
12
12
  const setupCompiler = createParallelWorkflow();
13
13
  const afterDevServer = createParallelWorkflow(); // TODO FIXME
@@ -15,7 +15,7 @@ const prepare = (0, _plugin.createWaterfall)();
15
15
  const create = (0, _plugin.createAsyncPipeline)();
16
16
  const prepareWebServer = (0, _plugin.createAsyncPipeline)();
17
17
  const prepareApiServer = (0, _plugin.createAsyncPipeline)();
18
- const onApiChange = (0, _plugin.createAsyncPipeline)();
18
+ const onApiChange = (0, _plugin.createWaterfall)();
19
19
  const beforeDevServer = (0, _plugin.createParallelWorkflow)();
20
20
  const setupCompiler = (0, _plugin.createParallelWorkflow)();
21
21
  const afterDevServer = (0, _plugin.createParallelWorkflow)(); // TODO FIXME
@@ -65,7 +65,7 @@ declare const serverHooks: {
65
65
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
66
66
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
67
67
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
68
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
68
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
69
69
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
70
70
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
71
71
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
@@ -130,7 +130,7 @@ export declare const createServerManager: () => import("@modern-js/plugin").Asyn
130
130
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
131
131
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
132
132
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
133
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
133
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
134
134
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
135
135
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
136
136
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
@@ -190,7 +190,7 @@ export declare const serverManager: import("@modern-js/plugin").AsyncManager<{
190
190
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
191
191
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
192
192
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
193
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
193
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
194
194
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
195
195
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
196
196
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
@@ -259,7 +259,7 @@ export declare const createPlugin: (setup?: AsyncSetup<{
259
259
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
260
260
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
261
261
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
262
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
262
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
263
263
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
264
264
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
265
265
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
@@ -318,7 +318,7 @@ export declare const createPlugin: (setup?: AsyncSetup<{
318
318
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
319
319
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
320
320
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
321
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
321
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
322
322
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
323
323
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
324
324
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
@@ -373,7 +373,7 @@ export declare const createPlugin: (setup?: AsyncSetup<{
373
373
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
374
374
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
375
375
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
376
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
376
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
377
377
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
378
378
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
379
379
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
@@ -432,7 +432,7 @@ export declare const createPlugin: (setup?: AsyncSetup<{
432
432
  create: import("@modern-js/plugin").AsyncPipeline<ServerInitInput, InitExtension>;
433
433
  prepareWebServer: import("@modern-js/plugin").AsyncPipeline<WebServerStartInput, Adapter>;
434
434
  prepareApiServer: import("@modern-js/plugin").AsyncPipeline<APIServerStartInput, Adapter>;
435
- onApiChange: import("@modern-js/plugin").AsyncPipeline<Change[], boolean>;
435
+ onApiChange: import("@modern-js/plugin").Waterfall<Change[]>;
436
436
  beforeDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
437
437
  setupCompiler: import("@modern-js/plugin").ParallelWorkflow<Record<string, unknown>, any[]>;
438
438
  afterDevServer: import("@modern-js/plugin").ParallelWorkflow<NormalizedConfig, any>;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.4.1-beta.0",
14
+ "version": "1.4.1-beta.1",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",