@doracli/rollup-react 0.0.4 → 0.0.5
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/lib/cjs/index.js +3 -827
- package/lib/esm/index.js +3 -831
- package/lib/type/index.d.ts +12 -28
- package/package.json +10 -10
package/lib/type/index.d.ts
CHANGED
|
@@ -1,40 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { TMode } from '@doracli/type';
|
|
2
|
+
import { ConfigCtx } from '@doracli/helper';
|
|
3
|
+
import { TEnvParams } from '@doracli/rollup';
|
|
4
|
+
import { TCommandOption } from '@doracli/commander';
|
|
5
5
|
|
|
6
6
|
type TDevCmd = {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
format: TMode;
|
|
8
|
+
watch: boolean;
|
|
9
|
+
workRootDir: string;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
declare const buildEntry: (cmd?: TDevCmd) => Promise<void>;
|
|
13
13
|
|
|
14
|
-
declare const buildMultiple: (
|
|
15
|
-
configCtxList: ConfigCtx[],
|
|
16
|
-
envParams: TEnvParams
|
|
17
|
-
) => Promise<void>;
|
|
14
|
+
declare const buildMultiple: (configCtxList: ConfigCtx[], envParams: TEnvParams) => Promise<void>;
|
|
18
15
|
|
|
19
|
-
declare const buildSingle: (
|
|
20
|
-
configCtx: ConfigCtx,
|
|
21
|
-
envParams: TEnvParams
|
|
22
|
-
) => Promise<void>;
|
|
16
|
+
declare const buildSingle: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<void>;
|
|
23
17
|
|
|
24
18
|
declare const commandOptions: TCommandOption;
|
|
25
19
|
|
|
26
20
|
declare const devEntry: (cmd?: TDevCmd) => Promise<void>;
|
|
27
21
|
|
|
28
|
-
declare const devSingle: (
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
) => Promise<void>;
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
buildEntry,
|
|
35
|
-
buildMultiple,
|
|
36
|
-
buildSingle,
|
|
37
|
-
commandOptions,
|
|
38
|
-
devEntry,
|
|
39
|
-
devSingle,
|
|
40
|
-
};
|
|
22
|
+
declare const devSingle: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<void>;
|
|
23
|
+
|
|
24
|
+
export { buildEntry, buildMultiple, buildSingle, commandOptions, devEntry, devSingle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doracli/rollup-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "package by rollup",
|
|
5
5
|
"author": "cclr <18843152354@163.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@cclr/cli-define": "^2.2.2",
|
|
36
|
-
"@cclr/lang": "^0.1.
|
|
37
|
-
"@cclr/utils": "^0.1.
|
|
36
|
+
"@cclr/lang": "^0.1.49",
|
|
37
|
+
"@cclr/utils": "^0.1.49",
|
|
38
38
|
"@dorabag/file-pro": "^1.0.10",
|
|
39
39
|
"@dorabag/srv-tool": "^1.0.16",
|
|
40
|
-
"@doracli/commander": "^0.0.
|
|
41
|
-
"@doracli/helper": "^0.0.
|
|
42
|
-
"@doracli/preset-babel": "^0.0.
|
|
43
|
-
"@doracli/rollup": "^0.0.
|
|
44
|
-
"@doracli/type": "^0.0.
|
|
40
|
+
"@doracli/commander": "^0.0.5",
|
|
41
|
+
"@doracli/helper": "^0.0.5",
|
|
42
|
+
"@doracli/preset-babel": "^0.0.5",
|
|
43
|
+
"@doracli/rollup": "^0.0.5",
|
|
44
|
+
"@doracli/type": "^0.0.5"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "ac4c6829b2cec621ecf66b6324843773e8b5141f",
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"rollup": "^4.
|
|
48
|
+
"rollup": "^4.54.0"
|
|
49
49
|
}
|
|
50
50
|
}
|