umi 4.0.0-canary.20220729.2 → 4.0.0-canary.20220809.1
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/dist/constants.d.ts +1 -0
- package/dist/constants.js +5 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/package.json +10 -10
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -22,7 +22,8 @@ __export(constants_exports, {
|
|
|
22
22
|
DEFAULT_CONFIG_FILES: () => DEFAULT_CONFIG_FILES,
|
|
23
23
|
DEV_COMMAND: () => DEV_COMMAND,
|
|
24
24
|
FRAMEWORK_NAME: () => FRAMEWORK_NAME,
|
|
25
|
-
MIN_NODE_VERSION: () => MIN_NODE_VERSION
|
|
25
|
+
MIN_NODE_VERSION: () => MIN_NODE_VERSION,
|
|
26
|
+
RUNTIME_TYPE_FILE_NAME: () => RUNTIME_TYPE_FILE_NAME
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(constants_exports);
|
|
28
29
|
var MIN_NODE_VERSION = 14;
|
|
@@ -34,10 +35,12 @@ var DEFAULT_CONFIG_FILES = [
|
|
|
34
35
|
"config/config.js"
|
|
35
36
|
];
|
|
36
37
|
var FRAMEWORK_NAME = "umi";
|
|
38
|
+
var RUNTIME_TYPE_FILE_NAME = "runtimeConfig.d.ts";
|
|
37
39
|
// Annotate the CommonJS export names for ESM import in node:
|
|
38
40
|
0 && (module.exports = {
|
|
39
41
|
DEFAULT_CONFIG_FILES,
|
|
40
42
|
DEV_COMMAND,
|
|
41
43
|
FRAMEWORK_NAME,
|
|
42
|
-
MIN_NODE_VERSION
|
|
44
|
+
MIN_NODE_VERSION,
|
|
45
|
+
RUNTIME_TYPE_FILE_NAME
|
|
43
46
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IServicePluginAPI, PluginAPI } from '@umijs/core';
|
|
2
2
|
export { run } from './cli/cli';
|
|
3
|
+
export { RUNTIME_TYPE_FILE_NAME } from './constants';
|
|
3
4
|
export { defineConfig } from './defineConfig';
|
|
4
5
|
export { defineMock } from './defineMock';
|
|
5
6
|
export * from './service/service';
|
package/dist/index.js
CHANGED
|
@@ -20,17 +20,20 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
RUNTIME_TYPE_FILE_NAME: () => import_constants.RUNTIME_TYPE_FILE_NAME,
|
|
23
24
|
defineConfig: () => import_defineConfig.defineConfig,
|
|
24
25
|
defineMock: () => import_defineMock.defineMock,
|
|
25
26
|
run: () => import_cli.run
|
|
26
27
|
});
|
|
27
28
|
module.exports = __toCommonJS(src_exports);
|
|
28
29
|
var import_cli = require("./cli/cli");
|
|
30
|
+
var import_constants = require("./constants");
|
|
29
31
|
var import_defineConfig = require("./defineConfig");
|
|
30
32
|
var import_defineMock = require("./defineMock");
|
|
31
33
|
__reExport(src_exports, require("./service/service"), module.exports);
|
|
32
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
33
35
|
0 && (module.exports = {
|
|
36
|
+
RUNTIME_TYPE_FILE_NAME,
|
|
34
37
|
defineConfig,
|
|
35
38
|
defineMock,
|
|
36
39
|
run
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umi",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220809.1",
|
|
4
4
|
"description": "umi",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@babel/runtime": "7.18.9",
|
|
40
|
-
"@umijs/bundler-utils": "4.0.0-canary.
|
|
41
|
-
"@umijs/bundler-webpack": "4.0.0-canary.
|
|
42
|
-
"@umijs/core": "4.0.0-canary.
|
|
43
|
-
"@umijs/lint": "4.0.0-canary.
|
|
44
|
-
"@umijs/preset-umi": "4.0.0-canary.
|
|
45
|
-
"@umijs/renderer-react": "4.0.0-canary.
|
|
46
|
-
"@umijs/server": "4.0.0-canary.
|
|
47
|
-
"@umijs/test": "4.0.0-canary.
|
|
48
|
-
"@umijs/utils": "4.0.0-canary.
|
|
40
|
+
"@umijs/bundler-utils": "4.0.0-canary.20220809.1",
|
|
41
|
+
"@umijs/bundler-webpack": "4.0.0-canary.20220809.1",
|
|
42
|
+
"@umijs/core": "4.0.0-canary.20220809.1",
|
|
43
|
+
"@umijs/lint": "4.0.0-canary.20220809.1",
|
|
44
|
+
"@umijs/preset-umi": "4.0.0-canary.20220809.1",
|
|
45
|
+
"@umijs/renderer-react": "4.0.0-canary.20220809.1",
|
|
46
|
+
"@umijs/server": "4.0.0-canary.20220809.1",
|
|
47
|
+
"@umijs/test": "4.0.0-canary.20220809.1",
|
|
48
|
+
"@umijs/utils": "4.0.0-canary.20220809.1",
|
|
49
49
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
50
50
|
"prettier-plugin-packagejson": "^2.2.17"
|
|
51
51
|
},
|