@elliemae/pui-cli 7.26.0 → 7.27.0-beta.2
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 +0 -1
- package/dist/cjs/cli.js +14 -12
- package/dist/cjs/commands/build.js +9 -8
- package/dist/cjs/commands/codemod.js +7 -9
- package/dist/cjs/commands/gendoc.js +2 -2
- package/dist/cjs/commands/lint.js +21 -23
- package/dist/cjs/commands/pack.js +25 -20
- package/dist/cjs/commands/start.js +11 -10
- package/dist/cjs/commands/storybook.js +19 -18
- package/dist/cjs/commands/test.js +37 -31
- package/dist/cjs/commands/tscheck.js +9 -8
- package/dist/cjs/commands/utils.js +12 -7
- package/dist/cjs/commands/version.js +21 -19
- package/dist/cjs/commands/vitest.js +32 -28
- package/dist/cjs/index.cjs +0 -2
- 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/monorepo/utils.js +54 -0
- package/dist/cjs/server/appRoutes.js +74 -0
- package/dist/cjs/server/csp.js +3 -4
- package/dist/cjs/server/index.js +13 -11
- package/dist/cjs/server/middlewares.js +7 -4
- package/dist/cjs/server/utils.js +1 -1
- package/dist/cjs/utils.js +50 -0
- package/dist/cjs/webpack/helpers.js +3 -3
- package/dist/cjs/webpack/webpack.base.babel.js +3 -10
- package/dist/cjs/webpack/webpack.dev.babel.js +11 -8
- package/dist/cjs/webpack/webpack.lib.base.babel.js +4 -5
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +1 -0
- package/dist/cjs/webpack/webpack.prod.babel.js +7 -15
- package/dist/cjs/webpack/webpack.storybook.js +27 -20
- package/dist/esm/cli.js +14 -12
- package/dist/esm/commands/build.js +9 -8
- package/dist/esm/commands/codemod.js +7 -9
- package/dist/esm/commands/gendoc.js +2 -2
- package/dist/esm/commands/lint.js +27 -23
- package/dist/esm/commands/pack.js +32 -20
- package/dist/esm/commands/start.js +11 -10
- package/dist/esm/commands/storybook.js +19 -18
- package/dist/esm/commands/test.js +37 -31
- package/dist/esm/commands/tscheck.js +9 -8
- package/dist/esm/commands/utils.js +11 -6
- package/dist/esm/commands/version.js +21 -19
- package/dist/esm/commands/vitest.js +32 -28
- package/dist/esm/index.cjs +0 -2
- 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/monorepo/utils.js +24 -0
- package/dist/esm/server/appRoutes.js +44 -0
- package/dist/esm/server/csp.js +3 -4
- package/dist/esm/server/index.js +13 -11
- package/dist/esm/server/middlewares.js +7 -4
- package/dist/esm/server/utils.js +1 -1
- package/dist/esm/utils.js +20 -0
- package/dist/esm/webpack/helpers.js +3 -3
- package/dist/esm/webpack/webpack.base.babel.js +3 -10
- package/dist/esm/webpack/webpack.dev.babel.js +11 -8
- package/dist/esm/webpack/webpack.lib.base.babel.js +4 -5
- package/dist/esm/webpack/webpack.lib.dev.babel.js +1 -0
- package/dist/esm/webpack/webpack.prod.babel.js +7 -15
- package/dist/esm/webpack/webpack.storybook.js +27 -20
- package/dist/types/commands/build.d.ts +13 -13
- package/dist/types/commands/codemod.d.ts +13 -6
- package/dist/types/commands/gendoc.d.ts +7 -6
- package/dist/types/commands/lint.d.ts +29 -29
- package/dist/types/commands/pack.d.ts +29 -26
- package/dist/types/commands/start.d.ts +17 -13
- package/dist/types/commands/storybook.d.ts +28 -27
- package/dist/types/commands/test.d.ts +47 -39
- package/dist/types/commands/tscheck.d.ts +16 -14
- package/dist/types/commands/utils.d.ts +11 -11
- package/dist/types/commands/version.d.ts +31 -28
- package/dist/types/commands/vitest.d.ts +41 -35
- package/dist/types/index.d.cts +1 -2
- 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/monorepo/utils.d.ts +1 -0
- package/dist/types/server/appRoutes.d.ts +2 -0
- package/dist/types/server/csp.d.ts +12 -9
- package/dist/types/server/logger.d.ts +7 -4
- package/dist/types/server/middlewares.d.ts +6 -2
- 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/utils.d.ts +4 -0
- package/dist/types/webpack/helpers.d.ts +19 -18
- package/dist/types/webpack/webpack.base.babel.d.ts +3 -106
- package/dist/types/webpack/webpack.dev.babel.d.ts +2 -1
- package/dist/types/webpack/webpack.lib.base.babel.d.ts +3 -102
- package/dist/types/webpack/webpack.lib.dev.babel.d.ts +3 -101
- package/dist/types/webpack/webpack.lib.prod.babel.d.ts +2 -101
- package/dist/types/webpack/webpack.prod.babel.d.ts +3 -2
- package/dist/types/webpack/webpack.storybook.d.ts +5 -4
- package/package.json +38 -24
- package/dist/cjs/server/app-routes.cjs +0 -42
- package/dist/esm/server/app-routes.cjs +0 -42
- package/dist/types/server/app-routes.d.cts +0 -1
|
@@ -1,26 +1,29 @@
|
|
|
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
|
-
}
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
production: boolean;
|
|
4
|
+
target: string;
|
|
5
|
+
srcPath: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const packCmd: {
|
|
8
|
+
handler: (argv: Arguments) => Promise<void>;
|
|
9
|
+
command: string;
|
|
10
|
+
desc: string;
|
|
11
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "target" | "production" | "srcPath"> & yargs.InferredOptionTypes<{
|
|
12
|
+
production: {
|
|
13
|
+
boolean: boolean;
|
|
14
|
+
alias: string;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
target: {
|
|
18
|
+
string: boolean;
|
|
19
|
+
alias: string;
|
|
20
|
+
default: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
srcPath: {
|
|
24
|
+
string: boolean;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
}>>;
|
|
28
|
+
};
|
|
29
|
+
export {};
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
prod: boolean;
|
|
4
|
+
};
|
|
5
|
+
export declare const startCmd: {
|
|
6
|
+
handler: (argv: Arguments) => Promise<void>;
|
|
7
|
+
command: string;
|
|
8
|
+
desc: string;
|
|
9
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "prod"> & yargs.InferredOptionTypes<{
|
|
10
|
+
prod: {
|
|
11
|
+
boolean: boolean;
|
|
12
|
+
alias: string;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
}>>;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -1,27 +1,28 @@
|
|
|
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
|
-
}
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
build: boolean;
|
|
4
|
+
docs: boolean;
|
|
5
|
+
output: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const storybookCmd: {
|
|
8
|
+
handler: (argv: Arguments) => Promise<void>;
|
|
9
|
+
command: string;
|
|
10
|
+
desc: string;
|
|
11
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "build" | "docs" | "output"> & yargs.InferredOptionTypes<{
|
|
12
|
+
build: {
|
|
13
|
+
boolean: boolean;
|
|
14
|
+
alias: string;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
docs: {
|
|
18
|
+
boolean: boolean;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
output: {
|
|
22
|
+
string: boolean;
|
|
23
|
+
alias: string;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>>;
|
|
27
|
+
};
|
|
28
|
+
export {};
|
|
@@ -1,39 +1,47 @@
|
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
fix: boolean;
|
|
4
|
+
watch: boolean;
|
|
5
|
+
debug: boolean;
|
|
6
|
+
passWithNoTests: boolean;
|
|
7
|
+
findReleatedTests: boolean;
|
|
8
|
+
silent: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare const testCmd: {
|
|
11
|
+
handler: (argv: Arguments) => Promise<void>;
|
|
12
|
+
command: string;
|
|
13
|
+
desc: string;
|
|
14
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "fix" | "watch" | "debug" | "passWithNoTests" | "findReleatedTests" | "silent"> & yargs.InferredOptionTypes<{
|
|
15
|
+
fix: {
|
|
16
|
+
boolean: boolean;
|
|
17
|
+
alias: string;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
watch: {
|
|
21
|
+
boolean: boolean;
|
|
22
|
+
alias: string;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
debug: {
|
|
26
|
+
boolean: boolean;
|
|
27
|
+
alias: string;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
passWithNoTests: {
|
|
31
|
+
boolean: boolean;
|
|
32
|
+
alias: string;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
findReleatedTests: {
|
|
36
|
+
boolean: boolean;
|
|
37
|
+
alias: string;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
silent: {
|
|
41
|
+
boolean: boolean;
|
|
42
|
+
alias: string;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}>>;
|
|
46
|
+
};
|
|
47
|
+
export {};
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
files: string[];
|
|
4
|
+
};
|
|
5
|
+
export declare const tscheckCmd: {
|
|
6
|
+
handler: ({ files }: Arguments) => Promise<void>;
|
|
7
|
+
command: string;
|
|
8
|
+
desc: string;
|
|
9
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "files"> & yargs.InferredOptionTypes<{
|
|
10
|
+
files: {
|
|
11
|
+
array: boolean;
|
|
12
|
+
default: never[];
|
|
13
|
+
};
|
|
14
|
+
}>>;
|
|
15
|
+
};
|
|
16
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export const logInfo: {
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare const exec: (command: string, options?: import("execa").Options<null> | undefined) => Promise<import("execa").ExecaReturnValue<Buffer>>;
|
|
3
|
+
export declare const logInfo: {
|
|
5
4
|
(...data: any[]): void;
|
|
6
5
|
(message?: any, ...optionalParams: any[]): void;
|
|
7
6
|
};
|
|
8
|
-
export
|
|
9
|
-
export const logError: {
|
|
7
|
+
export declare const logSuccess: (...args: string[]) => void;
|
|
8
|
+
export declare const logError: {
|
|
10
9
|
(...data: any[]): void;
|
|
11
10
|
(message?: any, ...optionalParams: any[]): void;
|
|
12
11
|
};
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
12
|
+
export declare const writeAppInfo: () => Promise<void>;
|
|
13
|
+
export declare const copyBuildAssetsToVersionedFolder: () => Promise<void>;
|
|
14
|
+
export declare const isPathExist: (pathToCheck: string) => Promise<boolean>;
|
|
15
|
+
export declare const isApp: () => Promise<boolean>;
|
|
16
|
+
export declare const getCIEnv: () => boolean;
|
|
17
|
+
export declare const isTypeScriptEnabled: () => boolean;
|
|
@@ -1,28 +1,31 @@
|
|
|
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
|
-
}
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
deleteTags: boolean;
|
|
4
|
+
useRegistry: boolean;
|
|
5
|
+
useWorkspace: boolean;
|
|
6
|
+
lernaOptions?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const versionCmd: {
|
|
9
|
+
handler: (argv: Arguments) => Promise<void>;
|
|
10
|
+
command: string;
|
|
11
|
+
desc: string;
|
|
12
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "deleteTags" | "useRegistry" | "useWorkspace" | "lernaOptions"> & yargs.InferredOptionTypes<{
|
|
13
|
+
deleteTags: {
|
|
14
|
+
boolean: boolean;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
useRegistry: {
|
|
18
|
+
boolean: boolean;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
useWorkspace: {
|
|
22
|
+
boolean: boolean;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
lernaOptions: {
|
|
26
|
+
string: boolean;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
}>>;
|
|
30
|
+
};
|
|
31
|
+
export {};
|
|
@@ -1,35 +1,41 @@
|
|
|
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
|
-
|
|
1
|
+
import yargs, { Argv } from 'yargs';
|
|
2
|
+
type Arguments = {
|
|
3
|
+
fix?: boolean;
|
|
4
|
+
watch?: boolean;
|
|
5
|
+
passWithNoTests?: boolean;
|
|
6
|
+
findReleatedTests?: boolean;
|
|
7
|
+
silent?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const vitestCmd: {
|
|
10
|
+
handler: (argv: Arguments) => Promise<void>;
|
|
11
|
+
command: string;
|
|
12
|
+
desc: string;
|
|
13
|
+
builder: (yargsRef: Argv) => yargs.Argv<yargs.Omit<{}, "fix" | "watch" | "passWithNoTests" | "findReleatedTests" | "silent"> & yargs.InferredOptionTypes<{
|
|
14
|
+
fix: {
|
|
15
|
+
boolean: boolean;
|
|
16
|
+
alias: string;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
watch: {
|
|
20
|
+
boolean: boolean;
|
|
21
|
+
alias: string;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
passWithNoTests: {
|
|
25
|
+
boolean: boolean;
|
|
26
|
+
alias: string;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
findReleatedTests: {
|
|
30
|
+
boolean: boolean;
|
|
31
|
+
alias: string;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
silent: {
|
|
35
|
+
boolean: boolean;
|
|
36
|
+
alias: string;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
}>>;
|
|
40
|
+
};
|
|
41
|
+
export {};
|
package/dist/types/index.d.cts
CHANGED
|
@@ -6,5 +6,4 @@ 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
|
-
|
|
10
|
-
export { babelConfig, eslintBaseConfig, eslintConfig, stylelintConfig, prettierConfig, commitlintConfig, jestConfig, jestNodeConfig, loadRoutes };
|
|
9
|
+
export { babelConfig, eslintBaseConfig, eslintConfig, stylelintConfig, prettierConfig, commitlintConfig, jestConfig, jestNodeConfig };
|
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/appRoutes.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const deleteMergedTags: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const setRegistryVersion: () => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const setWorkspaceVersion: () => Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const findMonoRepoRoot: (cwd?: string) => string | null;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import fs from 'node:fs';
|
|
3
|
+
import { Application, Response } from 'express';
|
|
4
|
+
type CSPConfig = {
|
|
5
|
+
buildPath: string;
|
|
6
|
+
page?: string;
|
|
7
|
+
nonceRegex?: RegExp;
|
|
8
|
+
res: Response<unknown, Record<string, unknown>>;
|
|
9
|
+
fileSystem?: typeof fs;
|
|
10
|
+
};
|
|
11
|
+
export declare const sendFileWithCSPNonce: ({ buildPath, page, nonceRegex, res, fileSystem, }: CSPConfig) => void;
|
|
12
|
+
export declare const csp: (app: Application) => void;
|
|
13
|
+
export {};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Logger middleware, you can customize it to make messages more personal
|
|
3
|
+
*/
|
|
4
|
+
export declare const logger: {
|
|
5
|
+
error: (err: Error) => void;
|
|
6
|
+
appStarted: (port: string, host: string, tunnelStarted?: string) => void;
|
|
7
|
+
};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
import express, { Application, Express } from 'express';
|
|
2
|
+
export declare const setupDefaultMiddlewares: (app: Application) => void;
|
|
3
|
+
export declare const setupAdditionalMiddlewars: (app: Express, options?: {
|
|
4
|
+
buildPath?: string;
|
|
5
|
+
basePath?: string;
|
|
6
|
+
}) => express.Express;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export const port: number;
|
|
3
|
-
export const host:
|
|
1
|
+
export declare const getCWD: () => string;
|
|
2
|
+
export declare const port: number;
|
|
3
|
+
export declare const host: string;
|
|
@@ -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)?$': string;
|
|
9
|
+
'.*\\.(css|scss)$': string;
|
|
10
|
+
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
|
|
11
|
+
'.*\\.svg(?:\\?[a-zA-Z]+)?$': string;
|
|
12
|
+
'.*\\.html(?:\\?[a-zA-Z]+)?$': string;
|
|
13
|
+
'@elliemae/pui-user-monitoring': string;
|
|
14
|
+
'@elliemae/pui-app-loader': string;
|
|
15
|
+
'@elliemae/pui-diagnostics': string;
|
|
16
|
+
'react-spring/web': string;
|
|
17
|
+
'react-spring/renderprops': string;
|
|
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)?$': string;
|
|
13
|
+
'.*\\.(css|scss)$': string;
|
|
14
|
+
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
|
|
15
|
+
'.*\\.svg(?:\\?[a-zA-Z]+)?$': string;
|
|
16
|
+
'.*\\.html(?:\\?[a-zA-Z]+)?$': string;
|
|
17
|
+
'@elliemae/pui-user-monitoring': string;
|
|
18
|
+
'@elliemae/pui-app-loader': string;
|
|
19
|
+
'@elliemae/pui-diagnostics': string;
|
|
20
|
+
'react-spring/web': string;
|
|
21
|
+
'react-spring/renderprops': string;
|
|
22
22
|
};
|
|
23
23
|
moduleFileExtensions: string[];
|
|
24
24
|
testRegex: string;
|