@modern-js/module-tools 2.0.0-beta.2 → 2.0.0-beta.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,5 +1,80 @@
1
1
  # @modern-js/module-tools
2
2
 
3
+ ## 2.0.0-beta.3
4
+
5
+ ### Major Changes
6
+
7
+ - dda38c9c3e: chore: v2
8
+
9
+ ### Minor Changes
10
+
11
+ - e4558a0: feat:
12
+
13
+ 1. add `runBin` function
14
+ 2. config internal plugins constants in the app/module/doc tools
15
+ 3. add app/module/doc tools internal plugins
16
+
17
+ feat:
18
+
19
+ 1. 添加 `runBin` 函数
20
+ 2. 在 app/module/doc tools 里配置内部插件
21
+ 3. 增加 app/module/doc tools 使用的插件常量
22
+
23
+ ### Patch Changes
24
+
25
+ - d61ca88a0b: update speedy version
26
+ 更新依赖里 speedy 的版本
27
+ - b8bbe036c7: feat: export Hooks type
28
+ feat: 导出 Hooks 类型
29
+ - ebbeed1ece: update speedy-core to fix sass resolve error
30
+ 更新 speedy-core 版本以修复 sass resolve 错误
31
+ - d4a456659b: chore: rename plugin-jarvis to plugin-lint
32
+
33
+ chore: 重命名 plugin-jarvis 为 plugin-lint
34
+
35
+ - 14b712da84: fix: use consistent alias type and default value across packages
36
+
37
+ fix: 在各个包中使用一致的 alias 类型定义和默认值
38
+
39
+ - Updated dependencies [c9e800d39a]
40
+ - Updated dependencies [6aca875]
41
+ - Updated dependencies [85edee888c]
42
+ - Updated dependencies [2e60319]
43
+ - Updated dependencies [92f0eade39]
44
+ - Updated dependencies [edd1cfb1af]
45
+ - Updated dependencies [cc971eabfc]
46
+ - Updated dependencies [5b9049f2e9]
47
+ - Updated dependencies [a3af050]
48
+ - Updated dependencies [d4a456659b]
49
+ - Updated dependencies [92004d1906]
50
+ - Updated dependencies [b8bbe036c7]
51
+ - Updated dependencies [f680410]
52
+ - Updated dependencies [d5a31df781]
53
+ - Updated dependencies [dda38c9c3e]
54
+ - Updated dependencies [8b8e1bb571]
55
+ - Updated dependencies [3bbea92b2a]
56
+ - Updated dependencies [b710adb]
57
+ - Updated dependencies [b7a96c3]
58
+ - Updated dependencies [cce8ece]
59
+ - Updated dependencies [f179749375]
60
+ - Updated dependencies [ea7cf06]
61
+ - Updated dependencies [bbe4c4a]
62
+ - Updated dependencies [e4558a0]
63
+ - Updated dependencies [abf3421a75]
64
+ - Updated dependencies [543be9558e]
65
+ - Updated dependencies [14b712da84]
66
+ - @modern-js/core@2.0.0-beta.3
67
+ - @modern-js/utils@2.0.0-beta.3
68
+ - @modern-js/plugin-lint@2.0.0-beta.3
69
+ - @modern-js/plugin@2.0.0-beta.3
70
+ - @modern-js/babel-preset-module@2.0.0-beta.3
71
+ - @modern-js/plugin-changeset@2.0.0-beta.3
72
+ - @modern-js/plugin-i18n@2.0.0-beta.3
73
+ - @modern-js/new-action@2.0.0-beta.3
74
+ - @modern-js/babel-compiler@2.0.0-beta.3
75
+ - @modern-js/style-compiler@2.0.0-beta.3
76
+ - @modern-js/upgrade@2.0.0-beta.3
77
+
3
78
  ## 2.0.0-beta.2
4
79
 
5
80
  ### Major Changes
package/bin/modern.js CHANGED
@@ -1,3 +1,8 @@
1
1
  #!/usr/bin/env node
2
+ const { INTERNAL_MODULE_TOOLS_PLUGINS } = require('@modern-js/utils');
2
3
 
3
- require('@modern-js/core/bin');
4
+ require('@modern-js/core/runBin').run({
5
+ internalPlugins: {
6
+ cli: INTERNAL_MODULE_TOOLS_PLUGINS,
7
+ },
8
+ });
package/package.json CHANGED
@@ -11,9 +11,10 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.0.0-beta.2",
14
+ "version": "2.0.0-beta.3",
15
15
  "bin": {
16
- "modern": "./bin/modern.js"
16
+ "modern": "./bin/modern.js",
17
+ "modern-module": "./bin/modern.js"
17
18
  },
18
19
  "jsnext:source": "./src/index.ts",
19
20
  "types": "./dist/types/index.d.ts",
@@ -66,17 +67,17 @@
66
67
  "rollup-plugin-dts": "^4.2.1",
67
68
  "rollup-plugin-hashbang": "^3.0.0",
68
69
  "signal-exit": "^3.0.7",
69
- "@modern-js/babel-compiler": "2.0.0-beta.2",
70
- "@modern-js/babel-preset-module": "2.0.0-beta.2",
71
- "@modern-js/core": "2.0.0-beta.2",
72
- "@modern-js/new-action": "2.0.0-beta.2",
73
- "@modern-js/upgrade": "2.0.0-beta.2",
74
- "@modern-js/plugin": "2.0.0-beta.2",
75
- "@modern-js/plugin-changeset": "2.0.0-beta.2",
76
- "@modern-js/plugin-i18n": "2.0.0-beta.2",
77
- "@modern-js/plugin-lint": "2.0.0-beta.2",
78
- "@modern-js/style-compiler": "2.0.0-beta.2",
79
- "@modern-js/utils": "2.0.0-beta.2"
70
+ "@modern-js/babel-compiler": "2.0.0-beta.3",
71
+ "@modern-js/babel-preset-module": "2.0.0-beta.3",
72
+ "@modern-js/core": "2.0.0-beta.3",
73
+ "@modern-js/new-action": "2.0.0-beta.3",
74
+ "@modern-js/upgrade": "2.0.0-beta.3",
75
+ "@modern-js/plugin": "2.0.0-beta.3",
76
+ "@modern-js/plugin-changeset": "2.0.0-beta.3",
77
+ "@modern-js/plugin-i18n": "2.0.0-beta.3",
78
+ "@modern-js/plugin-lint": "2.0.0-beta.3",
79
+ "@modern-js/style-compiler": "2.0.0-beta.3",
80
+ "@modern-js/utils": "2.0.0-beta.3"
80
81
  },
81
82
  "devDependencies": {
82
83
  "@types/babel__core": "^7.1.15",
@@ -91,8 +92,8 @@
91
92
  "typescript": "^4",
92
93
  "ajv": "^8",
93
94
  "ajv-keywords": "^5",
94
- "@scripts/build": "2.0.0-beta.2",
95
- "@scripts/jest-config": "2.0.0-beta.2"
95
+ "@scripts/build": "2.0.0-beta.3",
96
+ "@scripts/jest-config": "2.0.0-beta.3"
96
97
  },
97
98
  "sideEffects": false,
98
99
  "modernConfig": {