@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.
|
|
3
|
+
## 1.12.3
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
|
|
@@ -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.
|
|
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
|
|
43
|
-
"@modern-js/plugin": "^1.4.0
|
|
44
|
-
"@modern-js/utils": "^1.7.
|
|
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
|
|
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",
|