@doracli/webpack-react 0.0.3 → 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 +770 -358
- package/lib/esm/index.js +764 -361
- package/lib/type/index.d.ts +20 -9
- package/package.json +11 -10
package/lib/type/index.d.ts
CHANGED
|
@@ -1,20 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { ConfigCtx } from '@doracli/helper';
|
|
1
|
+
import * as _doracli_webpack from '@doracli/webpack';
|
|
2
|
+
import { TEnvParams, Ctx } from '@doracli/webpack';
|
|
3
|
+
import { ConfigCtx, TWorkflowApi } from '@doracli/helper';
|
|
4
|
+
import { TAny, PartialRecursive } from '@cclr/lang';
|
|
5
|
+
import { TDoraConfig } from '@doracli/type';
|
|
4
6
|
import { TChildCommandOption, TCommandOption } from '@doracli/commander';
|
|
5
7
|
|
|
6
|
-
declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
declare const getBuildCtx: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<Ctx>;
|
|
9
|
+
declare const buildBase: (ctx: Ctx) => Promise<_doracli_webpack.TBuildResult>;
|
|
10
|
+
declare const builderBaseWorkfolw: (workflow: TWorkflowApi<Ctx>) => void;
|
|
11
|
+
declare const buildMultipleBase: (ctx: Ctx) => Promise<void>;
|
|
12
|
+
|
|
13
|
+
declare const getConfigCtx: (envParams: TEnvParams, cmd: TAny, defaultDora: PartialRecursive<TDoraConfig>) => Promise<ConfigCtx>;
|
|
14
|
+
|
|
15
|
+
declare const getServerCtx: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<Ctx>;
|
|
16
|
+
declare const serverBase: (ctx: Ctx) => Promise<void>;
|
|
17
|
+
declare const serverMultipleBase: (ctx: Ctx) => Promise<void>;
|
|
18
|
+
declare const serverBaseWorkfolw: (workflow: TWorkflowApi<Ctx>) => void;
|
|
10
19
|
|
|
11
20
|
declare const buildSingle: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<void>;
|
|
12
21
|
|
|
13
22
|
declare const childCommands: TChildCommandOption[];
|
|
14
23
|
declare const commandOptions: TCommandOption;
|
|
15
24
|
|
|
16
|
-
declare const
|
|
25
|
+
declare const devEntry: (cmd: TAny) => Promise<void>;
|
|
17
26
|
|
|
18
27
|
declare const serverSingle: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<void>;
|
|
19
28
|
|
|
20
|
-
|
|
29
|
+
declare const getServerMutipleCtxList: (configCtx: ConfigCtx, envParams: TEnvParams) => Promise<Ctx[]>;
|
|
30
|
+
|
|
31
|
+
export { buildBase, buildMultipleBase, buildSingle, builderBaseWorkfolw, childCommands, commandOptions, devEntry, getBuildCtx, getConfigCtx, getServerCtx, getServerMutipleCtxList, serverBase, serverBaseWorkfolw, serverMultipleBase, serverSingle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doracli/webpack-react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "package by webpack",
|
|
5
5
|
"author": "cclr <18843152354@163.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -28,20 +28,21 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"test": "vitest",
|
|
30
30
|
"g:test": "vitest run",
|
|
31
|
-
"build": "
|
|
31
|
+
"build": "drr build"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@cclr/lang": "^0.1.
|
|
35
|
-
"@cclr/utils": "^0.1.
|
|
34
|
+
"@cclr/lang": "^0.1.49",
|
|
35
|
+
"@cclr/utils": "^0.1.49",
|
|
36
36
|
"@dorabag/file-pro": "^1.0.10",
|
|
37
|
-
"@
|
|
38
|
-
"@doracli/
|
|
39
|
-
"@doracli/
|
|
40
|
-
"@doracli/
|
|
37
|
+
"@dorabag/srv-tool": "^1.0.16",
|
|
38
|
+
"@doracli/commander": "^0.0.5",
|
|
39
|
+
"@doracli/helper": "^0.0.5",
|
|
40
|
+
"@doracli/type": "^0.0.5",
|
|
41
|
+
"@doracli/webpack": "^0.0.5"
|
|
41
42
|
},
|
|
42
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "ac4c6829b2cec621ecf66b6324843773e8b5141f",
|
|
43
44
|
"devDependencies": {
|
|
44
|
-
"webpack": "^5.
|
|
45
|
+
"webpack": "^5.104.1",
|
|
45
46
|
"webpack-dev-server": "^5.2.2"
|
|
46
47
|
}
|
|
47
48
|
}
|