@elliemae/pui-cli 7.27.1 → 8.0.0-next.10
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/esm/typescript/app.tsconfig.json → app.tsconfig.json} +2 -2
- package/dist/cjs/cli.js +14 -12
- package/dist/cjs/commands/build.js +8 -7
- package/dist/cjs/commands/codemod.js +6 -8
- package/dist/cjs/commands/gendoc.js +1 -1
- package/dist/cjs/commands/lint.js +20 -22
- package/dist/cjs/commands/pack.js +24 -19
- package/dist/cjs/commands/start.js +10 -9
- package/dist/cjs/commands/storybook.js +18 -17
- package/dist/cjs/commands/test.js +36 -30
- package/dist/cjs/commands/tscheck.js +8 -7
- package/dist/cjs/commands/utils.js +11 -6
- package/dist/cjs/commands/version.js +20 -18
- package/dist/cjs/commands/vitest.js +31 -27
- package/dist/cjs/index.cjs +0 -2
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/lint-config/eslint/common.cjs +88 -85
- package/dist/cjs/lint-config/stylelint.config.cjs +1 -1
- 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/release.config.cjs +0 -7
- package/dist/cjs/server/appRoutes.js +75 -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/testing/setup-test-env.js +5 -24
- package/dist/cjs/testing/vitest.config.js +1 -1
- package/dist/cjs/transpile/esbuild.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 -12
- package/dist/cjs/webpack/webpack.dev.babel.js +10 -7
- package/dist/cjs/webpack/webpack.lib.base.babel.js +4 -7
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +1 -0
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +1 -1
- package/dist/cjs/webpack/webpack.prod.babel.js +8 -16
- package/dist/cjs/webpack/webpack.storybook.js +27 -20
- package/dist/esm/cli.js +14 -12
- package/dist/esm/commands/build.js +8 -7
- package/dist/esm/commands/codemod.js +6 -8
- package/dist/esm/commands/gendoc.js +1 -1
- package/dist/esm/commands/lint.js +26 -22
- package/dist/esm/commands/pack.js +31 -19
- package/dist/esm/commands/start.js +10 -9
- package/dist/esm/commands/storybook.js +18 -17
- package/dist/esm/commands/test.js +36 -30
- package/dist/esm/commands/tscheck.js +8 -7
- package/dist/esm/commands/utils.js +10 -5
- package/dist/esm/commands/version.js +20 -18
- package/dist/esm/commands/vitest.js +31 -27
- package/dist/esm/index.cjs +0 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/lint-config/eslint/common.cjs +88 -85
- package/dist/esm/lint-config/stylelint.config.cjs +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/release.config.cjs +0 -7
- package/dist/{cjs/server/app-routes.cjs → esm/server/appRoutes.js} +26 -23
- 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/testing/setup-test-env.js +5 -2
- package/dist/esm/testing/vitest.config.js +1 -1
- package/dist/esm/transpile/esbuild.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 -12
- package/dist/esm/webpack/webpack.dev.babel.js +10 -7
- package/dist/esm/webpack/webpack.lib.base.babel.js +4 -7
- package/dist/esm/webpack/webpack.lib.dev.babel.js +1 -0
- package/dist/esm/webpack/webpack.lib.prod.babel.js +2 -2
- package/dist/esm/webpack/webpack.prod.babel.js +9 -17
- package/dist/esm/webpack/webpack.storybook.js +27 -20
- package/dist/types/commands/build.d.ts +6 -14
- package/dist/types/commands/codemod.d.ts +6 -6
- package/dist/types/commands/gendoc.d.ts +2 -6
- package/dist/types/commands/lint.d.ts +8 -29
- package/dist/types/commands/pack.d.ts +8 -26
- package/dist/types/commands/start.d.ts +6 -13
- package/dist/types/commands/storybook.d.ts +8 -27
- package/dist/types/commands/test.d.ts +11 -39
- package/dist/types/commands/tscheck.d.ts +5 -14
- package/dist/types/commands/utils.d.ts +11 -11
- package/dist/types/commands/version.d.ts +9 -28
- package/dist/types/commands/vitest.d.ts +10 -35
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.ts +11 -11
- package/dist/types/lint-config/eslint/common.d.cts +58 -55
- package/dist/types/lint-config/eslint/non-react.d.cts +34 -31
- package/dist/types/lint-config/eslint/react.d.cts +58 -55
- package/dist/types/lint-config/eslint/typescript/non-react.d.cts +28 -28
- package/dist/types/lint-config/eslint/typescript/react.d.cts +52 -52
- package/dist/types/lint-config/stylelint.config.d.cts +0 -1
- 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/release.config.d.cts +0 -2
- 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/testing/vitest.config.d.ts +1 -1
- 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/{dist/cjs/typescript/library.tsconfig.json → library.tsconfig.json} +3 -3
- package/package.json +74 -51
- package/dist/cjs/typescript/app.tsconfig.json +0 -23
- package/dist/esm/server/app-routes.cjs +0 -42
- package/dist/esm/typescript/library.tsconfig.json +0 -23
- package/dist/types/server/app-routes.d.cts +0 -1
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
export const esReactConfig: {
|
|
2
2
|
extends: string[];
|
|
3
3
|
rules: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
"jsx-a11y/aria-props": number;
|
|
5
|
+
"jsx-a11y/heading-has-content": number;
|
|
6
|
+
"jsx-a11y/label-has-associated-control": (number | {
|
|
7
7
|
controlComponents: string[];
|
|
8
8
|
})[];
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
"jsx-a11y/label-has-for": number;
|
|
10
|
+
"jsx-a11y/mouse-events-have-key-events": number;
|
|
11
|
+
"jsx-a11y/role-has-required-aria-props": number;
|
|
12
|
+
"jsx-a11y/role-supports-aria-props": number;
|
|
13
|
+
"react/destructuring-assignment": number;
|
|
14
|
+
"react-hooks/rules-of-hooks": string;
|
|
15
|
+
"react/jsx-closing-tag-location": number;
|
|
16
|
+
"react/forbid-prop-types": number;
|
|
17
|
+
"react/jsx-first-prop-new-line": (string | number)[];
|
|
18
|
+
"react/jsx-no-target-blank": number;
|
|
19
|
+
"react/jsx-props-no-spreading": number;
|
|
20
|
+
"react/jsx-uses-vars": number;
|
|
21
|
+
"react/require-default-props": number;
|
|
22
|
+
"react/require-extension": number;
|
|
23
|
+
"react/self-closing-comp": number;
|
|
24
|
+
"react/sort-comp": number;
|
|
25
|
+
"react/react-in-jsx-scope": number;
|
|
26
|
+
"react/jsx-filename-extension": (number | {
|
|
27
27
|
extensions: string[];
|
|
28
28
|
})[];
|
|
29
|
-
|
|
29
|
+
"react/function-component-definition": (number | {
|
|
30
30
|
namedComponents: string;
|
|
31
31
|
})[];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
32
|
+
"redux-saga/no-yield-in-race": number;
|
|
33
|
+
"redux-saga/yield-effects": number;
|
|
34
|
+
"prettier/prettier": (string | typeof import("../prettier.config.cjs"))[];
|
|
35
|
+
"arrow-body-style": (string | number)[];
|
|
36
|
+
"class-methods-use-this": number;
|
|
37
|
+
"import/imports-first": number;
|
|
38
|
+
"import/newline-after-import": number;
|
|
39
|
+
"import/no-dynamic-require": number;
|
|
40
|
+
"import/no-extraneous-dependencies": number;
|
|
41
|
+
"import/no-named-as-default": number;
|
|
42
|
+
"import/no-unresolved": (number | {
|
|
43
43
|
caseSensitive: boolean;
|
|
44
44
|
caseSensitiveStrict: boolean;
|
|
45
45
|
})[];
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
"import/no-webpack-loader-syntax": number;
|
|
47
|
+
"import/prefer-default-export": number;
|
|
48
|
+
"import/extensions": (string | number | {
|
|
49
49
|
json: string;
|
|
50
50
|
js: string;
|
|
51
51
|
})[];
|
|
52
52
|
indent: (number | {
|
|
53
53
|
SwitchCase: number;
|
|
54
54
|
})[];
|
|
55
|
-
|
|
55
|
+
"max-lines": (string | {
|
|
56
56
|
max: number;
|
|
57
57
|
skipComments: boolean;
|
|
58
58
|
})[];
|
|
59
59
|
complexity: (string | {
|
|
60
60
|
max: number;
|
|
61
61
|
})[];
|
|
62
|
-
|
|
62
|
+
"max-depth": (string | {
|
|
63
63
|
max: number;
|
|
64
64
|
})[];
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
"max-lines-per-function": number;
|
|
66
|
+
"max-nested-callbacks": (string | {
|
|
67
67
|
max: number;
|
|
68
68
|
})[];
|
|
69
|
-
|
|
69
|
+
"max-params": (string | {
|
|
70
70
|
max: number;
|
|
71
71
|
})[];
|
|
72
|
-
|
|
72
|
+
"max-statements": (string | {
|
|
73
73
|
max: number;
|
|
74
74
|
})[];
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
"max-len": number;
|
|
76
|
+
"newline-per-chained-call": number;
|
|
77
|
+
"no-confusing-arrow": number;
|
|
78
|
+
"no-console": number;
|
|
79
|
+
"no-param-reassign": (string | {
|
|
80
80
|
props: boolean;
|
|
81
81
|
})[];
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
"no-unused-vars": number;
|
|
83
|
+
"no-use-before-define": number;
|
|
84
|
+
"prefer-template": number;
|
|
85
|
+
"require-yield": number;
|
|
86
|
+
"jsdoc/require-jsdoc": number;
|
|
87
|
+
"eslint-comments/disable-enable-pair": number;
|
|
88
88
|
};
|
|
89
89
|
overrides: {
|
|
90
90
|
files: string[];
|
|
91
91
|
rules: {
|
|
92
|
-
|
|
92
|
+
"jest/valid-expect": string;
|
|
93
93
|
};
|
|
94
94
|
}[];
|
|
95
95
|
parser: string;
|
|
@@ -105,6 +105,9 @@ export const esReactConfig: {
|
|
|
105
105
|
ecmaFeatures: {
|
|
106
106
|
jsx: boolean;
|
|
107
107
|
};
|
|
108
|
+
babelOptions: {
|
|
109
|
+
plugins: string[];
|
|
110
|
+
};
|
|
108
111
|
};
|
|
109
112
|
settings: {
|
|
110
113
|
react: {
|
|
@@ -113,7 +116,7 @@ export const esReactConfig: {
|
|
|
113
116
|
jest: {
|
|
114
117
|
version: number;
|
|
115
118
|
};
|
|
116
|
-
|
|
119
|
+
"import/resolver": {
|
|
117
120
|
node: {
|
|
118
121
|
extensions: string[];
|
|
119
122
|
};
|
|
@@ -19,21 +19,21 @@ export const tsConfig: {
|
|
|
19
19
|
'@typescript-eslint/no-floating-promises': (string | {
|
|
20
20
|
ignoreIIFE: boolean;
|
|
21
21
|
})[];
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
"prettier/prettier": (string | typeof import("../../prettier.config.cjs"))[];
|
|
23
|
+
"arrow-body-style": (string | number)[];
|
|
24
|
+
"class-methods-use-this": number;
|
|
25
|
+
"import/imports-first": number;
|
|
26
|
+
"import/newline-after-import": number;
|
|
27
|
+
"import/no-dynamic-require": number;
|
|
28
|
+
"import/no-extraneous-dependencies": number;
|
|
29
|
+
"import/no-named-as-default": number;
|
|
30
|
+
"import/no-unresolved": (number | {
|
|
31
31
|
caseSensitive: boolean;
|
|
32
32
|
caseSensitiveStrict: boolean;
|
|
33
33
|
})[];
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
"import/no-webpack-loader-syntax": number;
|
|
35
|
+
"import/prefer-default-export": number;
|
|
36
|
+
"import/extensions": (string | number | {
|
|
37
37
|
json: string;
|
|
38
38
|
js: string;
|
|
39
39
|
})[];
|
|
@@ -43,32 +43,32 @@ export const tsConfig: {
|
|
|
43
43
|
complexity: (string | {
|
|
44
44
|
max: number;
|
|
45
45
|
})[];
|
|
46
|
-
|
|
46
|
+
"max-depth": (string | {
|
|
47
47
|
max: number;
|
|
48
48
|
})[];
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
"max-lines-per-function": number;
|
|
50
|
+
"max-nested-callbacks": (string | {
|
|
51
51
|
max: number;
|
|
52
52
|
})[];
|
|
53
|
-
|
|
53
|
+
"max-params": (string | {
|
|
54
54
|
max: number;
|
|
55
55
|
})[];
|
|
56
|
-
|
|
56
|
+
"max-statements": (string | {
|
|
57
57
|
max: number;
|
|
58
58
|
})[];
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
"max-len": number;
|
|
60
|
+
"newline-per-chained-call": number;
|
|
61
|
+
"no-confusing-arrow": number;
|
|
62
|
+
"no-console": number;
|
|
63
|
+
"no-param-reassign": (string | {
|
|
64
64
|
props: boolean;
|
|
65
65
|
})[];
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
"no-unused-vars": number;
|
|
67
|
+
"no-use-before-define": number;
|
|
68
|
+
"prefer-template": number;
|
|
69
|
+
"require-yield": number;
|
|
70
|
+
"jsdoc/require-jsdoc": number;
|
|
71
|
+
"eslint-comments/disable-enable-pair": number;
|
|
72
72
|
};
|
|
73
73
|
files: string[];
|
|
74
74
|
parser: string;
|
|
@@ -2,36 +2,36 @@ export const tsReactConfig: {
|
|
|
2
2
|
extends: string[];
|
|
3
3
|
rules: {
|
|
4
4
|
'react/prop-types': number;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
"jsx-a11y/aria-props": number;
|
|
6
|
+
"jsx-a11y/heading-has-content": number;
|
|
7
|
+
"jsx-a11y/label-has-associated-control": (number | {
|
|
8
8
|
controlComponents: string[];
|
|
9
9
|
})[];
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
10
|
+
"jsx-a11y/label-has-for": number;
|
|
11
|
+
"jsx-a11y/mouse-events-have-key-events": number;
|
|
12
|
+
"jsx-a11y/role-has-required-aria-props": number;
|
|
13
|
+
"jsx-a11y/role-supports-aria-props": number;
|
|
14
|
+
"react/destructuring-assignment": number;
|
|
15
|
+
"react-hooks/rules-of-hooks": string;
|
|
16
|
+
"react/jsx-closing-tag-location": number;
|
|
17
|
+
"react/forbid-prop-types": number;
|
|
18
|
+
"react/jsx-first-prop-new-line": (string | number)[];
|
|
19
|
+
"react/jsx-no-target-blank": number;
|
|
20
|
+
"react/jsx-props-no-spreading": number;
|
|
21
|
+
"react/jsx-uses-vars": number;
|
|
22
|
+
"react/require-default-props": number;
|
|
23
|
+
"react/require-extension": number;
|
|
24
|
+
"react/self-closing-comp": number;
|
|
25
|
+
"react/sort-comp": number;
|
|
26
|
+
"react/react-in-jsx-scope": number;
|
|
27
|
+
"react/jsx-filename-extension": (number | {
|
|
28
28
|
extensions: string[];
|
|
29
29
|
})[];
|
|
30
|
-
|
|
30
|
+
"react/function-component-definition": (number | {
|
|
31
31
|
namedComponents: string;
|
|
32
32
|
})[];
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
"redux-saga/no-yield-in-race": number;
|
|
34
|
+
"redux-saga/yield-effects": number;
|
|
35
35
|
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
36
36
|
'@typescript-eslint/explicit-function-return-type': string;
|
|
37
37
|
'@typescript-eslint/no-use-before-define': (string | {
|
|
@@ -50,21 +50,21 @@ export const tsReactConfig: {
|
|
|
50
50
|
'@typescript-eslint/no-floating-promises': (string | {
|
|
51
51
|
ignoreIIFE: boolean;
|
|
52
52
|
})[];
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
53
|
+
"prettier/prettier": (string | typeof import("../../prettier.config.cjs"))[];
|
|
54
|
+
"arrow-body-style": (string | number)[];
|
|
55
|
+
"class-methods-use-this": number;
|
|
56
|
+
"import/imports-first": number;
|
|
57
|
+
"import/newline-after-import": number;
|
|
58
|
+
"import/no-dynamic-require": number;
|
|
59
|
+
"import/no-extraneous-dependencies": number;
|
|
60
|
+
"import/no-named-as-default": number;
|
|
61
|
+
"import/no-unresolved": (number | {
|
|
62
62
|
caseSensitive: boolean;
|
|
63
63
|
caseSensitiveStrict: boolean;
|
|
64
64
|
})[];
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
"import/no-webpack-loader-syntax": number;
|
|
66
|
+
"import/prefer-default-export": number;
|
|
67
|
+
"import/extensions": (string | number | {
|
|
68
68
|
json: string;
|
|
69
69
|
js: string;
|
|
70
70
|
})[];
|
|
@@ -74,32 +74,32 @@ export const tsReactConfig: {
|
|
|
74
74
|
complexity: (string | {
|
|
75
75
|
max: number;
|
|
76
76
|
})[];
|
|
77
|
-
|
|
77
|
+
"max-depth": (string | {
|
|
78
78
|
max: number;
|
|
79
79
|
})[];
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
"max-lines-per-function": number;
|
|
81
|
+
"max-nested-callbacks": (string | {
|
|
82
82
|
max: number;
|
|
83
83
|
})[];
|
|
84
|
-
|
|
84
|
+
"max-params": (string | {
|
|
85
85
|
max: number;
|
|
86
86
|
})[];
|
|
87
|
-
|
|
87
|
+
"max-statements": (string | {
|
|
88
88
|
max: number;
|
|
89
89
|
})[];
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
90
|
+
"max-len": number;
|
|
91
|
+
"newline-per-chained-call": number;
|
|
92
|
+
"no-confusing-arrow": number;
|
|
93
|
+
"no-console": number;
|
|
94
|
+
"no-param-reassign": (string | {
|
|
95
95
|
props: boolean;
|
|
96
96
|
})[];
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
"no-unused-vars": number;
|
|
98
|
+
"no-use-before-define": number;
|
|
99
|
+
"prefer-template": number;
|
|
100
|
+
"require-yield": number;
|
|
101
|
+
"jsdoc/require-jsdoc": number;
|
|
102
|
+
"eslint-comments/disable-enable-pair": number;
|
|
103
103
|
};
|
|
104
104
|
files: string[];
|
|
105
105
|
parser: string;
|
|
@@ -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 } from 'express';
|
|
2
|
+
export declare const setupDefaultMiddlewares: (app: Application) => void;
|
|
3
|
+
export declare const setupAdditionalMiddlewars: (app: Application, options?: {
|
|
4
|
+
buildPath?: string;
|
|
5
|
+
basePath?: string;
|
|
6
|
+
}) => express.Application;
|
|
@@ -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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const vitestConfig: import("vitest/dist/config").UserConfigExport;
|
|
1
|
+
export declare const vitestConfig: import("vitest/dist/config").UserConfigExport;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export const
|
|
9
|
-
export
|
|
10
|
-
export
|
|
2
|
+
import CompressionPlugin from 'compression-webpack-plugin';
|
|
3
|
+
import { ObjectPattern } from 'copy-webpack-plugin';
|
|
4
|
+
import zlib from 'zlib';
|
|
5
|
+
export declare const LATEST_VERSION = "latest";
|
|
6
|
+
export declare const excludeNodeModulesExcept: (modules: string[]) => (modulePath: string) => boolean;
|
|
7
|
+
export declare const getLibraryName: () => string;
|
|
8
|
+
export declare const getLibraryVariableName: () => string;
|
|
9
|
+
export declare const mapToFolder: (dependencies: string[], folder: string) => {};
|
|
10
|
+
export declare const getAlias: () => {};
|
|
11
|
+
export declare const modulesToTranspile: string[];
|
|
12
|
+
export declare const getAppVersion: () => string;
|
|
13
|
+
export declare const getPaths: (latestVersion?: boolean) => {
|
|
11
14
|
appVersion: string;
|
|
12
15
|
buildPath: string;
|
|
13
16
|
basePath: string;
|
|
@@ -18,12 +21,10 @@ export function getPaths(latestVersion?: boolean): {
|
|
|
18
21
|
globalScriptPath: string;
|
|
19
22
|
encwLoaderScriptPath: string;
|
|
20
23
|
};
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export const resolveExtensions: string[];
|
|
27
|
-
export const mainFields: string[];
|
|
28
|
-
import zlib from "zlib";
|
|
29
|
-
import CompressionPlugin from "compression-webpack-plugin";
|
|
24
|
+
export declare const isAppLoaderEnabled: () => boolean;
|
|
25
|
+
export declare const getMediaPath: () => string;
|
|
26
|
+
export declare const isGoogleTagManagerEnabled: () => boolean;
|
|
27
|
+
export declare const getCompressionPlugins: (isLibrary?: boolean) => CompressionPlugin<zlib.ZlibOptions>[];
|
|
28
|
+
export declare const filterByFilePresence: (patterns: ObjectPattern[]) => ObjectPattern[];
|
|
29
|
+
export declare const resolveExtensions: string[];
|
|
30
|
+
export declare const mainFields: string[];
|