@elliemae/pui-cli 7.0.0-beta.9 → 7.2.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 +4 -0
- package/{lib/babel/babel.config.js → dist/cjs/babel.config.cjs} +3 -7
- package/dist/cjs/cli.js +53 -0
- package/dist/cjs/commands/build.js +81 -0
- package/dist/cjs/commands/codemod.js +55 -0
- package/dist/cjs/commands/gendoc.js +53 -0
- package/dist/cjs/commands/lint.js +95 -0
- package/dist/cjs/commands/pack.js +98 -0
- package/dist/cjs/commands/start.js +76 -0
- package/dist/cjs/commands/storybook.js +71 -0
- package/dist/cjs/commands/test.js +100 -0
- package/dist/cjs/commands/tscheck.js +82 -0
- package/dist/cjs/commands/utils.js +157 -0
- package/dist/cjs/commands/version.js +77 -0
- package/dist/cjs/commands/vitest.js +93 -0
- package/dist/cjs/dummy.js +1 -0
- package/dist/cjs/index.cjs +25 -0
- package/dist/cjs/index.js +42 -0
- package/dist/cjs/jsdoc.conf.json +17 -0
- package/dist/cjs/lint-config/commitlint.config.cjs +1 -0
- package/{lib/lint/eslint/common.js → dist/cjs/lint-config/eslint/common.cjs} +5 -5
- package/{lib/lint/eslint/non-react.js → dist/cjs/lint-config/eslint/non-react.cjs} +2 -2
- package/{lib/lint/eslint/react.js → dist/cjs/lint-config/eslint/react.cjs} +2 -2
- package/{lib/lint/eslint/typescript/common.js → dist/cjs/lint-config/eslint/typescript/common.cjs} +1 -1
- package/{lib/lint/eslint/typescript/non-react.js → dist/cjs/lint-config/eslint/typescript/non-react.cjs} +2 -2
- package/{lib/lint/eslint/typescript/react.js → dist/cjs/lint-config/eslint/typescript/react.cjs} +2 -2
- package/dist/cjs/lint-config/lint-staged.config.js +40 -0
- package/{lib/lint/prettier.config.js → dist/cjs/lint-config/prettier.config.cjs} +1 -1
- package/{lib/lint/stylelint.config.js → dist/cjs/lint-config/stylelint.config.cjs} +2 -2
- package/dist/cjs/monorepo/delete-merged-tags.js +58 -0
- package/dist/cjs/monorepo/set-registry-version.js +49 -0
- package/dist/cjs/monorepo/set-workspace-version.js +56 -0
- package/{lib/monorepo/utils.js → dist/cjs/monorepo/utils.cjs} +17 -2
- package/dist/cjs/package.json +4 -0
- package/dist/cjs/pui-config.js +44 -0
- package/{lib/release/release.config.js → dist/cjs/release.config.cjs} +0 -0
- package/{lib/server/util/index.js → dist/cjs/server/app-routes.cjs} +5 -15
- package/dist/cjs/server/csp.js +94 -0
- package/dist/cjs/server/index.js +34 -0
- package/dist/cjs/server/logger.js +58 -0
- package/dist/cjs/server/middlewares.js +75 -0
- package/dist/cjs/server/utils.js +39 -0
- package/{lib/testing/jest.config.js → dist/cjs/testing/jest.config.cjs} +10 -10
- package/{lib/testing/jest.node.config.js → dist/cjs/testing/jest.node.config.cjs} +1 -1
- package/dist/cjs/testing/mocks/axios.js +38 -0
- package/dist/cjs/testing/mocks/cssModule.js +24 -0
- package/dist/cjs/testing/mocks/html.js +24 -0
- package/dist/cjs/testing/mocks/image.js +24 -0
- package/dist/cjs/testing/mocks/matchMedia.js +44 -0
- package/dist/cjs/testing/mocks/pui-app-loader.js +25 -0
- package/dist/cjs/testing/mocks/pui-diagnostics.js +69 -0
- package/dist/cjs/testing/mocks/pui-user-monitoring.js +31 -0
- package/dist/cjs/testing/mocks/retry-axios.js +28 -0
- package/dist/cjs/testing/mocks/svg.js +33 -0
- package/dist/cjs/testing/mocks/webpack-hmr.js +25 -0
- package/{lib/testing/resolver.js → dist/cjs/testing/resolver.cjs} +0 -0
- package/dist/cjs/testing/setup-react-env.js +22 -0
- package/dist/cjs/testing/setup-test-env.js +23 -0
- package/dist/cjs/testing/setup-tests.js +69 -0
- package/dist/cjs/testing/vitest.config.js +52 -0
- package/{lib → dist/cjs}/transpile/.swcrc +0 -0
- package/dist/cjs/transpile/esbuild.js +134 -0
- package/dist/cjs/transpile/react-shim.js +30 -0
- package/{lib/transpile/swcrc.config.js → dist/cjs/transpile/swcrc.config.cjs} +1 -1
- package/dist/cjs/typedoc.cjs +12 -0
- package/{lib → dist/cjs}/typescript/app.tsconfig.json +0 -0
- package/{lib → dist/cjs}/typescript/library.tsconfig.json +0 -0
- package/dist/cjs/update-notifier.js +37 -0
- package/dist/cjs/utils.cjs +23 -0
- package/dist/cjs/webpack/helpers.js +237 -0
- package/dist/cjs/webpack/webpack.base.babel.js +280 -0
- package/dist/cjs/webpack/webpack.dev.babel.js +144 -0
- package/dist/cjs/webpack/webpack.lib.base.babel.js +212 -0
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +93 -0
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +95 -0
- package/dist/cjs/webpack/webpack.prod.babel.js +145 -0
- package/dist/cjs/webpack/webpack.storybook.js +111 -0
- package/dist/esm/babel.config.cjs +97 -0
- package/dist/esm/cli.js +33 -0
- package/dist/esm/commands/build.js +61 -0
- package/dist/esm/commands/codemod.js +29 -0
- package/dist/esm/commands/gendoc.js +26 -0
- package/dist/esm/commands/lint.js +69 -0
- package/dist/esm/commands/pack.js +71 -0
- package/dist/esm/commands/start.js +49 -0
- package/dist/esm/commands/storybook.js +45 -0
- package/dist/esm/commands/test.js +74 -0
- package/dist/esm/commands/tscheck.js +56 -0
- package/dist/esm/commands/utils.js +143 -0
- package/dist/esm/commands/version.js +51 -0
- package/dist/esm/commands/vitest.js +66 -0
- package/{lib/dummy.ts → dist/esm/dummy.js} +0 -0
- package/dist/esm/index.cjs +25 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/jsdoc.conf.json +17 -0
- package/dist/esm/lint-config/commitlint.config.cjs +1 -0
- package/dist/esm/lint-config/eslint/common.cjs +160 -0
- package/dist/esm/lint-config/eslint/non-react.cjs +14 -0
- package/dist/esm/lint-config/eslint/react.cjs +26 -0
- package/dist/esm/lint-config/eslint/typescript/common.cjs +43 -0
- package/dist/esm/lint-config/eslint/typescript/non-react.cjs +12 -0
- package/dist/esm/lint-config/eslint/typescript/react.cjs +19 -0
- package/dist/esm/lint-config/lint-staged.config.js +14 -0
- package/dist/esm/lint-config/prettier.config.cjs +8 -0
- package/dist/esm/lint-config/stylelint.config.cjs +19 -0
- package/dist/esm/monorepo/delete-merged-tags.js +38 -0
- package/dist/esm/monorepo/set-registry-version.js +23 -0
- package/dist/esm/monorepo/set-workspace-version.js +30 -0
- package/dist/esm/monorepo/utils.cjs +30 -0
- package/dist/esm/package.json +4 -0
- package/dist/esm/pui-config.js +18 -0
- package/dist/esm/release.config.cjs +31 -0
- package/dist/esm/server/app-routes.cjs +42 -0
- package/dist/esm/server/csp.js +68 -0
- package/dist/esm/server/index.js +18 -0
- package/dist/esm/server/logger.js +32 -0
- package/dist/esm/server/middlewares.js +49 -0
- package/dist/esm/server/utils.js +13 -0
- package/dist/esm/testing/jest.config.cjs +103 -0
- package/dist/esm/testing/jest.node.config.cjs +8 -0
- package/{lib → dist/esm}/testing/mocks/axios.js +8 -5
- package/dist/esm/testing/mocks/cssModule.js +4 -0
- package/dist/esm/testing/mocks/html.js +4 -0
- package/dist/esm/testing/mocks/image.js +4 -0
- package/dist/esm/testing/mocks/matchMedia.js +24 -0
- package/dist/esm/testing/mocks/pui-app-loader.js +5 -0
- package/dist/esm/testing/mocks/pui-diagnostics.js +49 -0
- package/dist/esm/testing/mocks/pui-user-monitoring.js +11 -0
- package/dist/esm/testing/mocks/retry-axios.js +8 -0
- package/dist/esm/testing/mocks/svg.js +7 -0
- package/dist/esm/testing/mocks/webpack-hmr.js +5 -0
- package/dist/esm/testing/resolver.cjs +47 -0
- package/dist/esm/testing/setup-react-env.js +3 -0
- package/dist/esm/testing/setup-test-env.js +4 -0
- package/dist/esm/testing/setup-tests.js +50 -0
- package/dist/esm/testing/vitest.config.js +25 -0
- package/dist/esm/transpile/.swcrc +11 -0
- package/{lib → dist/esm}/transpile/esbuild.js +35 -44
- package/dist/esm/transpile/react-shim.js +4 -0
- package/dist/esm/transpile/swcrc.config.cjs +13 -0
- package/dist/esm/typedoc.cjs +12 -0
- package/dist/esm/typescript/app.tsconfig.json +23 -0
- package/dist/esm/typescript/library.tsconfig.json +23 -0
- package/dist/esm/update-notifier.js +11 -0
- package/dist/esm/utils.cjs +23 -0
- package/dist/esm/webpack/helpers.js +211 -0
- package/dist/esm/webpack/webpack.base.babel.js +260 -0
- package/dist/esm/webpack/webpack.dev.babel.js +121 -0
- package/dist/esm/webpack/webpack.lib.base.babel.js +192 -0
- package/dist/esm/webpack/webpack.lib.dev.babel.js +67 -0
- package/dist/esm/webpack/webpack.lib.prod.babel.js +69 -0
- package/dist/esm/webpack/webpack.prod.babel.js +124 -0
- package/dist/esm/webpack/webpack.storybook.js +85 -0
- package/dist/types/babel.config.d.cts +59 -0
- package/dist/types/cli.d.ts +2 -0
- package/dist/types/commands/build.d.ts +14 -0
- package/dist/types/commands/codemod.d.ts +6 -0
- package/dist/types/commands/gendoc.d.ts +6 -0
- package/dist/types/commands/lint.d.ts +29 -0
- package/dist/types/commands/pack.d.ts +26 -0
- package/dist/types/commands/start.d.ts +13 -0
- package/dist/types/commands/storybook.d.ts +19 -0
- package/dist/types/commands/test.d.ts +39 -0
- package/dist/types/commands/tscheck.d.ts +14 -0
- package/dist/types/commands/utils.d.ts +16 -0
- package/dist/types/commands/version.d.ts +30 -0
- package/dist/types/commands/vitest.d.ts +35 -0
- package/{lib/testing/vitest.setup.ts → dist/types/dummy.d.ts} +0 -0
- package/dist/types/index.d.cts +10 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/lint-config/commitlint.config.d.cts +4 -0
- package/dist/types/lint-config/eslint/common.d.cts +127 -0
- package/dist/types/lint-config/eslint/non-react.d.cts +93 -0
- package/dist/types/lint-config/eslint/react.d.cts +123 -0
- package/dist/types/lint-config/eslint/typescript/common.d.cts +37 -0
- package/dist/types/lint-config/eslint/typescript/non-react.d.cts +87 -0
- package/dist/types/lint-config/eslint/typescript/react.d.cts +118 -0
- package/dist/types/lint-config/lint-staged.config.d.ts +5 -0
- package/dist/types/lint-config/prettier.config.d.cts +8 -0
- package/dist/types/lint-config/stylelint.config.d.cts +11 -0
- package/dist/types/monorepo/delete-merged-tags.d.ts +1 -0
- package/dist/types/monorepo/set-registry-version.d.ts +1 -0
- package/dist/types/monorepo/set-workspace-version.d.ts +1 -0
- package/dist/types/monorepo/utils.d.cts +1 -0
- package/dist/types/pui-config.d.ts +1 -0
- package/dist/types/release.config.d.cts +9 -0
- package/dist/types/server/app-routes.d.cts +1 -0
- package/dist/types/server/csp.d.ts +10 -0
- package/dist/types/server/index.d.ts +1 -0
- package/dist/types/server/logger.d.ts +4 -0
- package/dist/types/server/middlewares.d.ts +2 -0
- package/dist/types/server/utils.d.ts +3 -0
- package/dist/types/testing/jest.config.d.cts +39 -0
- package/dist/types/testing/jest.node.config.d.cts +39 -0
- package/dist/types/testing/mocks/axios.d.ts +17 -0
- package/dist/types/testing/mocks/cssModule.d.ts +2 -0
- package/dist/types/testing/mocks/html.d.ts +2 -0
- package/dist/types/testing/mocks/image.d.ts +2 -0
- package/dist/types/testing/mocks/matchMedia.d.ts +1 -0
- package/dist/types/testing/mocks/pui-app-loader.d.ts +1 -0
- package/dist/types/testing/mocks/pui-diagnostics.d.ts +28 -0
- package/dist/types/testing/mocks/pui-user-monitoring.d.ts +3 -0
- package/dist/types/testing/mocks/retry-axios.d.ts +3 -0
- package/dist/types/testing/mocks/svg.d.ts +3 -0
- package/dist/types/testing/mocks/webpack-hmr.d.ts +1 -0
- package/dist/types/testing/resolver.d.cts +2 -0
- package/dist/types/testing/setup-react-env.d.ts +1 -0
- package/dist/types/testing/setup-test-env.d.ts +2 -0
- package/dist/types/testing/setup-tests.d.ts +1 -0
- package/dist/types/testing/vitest.config.d.ts +2 -0
- package/dist/types/transpile/esbuild.d.ts +13 -0
- package/dist/types/transpile/react-shim.d.ts +2 -0
- package/dist/types/transpile/swcrc.config.d.cts +1 -0
- package/dist/types/typedoc.d.cts +3 -0
- package/dist/types/update-notifier.d.ts +1 -0
- package/dist/types/utils.d.cts +4 -0
- package/dist/types/webpack/helpers.d.ts +28 -0
- package/dist/types/webpack/webpack.base.babel.d.ts +90 -0
- package/dist/types/webpack/webpack.dev.babel.d.ts +2 -0
- package/dist/types/webpack/webpack.lib.base.babel.d.ts +110 -0
- package/dist/types/webpack/webpack.lib.dev.babel.d.ts +110 -0
- package/dist/types/webpack/webpack.lib.prod.babel.d.ts +110 -0
- package/dist/types/webpack/webpack.prod.babel.d.ts +2 -0
- package/dist/types/webpack/webpack.storybook.d.ts +4 -0
- package/package.json +159 -144
- package/lib/cli-commands/build.js +0 -60
- package/lib/cli-commands/codemod.js +0 -31
- package/lib/cli-commands/gendoc.js +0 -36
- package/lib/cli-commands/lint.js +0 -75
- package/lib/cli-commands/pack.js +0 -67
- package/lib/cli-commands/start.js +0 -49
- package/lib/cli-commands/storybook.js +0 -53
- package/lib/cli-commands/test.js +0 -63
- package/lib/cli-commands/tsc.js +0 -103
- package/lib/cli-commands/utils.js +0 -135
- package/lib/cli-commands/version.js +0 -53
- package/lib/cli-commands/vitest.js +0 -66
- package/lib/cli.js +0 -33
- package/lib/docgen/jsdoc.config.js +0 -17
- package/lib/index.js +0 -25
- package/lib/lint/commitlint.config.js +0 -1
- package/lib/lint/lint-staged.config.js +0 -16
- package/lib/monorepo/delete-merged-tags.js +0 -48
- package/lib/monorepo/set-registry-version.js +0 -22
- package/lib/monorepo/set-workspace-version.js +0 -29
- package/lib/pui-config/index.js +0 -18
- package/lib/scripts/helpers/checkmark.js +0 -15
- package/lib/scripts/helpers/get-npm-config.js +0 -3
- package/lib/scripts/helpers/progress.js +0 -19
- package/lib/scripts/helpers/xmark.js +0 -13
- package/lib/scripts/npmcheckversion.js +0 -8
- package/lib/scripts/update-notifier.js +0 -7
- package/lib/server/csp.js +0 -74
- package/lib/server/index.js +0 -37
- package/lib/server/logger.js +0 -42
- package/lib/server/middlewares/addDevMiddlewares.js +0 -39
- package/lib/server/middlewares/addProdMiddlewares.js +0 -30
- package/lib/server/middlewares/index.js +0 -37
- package/lib/testing/mocks/cssModule.js +0 -1
- package/lib/testing/mocks/html.js +0 -1
- package/lib/testing/mocks/image.js +0 -1
- package/lib/testing/mocks/matchMedia.js +0 -24
- package/lib/testing/mocks/pui-app-loader.js +0 -1
- package/lib/testing/mocks/pui-diagnostics.js +0 -28
- package/lib/testing/mocks/pui-user-monitoring.js +0 -3
- package/lib/testing/mocks/retry-axios.js +0 -3
- package/lib/testing/mocks/svg.js +0 -5
- package/lib/testing/mocks/webpack-hmr.js +0 -1
- package/lib/testing/setup-react-env.js +0 -3
- package/lib/testing/setup-tests.js +0 -58
- package/lib/testing/vitest.config.ts +0 -16
- package/lib/transpile/react-shim.js +0 -2
- package/lib/typescript/tsc-files/index.js +0 -66
- package/lib/typescript/tsc-files/utils.js +0 -16
- package/lib/typescript/util.js +0 -5
- package/lib/webpack/helpers.js +0 -252
- package/lib/webpack/webpack.base.babel.js +0 -242
- package/lib/webpack/webpack.dev.babel.js +0 -139
- package/lib/webpack/webpack.lib.base.babel.js +0 -205
- package/lib/webpack/webpack.lib.dev.babel.js +0 -49
- package/lib/webpack/webpack.lib.prod.babel.js +0 -77
- package/lib/webpack/webpack.prod.babel.js +0 -142
- package/lib/webpack/webpack.storybook.js +0 -87
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
export const tsReactConfig: {
|
|
2
|
+
extends: string[];
|
|
3
|
+
rules: {
|
|
4
|
+
'react/prop-types': number;
|
|
5
|
+
'jsx-a11y/aria-props': number;
|
|
6
|
+
'jsx-a11y/heading-has-content': number;
|
|
7
|
+
'jsx-a11y/label-has-associated-control': (number | {
|
|
8
|
+
controlComponents: string[];
|
|
9
|
+
})[];
|
|
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
|
+
extensions: string[];
|
|
29
|
+
})[];
|
|
30
|
+
'react/function-component-definition': (number | {
|
|
31
|
+
namedComponents: string;
|
|
32
|
+
})[];
|
|
33
|
+
'redux-saga/no-yield-in-race': number;
|
|
34
|
+
'redux-saga/yield-effects': number;
|
|
35
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
36
|
+
'@typescript-eslint/explicit-function-return-type': string;
|
|
37
|
+
'@typescript-eslint/no-use-before-define': (string | {
|
|
38
|
+
functions: boolean;
|
|
39
|
+
classes: boolean;
|
|
40
|
+
variables: boolean;
|
|
41
|
+
typedefs: boolean;
|
|
42
|
+
})[];
|
|
43
|
+
'max-lines': (string | {
|
|
44
|
+
max: number;
|
|
45
|
+
skipComments: boolean;
|
|
46
|
+
})[];
|
|
47
|
+
'@typescript-eslint/unbound-method': (string | {
|
|
48
|
+
ignoreStatic: boolean;
|
|
49
|
+
})[];
|
|
50
|
+
'prettier/prettier': (string | typeof import("../../prettier.config.cjs"))[];
|
|
51
|
+
'arrow-body-style': (string | number)[];
|
|
52
|
+
'class-methods-use-this': number;
|
|
53
|
+
'import/imports-first': number;
|
|
54
|
+
'import/newline-after-import': number;
|
|
55
|
+
'import/no-dynamic-require': number;
|
|
56
|
+
'import/no-extraneous-dependencies': number;
|
|
57
|
+
'import/no-named-as-default': number;
|
|
58
|
+
'import/no-unresolved': (number | {
|
|
59
|
+
caseSensitive: boolean;
|
|
60
|
+
caseSensitiveStrict: boolean;
|
|
61
|
+
})[];
|
|
62
|
+
'import/no-webpack-loader-syntax': number;
|
|
63
|
+
'import/prefer-default-export': number;
|
|
64
|
+
'import/extensions': (string | number | {
|
|
65
|
+
json: string;
|
|
66
|
+
js: string;
|
|
67
|
+
})[];
|
|
68
|
+
indent: (number | {
|
|
69
|
+
SwitchCase: number;
|
|
70
|
+
})[];
|
|
71
|
+
complexity: (string | {
|
|
72
|
+
max: number;
|
|
73
|
+
})[];
|
|
74
|
+
'max-depth': (string | {
|
|
75
|
+
max: number;
|
|
76
|
+
})[];
|
|
77
|
+
'max-lines-per-function': number;
|
|
78
|
+
'max-nested-callbacks': (string | {
|
|
79
|
+
max: number;
|
|
80
|
+
})[];
|
|
81
|
+
'max-params': (string | {
|
|
82
|
+
max: number;
|
|
83
|
+
})[];
|
|
84
|
+
'max-statements': (string | {
|
|
85
|
+
max: number;
|
|
86
|
+
})[];
|
|
87
|
+
'max-len': number;
|
|
88
|
+
'newline-per-chained-call': number;
|
|
89
|
+
'no-confusing-arrow': number;
|
|
90
|
+
'no-console': number;
|
|
91
|
+
'no-param-reassign': (string | {
|
|
92
|
+
props: boolean;
|
|
93
|
+
})[];
|
|
94
|
+
'no-unused-vars': number;
|
|
95
|
+
'no-use-before-define': number;
|
|
96
|
+
'prefer-template': number;
|
|
97
|
+
'require-yield': number;
|
|
98
|
+
'jsdoc/require-jsdoc': number;
|
|
99
|
+
'eslint-comments/disable-enable-pair': number;
|
|
100
|
+
};
|
|
101
|
+
files: string[];
|
|
102
|
+
parser: string;
|
|
103
|
+
plugins: string[];
|
|
104
|
+
parserOptions: {
|
|
105
|
+
tsconfigRootDir: string;
|
|
106
|
+
project: string;
|
|
107
|
+
};
|
|
108
|
+
settings: {
|
|
109
|
+
'import/resolver': {
|
|
110
|
+
typescript: {
|
|
111
|
+
alwaysTryTypes: boolean;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
'import/parsers': {
|
|
115
|
+
'@typescript-eslint/parser': string[];
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export namespace stylelintConfig {
|
|
2
|
+
export const ignoreFiles: string[];
|
|
3
|
+
export const customSyntax: string;
|
|
4
|
+
const _extends: string[];
|
|
5
|
+
export { _extends as extends };
|
|
6
|
+
export const rules: {
|
|
7
|
+
'selector-type-no-unknown': null;
|
|
8
|
+
'no-extra-semicolons': null;
|
|
9
|
+
'function-no-unknown': null;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function deleteMergedTags(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function setRegistryVersion(): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function setWorkspaceVersion(): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function findMonoRepoRoot(cwd?: string): string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getPUIConfig(): any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function loadRoutes(app: any): void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export namespace jestConfig {
|
|
2
|
+
const collectCoverageFrom: string[];
|
|
3
|
+
const coverageThreshold: {};
|
|
4
|
+
const coverageDirectory: string;
|
|
5
|
+
const coverageReporters: string[];
|
|
6
|
+
const moduleDirectories: string[];
|
|
7
|
+
const moduleNameMapper: {
|
|
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
|
+
};
|
|
19
|
+
const moduleFileExtensions: string[];
|
|
20
|
+
const setupFilesAfterEnv: string[];
|
|
21
|
+
const setupFiles: string[];
|
|
22
|
+
const testRegex: string;
|
|
23
|
+
const snapshotSerializers: never[];
|
|
24
|
+
const testResultsProcessor: string;
|
|
25
|
+
const resolver: string;
|
|
26
|
+
const transform: {
|
|
27
|
+
'^.+\\.[jt]sx?$': any[];
|
|
28
|
+
};
|
|
29
|
+
const transformIgnorePatterns: string[];
|
|
30
|
+
namespace globals {
|
|
31
|
+
const APP_CONFIG: string | Buffer;
|
|
32
|
+
const __webpack_public_path__: string;
|
|
33
|
+
}
|
|
34
|
+
namespace testEnvironmentOptions {
|
|
35
|
+
const url: string;
|
|
36
|
+
}
|
|
37
|
+
const testEnvironment: string;
|
|
38
|
+
const watchPlugins: string[];
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export const jestNodeConfig: {
|
|
2
|
+
testEnvironment: string;
|
|
3
|
+
transformIgnorePatterns: never[];
|
|
4
|
+
setupFiles: never[];
|
|
5
|
+
setupFilesAfterEnv: never[];
|
|
6
|
+
collectCoverageFrom: string[];
|
|
7
|
+
coverageThreshold: {};
|
|
8
|
+
coverageDirectory: string;
|
|
9
|
+
coverageReporters: string[];
|
|
10
|
+
moduleDirectories: string[];
|
|
11
|
+
moduleNameMapper: {
|
|
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
|
+
};
|
|
23
|
+
moduleFileExtensions: string[];
|
|
24
|
+
testRegex: string;
|
|
25
|
+
snapshotSerializers: never[];
|
|
26
|
+
testResultsProcessor: string;
|
|
27
|
+
resolver: string;
|
|
28
|
+
transform: {
|
|
29
|
+
'^.+\\.[jt]sx?$': any[];
|
|
30
|
+
};
|
|
31
|
+
globals: {
|
|
32
|
+
APP_CONFIG: string | Buffer;
|
|
33
|
+
__webpack_public_path__: string;
|
|
34
|
+
};
|
|
35
|
+
testEnvironmentOptions: {
|
|
36
|
+
url: string;
|
|
37
|
+
};
|
|
38
|
+
watchPlugins: string[];
|
|
39
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
const defaults: {};
|
|
3
|
+
namespace interceptors {
|
|
4
|
+
namespace request {
|
|
5
|
+
const use: jest.Mock<any, any>;
|
|
6
|
+
}
|
|
7
|
+
namespace response {
|
|
8
|
+
const use_1: jest.Mock<any, any>;
|
|
9
|
+
export { use_1 as use };
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
const create: jest.Mock<any, any>;
|
|
13
|
+
const get: jest.Mock<any, any>;
|
|
14
|
+
const post: jest.Mock<any, any>;
|
|
15
|
+
const put: jest.Mock<any, any>;
|
|
16
|
+
}
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function addMatchMedia(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function load(): void;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export function logger(): {
|
|
2
|
+
setLogLevel(): void;
|
|
3
|
+
setOptions(): void;
|
|
4
|
+
info(): void;
|
|
5
|
+
warn(): void;
|
|
6
|
+
error(): void;
|
|
7
|
+
trace(): void;
|
|
8
|
+
debug(): void;
|
|
9
|
+
audit(): void;
|
|
10
|
+
fatal(): void;
|
|
11
|
+
};
|
|
12
|
+
export namespace LogLevel {
|
|
13
|
+
const info: string;
|
|
14
|
+
const debug: string;
|
|
15
|
+
const trace: string;
|
|
16
|
+
const warn: string;
|
|
17
|
+
const error: string;
|
|
18
|
+
const audit: string;
|
|
19
|
+
const fatal: string;
|
|
20
|
+
}
|
|
21
|
+
export function Console(): {
|
|
22
|
+
log: () => void;
|
|
23
|
+
};
|
|
24
|
+
export function http(): {
|
|
25
|
+
log(): void;
|
|
26
|
+
};
|
|
27
|
+
export function webvitals(): void;
|
|
28
|
+
export function logUnhandledErrors(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function enableHotReloading(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export namespace TARGETS {
|
|
2
|
+
const browserslist: any;
|
|
3
|
+
const web: string;
|
|
4
|
+
const node: string;
|
|
5
|
+
}
|
|
6
|
+
export function esBuild({ srcdir, outdir, esmOnly, target, injectReactShim, skipNestedPackageJSON, }: {
|
|
7
|
+
srcdir: any;
|
|
8
|
+
outdir?: string | undefined;
|
|
9
|
+
esmOnly?: boolean | undefined;
|
|
10
|
+
target?: any;
|
|
11
|
+
injectReactShim?: boolean | undefined;
|
|
12
|
+
skipNestedPackageJSON?: boolean | undefined;
|
|
13
|
+
}): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const swcrcConfig: any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function notifyUpdates(): Promise<void>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export const LATEST_VERSION: "latest";
|
|
3
|
+
export function excludeNodeModulesExcept(modules: any): (modulePath: any) => boolean;
|
|
4
|
+
export function getLibraryName(): string;
|
|
5
|
+
export function mapToFolder(dependencies: any, folder: any): any;
|
|
6
|
+
export function getAlias(): any;
|
|
7
|
+
export const modulesToTranspile: string[];
|
|
8
|
+
export function getAppVersion(): string;
|
|
9
|
+
export function getPaths(latestVersion?: boolean): {
|
|
10
|
+
appVersion: string;
|
|
11
|
+
buildPath: string;
|
|
12
|
+
basePath: string;
|
|
13
|
+
publicPath: string;
|
|
14
|
+
userMonScriptPath: string;
|
|
15
|
+
appLoaderScriptPath: string;
|
|
16
|
+
diagnosticsScriptPath: string;
|
|
17
|
+
globalScriptPath: string;
|
|
18
|
+
encwLoaderScriptPath: string;
|
|
19
|
+
};
|
|
20
|
+
export function isAppLoaderEnabled(): boolean;
|
|
21
|
+
export function getMediaPath(): string;
|
|
22
|
+
export function isGoogleTagManagerEnabled(): boolean;
|
|
23
|
+
export function getCompressionPlugins(isLibrary?: boolean): CompressionPlugin<zlib.ZlibOptions>[];
|
|
24
|
+
export function filterByFilePresence(patterns: any): any;
|
|
25
|
+
export const resolveExtensions: string[];
|
|
26
|
+
export const mainFields: string[];
|
|
27
|
+
import zlib from "zlib";
|
|
28
|
+
import CompressionPlugin from "compression-webpack-plugin";
|
|
@@ -0,0 +1,90 @@
|
|
|
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: any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type?: undefined;
|
|
21
|
+
issuer?: undefined;
|
|
22
|
+
resourceQuery?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
test: RegExp;
|
|
25
|
+
exclude: (modulePath: any) => boolean;
|
|
26
|
+
use: ({
|
|
27
|
+
loader: string;
|
|
28
|
+
} | {
|
|
29
|
+
loader: string;
|
|
30
|
+
options: {
|
|
31
|
+
importLoaders: number;
|
|
32
|
+
sourceMap: boolean;
|
|
33
|
+
postcssOptions?: undefined;
|
|
34
|
+
};
|
|
35
|
+
} | {
|
|
36
|
+
loader: string;
|
|
37
|
+
options: {
|
|
38
|
+
postcssOptions: {
|
|
39
|
+
plugins: any[];
|
|
40
|
+
};
|
|
41
|
+
sourceMap: boolean;
|
|
42
|
+
importLoaders?: undefined;
|
|
43
|
+
};
|
|
44
|
+
})[];
|
|
45
|
+
resolve?: undefined;
|
|
46
|
+
type?: undefined;
|
|
47
|
+
issuer?: undefined;
|
|
48
|
+
resourceQuery?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
test: RegExp;
|
|
51
|
+
type: string;
|
|
52
|
+
exclude: (modulePath: any) => boolean;
|
|
53
|
+
resolve?: undefined;
|
|
54
|
+
use?: undefined;
|
|
55
|
+
issuer?: undefined;
|
|
56
|
+
resourceQuery?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
test: RegExp;
|
|
59
|
+
issuer: RegExp;
|
|
60
|
+
resourceQuery: RegExp;
|
|
61
|
+
exclude: (modulePath: any) => boolean;
|
|
62
|
+
use: string[];
|
|
63
|
+
resolve?: undefined;
|
|
64
|
+
type?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
resourceQuery: RegExp;
|
|
67
|
+
type: string;
|
|
68
|
+
exclude: (modulePath: any) => boolean;
|
|
69
|
+
test?: undefined;
|
|
70
|
+
resolve?: undefined;
|
|
71
|
+
use?: undefined;
|
|
72
|
+
issuer?: undefined;
|
|
73
|
+
})[];
|
|
74
|
+
};
|
|
75
|
+
plugins: any[];
|
|
76
|
+
resolve: {
|
|
77
|
+
modules: string[];
|
|
78
|
+
extensions: string[];
|
|
79
|
+
mainFields: string[];
|
|
80
|
+
alias: any;
|
|
81
|
+
};
|
|
82
|
+
externals: {
|
|
83
|
+
'@elliemae/pui-user-monitoring': string;
|
|
84
|
+
'@elliemae/pui-app-loader': string;
|
|
85
|
+
'@elliemae/pui-diagnostics': string;
|
|
86
|
+
};
|
|
87
|
+
devtool: any;
|
|
88
|
+
performance: any;
|
|
89
|
+
devServer: any;
|
|
90
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export function baseConfig(options: any): {
|
|
2
|
+
mode: any;
|
|
3
|
+
entry: {
|
|
4
|
+
index: string;
|
|
5
|
+
};
|
|
6
|
+
output: any;
|
|
7
|
+
optimization: any;
|
|
8
|
+
module: {
|
|
9
|
+
rules: ({
|
|
10
|
+
test: RegExp;
|
|
11
|
+
exclude: (modulePath: any) => boolean;
|
|
12
|
+
resolve: {
|
|
13
|
+
fullySpecified: boolean;
|
|
14
|
+
};
|
|
15
|
+
use: {
|
|
16
|
+
loader: string;
|
|
17
|
+
options: {
|
|
18
|
+
loader: string;
|
|
19
|
+
target: any;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type?: undefined;
|
|
23
|
+
issuer?: undefined;
|
|
24
|
+
resourceQuery?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
test: RegExp;
|
|
27
|
+
exclude: (modulePath: any) => boolean;
|
|
28
|
+
use: ({
|
|
29
|
+
loader: string;
|
|
30
|
+
} | {
|
|
31
|
+
loader: string;
|
|
32
|
+
options: {
|
|
33
|
+
importLoaders: number;
|
|
34
|
+
sourceMap: boolean;
|
|
35
|
+
postcssOptions?: undefined;
|
|
36
|
+
};
|
|
37
|
+
} | {
|
|
38
|
+
loader: string;
|
|
39
|
+
options: {
|
|
40
|
+
postcssOptions: {
|
|
41
|
+
plugins: any[];
|
|
42
|
+
};
|
|
43
|
+
sourceMap: boolean;
|
|
44
|
+
importLoaders?: undefined;
|
|
45
|
+
};
|
|
46
|
+
})[];
|
|
47
|
+
resolve?: undefined;
|
|
48
|
+
type?: undefined;
|
|
49
|
+
issuer?: undefined;
|
|
50
|
+
resourceQuery?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
test: RegExp;
|
|
53
|
+
exclude: RegExp;
|
|
54
|
+
use: string;
|
|
55
|
+
resolve?: undefined;
|
|
56
|
+
type?: undefined;
|
|
57
|
+
issuer?: undefined;
|
|
58
|
+
resourceQuery?: undefined;
|
|
59
|
+
} | {
|
|
60
|
+
test: RegExp;
|
|
61
|
+
exclude: (modulePath: any) => boolean;
|
|
62
|
+
type: string;
|
|
63
|
+
resolve?: undefined;
|
|
64
|
+
use?: undefined;
|
|
65
|
+
issuer?: undefined;
|
|
66
|
+
resourceQuery?: undefined;
|
|
67
|
+
} | {
|
|
68
|
+
test: RegExp;
|
|
69
|
+
issuer: RegExp;
|
|
70
|
+
resourceQuery: RegExp;
|
|
71
|
+
exclude: (modulePath: any) => boolean;
|
|
72
|
+
use: string[];
|
|
73
|
+
resolve?: undefined;
|
|
74
|
+
type?: undefined;
|
|
75
|
+
} | {
|
|
76
|
+
test: RegExp;
|
|
77
|
+
exclude: (modulePath: any) => boolean;
|
|
78
|
+
use: string;
|
|
79
|
+
resolve?: undefined;
|
|
80
|
+
type?: undefined;
|
|
81
|
+
issuer?: undefined;
|
|
82
|
+
resourceQuery?: undefined;
|
|
83
|
+
} | {
|
|
84
|
+
resourceQuery: RegExp;
|
|
85
|
+
type: string;
|
|
86
|
+
exclude: (modulePath: any) => boolean;
|
|
87
|
+
test?: undefined;
|
|
88
|
+
resolve?: undefined;
|
|
89
|
+
use?: undefined;
|
|
90
|
+
issuer?: undefined;
|
|
91
|
+
})[];
|
|
92
|
+
};
|
|
93
|
+
plugins: any[];
|
|
94
|
+
resolve: {
|
|
95
|
+
modules: string[];
|
|
96
|
+
extensions: string[];
|
|
97
|
+
mainFields: string[];
|
|
98
|
+
alias: any;
|
|
99
|
+
plugins: ResolveTypeScriptPlugin[];
|
|
100
|
+
};
|
|
101
|
+
externals: {
|
|
102
|
+
'@elliemae/pui-user-monitoring': string;
|
|
103
|
+
'@elliemae/pui-app-loader': string;
|
|
104
|
+
'@elliemae/pui-diagnostics': string;
|
|
105
|
+
};
|
|
106
|
+
devtool: any;
|
|
107
|
+
performance: any;
|
|
108
|
+
devServer: any;
|
|
109
|
+
};
|
|
110
|
+
import ResolveTypeScriptPlugin from "resolve-typescript-plugin";
|