umi 4.0.0-beta.9 → 4.0.0-rc.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/defineConfig.d.ts +1 -0
- package/dist/defineConfig.js +7 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -15
- package/dist/pluginUtils.d.ts +1 -0
- package/dist/pluginUtils.js +13 -0
- package/index.d.ts +2 -2
- package/package.json +9 -6
- package/plugin-utils.d.ts +1 -0
- package/plugin-utils.js +1 -0
- package/plugin.js +1 -0
- package/index.esm.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function defineConfig(config: any): any;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { IServicePluginAPI, PluginAPI } from '@umijs/core';
|
|
2
|
-
|
|
3
|
-
export declare type IApi = PluginAPI & IServicePluginAPI;
|
|
2
|
+
export { defineConfig } from './defineConfig';
|
|
4
3
|
export * from './service/service';
|
|
5
|
-
export
|
|
4
|
+
export declare type IApi = PluginAPI & IServicePluginAPI;
|
package/dist/index.js
CHANGED
|
@@ -6,23 +6,11 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
6
6
|
if (k2 === undefined) k2 = k;
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
11
|
};
|
|
24
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
exports.
|
|
13
|
+
exports.defineConfig = void 0;
|
|
14
|
+
var defineConfig_1 = require("./defineConfig");
|
|
15
|
+
Object.defineProperty(exports, "defineConfig", { enumerable: true, get: function () { return defineConfig_1.defineConfig; } });
|
|
28
16
|
__exportStar(require("./service/service"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@umijs/utils';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("@umijs/utils"), exports);
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umi",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.1",
|
|
4
4
|
"description": "umi",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
"index.d.ts",
|
|
21
21
|
"index.esm.js",
|
|
22
22
|
"client",
|
|
23
|
-
"bin"
|
|
23
|
+
"bin",
|
|
24
|
+
"plugin.js",
|
|
25
|
+
"plugin-utils.d.ts",
|
|
26
|
+
"plugin-utils.js"
|
|
24
27
|
],
|
|
25
28
|
"scripts": {
|
|
26
29
|
"build": "pnpm tsc",
|
|
@@ -29,10 +32,10 @@
|
|
|
29
32
|
"dev": "pnpm build -- --watch"
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
32
|
-
"@umijs/core": "4.0.0-
|
|
33
|
-
"@umijs/preset-umi": "4.0.0-
|
|
34
|
-
"@umijs/renderer-react": "4.0.0-
|
|
35
|
-
"@umijs/utils": "4.0.0-
|
|
35
|
+
"@umijs/core": "4.0.0-rc.1",
|
|
36
|
+
"@umijs/preset-umi": "4.0.0-rc.1",
|
|
37
|
+
"@umijs/renderer-react": "4.0.0-rc.1",
|
|
38
|
+
"@umijs/utils": "4.0.0-rc.1",
|
|
36
39
|
"v8-compile-cache": "2.3.0"
|
|
37
40
|
},
|
|
38
41
|
"publishConfig": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type * from './dist/pluginUtils';
|
package/plugin-utils.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/pluginUtils');
|
package/plugin.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getPluginManager } from '@@/core/plugin';
|
package/index.esm.js
DELETED