@elliemae/pui-cli 6.16.2 → 7.0.0-alpha.3

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.
Files changed (291) hide show
  1. package/{lib/babel/babel.config.js → dist/cjs/babel/babel.config.cjs} +2 -2
  2. package/dist/cjs/cli-commands/build.js +72 -0
  3. package/dist/cjs/cli-commands/codemod.js +51 -0
  4. package/dist/cjs/cli-commands/gendoc.js +52 -0
  5. package/dist/cjs/cli-commands/lint.js +86 -0
  6. package/dist/cjs/cli-commands/pack.js +88 -0
  7. package/dist/cjs/cli-commands/start.js +61 -0
  8. package/dist/cjs/cli-commands/storybook.js +63 -0
  9. package/dist/cjs/cli-commands/test.js +86 -0
  10. package/dist/cjs/cli-commands/tsc.js +103 -0
  11. package/dist/cjs/cli-commands/utils.js +137 -0
  12. package/dist/cjs/cli-commands/version.js +71 -0
  13. package/dist/cjs/cli-commands/vitest.js +84 -0
  14. package/dist/cjs/cli.js +47 -0
  15. package/dist/cjs/docgen/jsdoc.conf.json +17 -0
  16. package/{lib/dummy.ts → dist/cjs/dummy.js} +0 -0
  17. package/dist/cjs/index.js +41 -0
  18. package/dist/cjs/lint/commitlint.config.cjs +1 -0
  19. package/{lib/lint/eslint/common.js → dist/cjs/lint/eslint/common.cjs} +8 -8
  20. package/{lib/lint/eslint/non-react.js → dist/cjs/lint/eslint/non-react.cjs} +2 -2
  21. package/{lib/lint/eslint/react.js → dist/cjs/lint/eslint/react.cjs} +2 -2
  22. package/{lib/lint/eslint/typescript/common.js → dist/cjs/lint/eslint/typescript/common.cjs} +1 -1
  23. package/{lib/lint/eslint/typescript/non-react.js → dist/cjs/lint/eslint/typescript/non-react.cjs} +2 -2
  24. package/{lib/lint/eslint/typescript/react.js → dist/cjs/lint/eslint/typescript/react.cjs} +2 -2
  25. package/dist/cjs/lint/lint-staged.config.js +42 -0
  26. package/{lib/lint/prettier.config.js → dist/cjs/lint/prettier.config.cjs} +1 -1
  27. package/{lib/lint/stylelint.config.js → dist/cjs/lint/stylelint.config.cjs} +1 -10
  28. package/dist/cjs/monorepo/delete-merged-tags.js +57 -0
  29. package/dist/cjs/monorepo/set-registry-version.js +43 -0
  30. package/dist/cjs/monorepo/set-workspace-version.js +44 -0
  31. package/dist/cjs/monorepo/utils.js +34 -0
  32. package/dist/cjs/package.json +4 -0
  33. package/dist/cjs/pui-config/index.js +40 -0
  34. package/{lib/release/release.config.js → dist/cjs/release/release.config.cjs} +0 -0
  35. package/dist/cjs/scripts/helpers/checkmark.js +32 -0
  36. package/dist/cjs/scripts/helpers/get-npm-config.js +27 -0
  37. package/dist/cjs/scripts/helpers/progress.js +35 -0
  38. package/dist/cjs/scripts/helpers/xmark.js +31 -0
  39. package/dist/cjs/scripts/npmcheckversion.js +8 -0
  40. package/dist/cjs/scripts/update-notifier.js +33 -0
  41. package/dist/cjs/server/csp.js +88 -0
  42. package/dist/cjs/server/index.js +29 -0
  43. package/dist/cjs/server/logger.js +50 -0
  44. package/dist/cjs/server/middlewares/addProdMiddlewares.js +44 -0
  45. package/dist/cjs/server/middlewares/index.js +57 -0
  46. package/dist/cjs/server/util/index.js +68 -0
  47. package/{lib/testing/jest.config.js → dist/cjs/testing/jest.config.cjs} +20 -14
  48. package/{lib/testing/jest.node.config.js → dist/cjs/testing/jest.node.config.cjs} +1 -1
  49. package/{lib/testing/mocks/axios.js → dist/cjs/testing/mocks/axios.cjs} +0 -0
  50. package/{lib/testing/mocks/cssModule.js → dist/cjs/testing/mocks/cssModule.cjs} +0 -0
  51. package/{lib/testing/mocks/html.js → dist/cjs/testing/mocks/html.cjs} +0 -0
  52. package/{lib/testing/mocks/image.js → dist/cjs/testing/mocks/image.cjs} +0 -0
  53. package/{lib/testing/mocks/matchMedia.js → dist/cjs/testing/mocks/matchMedia.cjs} +0 -0
  54. package/{lib/testing/mocks/pui-app-loader.js → dist/cjs/testing/mocks/pui-app-loader.cjs} +0 -0
  55. package/{lib/testing/mocks/pui-diagnostics.js → dist/cjs/testing/mocks/pui-diagnostics.cjs} +0 -0
  56. package/{lib/testing/mocks/pui-user-monitoring.js → dist/cjs/testing/mocks/pui-user-monitoring.cjs} +0 -0
  57. package/{lib/testing/mocks/retry-axios.js → dist/cjs/testing/mocks/retry-axios.cjs} +0 -0
  58. package/{lib/testing/mocks/svg.js → dist/cjs/testing/mocks/svg.cjs} +0 -0
  59. package/{lib/testing/mocks/webpack-hmr.js → dist/cjs/testing/mocks/webpack-hmr.cjs} +0 -0
  60. package/{lib/testing/resolver.js → dist/cjs/testing/resolver.cjs} +0 -0
  61. package/dist/cjs/testing/setup-react-env.js +18 -0
  62. package/dist/cjs/testing/setup-tests.js +63 -0
  63. package/dist/cjs/testing/vitest.config.js +39 -0
  64. package/{lib/testing/vitest.setup.ts → dist/cjs/testing/vitest.setup.js} +0 -0
  65. package/dist/cjs/transpile/esbuild.js +138 -0
  66. package/dist/cjs/transpile/react-shim.js +26 -0
  67. package/{lib/transpile/swcrc.config.js → dist/cjs/transpile/swcrc.config.cjs} +1 -1
  68. package/{lib → dist/cjs}/typescript/app.tsconfig.json +0 -0
  69. package/{lib → dist/cjs}/typescript/library.tsconfig.json +0 -0
  70. package/dist/cjs/typescript/tsc-files/index.js +68 -0
  71. package/dist/cjs/typescript/tsc-files/utils.js +31 -0
  72. package/dist/cjs/typescript/util.js +28 -0
  73. package/dist/cjs/utils.cjs +20 -0
  74. package/dist/cjs/webpack/helpers.js +216 -0
  75. package/dist/cjs/webpack/webpack.base.babel.js +262 -0
  76. package/dist/cjs/webpack/webpack.dev.babel.js +136 -0
  77. package/dist/cjs/webpack/webpack.lib.base.babel.js +217 -0
  78. package/dist/cjs/webpack/webpack.lib.dev.babel.js +67 -0
  79. package/dist/cjs/webpack/webpack.lib.prod.babel.js +92 -0
  80. package/dist/cjs/webpack/webpack.prod.babel.js +139 -0
  81. package/{lib/webpack/webpack.storybook.js → dist/cjs/webpack/webpack.storybook.cjs} +6 -10
  82. package/dist/esm/babel/babel.config.cjs +101 -0
  83. package/dist/esm/cli-commands/build.js +56 -0
  84. package/dist/esm/cli-commands/codemod.js +29 -0
  85. package/dist/esm/cli-commands/gendoc.js +29 -0
  86. package/dist/esm/cli-commands/lint.js +64 -0
  87. package/dist/esm/cli-commands/pack.js +65 -0
  88. package/dist/esm/cli-commands/start.js +38 -0
  89. package/dist/esm/cli-commands/storybook.js +41 -0
  90. package/dist/esm/cli-commands/test.js +64 -0
  91. package/dist/esm/cli-commands/tsc.js +83 -0
  92. package/dist/esm/cli-commands/utils.js +120 -0
  93. package/dist/esm/cli-commands/version.js +49 -0
  94. package/dist/esm/cli-commands/vitest.js +61 -0
  95. package/dist/esm/cli.js +31 -0
  96. package/dist/esm/docgen/jsdoc.conf.json +17 -0
  97. package/dist/esm/dummy.js +0 -0
  98. package/dist/esm/index.js +22 -0
  99. package/dist/esm/lint/commitlint.config.cjs +1 -0
  100. package/dist/esm/lint/eslint/common.cjs +160 -0
  101. package/dist/esm/lint/eslint/non-react.cjs +14 -0
  102. package/dist/esm/lint/eslint/react.cjs +26 -0
  103. package/dist/esm/lint/eslint/typescript/common.cjs +43 -0
  104. package/dist/esm/lint/eslint/typescript/non-react.cjs +12 -0
  105. package/dist/esm/lint/eslint/typescript/react.cjs +19 -0
  106. package/dist/esm/lint/lint-staged.config.js +19 -0
  107. package/dist/esm/lint/prettier.config.cjs +8 -0
  108. package/dist/esm/lint/stylelint.config.cjs +19 -0
  109. package/dist/esm/monorepo/delete-merged-tags.js +38 -0
  110. package/dist/esm/monorepo/set-registry-version.js +21 -0
  111. package/dist/esm/monorepo/set-workspace-version.js +22 -0
  112. package/dist/esm/monorepo/utils.js +12 -0
  113. package/dist/esm/package.json +4 -0
  114. package/dist/esm/pui-config/index.js +18 -0
  115. package/dist/esm/release/release.config.cjs +31 -0
  116. package/dist/esm/scripts/helpers/checkmark.js +10 -0
  117. package/dist/esm/scripts/helpers/get-npm-config.js +5 -0
  118. package/dist/esm/scripts/helpers/progress.js +13 -0
  119. package/dist/esm/scripts/helpers/xmark.js +9 -0
  120. package/dist/esm/scripts/npmcheckversion.js +8 -0
  121. package/dist/esm/scripts/update-notifier.js +11 -0
  122. package/dist/esm/server/csp.js +66 -0
  123. package/dist/esm/server/index.js +17 -0
  124. package/dist/esm/server/logger.js +28 -0
  125. package/dist/esm/server/middlewares/addProdMiddlewares.js +22 -0
  126. package/dist/esm/server/middlewares/index.js +35 -0
  127. package/{lib → dist/esm}/server/util/index.js +18 -19
  128. package/dist/esm/testing/jest.config.cjs +106 -0
  129. package/dist/esm/testing/jest.node.config.cjs +8 -0
  130. package/dist/esm/testing/mocks/axios.cjs +15 -0
  131. package/dist/esm/testing/mocks/cssModule.cjs +1 -0
  132. package/dist/esm/testing/mocks/html.cjs +1 -0
  133. package/dist/esm/testing/mocks/image.cjs +1 -0
  134. package/dist/esm/testing/mocks/matchMedia.cjs +24 -0
  135. package/dist/esm/testing/mocks/pui-app-loader.cjs +1 -0
  136. package/dist/esm/testing/mocks/pui-diagnostics.cjs +28 -0
  137. package/dist/esm/testing/mocks/pui-user-monitoring.cjs +3 -0
  138. package/dist/esm/testing/mocks/retry-axios.cjs +3 -0
  139. package/dist/esm/testing/mocks/svg.cjs +5 -0
  140. package/dist/esm/testing/mocks/webpack-hmr.cjs +1 -0
  141. package/dist/esm/testing/resolver.cjs +47 -0
  142. package/dist/esm/testing/setup-react-env.js +3 -0
  143. package/dist/esm/testing/setup-tests.js +48 -0
  144. package/dist/esm/testing/vitest.config.js +17 -0
  145. package/dist/esm/testing/vitest.setup.js +0 -0
  146. package/dist/esm/transpile/esbuild.js +117 -0
  147. package/dist/esm/transpile/react-shim.js +4 -0
  148. package/dist/esm/transpile/swcrc.config.cjs +13 -0
  149. package/dist/esm/typescript/app.tsconfig.json +23 -0
  150. package/dist/esm/typescript/library.tsconfig.json +23 -0
  151. package/dist/esm/typescript/tsc-files/index.js +55 -0
  152. package/{lib → dist/esm}/typescript/tsc-files/utils.js +3 -7
  153. package/dist/esm/typescript/util.js +6 -0
  154. package/dist/esm/utils.cjs +20 -0
  155. package/dist/esm/webpack/helpers.js +196 -0
  156. package/dist/esm/webpack/webpack.base.babel.js +248 -0
  157. package/dist/esm/webpack/webpack.dev.babel.js +118 -0
  158. package/dist/esm/webpack/webpack.lib.base.babel.js +208 -0
  159. package/dist/esm/webpack/webpack.lib.dev.babel.js +45 -0
  160. package/dist/esm/webpack/webpack.lib.prod.babel.js +70 -0
  161. package/dist/esm/webpack/webpack.prod.babel.js +122 -0
  162. package/dist/esm/webpack/webpack.storybook.cjs +87 -0
  163. package/dist/types/babel/babel.config.d.cts +59 -0
  164. package/dist/types/cli-commands/build.d.ts +14 -0
  165. package/dist/types/cli-commands/codemod.d.ts +6 -0
  166. package/dist/types/cli-commands/gendoc.d.ts +6 -0
  167. package/dist/types/cli-commands/lint.d.ts +29 -0
  168. package/dist/types/cli-commands/pack.d.ts +26 -0
  169. package/dist/types/cli-commands/start.d.ts +13 -0
  170. package/dist/types/cli-commands/storybook.d.ts +19 -0
  171. package/dist/types/cli-commands/test.d.ts +35 -0
  172. package/dist/types/cli-commands/tsc.d.ts +20 -0
  173. package/dist/types/cli-commands/utils.d.ts +14 -0
  174. package/dist/types/cli-commands/version.d.ts +30 -0
  175. package/dist/types/cli-commands/vitest.d.ts +35 -0
  176. package/dist/types/cli.d.ts +2 -0
  177. package/dist/types/dummy.d.ts +0 -0
  178. package/dist/types/index.d.ts +10 -0
  179. package/dist/types/lint/commitlint.config.d.cts +4 -0
  180. package/dist/types/lint/eslint/common.d.cts +124 -0
  181. package/dist/types/lint/eslint/non-react.d.cts +88 -0
  182. package/dist/types/lint/eslint/react.d.cts +118 -0
  183. package/dist/types/lint/eslint/typescript/common.d.cts +37 -0
  184. package/dist/types/lint/eslint/typescript/non-react.d.cts +87 -0
  185. package/dist/types/lint/eslint/typescript/react.d.cts +118 -0
  186. package/dist/types/lint/lint-staged.config.d.ts +5 -0
  187. package/dist/types/lint/prettier.config.d.cts +8 -0
  188. package/dist/types/lint/stylelint.config.d.cts +10 -0
  189. package/dist/types/monorepo/delete-merged-tags.d.ts +1 -0
  190. package/dist/types/monorepo/set-registry-version.d.ts +1 -0
  191. package/dist/types/monorepo/set-workspace-version.d.ts +1 -0
  192. package/dist/types/monorepo/utils.d.ts +1 -0
  193. package/dist/types/pui-config/index.d.ts +1 -0
  194. package/dist/types/release/release.config.d.cts +9 -0
  195. package/dist/types/scripts/helpers/checkmark.d.ts +7 -0
  196. package/dist/types/scripts/helpers/get-npm-config.d.ts +2 -0
  197. package/dist/types/scripts/helpers/progress.d.ts +7 -0
  198. package/dist/types/scripts/helpers/xmark.d.ts +6 -0
  199. package/dist/types/scripts/npmcheckversion.d.ts +1 -0
  200. package/dist/types/scripts/update-notifier.d.ts +2 -0
  201. package/dist/types/server/csp.d.ts +10 -0
  202. package/dist/types/server/index.d.ts +1 -0
  203. package/dist/types/server/logger.d.ts +4 -0
  204. package/dist/types/server/middlewares/addProdMiddlewares.d.ts +1 -0
  205. package/dist/types/server/middlewares/index.d.ts +2 -0
  206. package/dist/types/server/util/index.d.ts +4 -0
  207. package/dist/types/testing/jest.config.d.cts +39 -0
  208. package/dist/types/testing/jest.node.config.d.cts +39 -0
  209. package/dist/types/testing/mocks/axios.d.cts +14 -0
  210. package/dist/types/testing/mocks/cssModule.d.cts +2 -0
  211. package/dist/types/testing/mocks/html.d.cts +2 -0
  212. package/dist/types/testing/mocks/image.d.cts +2 -0
  213. package/dist/types/testing/mocks/matchMedia.d.cts +2 -0
  214. package/dist/types/testing/mocks/pui-app-loader.d.cts +1 -0
  215. package/dist/types/testing/mocks/pui-diagnostics.d.cts +28 -0
  216. package/dist/types/testing/mocks/pui-user-monitoring.d.cts +3 -0
  217. package/dist/types/testing/mocks/retry-axios.d.cts +3 -0
  218. package/dist/types/testing/mocks/svg.d.cts +3 -0
  219. package/dist/types/testing/mocks/webpack-hmr.d.cts +1 -0
  220. package/dist/types/testing/resolver.d.cts +2 -0
  221. package/dist/types/testing/setup-react-env.d.ts +1 -0
  222. package/dist/types/testing/setup-tests.d.ts +1 -0
  223. package/dist/types/testing/vitest.config.d.ts +2 -0
  224. package/dist/types/testing/vitest.setup.d.ts +0 -0
  225. package/dist/types/transpile/esbuild.d.ts +13 -0
  226. package/dist/types/transpile/react-shim.d.ts +2 -0
  227. package/dist/types/transpile/swcrc.config.d.cts +1 -0
  228. package/dist/types/typescript/tsc-files/index.d.ts +1 -0
  229. package/dist/types/typescript/tsc-files/utils.d.ts +3 -0
  230. package/dist/types/typescript/util.d.ts +1 -0
  231. package/dist/types/utils.d.cts +3 -0
  232. package/dist/types/webpack/helpers.d.ts +28 -0
  233. package/dist/types/webpack/webpack.base.babel.d.ts +90 -0
  234. package/dist/types/webpack/webpack.dev.babel.d.ts +1 -0
  235. package/dist/types/webpack/webpack.lib.base.babel.d.ts +107 -0
  236. package/dist/types/webpack/webpack.lib.dev.babel.d.ts +91 -0
  237. package/dist/types/webpack/webpack.lib.prod.babel.d.ts +91 -0
  238. package/dist/types/webpack/webpack.prod.babel.d.ts +2 -0
  239. package/dist/types/webpack/webpack.storybook.d.cts +4 -0
  240. package/package.json +63 -52
  241. package/lib/cli-commands/build.js +0 -56
  242. package/lib/cli-commands/codemod.js +0 -31
  243. package/lib/cli-commands/gendoc.js +0 -36
  244. package/lib/cli-commands/lint.js +0 -75
  245. package/lib/cli-commands/pack.js +0 -67
  246. package/lib/cli-commands/start.js +0 -44
  247. package/lib/cli-commands/storybook.js +0 -53
  248. package/lib/cli-commands/test.js +0 -63
  249. package/lib/cli-commands/tsc.js +0 -103
  250. package/lib/cli-commands/utils.js +0 -89
  251. package/lib/cli-commands/version.js +0 -53
  252. package/lib/cli-commands/vitest.js +0 -66
  253. package/lib/cli.js +0 -33
  254. package/lib/docgen/jsdoc.config.js +0 -17
  255. package/lib/index.js +0 -25
  256. package/lib/lint/commitlint.config.js +0 -1
  257. package/lib/lint/lint-staged.config.js +0 -16
  258. package/lib/monorepo/delete-merged-tags.js +0 -48
  259. package/lib/monorepo/set-registry-version.js +0 -22
  260. package/lib/monorepo/set-workspace-version.js +0 -29
  261. package/lib/monorepo/utils.js +0 -15
  262. package/lib/pui-config/index.js +0 -18
  263. package/lib/scripts/helpers/checkmark.js +0 -15
  264. package/lib/scripts/helpers/get-npm-config.js +0 -3
  265. package/lib/scripts/helpers/progress.js +0 -19
  266. package/lib/scripts/helpers/xmark.js +0 -13
  267. package/lib/scripts/npmcheckversion.js +0 -8
  268. package/lib/scripts/update-notifier.js +0 -7
  269. package/lib/server/argv.js +0 -1
  270. package/lib/server/csp.js +0 -74
  271. package/lib/server/index.js +0 -69
  272. package/lib/server/logger.js +0 -42
  273. package/lib/server/middlewares/addDevMiddlewares.js +0 -39
  274. package/lib/server/middlewares/addProdMiddlewares.js +0 -31
  275. package/lib/server/middlewares/frontendMiddleware.js +0 -16
  276. package/lib/server/port.js +0 -6
  277. package/lib/testing/setup-react-env.js +0 -3
  278. package/lib/testing/setup-tests.js +0 -58
  279. package/lib/testing/vitest.config.ts +0 -16
  280. package/lib/transpile/.swcrc +0 -11
  281. package/lib/transpile/esbuild.js +0 -116
  282. package/lib/transpile/react-shim.js +0 -2
  283. package/lib/typescript/tsc-files/index.js +0 -66
  284. package/lib/typescript/util.js +0 -5
  285. package/lib/webpack/helpers.js +0 -255
  286. package/lib/webpack/webpack.base.babel.js +0 -239
  287. package/lib/webpack/webpack.dev.babel.js +0 -122
  288. package/lib/webpack/webpack.lib.base.babel.js +0 -205
  289. package/lib/webpack/webpack.lib.dev.babel.js +0 -49
  290. package/lib/webpack/webpack.lib.prod.babel.js +0 -77
  291. package/lib/webpack/webpack.prod.babel.js +0 -164
@@ -0,0 +1,88 @@
1
+ export var esConfig: {
2
+ extends: string[];
3
+ rules: {
4
+ 'prettier/prettier': (string | typeof import("../prettier.config.cjs"))[];
5
+ 'arrow-body-style': (string | number)[];
6
+ 'class-methods-use-this': number;
7
+ 'import/imports-first': number;
8
+ 'import/newline-after-import': number;
9
+ 'import/no-dynamic-require': number;
10
+ 'import/no-extraneous-dependencies': number;
11
+ 'import/no-named-as-default': number;
12
+ 'import/no-unresolved': (number | {
13
+ caseSensitive: boolean;
14
+ caseSensitiveStrict: boolean;
15
+ })[];
16
+ 'import/no-webpack-loader-syntax': number;
17
+ 'import/prefer-default-export': number;
18
+ 'import/extensions': (string | number | {
19
+ json: string;
20
+ js: string;
21
+ })[];
22
+ indent: (number | {
23
+ SwitchCase: number;
24
+ })[];
25
+ 'max-lines': (string | {
26
+ max: number;
27
+ skipComments: boolean;
28
+ })[];
29
+ complexity: (string | {
30
+ max: number;
31
+ })[];
32
+ 'max-depth': (string | {
33
+ max: number;
34
+ })[];
35
+ 'max-lines-per-function': number;
36
+ 'max-nested-callbacks': (string | {
37
+ max: number;
38
+ })[];
39
+ 'max-params': (string | {
40
+ max: number;
41
+ })[];
42
+ 'max-statements': (string | {
43
+ max: number;
44
+ })[];
45
+ 'max-len': number;
46
+ 'newline-per-chained-call': number;
47
+ 'no-confusing-arrow': number;
48
+ 'no-console': number;
49
+ 'no-param-reassign': (string | {
50
+ props: boolean;
51
+ })[];
52
+ 'no-unused-vars': number;
53
+ 'no-use-before-define': number;
54
+ 'prefer-template': number;
55
+ 'require-yield': number;
56
+ 'jsdoc/require-jsdoc': number;
57
+ 'eslint-comments/disable-enable-pair': number;
58
+ };
59
+ overrides: {
60
+ files: string[];
61
+ rules: {
62
+ 'jest/valid-expect': string;
63
+ };
64
+ }[];
65
+ parser: string;
66
+ plugins: string[];
67
+ env: {
68
+ jest: boolean;
69
+ browser: boolean;
70
+ node: boolean;
71
+ es2021: boolean;
72
+ };
73
+ parserOptions: {
74
+ sourceType: string;
75
+ ecmaFeatures: {
76
+ jsx: boolean;
77
+ };
78
+ };
79
+ settings: {
80
+ react: {
81
+ version: string;
82
+ };
83
+ jest: {
84
+ version: number;
85
+ };
86
+ };
87
+ ignorePatterns: string[];
88
+ };
@@ -0,0 +1,118 @@
1
+ export var esReactConfig: {
2
+ extends: string[];
3
+ rules: {
4
+ 'jsx-a11y/aria-props': number;
5
+ 'jsx-a11y/heading-has-content': number;
6
+ 'jsx-a11y/label-has-associated-control': (number | {
7
+ controlComponents: string[];
8
+ })[];
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
+ extensions: string[];
28
+ })[];
29
+ 'react/function-component-definition': (number | {
30
+ namedComponents: string;
31
+ })[];
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
+ caseSensitive: boolean;
44
+ caseSensitiveStrict: boolean;
45
+ })[];
46
+ 'import/no-webpack-loader-syntax': number;
47
+ 'import/prefer-default-export': number;
48
+ 'import/extensions': (string | number | {
49
+ json: string;
50
+ js: string;
51
+ })[];
52
+ indent: (number | {
53
+ SwitchCase: number;
54
+ })[];
55
+ 'max-lines': (string | {
56
+ max: number;
57
+ skipComments: boolean;
58
+ })[];
59
+ complexity: (string | {
60
+ max: number;
61
+ })[];
62
+ 'max-depth': (string | {
63
+ max: number;
64
+ })[];
65
+ 'max-lines-per-function': number;
66
+ 'max-nested-callbacks': (string | {
67
+ max: number;
68
+ })[];
69
+ 'max-params': (string | {
70
+ max: number;
71
+ })[];
72
+ 'max-statements': (string | {
73
+ max: number;
74
+ })[];
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
+ props: boolean;
81
+ })[];
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
+ };
89
+ overrides: {
90
+ files: string[];
91
+ rules: {
92
+ 'jest/valid-expect': string;
93
+ };
94
+ }[];
95
+ parser: string;
96
+ plugins: string[];
97
+ env: {
98
+ jest: boolean;
99
+ browser: boolean;
100
+ node: boolean;
101
+ es2021: boolean;
102
+ };
103
+ parserOptions: {
104
+ sourceType: string;
105
+ ecmaFeatures: {
106
+ jsx: boolean;
107
+ };
108
+ };
109
+ settings: {
110
+ react: {
111
+ version: string;
112
+ };
113
+ jest: {
114
+ version: number;
115
+ };
116
+ };
117
+ ignorePatterns: string[];
118
+ };
@@ -0,0 +1,37 @@
1
+ export var tsBaseExtends: string[];
2
+ export var tsBaseRules: {
3
+ '@typescript-eslint/explicit-module-boundary-types': string;
4
+ '@typescript-eslint/explicit-function-return-type': string;
5
+ '@typescript-eslint/no-use-before-define': (string | {
6
+ functions: boolean;
7
+ classes: boolean;
8
+ variables: boolean;
9
+ typedefs: boolean;
10
+ })[];
11
+ 'max-lines': (string | {
12
+ max: number;
13
+ skipComments: boolean;
14
+ })[];
15
+ '@typescript-eslint/unbound-method': (string | {
16
+ ignoreStatic: boolean;
17
+ })[];
18
+ };
19
+ export namespace tsBaseConfig {
20
+ const files: string[];
21
+ const parser: string;
22
+ const plugins: string[];
23
+ namespace parserOptions {
24
+ const tsconfigRootDir: string;
25
+ const project: string;
26
+ }
27
+ const settings: {
28
+ 'import/resolver': {
29
+ typescript: {
30
+ alwaysTryTypes: boolean;
31
+ };
32
+ };
33
+ 'import/parsers': {
34
+ '@typescript-eslint/parser': string[];
35
+ };
36
+ };
37
+ }
@@ -0,0 +1,87 @@
1
+ export var tsConfig: {
2
+ extends: string[];
3
+ rules: {
4
+ '@typescript-eslint/explicit-module-boundary-types': string;
5
+ '@typescript-eslint/explicit-function-return-type': string;
6
+ '@typescript-eslint/no-use-before-define': (string | {
7
+ functions: boolean;
8
+ classes: boolean;
9
+ variables: boolean;
10
+ typedefs: boolean;
11
+ })[];
12
+ 'max-lines': (string | {
13
+ max: number;
14
+ skipComments: boolean;
15
+ })[];
16
+ '@typescript-eslint/unbound-method': (string | {
17
+ ignoreStatic: boolean;
18
+ })[];
19
+ 'prettier/prettier': (string | typeof import("../../prettier.config.cjs"))[];
20
+ 'arrow-body-style': (string | number)[];
21
+ 'class-methods-use-this': number;
22
+ 'import/imports-first': number;
23
+ 'import/newline-after-import': number;
24
+ 'import/no-dynamic-require': number;
25
+ 'import/no-extraneous-dependencies': number;
26
+ 'import/no-named-as-default': number;
27
+ 'import/no-unresolved': (number | {
28
+ caseSensitive: boolean;
29
+ caseSensitiveStrict: boolean;
30
+ })[];
31
+ 'import/no-webpack-loader-syntax': number;
32
+ 'import/prefer-default-export': number;
33
+ 'import/extensions': (string | number | {
34
+ json: string;
35
+ js: string;
36
+ })[];
37
+ indent: (number | {
38
+ SwitchCase: number;
39
+ })[];
40
+ complexity: (string | {
41
+ max: number;
42
+ })[];
43
+ 'max-depth': (string | {
44
+ max: number;
45
+ })[];
46
+ 'max-lines-per-function': number;
47
+ 'max-nested-callbacks': (string | {
48
+ max: number;
49
+ })[];
50
+ 'max-params': (string | {
51
+ max: number;
52
+ })[];
53
+ 'max-statements': (string | {
54
+ max: number;
55
+ })[];
56
+ 'max-len': number;
57
+ 'newline-per-chained-call': number;
58
+ 'no-confusing-arrow': number;
59
+ 'no-console': number;
60
+ 'no-param-reassign': (string | {
61
+ props: boolean;
62
+ })[];
63
+ 'no-unused-vars': number;
64
+ 'no-use-before-define': number;
65
+ 'prefer-template': number;
66
+ 'require-yield': number;
67
+ 'jsdoc/require-jsdoc': number;
68
+ 'eslint-comments/disable-enable-pair': number;
69
+ };
70
+ files: string[];
71
+ parser: string;
72
+ plugins: string[];
73
+ parserOptions: {
74
+ tsconfigRootDir: string;
75
+ project: string;
76
+ };
77
+ settings: {
78
+ 'import/resolver': {
79
+ typescript: {
80
+ alwaysTryTypes: boolean;
81
+ };
82
+ };
83
+ 'import/parsers': {
84
+ '@typescript-eslint/parser': string[];
85
+ };
86
+ };
87
+ };
@@ -0,0 +1,118 @@
1
+ export var 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,5 @@
1
+ export const lintStagedConfig: {
2
+ "*.{js,ts,jsx,tsx,md,mdx,html,css,json}": string[];
3
+ "*.{ts,tsx}": string[];
4
+ "*.{js,ts,jsx,tsx}": string[];
5
+ };
@@ -0,0 +1,8 @@
1
+ export namespace prettierConfig {
2
+ const printWidth: number;
3
+ const tabWidth: number;
4
+ const useTabs: boolean;
5
+ const semi: boolean;
6
+ const singleQuote: boolean;
7
+ const trailingComma: string;
8
+ }
@@ -0,0 +1,10 @@
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
+ };
10
+ }
@@ -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 | undefined;
@@ -0,0 +1 @@
1
+ export function getPUIConfig(): any;
@@ -0,0 +1,9 @@
1
+ export const branches: (string | {
2
+ name: string;
3
+ prerelease: boolean;
4
+ })[];
5
+ export const plugins: (string | (string | {
6
+ changelogTitle: string;
7
+ })[] | (string | {
8
+ successCmd: string;
9
+ })[])[];
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Adds mark check symbol
3
+ *
4
+ * @param callback
5
+ * @param message
6
+ */
7
+ export default function _default(callback: any, message?: string): void;
@@ -0,0 +1,2 @@
1
+ declare var _default: any;
2
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Adds an animated progress indicator
3
+ *
4
+ * @param {string} message The message to write next to the indicator
5
+ * @param {number} [amountOfDots=3] The amount of dots you want to animate
6
+ */
7
+ export default function _default(message: string, amountOfDots?: number | undefined): NodeJS.Timer;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Adds mark cross symbol
3
+ *
4
+ * @param callback
5
+ */
6
+ export default function _default(callback: any): void;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ declare function _default(): Promise<void>;
2
+ export default _default;
@@ -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,4 @@
1
+ export namespace logger {
2
+ function error(err: any): void;
3
+ function appStarted(port: any, host: any, tunnelStarted: any): void;
4
+ }
@@ -0,0 +1 @@
1
+ export function addProdMiddlewares(app: any, options?: {}): void;
@@ -0,0 +1,2 @@
1
+ export function setupDefaultMiddlewares(app: any): void;
2
+ export function setupAdditionalMiddlewars(app: any, options: any): any;
@@ -0,0 +1,4 @@
1
+ export function getCWD(): string;
2
+ export function loadRoutes(app: any): void;
3
+ export const port: number;
4
+ export const host: any;
@@ -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$': any;
12
+ '.*\\.(html)$': any;
13
+ '.*index.html\\?resource$': any;
14
+ '@elliemae/pui-user-monitoring': any;
15
+ '@elliemae/pui-app-loader': any;
16
+ '@elliemae/pui-diagnostics': any;
17
+ 'react-spring/web': any;
18
+ 'react-spring/renderprops': any;
19
+ };
20
+ const moduleFileExtensions: string[];
21
+ const setupFilesAfterEnv: string[];
22
+ const setupFiles: string[];
23
+ const testRegex: string;
24
+ const snapshotSerializers: never[];
25
+ const testResultsProcessor: string;
26
+ const resolver: string;
27
+ const transform: {
28
+ '^.+\\.[jt]sx?$': any[];
29
+ };
30
+ const transformIgnorePatterns: string[];
31
+ namespace globals {
32
+ const APP_CONFIG: string | Buffer;
33
+ const __webpack_public_path__: string;
34
+ }
35
+ namespace testEnvironmentOptions {
36
+ const url: string;
37
+ }
38
+ const testEnvironment: string;
39
+ }
@@ -0,0 +1,39 @@
1
+ export var 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$': any;
16
+ '.*\\.(html)$': any;
17
+ '.*index.html\\?resource$': any;
18
+ '@elliemae/pui-user-monitoring': any;
19
+ '@elliemae/pui-app-loader': any;
20
+ '@elliemae/pui-diagnostics': any;
21
+ 'react-spring/web': any;
22
+ 'react-spring/renderprops': any;
23
+ };
24
+ moduleFileExtensions: string[];
25
+ testRegex: string;
26
+ snapshotSerializers: never[];
27
+ testResultsProcessor: string;
28
+ resolver: string;
29
+ transform: {
30
+ '^.+\\.[jt]sx?$': any[];
31
+ };
32
+ globals: {
33
+ APP_CONFIG: string | Buffer;
34
+ __webpack_public_path__: string;
35
+ };
36
+ testEnvironmentOptions: {
37
+ url: string;
38
+ };
39
+ };
@@ -0,0 +1,14 @@
1
+ export const defaults: {};
2
+ export namespace interceptors {
3
+ namespace request {
4
+ const use: jest.Mock<any, any>;
5
+ }
6
+ namespace response {
7
+ const use_1: jest.Mock<any, any>;
8
+ export { use_1 as use };
9
+ }
10
+ }
11
+ export const create: jest.Mock<any, any>;
12
+ export const get: jest.Mock<any, any>;
13
+ export const post: jest.Mock<any, any>;
14
+ export const put: jest.Mock<any, any>;
@@ -0,0 +1,2 @@
1
+ declare const _exports: string;
2
+ export = _exports;