@elliemae/pui-cli 7.27.0-beta.2 → 7.27.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 -0
- package/dist/cjs/cli.js +12 -14
- package/dist/cjs/commands/build.js +8 -9
- package/dist/cjs/commands/codemod.js +9 -7
- package/dist/cjs/commands/gendoc.js +2 -2
- package/dist/cjs/commands/lint.js +23 -21
- package/dist/cjs/commands/pack.js +20 -25
- package/dist/cjs/commands/start.js +10 -11
- package/dist/cjs/commands/storybook.js +18 -19
- package/dist/cjs/commands/test.js +31 -37
- package/dist/cjs/commands/tscheck.js +8 -9
- package/dist/cjs/commands/utils.js +6 -11
- package/dist/cjs/commands/version.js +19 -21
- package/dist/cjs/commands/vitest.js +28 -32
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/monorepo/delete-merged-tags.js +1 -1
- package/dist/cjs/monorepo/set-registry-version.js +2 -2
- package/dist/cjs/monorepo/set-workspace-version.js +2 -2
- package/dist/cjs/server/app-routes.cjs +42 -0
- package/dist/cjs/server/csp.js +4 -3
- package/dist/cjs/server/index.js +11 -13
- package/dist/cjs/server/middlewares.js +4 -7
- package/dist/cjs/server/utils.js +1 -1
- package/dist/cjs/webpack/helpers.js +3 -3
- package/dist/cjs/webpack/webpack.base.babel.js +10 -3
- package/dist/cjs/webpack/webpack.dev.babel.js +10 -13
- package/dist/cjs/webpack/webpack.lib.base.babel.js +5 -4
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +0 -1
- package/dist/cjs/webpack/webpack.prod.babel.js +15 -7
- package/dist/cjs/webpack/webpack.storybook.js +20 -27
- package/dist/esm/cli.js +12 -14
- package/dist/esm/commands/build.js +8 -9
- package/dist/esm/commands/codemod.js +9 -7
- package/dist/esm/commands/gendoc.js +2 -2
- package/dist/esm/commands/lint.js +23 -27
- package/dist/esm/commands/pack.js +20 -32
- package/dist/esm/commands/start.js +10 -11
- package/dist/esm/commands/storybook.js +18 -19
- package/dist/esm/commands/test.js +31 -37
- package/dist/esm/commands/tscheck.js +8 -9
- package/dist/esm/commands/utils.js +5 -10
- package/dist/esm/commands/version.js +19 -21
- package/dist/esm/commands/vitest.js +28 -32
- package/dist/esm/index.cjs +2 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/monorepo/delete-merged-tags.js +1 -1
- package/dist/esm/monorepo/set-registry-version.js +2 -2
- package/dist/esm/monorepo/set-workspace-version.js +2 -2
- package/dist/esm/server/app-routes.cjs +42 -0
- package/dist/esm/server/csp.js +4 -3
- package/dist/esm/server/index.js +11 -13
- package/dist/esm/server/middlewares.js +4 -7
- package/dist/esm/server/utils.js +1 -1
- package/dist/esm/webpack/helpers.js +3 -3
- package/dist/esm/webpack/webpack.base.babel.js +10 -3
- package/dist/esm/webpack/webpack.dev.babel.js +10 -13
- package/dist/esm/webpack/webpack.lib.base.babel.js +5 -4
- package/dist/esm/webpack/webpack.lib.dev.babel.js +0 -1
- package/dist/esm/webpack/webpack.prod.babel.js +15 -7
- package/dist/esm/webpack/webpack.storybook.js +20 -27
- package/dist/types/commands/build.d.ts +13 -13
- package/dist/types/commands/codemod.d.ts +6 -13
- package/dist/types/commands/gendoc.d.ts +6 -7
- package/dist/types/commands/lint.d.ts +29 -29
- package/dist/types/commands/pack.d.ts +26 -29
- package/dist/types/commands/start.d.ts +13 -17
- package/dist/types/commands/storybook.d.ts +27 -28
- package/dist/types/commands/test.d.ts +39 -47
- package/dist/types/commands/tscheck.d.ts +14 -16
- package/dist/types/commands/utils.d.ts +11 -11
- package/dist/types/commands/version.d.ts +28 -31
- package/dist/types/commands/vitest.d.ts +35 -41
- package/dist/types/index.d.cts +2 -1
- package/dist/types/index.d.ts +11 -11
- package/dist/types/monorepo/delete-merged-tags.d.ts +1 -1
- package/dist/types/monorepo/set-registry-version.d.ts +1 -1
- package/dist/types/monorepo/set-workspace-version.d.ts +1 -1
- package/dist/types/server/app-routes.d.cts +1 -0
- package/dist/types/server/csp.d.ts +9 -12
- package/dist/types/server/logger.d.ts +4 -7
- package/dist/types/server/middlewares.d.ts +2 -6
- package/dist/types/server/utils.d.ts +3 -3
- package/dist/types/testing/jest.config.d.cts +10 -10
- package/dist/types/testing/jest.node.config.d.cts +10 -10
- package/dist/types/webpack/helpers.d.ts +18 -19
- package/dist/types/webpack/webpack.base.babel.d.ts +106 -3
- package/dist/types/webpack/webpack.dev.babel.d.ts +1 -2
- package/dist/types/webpack/webpack.lib.base.babel.d.ts +102 -3
- package/dist/types/webpack/webpack.lib.dev.babel.d.ts +101 -3
- package/dist/types/webpack/webpack.lib.prod.babel.d.ts +101 -2
- package/dist/types/webpack/webpack.prod.babel.d.ts +2 -3
- package/dist/types/webpack/webpack.storybook.d.ts +4 -5
- package/package.json +52 -66
- package/dist/cjs/monorepo/utils.js +0 -54
- package/dist/cjs/server/appRoutes.js +0 -74
- package/dist/cjs/utils.js +0 -50
- package/dist/esm/monorepo/utils.js +0 -24
- package/dist/esm/server/appRoutes.js +0 -44
- package/dist/esm/utils.js +0 -20
- package/dist/types/monorepo/utils.d.ts +0 -1
- package/dist/types/server/appRoutes.d.ts +0 -2
- package/dist/types/utils.d.ts +0 -4
|
@@ -1,47 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
alias
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
silent: {
|
|
41
|
-
boolean: boolean;
|
|
42
|
-
alias: string;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
}>>;
|
|
46
|
-
};
|
|
47
|
-
export {};
|
|
1
|
+
export namespace testCmd {
|
|
2
|
+
function handler(argv: any): Promise<0 | -1>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace fix {
|
|
7
|
+
const alias: string;
|
|
8
|
+
const type: string;
|
|
9
|
+
}
|
|
10
|
+
namespace watch {
|
|
11
|
+
const alias_1: string;
|
|
12
|
+
export { alias_1 as alias };
|
|
13
|
+
const type_1: string;
|
|
14
|
+
export { type_1 as type };
|
|
15
|
+
}
|
|
16
|
+
namespace debug {
|
|
17
|
+
const type_2: string;
|
|
18
|
+
export { type_2 as type };
|
|
19
|
+
}
|
|
20
|
+
namespace passWithNoTests {
|
|
21
|
+
const alias_2: string;
|
|
22
|
+
export { alias_2 as alias };
|
|
23
|
+
const type_3: string;
|
|
24
|
+
export { type_3 as type };
|
|
25
|
+
}
|
|
26
|
+
namespace findReleatedTests {
|
|
27
|
+
const alias_3: string;
|
|
28
|
+
export { alias_3 as alias };
|
|
29
|
+
const type_4: string;
|
|
30
|
+
export { type_4 as type };
|
|
31
|
+
}
|
|
32
|
+
namespace silent {
|
|
33
|
+
const alias_4: string;
|
|
34
|
+
export { alias_4 as alias };
|
|
35
|
+
const type_5: string;
|
|
36
|
+
export { type_5 as type };
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
export {};
|
|
1
|
+
export namespace tscheckCmd {
|
|
2
|
+
function handler({ files }: {
|
|
3
|
+
files: any;
|
|
4
|
+
}): Promise<void>;
|
|
5
|
+
const command: string;
|
|
6
|
+
const describe: string;
|
|
7
|
+
namespace builder {
|
|
8
|
+
namespace files {
|
|
9
|
+
export const type: string;
|
|
10
|
+
const _default: never[];
|
|
11
|
+
export { _default as default };
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export function exec(command: any, options?: {
|
|
2
|
+
stdio: string;
|
|
3
|
+
}): Promise<import("execa").ExecaReturnValue<string> & import("execa").ExecaReturnValue<Buffer>>;
|
|
4
|
+
export const logInfo: {
|
|
4
5
|
(...data: any[]): void;
|
|
5
6
|
(message?: any, ...optionalParams: any[]): void;
|
|
6
7
|
};
|
|
7
|
-
export
|
|
8
|
-
export
|
|
8
|
+
export function logSuccess(...args: any[]): void;
|
|
9
|
+
export const logError: {
|
|
9
10
|
(...data: any[]): void;
|
|
10
11
|
(message?: any, ...optionalParams: any[]): void;
|
|
11
12
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export declare const isTypeScriptEnabled: () => boolean;
|
|
13
|
+
export function writeAppInfo(): Promise<void>;
|
|
14
|
+
export function copyBuildAssetsToVersionedFolder(): Promise<void>;
|
|
15
|
+
export function isPathExist(pathToCheck: any): Promise<boolean>;
|
|
16
|
+
export function isApp(): Promise<boolean>;
|
|
17
|
+
export function getCIEnv(): boolean;
|
|
@@ -1,31 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
default
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}>>;
|
|
30
|
-
};
|
|
31
|
-
export {};
|
|
1
|
+
export namespace versionCmd {
|
|
2
|
+
function handler(argv: any): Promise<void>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace deleteTags {
|
|
7
|
+
export const type: string;
|
|
8
|
+
const _default: boolean;
|
|
9
|
+
export { _default as default };
|
|
10
|
+
}
|
|
11
|
+
namespace useRegistry {
|
|
12
|
+
const type_1: string;
|
|
13
|
+
export { type_1 as type };
|
|
14
|
+
const _default_1: boolean;
|
|
15
|
+
export { _default_1 as default };
|
|
16
|
+
}
|
|
17
|
+
namespace useWorkspace {
|
|
18
|
+
const type_2: string;
|
|
19
|
+
export { type_2 as type };
|
|
20
|
+
const _default_2: boolean;
|
|
21
|
+
export { _default_2 as default };
|
|
22
|
+
}
|
|
23
|
+
namespace lernaOptions {
|
|
24
|
+
const type_3: string;
|
|
25
|
+
export { type_3 as type };
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -1,41 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
alias: string;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
}>>;
|
|
40
|
-
};
|
|
41
|
-
export {};
|
|
1
|
+
export namespace vitestCmd {
|
|
2
|
+
function handler(argv: any): Promise<0 | -1>;
|
|
3
|
+
const command: string;
|
|
4
|
+
const describe: string;
|
|
5
|
+
namespace builder {
|
|
6
|
+
namespace fix {
|
|
7
|
+
const alias: string;
|
|
8
|
+
const type: string;
|
|
9
|
+
}
|
|
10
|
+
namespace watch {
|
|
11
|
+
const alias_1: string;
|
|
12
|
+
export { alias_1 as alias };
|
|
13
|
+
const type_1: string;
|
|
14
|
+
export { type_1 as type };
|
|
15
|
+
}
|
|
16
|
+
namespace passWithNoTests {
|
|
17
|
+
const alias_2: string;
|
|
18
|
+
export { alias_2 as alias };
|
|
19
|
+
const type_2: string;
|
|
20
|
+
export { type_2 as type };
|
|
21
|
+
}
|
|
22
|
+
namespace related {
|
|
23
|
+
const alias_3: string;
|
|
24
|
+
export { alias_3 as alias };
|
|
25
|
+
const type_3: string;
|
|
26
|
+
export { type_3 as type };
|
|
27
|
+
}
|
|
28
|
+
namespace silent {
|
|
29
|
+
const alias_4: string;
|
|
30
|
+
export { alias_4 as alias };
|
|
31
|
+
const type_4: string;
|
|
32
|
+
export { type_4 as type };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
package/dist/types/index.d.cts
CHANGED
|
@@ -6,4 +6,5 @@ import { prettierConfig } from "./lint-config/prettier.config.cjs";
|
|
|
6
6
|
import { commitlintConfig } from "./lint-config/commitlint.config.cjs";
|
|
7
7
|
import { jestConfig } from "./testing/jest.config.cjs";
|
|
8
8
|
import { jestNodeConfig } from "./testing/jest.node.config.cjs";
|
|
9
|
-
|
|
9
|
+
import { loadRoutes } from "./server/app-routes.cjs";
|
|
10
|
+
export { babelConfig, eslintBaseConfig, eslintConfig, stylelintConfig, prettierConfig, commitlintConfig, jestConfig, jestNodeConfig, loadRoutes };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { babelConfig } from
|
|
2
|
-
export { esConfig as eslintBaseConfig } from
|
|
3
|
-
export { esReactConfig as eslintConfig } from
|
|
4
|
-
export { stylelintConfig } from
|
|
5
|
-
export { prettierConfig } from
|
|
6
|
-
export { commitlintConfig } from
|
|
7
|
-
export { jestConfig } from
|
|
8
|
-
export { vitestConfig } from
|
|
9
|
-
export { jestNodeConfig } from
|
|
10
|
-
export { lintStagedConfig } from
|
|
11
|
-
export { loadRoutes } from
|
|
1
|
+
export { babelConfig } from "./babel.config.cjs";
|
|
2
|
+
export { esConfig as eslintBaseConfig } from "./lint-config/eslint/non-react.cjs";
|
|
3
|
+
export { esReactConfig as eslintConfig } from "./lint-config/eslint/react.cjs";
|
|
4
|
+
export { stylelintConfig } from "./lint-config/stylelint.config.cjs";
|
|
5
|
+
export { prettierConfig } from "./lint-config/prettier.config.cjs";
|
|
6
|
+
export { commitlintConfig } from "./lint-config/commitlint.config.cjs";
|
|
7
|
+
export { jestConfig } from "./testing/jest.config.cjs";
|
|
8
|
+
export { vitestConfig } from "./testing/vitest.config.js";
|
|
9
|
+
export { jestNodeConfig } from "./testing/jest.node.config.cjs";
|
|
10
|
+
export { lintStagedConfig } from "./lint-config/lint-staged.config.js";
|
|
11
|
+
export { loadRoutes } from "./server/app-routes.cjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function deleteMergedTags(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function setRegistryVersion(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export function setWorkspaceVersion(): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function loadRoutes(app: any): void;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const sendFileWithCSPNonce: ({ buildPath, page, nonceRegex, res, fileSystem, }: CSPConfig) => void;
|
|
12
|
-
export declare const csp: (app: Application) => void;
|
|
13
|
-
export {};
|
|
2
|
+
export function sendFileWithCSPNonce({ buildPath, page, nonceRegex, res, fileSystem, }: {
|
|
3
|
+
buildPath: any;
|
|
4
|
+
page?: string | undefined;
|
|
5
|
+
nonceRegex?: RegExp | undefined;
|
|
6
|
+
res: any;
|
|
7
|
+
fileSystem?: typeof fs | undefined;
|
|
8
|
+
}): void;
|
|
9
|
+
export function csp(app: any): void;
|
|
10
|
+
import fs from "node:fs";
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
error: (err: Error) => void;
|
|
6
|
-
appStarted: (port: string, host: string, tunnelStarted?: string) => void;
|
|
7
|
-
};
|
|
1
|
+
export namespace logger {
|
|
2
|
+
function error(err: any): void;
|
|
3
|
+
function appStarted(port: any, host: any, tunnelStarted: any): void;
|
|
4
|
+
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export declare const setupAdditionalMiddlewars: (app: Express, options?: {
|
|
4
|
-
buildPath?: string;
|
|
5
|
-
basePath?: string;
|
|
6
|
-
}) => express.Express;
|
|
1
|
+
export function setupDefaultMiddlewares(app: any): void;
|
|
2
|
+
export function setupAdditionalMiddlewars(app: any, options?: {}): any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export function getCWD(): string;
|
|
2
|
+
export const port: number;
|
|
3
|
+
export const host: any;
|
|
@@ -5,16 +5,16 @@ export namespace jestConfig {
|
|
|
5
5
|
const coverageReporters: string[];
|
|
6
6
|
const moduleDirectories: string[];
|
|
7
7
|
const moduleNameMapper: {
|
|
8
|
-
'.*\\webpack-hmr(.[t|j]s)?$':
|
|
9
|
-
'.*\\.(css|scss)$':
|
|
10
|
-
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$':
|
|
11
|
-
'.*\\.svg(?:\\?[a-zA-Z]+)?$':
|
|
12
|
-
'.*\\.html(?:\\?[a-zA-Z]+)?$':
|
|
13
|
-
'@elliemae/pui-user-monitoring':
|
|
14
|
-
'@elliemae/pui-app-loader':
|
|
15
|
-
'@elliemae/pui-diagnostics':
|
|
16
|
-
'react-spring/web':
|
|
17
|
-
'react-spring/renderprops':
|
|
8
|
+
'.*\\webpack-hmr(.[t|j]s)?$': any;
|
|
9
|
+
'.*\\.(css|scss)$': any;
|
|
10
|
+
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': any;
|
|
11
|
+
'.*\\.svg(?:\\?[a-zA-Z]+)?$': any;
|
|
12
|
+
'.*\\.html(?:\\?[a-zA-Z]+)?$': any;
|
|
13
|
+
'@elliemae/pui-user-monitoring': any;
|
|
14
|
+
'@elliemae/pui-app-loader': any;
|
|
15
|
+
'@elliemae/pui-diagnostics': any;
|
|
16
|
+
'react-spring/web': any;
|
|
17
|
+
'react-spring/renderprops': any;
|
|
18
18
|
};
|
|
19
19
|
const moduleFileExtensions: string[];
|
|
20
20
|
const setupFilesAfterEnv: string[];
|
|
@@ -9,16 +9,16 @@ export const jestNodeConfig: {
|
|
|
9
9
|
coverageReporters: string[];
|
|
10
10
|
moduleDirectories: string[];
|
|
11
11
|
moduleNameMapper: {
|
|
12
|
-
'.*\\webpack-hmr(.[t|j]s)?$':
|
|
13
|
-
'.*\\.(css|scss)$':
|
|
14
|
-
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$':
|
|
15
|
-
'.*\\.svg(?:\\?[a-zA-Z]+)?$':
|
|
16
|
-
'.*\\.html(?:\\?[a-zA-Z]+)?$':
|
|
17
|
-
'@elliemae/pui-user-monitoring':
|
|
18
|
-
'@elliemae/pui-app-loader':
|
|
19
|
-
'@elliemae/pui-diagnostics':
|
|
20
|
-
'react-spring/web':
|
|
21
|
-
'react-spring/renderprops':
|
|
12
|
+
'.*\\webpack-hmr(.[t|j]s)?$': any;
|
|
13
|
+
'.*\\.(css|scss)$': any;
|
|
14
|
+
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': any;
|
|
15
|
+
'.*\\.svg(?:\\?[a-zA-Z]+)?$': any;
|
|
16
|
+
'.*\\.html(?:\\?[a-zA-Z]+)?$': any;
|
|
17
|
+
'@elliemae/pui-user-monitoring': any;
|
|
18
|
+
'@elliemae/pui-app-loader': any;
|
|
19
|
+
'@elliemae/pui-diagnostics': any;
|
|
20
|
+
'react-spring/web': any;
|
|
21
|
+
'react-spring/renderprops': any;
|
|
22
22
|
};
|
|
23
23
|
moduleFileExtensions: string[];
|
|
24
24
|
testRegex: string;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export declare const modulesToTranspile: string[];
|
|
12
|
-
export declare const getAppVersion: () => string;
|
|
13
|
-
export declare const getPaths: (latestVersion?: boolean) => {
|
|
2
|
+
export const LATEST_VERSION: "latest";
|
|
3
|
+
export function excludeNodeModulesExcept(modules: any): (modulePath: any) => boolean;
|
|
4
|
+
export function getLibraryName(): string;
|
|
5
|
+
export function getLibraryVariableName(): string;
|
|
6
|
+
export function mapToFolder(dependencies: any, folder: any): any;
|
|
7
|
+
export function getAlias(): any;
|
|
8
|
+
export const modulesToTranspile: string[];
|
|
9
|
+
export function getAppVersion(): string;
|
|
10
|
+
export function getPaths(latestVersion?: boolean): {
|
|
14
11
|
appVersion: string;
|
|
15
12
|
buildPath: string;
|
|
16
13
|
basePath: string;
|
|
@@ -21,10 +18,12 @@ export declare const getPaths: (latestVersion?: boolean) => {
|
|
|
21
18
|
globalScriptPath: string;
|
|
22
19
|
encwLoaderScriptPath: string;
|
|
23
20
|
};
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
21
|
+
export function isAppLoaderEnabled(): boolean;
|
|
22
|
+
export function getMediaPath(): string;
|
|
23
|
+
export function isGoogleTagManagerEnabled(): boolean;
|
|
24
|
+
export function getCompressionPlugins(isLibrary?: boolean): CompressionPlugin<zlib.ZlibOptions>[];
|
|
25
|
+
export function filterByFilePresence(patterns: any): any;
|
|
26
|
+
export const resolveExtensions: string[];
|
|
27
|
+
export const mainFields: string[];
|
|
28
|
+
import zlib from "zlib";
|
|
29
|
+
import CompressionPlugin from "compression-webpack-plugin";
|
|
@@ -1,3 +1,106 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export function baseConfig(options: any): {
|
|
2
|
+
mode: any;
|
|
3
|
+
entry: any;
|
|
4
|
+
output: any;
|
|
5
|
+
optimization: any;
|
|
6
|
+
module: {
|
|
7
|
+
rules: ({
|
|
8
|
+
test: RegExp;
|
|
9
|
+
exclude: (modulePath: any) => boolean;
|
|
10
|
+
resolve: {
|
|
11
|
+
fullySpecified: boolean;
|
|
12
|
+
};
|
|
13
|
+
use: {
|
|
14
|
+
loader: string;
|
|
15
|
+
options: {
|
|
16
|
+
loader: string;
|
|
17
|
+
target: string[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type?: undefined;
|
|
21
|
+
issuer?: undefined;
|
|
22
|
+
resourceQuery?: undefined;
|
|
23
|
+
generator?: undefined;
|
|
24
|
+
} | {
|
|
25
|
+
test: RegExp;
|
|
26
|
+
exclude: (modulePath: any) => boolean;
|
|
27
|
+
use: ({
|
|
28
|
+
loader: string;
|
|
29
|
+
} | {
|
|
30
|
+
loader: string;
|
|
31
|
+
options: {
|
|
32
|
+
importLoaders: number;
|
|
33
|
+
sourceMap: boolean;
|
|
34
|
+
postcssOptions?: undefined;
|
|
35
|
+
};
|
|
36
|
+
} | {
|
|
37
|
+
loader: string;
|
|
38
|
+
options: {
|
|
39
|
+
postcssOptions: {
|
|
40
|
+
plugins: (import(".pnpm/postcss@8.4.21/node_modules/postcss").Plugin | import(".pnpm/postcss@8.4.21/node_modules/postcss").Processor)[];
|
|
41
|
+
};
|
|
42
|
+
sourceMap: boolean;
|
|
43
|
+
importLoaders?: undefined;
|
|
44
|
+
};
|
|
45
|
+
})[];
|
|
46
|
+
resolve?: undefined;
|
|
47
|
+
type?: undefined;
|
|
48
|
+
issuer?: undefined;
|
|
49
|
+
resourceQuery?: undefined;
|
|
50
|
+
generator?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
test: RegExp;
|
|
53
|
+
type: string;
|
|
54
|
+
exclude: (modulePath: any) => boolean;
|
|
55
|
+
resolve?: undefined;
|
|
56
|
+
use?: undefined;
|
|
57
|
+
issuer?: undefined;
|
|
58
|
+
resourceQuery?: undefined;
|
|
59
|
+
generator?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
test: RegExp;
|
|
62
|
+
issuer: RegExp;
|
|
63
|
+
resourceQuery: RegExp;
|
|
64
|
+
exclude: (modulePath: any) => boolean;
|
|
65
|
+
use: string[];
|
|
66
|
+
resolve?: undefined;
|
|
67
|
+
type?: undefined;
|
|
68
|
+
generator?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
test: RegExp;
|
|
71
|
+
resourceQuery: RegExp;
|
|
72
|
+
type: string;
|
|
73
|
+
generator: {
|
|
74
|
+
filename: string;
|
|
75
|
+
};
|
|
76
|
+
exclude: (modulePath: any) => boolean;
|
|
77
|
+
resolve?: undefined;
|
|
78
|
+
use?: undefined;
|
|
79
|
+
issuer?: undefined;
|
|
80
|
+
} | {
|
|
81
|
+
resourceQuery: RegExp;
|
|
82
|
+
type: string;
|
|
83
|
+
exclude: (modulePath: any) => boolean;
|
|
84
|
+
test?: undefined;
|
|
85
|
+
resolve?: undefined;
|
|
86
|
+
use?: undefined;
|
|
87
|
+
issuer?: undefined;
|
|
88
|
+
generator?: undefined;
|
|
89
|
+
})[];
|
|
90
|
+
};
|
|
91
|
+
plugins: any[];
|
|
92
|
+
resolve: {
|
|
93
|
+
modules: string[];
|
|
94
|
+
extensions: string[];
|
|
95
|
+
mainFields: string[];
|
|
96
|
+
alias: any;
|
|
97
|
+
};
|
|
98
|
+
externals: {
|
|
99
|
+
'@elliemae/pui-user-monitoring': string;
|
|
100
|
+
'@elliemae/pui-app-loader': string;
|
|
101
|
+
'@elliemae/pui-diagnostics': string;
|
|
102
|
+
};
|
|
103
|
+
devtool: any;
|
|
104
|
+
performance: any;
|
|
105
|
+
devServer: any;
|
|
106
|
+
};
|