@modern-js/plugin-polyfill 2.0.0-beta.1 → 2.0.0-beta.2

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,31 @@
1
1
  # @modern-js/plugin-polyfill
2
2
 
3
+ ## 2.0.0-beta.2
4
+
5
+ ### Major Changes
6
+
7
+ - dda38c9c3e: chore: v2
8
+
9
+ ### Patch Changes
10
+
11
+ - ebbeed1: fix(plugin-polyfill): failed to join flags when restart CLI
12
+
13
+ fix(plugin-polyfill): 修复重启 CLI 时报错 join flags 失败的问题
14
+
15
+ - Updated dependencies [92f0ead]
16
+ - Updated dependencies [edd1cfb1af]
17
+ - Updated dependencies [cc971eabfc]
18
+ - Updated dependencies [5b9049f2e9]
19
+ - Updated dependencies [92004d1]
20
+ - Updated dependencies [b8bbe036c7]
21
+ - Updated dependencies [d5a31df781]
22
+ - Updated dependencies [dda38c9c3e]
23
+ - Updated dependencies [3bbea92b2a]
24
+ - Updated dependencies [abf3421a75]
25
+ - Updated dependencies [543be9558e]
26
+ - Updated dependencies [14b712da84]
27
+ - @modern-js/utils@2.0.0-beta.2
28
+
3
29
  ## 2.0.0-beta.1
4
30
 
5
31
  ### Major Changes
@@ -1,3 +1,7 @@
1
1
  import type { CliPlugin } from '@modern-js/core';
2
- declare const _default: () => CliPlugin;
2
+ import type { UserConfig, ServerOptions } from '@modern-js/server-core';
3
+ declare const _default: () => CliPlugin<{
4
+ userConfig: UserConfig;
5
+ normalizedConfig: ServerOptions;
6
+ }>;
3
7
  export default _default;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.0.0-beta.1",
14
+ "version": "2.0.0-beta.2",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -40,7 +40,7 @@
40
40
  "@modern-js/polyfill-lib": "^1.0.0",
41
41
  "lru-cache": "^6.0.0",
42
42
  "ua-parser-js": "^0.7.28",
43
- "@modern-js/utils": "2.0.0-beta.1"
43
+ "@modern-js/utils": "2.0.0-beta.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/jest": "^27",
@@ -49,11 +49,11 @@
49
49
  "@types/ua-parser-js": "^0.7.36",
50
50
  "typescript": "^4",
51
51
  "jest": "^27",
52
- "@modern-js/server-core": "2.0.0-beta.1",
53
- "@modern-js/types": "2.0.0-beta.1",
54
- "@modern-js/core": "2.0.0-beta.1",
55
- "@scripts/build": "2.0.0-beta.1",
56
- "@scripts/jest-config": "2.0.0-beta.1"
52
+ "@modern-js/server-core": "2.0.0-beta.2",
53
+ "@modern-js/types": "2.0.0-beta.2",
54
+ "@modern-js/core": "2.0.0-beta.2",
55
+ "@scripts/build": "2.0.0-beta.2",
56
+ "@scripts/jest-config": "2.0.0-beta.2"
57
57
  },
58
58
  "sideEffects": false,
59
59
  "modernConfig": {
@@ -66,9 +66,9 @@
66
66
  "access": "public"
67
67
  },
68
68
  "scripts": {
69
- "new": "modern new",
70
- "build": "modern build",
71
- "dev": "modern build --watch",
69
+ "new": "modern-lib new",
70
+ "build": "modern-lib build",
71
+ "dev": "modern-lib build --watch",
72
72
  "test": "jest --passWithNoTests"
73
73
  }
74
74
  }