@modern-js/core 1.12.2-alpha.0 → 1.12.3

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/CHANGELOG.md CHANGED
@@ -1,19 +1,26 @@
1
1
  # @modern-js/core
2
2
 
3
- ## 1.12.2-alpha.0
3
+ ## 1.12.3
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 9cd364e06: The buildPreset will be split out of a buildConfig, preset only supports built-in strings, config this piece to remove speedyOptions, watch, add platform, splitting, minify, external, and add tools.speedy
8
- - f29e9bacf: feat: simplify context usage, no longer depend on containers
9
- - a90bc96bd: perf(babel): skip babel-plugin-import if package not installed
10
- - Updated dependencies [9cd364e06]
11
- - Updated dependencies [3050accbe]
12
- - Updated dependencies [f29e9bacf]
13
- - Updated dependencies [a90bc96bd]
14
- - @modern-js/utils@1.7.9-alpha.0
15
- - @modern-js/load-config@1.3.6-alpha.0
16
- - @modern-js/plugin@1.4.0-alpha.0
7
+ - b82869d: Export types from mergeConfig.ts
8
+ - Updated dependencies [b82869d]
9
+ - @modern-js/utils@1.7.10
10
+
11
+ ## 1.12.2
12
+
13
+ ### Patch Changes
14
+
15
+ - f29e9ba: feat: simplify context usage, no longer depend on containers
16
+ - d9564f2: feat: add watchOptions for server watcher
17
+ - a90bc96: perf(babel): skip babel-plugin-import if package not installed
18
+ - Updated dependencies [3050acc]
19
+ - Updated dependencies [f29e9ba]
20
+ - Updated dependencies [a90bc96]
21
+ - @modern-js/load-config@1.3.6
22
+ - @modern-js/plugin@1.4.0
23
+ - @modern-js/utils@1.7.9
17
24
 
18
25
  ## 1.12.1
19
26
 
@@ -391,6 +391,9 @@ export declare const patchSchema: (pluginSchemas: Array<PluginValidateSchema | P
391
391
  enableMicroFrontendDebug: {
392
392
  type: string;
393
393
  };
394
+ watchOptions: {
395
+ type: string;
396
+ };
394
397
  };
395
398
  };
396
399
  deploy: {
@@ -178,5 +178,8 @@ export declare const server: {
178
178
  enableMicroFrontendDebug: {
179
179
  type: string;
180
180
  };
181
+ watchOptions: {
182
+ type: string;
183
+ };
181
184
  };
182
185
  };
@@ -103,5 +103,6 @@ exports.server = {
103
103
  metrics: { type: ['object', 'boolean'] },
104
104
  proxy: { type: 'object' },
105
105
  enableMicroFrontendDebug: { type: 'boolean' },
106
+ watchOptions: { type: 'object' },
106
107
  },
107
108
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="node" />
2
2
  import type { IncomingMessage, ServerResponse } from 'http';
3
3
  import type { NextFunction, BffProxyOptions } from '@modern-js/types';
4
- import type { MetaOptions, ChainIdentifier } from '@modern-js/utils';
4
+ import type { MetaOptions, ChainIdentifier, WatchOptions } from '@modern-js/utils';
5
5
  import type { TransformOptions, PluginItem as BabelPlugin } from '@babel/core';
6
6
  import type webpack from 'webpack';
7
7
  import type { RuleSetRule, Configuration as WebpackConfiguration, WebpackPluginInstance } from 'webpack';
@@ -115,6 +115,7 @@ export interface ServerConfig {
115
115
  logger?: boolean | Record<string, any>;
116
116
  metrics?: boolean | Record<string, any>;
117
117
  enableMicroFrontendDebug?: boolean;
118
+ watchOptions?: WatchOptions;
118
119
  }
119
120
  export declare type DevProxyOptions = string | Record<string, string>;
120
121
  export interface DevConfig {
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.12.2-alpha.0",
14
+ "version": "1.12.3",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/index.d.ts",
17
17
  "main": "./dist/index.js",
@@ -39,13 +39,13 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@modern-js/load-config": "^1.3.6-alpha.0",
43
- "@modern-js/plugin": "^1.4.0-alpha.0",
44
- "@modern-js/utils": "^1.7.9-alpha.0"
42
+ "@modern-js/load-config": "^1.3.6",
43
+ "@modern-js/plugin": "^1.4.0",
44
+ "@modern-js/utils": "^1.7.10"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@jest/types": "^27.0.6",
48
- "@modern-js/types": "1.5.5-alpha.0",
48
+ "@modern-js/types": "1.5.5",
49
49
  "@scripts/build": "0.0.0",
50
50
  "@scripts/jest-config": "0.0.0",
51
51
  "@types/babel__code-frame": "^7.0.3",