@modern-js/types 2.1.0 → 2.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 2.3.0
4
+
5
+ ## 2.2.0
6
+
7
+ ### Patch Changes
8
+
9
+ - 19bb384: fix: when a child route does not exist, an empty layout should not be created
10
+ fix: 子路由不存在时,不应该创建空的 layout
11
+
3
12
  ## 2.1.0
4
13
 
5
14
  ## 2.0.2
package/cli/index.d.ts CHANGED
@@ -54,7 +54,6 @@ export type NestedRoute = Merge<
54
54
  type: 'nested';
55
55
  parentId?: string;
56
56
  children?: NestedRoute[];
57
- childIds?: string[];
58
57
  filename?: string;
59
58
  _component?: string;
60
59
  component?: string;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.1.0",
14
+ "version": "2.3.0",
15
15
  "types": "./index.d.ts",
16
16
  "exports": {
17
17
  ".": "./index.d.ts",
@@ -38,8 +38,8 @@
38
38
  "http-proxy-middleware": "^2.0.4",
39
39
  "jest": "^27",
40
40
  "type-fest": "2.15.0",
41
- "@scripts/build": "2.1.0",
42
- "@scripts/jest-config": "2.1.0"
41
+ "@scripts/build": "2.3.0",
42
+ "@scripts/jest-config": "2.3.0"
43
43
  },
44
44
  "sideEffects": false,
45
45
  "publishConfig": {
@@ -22,6 +22,7 @@ export type DevServerOptions = {
22
22
  path?: string;
23
23
  port?: string;
24
24
  host?: string;
25
+ protocol?: string;
25
26
  };
26
27
  devMiddleware?: {
27
28
  writeToDisk: boolean | ((filename: string) => boolean);