umi 3.5.28 → 3.5.29-alpha.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/README.md +1 -1
- package/bin/umi.js +11 -1
- package/lib/cli.js +3 -0
- package/lib/forkedDev.js +3 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@ English | [简体中文](https://github.com/umijs/umi/blob/master/README.zh-CN.m
|
|
|
2
2
|
|
|
3
3
|
# umi
|
|
4
4
|
|
|
5
|
-
[](https://codecov.io/gh/umijs/umi) [](https://npmjs.org/package/umi) [](https://codecov.io/gh/umijs/umi) [](https://npmjs.org/package/umi) [](https://circleci.com/gh/umijs/umi/tree/3.x) [](https://dev.azure.com/umijs/umi/_build/latest?definitionId=1&branchName=master) [](https://github.com/umijs/umi) [](https://npmjs.org/package/umi) [](https://packagephobia.now.sh/result?p=umi)
|
|
6
6
|
|
|
7
7
|
🍙 Extensible enterprise-level front-end application framework.
|
|
8
8
|
|
package/bin/umi.js
CHANGED
|
@@ -2,9 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
require('v8-compile-cache');
|
|
4
4
|
|
|
5
|
+
const updateNotifier = require('@umijs/deps/compiled/update-notifier');
|
|
5
6
|
const resolveCwd = require('@umijs/deps/compiled/resolve-cwd');
|
|
6
7
|
|
|
7
|
-
const
|
|
8
|
+
const pkg = require('../package.json');
|
|
9
|
+
const { name, bin } = pkg;
|
|
10
|
+
|
|
11
|
+
// Notify update to Umi4
|
|
12
|
+
updateNotifier({
|
|
13
|
+
pkg,
|
|
14
|
+
shouldNotifyInNpmScript: true,
|
|
15
|
+
updateCheckInterval: 0
|
|
16
|
+
}).notify();
|
|
17
|
+
|
|
8
18
|
const localCLI = resolveCwd.silent(`${name}/${bin['umi']}`);
|
|
9
19
|
if (!process.env.USE_GLOBAL_UMI && localCLI && localCLI !== __filename) {
|
|
10
20
|
const debug = require('@umijs/utils').createDebug('umi:cli');
|
package/lib/cli.js
CHANGED
package/lib/forkedDev.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umi",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.29-alpha.0",
|
|
4
4
|
"description": "umi",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "types.d.ts",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
],
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"bugs": "http://github.com/umijs/umi/issues",
|
|
26
|
-
"homepage": "https://github.com/umijs/umi/tree/
|
|
26
|
+
"homepage": "https://github.com/umijs/umi/tree/3.x/packages/umi#readme",
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@umijs/bundler-webpack": "3.5.
|
|
32
|
-
"@umijs/core": "3.5.
|
|
33
|
-
"@umijs/deps": "3.5.
|
|
34
|
-
"@umijs/preset-built-in": "3.5.
|
|
35
|
-
"@umijs/runtime": "3.5.
|
|
36
|
-
"@umijs/types": "3.5.
|
|
37
|
-
"@umijs/utils": "3.5.
|
|
31
|
+
"@umijs/bundler-webpack": "3.5.29-alpha.0",
|
|
32
|
+
"@umijs/core": "3.5.29-alpha.0",
|
|
33
|
+
"@umijs/deps": "3.5.29-alpha.0",
|
|
34
|
+
"@umijs/preset-built-in": "3.5.29-alpha.0",
|
|
35
|
+
"@umijs/runtime": "3.5.29-alpha.0",
|
|
36
|
+
"@umijs/types": "3.5.29-alpha.0",
|
|
37
|
+
"@umijs/utils": "3.5.29-alpha.0",
|
|
38
38
|
"react": "16.x",
|
|
39
39
|
"react-dom": "16.x",
|
|
40
40
|
"v8-compile-cache": "2.3.0"
|