@elliemae/pui-cli 9.0.0-next.67 → 9.0.0-next.69

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 (214) hide show
  1. package/app.tsconfig.json +3 -4
  2. package/dist/cjs/commands/lint.js +1 -1
  3. package/dist/cjs/commands/test.js +1 -1
  4. package/dist/cjs/lint-config/eslint.config.js +186 -194
  5. package/dist/cjs/release.config.js +2 -0
  6. package/dist/cjs/server/appRoutes.js +3 -1
  7. package/dist/cjs/server/csp.js +16 -12
  8. package/dist/cjs/server/index.js +24 -15
  9. package/dist/cjs/server/middlewares.js +11 -8
  10. package/dist/cjs/testing/jest.config.cjs +2 -1
  11. package/dist/cjs/testing/{extended/axe-core/index.js → mocks/frame.js} +7 -5
  12. package/dist/cjs/testing/mocks/iframe.js +3 -1
  13. package/dist/cjs/testing/setup-tests.js +9 -2
  14. package/dist/cjs/testing/vitest.config.js +0 -1
  15. package/dist/cjs/webpack/csp-plugin.js +3 -1
  16. package/dist/cjs/webpack/webpack.base.babel.js +5 -2
  17. package/dist/cjs/webpack/webpack.lib.base.babel.js +3 -1
  18. package/dist/esm/commands/lint.js +1 -1
  19. package/dist/esm/commands/test.js +1 -1
  20. package/dist/esm/lint-config/eslint.config.js +186 -194
  21. package/dist/esm/release.config.js +2 -0
  22. package/dist/esm/server/appRoutes.js +3 -1
  23. package/dist/esm/server/csp.js +16 -12
  24. package/dist/esm/server/index.js +24 -15
  25. package/dist/esm/server/middlewares.js +11 -8
  26. package/dist/esm/testing/jest.config.cjs +2 -1
  27. package/dist/esm/testing/mocks/frame.js +6 -0
  28. package/dist/esm/testing/mocks/iframe.js +3 -1
  29. package/dist/esm/testing/setup-tests.js +9 -2
  30. package/dist/esm/testing/vitest.config.js +0 -1
  31. package/dist/esm/webpack/csp-plugin.js +3 -1
  32. package/dist/esm/webpack/webpack.base.babel.js +5 -2
  33. package/dist/esm/webpack/webpack.lib.base.babel.js +3 -1
  34. package/dist/types/docusaurus.config.d.ts +0 -1
  35. package/dist/types/eslint.config.d.ts +1 -2
  36. package/dist/types/lib/babel.config.d.cts +0 -1
  37. package/dist/types/lib/build/vite.config.d.ts +0 -1
  38. package/dist/types/lib/cli.d.ts +0 -1
  39. package/dist/types/lib/commands/build.d.ts +0 -1
  40. package/dist/types/lib/commands/buildcdn.d.ts +0 -1
  41. package/dist/types/lib/commands/codemod.d.ts +0 -1
  42. package/dist/types/lib/commands/gendoc.d.ts +0 -1
  43. package/dist/types/lib/commands/lint.d.ts +0 -1
  44. package/dist/types/lib/commands/pack.d.ts +0 -1
  45. package/dist/types/lib/commands/start.d.ts +0 -1
  46. package/dist/types/lib/commands/storybook.d.ts +0 -1
  47. package/dist/types/lib/commands/test.d.ts +0 -1
  48. package/dist/types/lib/commands/tscheck.d.ts +0 -1
  49. package/dist/types/lib/commands/utils.d.ts +0 -1
  50. package/dist/types/lib/commands/version.d.ts +0 -1
  51. package/dist/types/lib/commands/vitest.d.ts +0 -1
  52. package/dist/types/lib/index.d.cts +0 -1
  53. package/dist/types/lib/index.d.ts +0 -1
  54. package/dist/types/lib/lint-config/commitlint.config.d.ts +0 -1
  55. package/dist/types/lib/lint-config/eslint.config.d.ts +2 -3
  56. package/dist/types/lib/lint-config/lint-staged.config.d.ts +0 -1
  57. package/dist/types/lib/lint-config/prettier.config.d.ts +0 -1
  58. package/dist/types/lib/lint-config/stylelint.config.d.ts +0 -1
  59. package/dist/types/lib/monorepo/delete-merged-tags.d.ts +0 -1
  60. package/dist/types/lib/monorepo/set-registry-version.d.ts +0 -1
  61. package/dist/types/lib/monorepo/set-workspace-version.d.ts +0 -1
  62. package/dist/types/lib/monorepo/utils.d.cts +0 -1
  63. package/dist/types/lib/monorepo/utils.d.ts +0 -1
  64. package/dist/types/lib/pui-config.d.ts +0 -1
  65. package/dist/types/lib/release.config.d.ts +0 -1
  66. package/dist/types/lib/server/appRoutes.d.ts +0 -1
  67. package/dist/types/lib/server/cert.d.ts +1 -2
  68. package/dist/types/lib/server/csp.d.ts +1 -2
  69. package/dist/types/lib/server/index.d.ts +0 -1
  70. package/dist/types/lib/server/logger.d.ts +0 -1
  71. package/dist/types/lib/server/middlewares.d.ts +0 -1
  72. package/dist/types/lib/server/utils.d.ts +0 -1
  73. package/dist/types/lib/server/wsServer.d.ts +0 -1
  74. package/dist/types/lib/testing/jest.config.d.cts +2 -2
  75. package/dist/types/lib/testing/jest.node.config.d.cts +2 -2
  76. package/dist/types/lib/testing/jest.polyfills.d.cts +0 -1
  77. package/dist/types/lib/testing/mocks/axios.d.ts +0 -1
  78. package/dist/types/lib/testing/mocks/cssModule.d.ts +0 -1
  79. package/dist/types/lib/testing/mocks/frame.d.ts +3 -0
  80. package/dist/types/lib/testing/mocks/html.d.ts +0 -1
  81. package/dist/types/lib/testing/mocks/iframe.d.ts +1 -1
  82. package/dist/types/lib/testing/mocks/image.d.ts +0 -1
  83. package/dist/types/lib/testing/mocks/matchMedia.d.ts +0 -1
  84. package/dist/types/lib/testing/mocks/pui-app-loader.d.ts +0 -1
  85. package/dist/types/lib/testing/mocks/pui-diagnostics.d.ts +0 -1
  86. package/dist/types/lib/testing/mocks/pui-user-monitoring.d.ts +0 -1
  87. package/dist/types/lib/testing/mocks/retry-axios.d.ts +0 -1
  88. package/dist/types/lib/testing/mocks/svg.d.ts +0 -1
  89. package/dist/types/lib/testing/mocks/webpack-hmr.d.ts +0 -1
  90. package/dist/types/lib/testing/resolver.d.cts +0 -1
  91. package/dist/types/lib/testing/setup-react-env.d.ts +0 -1
  92. package/dist/types/lib/testing/setup-tests.d.ts +0 -1
  93. package/dist/types/lib/testing/vitest.config.d.ts +1 -2
  94. package/dist/types/lib/transpile/esbuild.d.ts +0 -1
  95. package/dist/types/lib/transpile/react-shim.d.ts +0 -1
  96. package/dist/types/lib/transpile/swcrc.config.d.cts +0 -1
  97. package/dist/types/lib/typedoc.d.cts +0 -1
  98. package/dist/types/lib/update-notifier.d.ts +0 -1
  99. package/dist/types/lib/utils.d.cts +1 -2
  100. package/dist/types/lib/utils.d.ts +1 -2
  101. package/dist/types/lib/webpack/csp-plugin.d.ts +3 -2
  102. package/dist/types/lib/webpack/csp.d.ts +0 -1
  103. package/dist/types/lib/webpack/helpers.d.ts +0 -1
  104. package/dist/types/lib/webpack/interceptor-middleware.d.ts +0 -1
  105. package/dist/types/lib/webpack/webpack.base.babel.d.ts +0 -1
  106. package/dist/types/lib/webpack/webpack.dev.babel.d.ts +0 -1
  107. package/dist/types/lib/webpack/webpack.lib.base.babel.d.ts +0 -1
  108. package/dist/types/lib/webpack/webpack.lib.dev.babel.d.ts +0 -1
  109. package/dist/types/lib/webpack/webpack.lib.prod.babel.d.ts +0 -1
  110. package/dist/types/lib/webpack/webpack.prod.babel.d.ts +0 -1
  111. package/dist/types/lib/webpack/webpack.storybook.d.ts +0 -1
  112. package/dist/types/tsconfig.tsbuildinfo +1 -1
  113. package/library.tsconfig.json +6 -11
  114. package/package.json +163 -156
  115. package/dist/cjs/testing/ExtendedJSDomEnv.cjs +0 -46
  116. package/dist/cjs/testing/extended/axe-core/getMessageAndPass.js +0 -36
  117. package/dist/cjs/testing/extended/axe-core/reporter.js +0 -50
  118. package/dist/cjs/testing/extended/axe-core/shouldIgnoreNodeViolation.js +0 -31
  119. package/dist/cjs/testing/extended/axe-core/toHaveNoViolations.js +0 -42
  120. package/dist/esm/testing/ExtendedJSDomEnv.cjs +0 -46
  121. package/dist/esm/testing/extended/axe-core/getMessageAndPass.js +0 -16
  122. package/dist/esm/testing/extended/axe-core/index.js +0 -4
  123. package/dist/esm/testing/extended/axe-core/reporter.js +0 -30
  124. package/dist/esm/testing/extended/axe-core/shouldIgnoreNodeViolation.js +0 -11
  125. package/dist/esm/testing/extended/axe-core/toHaveNoViolations.js +0 -22
  126. package/dist/types/docusaurus.config.d.ts.map +0 -1
  127. package/dist/types/eslint.config.d.ts.map +0 -1
  128. package/dist/types/lib/babel.config.d.cts.map +0 -1
  129. package/dist/types/lib/build/vite.config.d.ts.map +0 -1
  130. package/dist/types/lib/cli.d.ts.map +0 -1
  131. package/dist/types/lib/commands/build.d.ts.map +0 -1
  132. package/dist/types/lib/commands/buildcdn.d.ts.map +0 -1
  133. package/dist/types/lib/commands/codemod.d.ts.map +0 -1
  134. package/dist/types/lib/commands/gendoc.d.ts.map +0 -1
  135. package/dist/types/lib/commands/lint.d.ts.map +0 -1
  136. package/dist/types/lib/commands/pack.d.ts.map +0 -1
  137. package/dist/types/lib/commands/start.d.ts.map +0 -1
  138. package/dist/types/lib/commands/storybook.d.ts.map +0 -1
  139. package/dist/types/lib/commands/test.d.ts.map +0 -1
  140. package/dist/types/lib/commands/tscheck.d.ts.map +0 -1
  141. package/dist/types/lib/commands/utils.d.ts.map +0 -1
  142. package/dist/types/lib/commands/version.d.ts.map +0 -1
  143. package/dist/types/lib/commands/vitest.d.ts.map +0 -1
  144. package/dist/types/lib/index.d.cts.map +0 -1
  145. package/dist/types/lib/index.d.ts.map +0 -1
  146. package/dist/types/lib/lint-config/commitlint.config.d.ts.map +0 -1
  147. package/dist/types/lib/lint-config/eslint.config.d.ts.map +0 -1
  148. package/dist/types/lib/lint-config/lint-staged.config.d.ts.map +0 -1
  149. package/dist/types/lib/lint-config/prettier.config.d.ts.map +0 -1
  150. package/dist/types/lib/lint-config/stylelint.config.d.ts.map +0 -1
  151. package/dist/types/lib/monorepo/delete-merged-tags.d.ts.map +0 -1
  152. package/dist/types/lib/monorepo/set-registry-version.d.ts.map +0 -1
  153. package/dist/types/lib/monorepo/set-workspace-version.d.ts.map +0 -1
  154. package/dist/types/lib/monorepo/utils.d.cts.map +0 -1
  155. package/dist/types/lib/monorepo/utils.d.ts.map +0 -1
  156. package/dist/types/lib/pui-config.d.ts.map +0 -1
  157. package/dist/types/lib/release.config.d.ts.map +0 -1
  158. package/dist/types/lib/server/appRoutes.d.ts.map +0 -1
  159. package/dist/types/lib/server/cert.d.ts.map +0 -1
  160. package/dist/types/lib/server/csp.d.ts.map +0 -1
  161. package/dist/types/lib/server/index.d.ts.map +0 -1
  162. package/dist/types/lib/server/logger.d.ts.map +0 -1
  163. package/dist/types/lib/server/middlewares.d.ts.map +0 -1
  164. package/dist/types/lib/server/utils.d.ts.map +0 -1
  165. package/dist/types/lib/server/wsServer.d.ts.map +0 -1
  166. package/dist/types/lib/testing/ExtendedJSDomEnv.d.cts +0 -6
  167. package/dist/types/lib/testing/ExtendedJSDomEnv.d.cts.map +0 -1
  168. package/dist/types/lib/testing/extended/axe-core/getMessageAndPass.d.ts +0 -9
  169. package/dist/types/lib/testing/extended/axe-core/getMessageAndPass.d.ts.map +0 -1
  170. package/dist/types/lib/testing/extended/axe-core/index.d.ts +0 -2
  171. package/dist/types/lib/testing/extended/axe-core/index.d.ts.map +0 -1
  172. package/dist/types/lib/testing/extended/axe-core/reporter.d.ts +0 -3
  173. package/dist/types/lib/testing/extended/axe-core/reporter.d.ts.map +0 -1
  174. package/dist/types/lib/testing/extended/axe-core/shouldIgnoreNodeViolation.d.ts +0 -3
  175. package/dist/types/lib/testing/extended/axe-core/shouldIgnoreNodeViolation.d.ts.map +0 -1
  176. package/dist/types/lib/testing/extended/axe-core/toHaveNoViolations.d.ts +0 -13
  177. package/dist/types/lib/testing/extended/axe-core/toHaveNoViolations.d.ts.map +0 -1
  178. package/dist/types/lib/testing/jest.config.d.cts.map +0 -1
  179. package/dist/types/lib/testing/jest.node.config.d.cts.map +0 -1
  180. package/dist/types/lib/testing/jest.polyfills.d.cts.map +0 -1
  181. package/dist/types/lib/testing/mocks/axios.d.ts.map +0 -1
  182. package/dist/types/lib/testing/mocks/cssModule.d.ts.map +0 -1
  183. package/dist/types/lib/testing/mocks/html.d.ts.map +0 -1
  184. package/dist/types/lib/testing/mocks/iframe.d.ts.map +0 -1
  185. package/dist/types/lib/testing/mocks/image.d.ts.map +0 -1
  186. package/dist/types/lib/testing/mocks/matchMedia.d.ts.map +0 -1
  187. package/dist/types/lib/testing/mocks/pui-app-loader.d.ts.map +0 -1
  188. package/dist/types/lib/testing/mocks/pui-diagnostics.d.ts.map +0 -1
  189. package/dist/types/lib/testing/mocks/pui-user-monitoring.d.ts.map +0 -1
  190. package/dist/types/lib/testing/mocks/retry-axios.d.ts.map +0 -1
  191. package/dist/types/lib/testing/mocks/svg.d.ts.map +0 -1
  192. package/dist/types/lib/testing/mocks/webpack-hmr.d.ts.map +0 -1
  193. package/dist/types/lib/testing/resolver.d.cts.map +0 -1
  194. package/dist/types/lib/testing/setup-react-env.d.ts.map +0 -1
  195. package/dist/types/lib/testing/setup-tests.d.ts.map +0 -1
  196. package/dist/types/lib/testing/vitest.config.d.ts.map +0 -1
  197. package/dist/types/lib/transpile/esbuild.d.ts.map +0 -1
  198. package/dist/types/lib/transpile/react-shim.d.ts.map +0 -1
  199. package/dist/types/lib/transpile/swcrc.config.d.cts.map +0 -1
  200. package/dist/types/lib/typedoc.d.cts.map +0 -1
  201. package/dist/types/lib/update-notifier.d.ts.map +0 -1
  202. package/dist/types/lib/utils.d.cts.map +0 -1
  203. package/dist/types/lib/utils.d.ts.map +0 -1
  204. package/dist/types/lib/webpack/csp-plugin.d.ts.map +0 -1
  205. package/dist/types/lib/webpack/csp.d.ts.map +0 -1
  206. package/dist/types/lib/webpack/helpers.d.ts.map +0 -1
  207. package/dist/types/lib/webpack/interceptor-middleware.d.ts.map +0 -1
  208. package/dist/types/lib/webpack/webpack.base.babel.d.ts.map +0 -1
  209. package/dist/types/lib/webpack/webpack.dev.babel.d.ts.map +0 -1
  210. package/dist/types/lib/webpack/webpack.lib.base.babel.d.ts.map +0 -1
  211. package/dist/types/lib/webpack/webpack.lib.dev.babel.d.ts.map +0 -1
  212. package/dist/types/lib/webpack/webpack.lib.prod.babel.d.ts.map +0 -1
  213. package/dist/types/lib/webpack/webpack.prod.babel.d.ts.map +0 -1
  214. package/dist/types/lib/webpack/webpack.storybook.d.ts.map +0 -1
@@ -63,6 +63,7 @@ const jestConfig = {
63
63
  getMockFilePath('image.js'),
64
64
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': getMockFilePath('svg.js'),
65
65
  '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('iframe.js'),
66
+ '.*frame\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('frame.js'),
66
67
  '.*\\.html(?:\\?[a-zA-Z]+)?$': getMockFilePath('html.js'),
67
68
  '@elliemae/pui-user-monitoring': getMockFilePath('pui-user-monitoring.js'),
68
69
  '@elliemae/pui-app-loader': getMockFilePath('pui-app-loader.js'),
@@ -95,7 +96,7 @@ const jestConfig = {
95
96
  resources: 'usable',
96
97
  customExportConditions: [''],
97
98
  },
98
- testEnvironment: path.resolve(__dirname, './ExtendedJSDomEnv.cjs'),
99
+ testEnvironment: 'jsdom',
99
100
  watchPlugins: [
100
101
  'jest-watch-typeahead/filename',
101
102
  'jest-watch-typeahead/testname',
@@ -0,0 +1,6 @@
1
+ const filename = "./frame.html";
2
+ var frame_default = "./frame.html";
3
+ export {
4
+ frame_default as default,
5
+ filename
6
+ };
@@ -1,4 +1,6 @@
1
+ const filename = "./iframe.html";
1
2
  var iframe_default = "./iframe.html";
2
3
  export {
3
- iframe_default as default
4
+ iframe_default as default,
5
+ filename
4
6
  };
@@ -1,9 +1,13 @@
1
1
  import "regenerator-runtime/runtime";
2
+ import { webcrypto } from "node:crypto";
2
3
  import "@testing-library/jest-dom/jest-globals";
4
+ import jestAxe from "jest-axe";
3
5
  import ResizeObserver from "resize-observer-polyfill";
4
- import { toHaveNoViolations } from "./extended/axe-core";
5
6
  import { addMatchMedia } from "./mocks/matchMedia.js";
6
7
  import { logger } from "./mocks/pui-diagnostics.js";
8
+ Object.defineProperty(globalThis, "crypto", {
9
+ value: webcrypto
10
+ });
7
11
  const originalError = console.error;
8
12
  console.error = (...args) => {
9
13
  const ignoreList = [
@@ -23,7 +27,7 @@ console.error = (...args) => {
23
27
  return false;
24
28
  return originalError(...args);
25
29
  };
26
- if (expect) expect.extend(toHaveNoViolations);
30
+ if (expect) expect.extend(jestAxe.toHaveNoViolations);
27
31
  const addElementToBody = (element) => {
28
32
  const documentEle = (window || {}).document;
29
33
  if (!documentEle) return null;
@@ -67,3 +71,6 @@ global.it = (name, fn, timeout = void 0) => {
67
71
  };
68
72
  global.it.skip = originalTest.skip;
69
73
  global.it.only = originalTest.only;
74
+ if (!global.performance.getEntriesByType) {
75
+ global.performance.getEntriesByType = jest.fn(() => []);
76
+ }
@@ -2,7 +2,6 @@ import { defineConfig, configDefaults } from "vitest/config";
2
2
  import react from "@vitejs/plugin-react";
3
3
  import tsconfigPaths from "vite-tsconfig-paths";
4
4
  const vitestConfig = defineConfig({
5
- // @ts-expect-error - `react` and `tsconfigPaths` are not part of the default config
6
5
  plugins: [react(), tsconfigPaths()],
7
6
  test: {
8
7
  globals: true,
@@ -6,6 +6,8 @@ const defaultOptions = {
6
6
  class CspPlugin {
7
7
  #options = defaultOptions;
8
8
  /**
9
+ *
10
+ * @param htmlWebpackPlugin
9
11
  * @param {object} options Additional options for this module.
10
12
  */
11
13
  constructor(options) {
@@ -13,7 +15,7 @@ class CspPlugin {
13
15
  }
14
16
  /**
15
17
  * Processes HtmlWebpackPlugin's html data by adding the CSP
16
- * @param _compilation
18
+ * @param compilation
17
19
  * @param htmlPluginData
18
20
  * @param htmlPluginData.html
19
21
  * @param compileCb
@@ -8,6 +8,7 @@ import MomentLocalesPlugin from "moment-locales-webpack-plugin";
8
8
  import { WebpackManifestPlugin } from "webpack-manifest-plugin";
9
9
  import FaviconsWebpackPlugin from "favicons-webpack-plugin";
10
10
  import browserslistToEsbuild from "browserslist-to-esbuild";
11
+ import DotEnvWebpack from "dotenv-webpack";
11
12
  import {
12
13
  excludeNodeModulesExcept,
13
14
  modulesToTranspile,
@@ -27,6 +28,7 @@ const plugins = [
27
28
  NODE_ENV: "development",
28
29
  CI: "false"
29
30
  }),
31
+ new DotEnvWebpack(),
30
32
  new webpack.ProvidePlugin({
31
33
  React: "react"
32
34
  }),
@@ -49,6 +51,7 @@ const plugins = [
49
51
  from: "node_modules/@elliemae/pui-user-monitoring/dist/public/js",
50
52
  to: "./latest/js",
51
53
  toType: "dir",
54
+ noErrorOnMissing: true,
52
55
  info: { minimized: true }
53
56
  },
54
57
  // {
@@ -225,11 +228,11 @@ const baseConfig = (options) => ({
225
228
  type: "asset"
226
229
  },
227
230
  {
228
- test: /iframe.html$/i,
231
+ test: /i?frame.html$/i,
229
232
  resourceQuery: /resource/,
230
233
  type: "asset/resource",
231
234
  generator: {
232
- filename: "latest/[name].[hash][ext]"
235
+ filename: "latest/[name].[ext]"
233
236
  },
234
237
  exclude: excludeNodeModulesExcept(modulesToTranspile)
235
238
  },
@@ -7,6 +7,7 @@ import PostcssPresetEnv from "postcss-preset-env";
7
7
  import MomentLocalesPlugin from "moment-locales-webpack-plugin";
8
8
  import ResolveTypeScriptPlugin from "resolve-typescript-plugin";
9
9
  import browserslistToEsbuild from "browserslist-to-esbuild";
10
+ import DotEnvWebpack from "dotenv-webpack";
10
11
  import {
11
12
  excludeNodeModulesExcept,
12
13
  getLibraryVariableName,
@@ -36,6 +37,7 @@ const plugins = [
36
37
  ASSET_PATH: "/",
37
38
  CI: "false"
38
39
  }),
40
+ new DotEnvWebpack(),
39
41
  new webpack.DefinePlugin({
40
42
  APP_CONFIG: getAppConfig()
41
43
  }),
@@ -149,7 +151,7 @@ const baseConfig = (options) => ({
149
151
  type: "asset"
150
152
  },
151
153
  // {
152
- // test: /(?<!\/iframe)\.html$/,
154
+ // test: /(?<!\/i?frame)\.html$/,
153
155
  // exclude: excludeNodeModulesExcept(['@elliemae/*']),
154
156
  // use: 'html-loader',
155
157
  // },
@@ -1,3 +1,2 @@
1
1
  declare const _default: import("@docusaurus/types").Config;
2
2
  export default _default;
3
- //# sourceMappingURL=docusaurus.config.d.ts.map
@@ -1,3 +1,2 @@
1
- import { config } from './lib/lint-config/eslint.config';
1
+ import { config } from './lib/lint-config/eslint.config.js';
2
2
  export default config;
3
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -57,4 +57,3 @@ declare namespace config {
57
57
  }
58
58
  }
59
59
  }
60
- //# sourceMappingURL=babel.config.d.cts.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: import("vite").UserConfig;
2
2
  export default _default;
3
- //# sourceMappingURL=vite.config.d.ts.map
@@ -1,3 +1,2 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
- //# sourceMappingURL=cli.d.ts.map
@@ -4,4 +4,3 @@ interface Arguments {
4
4
  }
5
5
  export declare const buildCmd: CommandModule<Record<string, never>, Arguments>;
6
6
  export {};
7
- //# sourceMappingURL=build.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { CommandModule } from 'yargs';
2
2
  export declare const buildCDNCmd: CommandModule<Record<string, never>>;
3
- //# sourceMappingURL=buildcdn.d.ts.map
@@ -4,4 +4,3 @@ interface Arguments {
4
4
  }
5
5
  export declare const codemodCmd: CommandModule<Record<string, never>, Arguments>;
6
6
  export {};
7
- //# sourceMappingURL=codemod.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { CommandModule } from 'yargs';
2
2
  export declare const gendocCmd: CommandModule<Record<string, never>, Record<string, never>>;
3
- //# sourceMappingURL=gendoc.d.ts.map
@@ -7,4 +7,3 @@ interface Arguments {
7
7
  }
8
8
  export declare const lintCmd: CommandModule<Record<string, never>, Arguments>;
9
9
  export {};
10
- //# sourceMappingURL=lint.d.ts.map
@@ -6,4 +6,3 @@ interface Arguments {
6
6
  }
7
7
  export declare const packCmd: CommandModule<Record<string, never>, Arguments>;
8
8
  export {};
9
- //# sourceMappingURL=pack.d.ts.map
@@ -4,4 +4,3 @@ interface Arguments {
4
4
  }
5
5
  export declare const startCmd: CommandModule<Record<string, never>, Arguments>;
6
6
  export {};
7
- //# sourceMappingURL=start.d.ts.map
@@ -6,4 +6,3 @@ interface Arguments {
6
6
  }
7
7
  export declare const storybookCmd: CommandModule<Record<string, never>, Arguments>;
8
8
  export {};
9
- //# sourceMappingURL=storybook.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import type { CommandModule } from 'yargs';
2
2
  export declare const testCmd: CommandModule;
3
- //# sourceMappingURL=test.d.ts.map
@@ -3,4 +3,3 @@ export interface Arguments {
3
3
  files: string[];
4
4
  }
5
5
  export declare const tscheckCmd: CommandModule<Record<string, never>, Arguments>;
6
- //# sourceMappingURL=tscheck.d.ts.map
@@ -37,4 +37,3 @@ export declare const isTypeScriptEnabled: () => boolean;
37
37
  * @see {@link https://stackblitz.com/edit/node-gqcdb4?file=package.json stackblitz test}
38
38
  */
39
39
  export declare const getUnspecifiedOptions: (options: Record<string, Record<string, unknown>>, command: string) => Record<string, string | boolean>;
40
- //# sourceMappingURL=utils.d.ts.map
@@ -7,4 +7,3 @@ interface Arguments {
7
7
  }
8
8
  export declare const versionCmd: CommandModule<Record<string, never>, Arguments>;
9
9
  export {};
10
- //# sourceMappingURL=version.d.ts.map
@@ -8,4 +8,3 @@ interface Arguments {
8
8
  }
9
9
  export declare const vitestCmd: CommandModule<Record<string, never>, Arguments>;
10
10
  export {};
11
- //# sourceMappingURL=vitest.d.ts.map
@@ -2,4 +2,3 @@ import { babelConfig } from "./babel.config.cjs";
2
2
  import { jestConfig } from "./testing/jest.config.cjs";
3
3
  import { jestNodeConfig } from "./testing/jest.node.config.cjs";
4
4
  export { babelConfig, jestConfig, jestNodeConfig };
5
- //# sourceMappingURL=index.d.cts.map
@@ -10,4 +10,3 @@ export { jestConfig } from './testing/jest.config.cjs';
10
10
  export { jestNodeConfig } from './testing/jest.node.config.cjs';
11
11
  export { loadRoutes } from './server/appRoutes.js';
12
12
  export { webpackFinal } from './webpack/webpack.storybook.js';
13
- //# sourceMappingURL=index.d.ts.map
@@ -2,4 +2,3 @@ export namespace commitlintConfig {
2
2
  let _extends: string[];
3
3
  export { _extends as extends };
4
4
  }
5
- //# sourceMappingURL=commitlint.config.d.ts.map
@@ -1,4 +1,3 @@
1
- export type { TSESLint } from "@typescript-eslint/utils";
2
- declare const config: import("@typescript-eslint/utils/ts-eslint").FlatConfig.ConfigArray;
1
+ import { Linter } from "eslint";
2
+ declare const config: Linter.Config<Linter.RulesRecord>[];
3
3
  export { config };
4
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -3,4 +3,3 @@ export const lintStagedConfig: {
3
3
  "*.{ts,tsx}": string[];
4
4
  "*.{js,ts,jsx,tsx}": string[];
5
5
  };
6
- //# sourceMappingURL=lint-staged.config.d.ts.map
@@ -1,3 +1,2 @@
1
1
  /** @type {import("prettier").Config} */
2
2
  export const prettierConfig: import("prettier").Config;
3
- //# sourceMappingURL=prettier.config.d.ts.map
@@ -11,4 +11,3 @@ export namespace stylelintConfig {
11
11
  "no-empty-source": null;
12
12
  };
13
13
  }
14
- //# sourceMappingURL=stylelint.config.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const deleteMergedTags: () => void;
2
- //# sourceMappingURL=delete-merged-tags.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const setRegistryVersion: () => Promise<void>;
2
- //# sourceMappingURL=set-registry-version.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare const setWorkspaceVersion: () => Promise<void>;
2
- //# sourceMappingURL=set-workspace-version.d.ts.map
@@ -1,2 +1 @@
1
1
  export function findMonoRepoRoot(cwd?: string): string | null;
2
- //# sourceMappingURL=utils.d.cts.map
@@ -1,2 +1 @@
1
1
  export declare const findMonoRepoRoot: (cwd?: string) => string | null;
2
- //# sourceMappingURL=utils.d.ts.map
@@ -1,2 +1 @@
1
1
  export function getPUIConfig(): any;
2
- //# sourceMappingURL=pui-config.d.ts.map
@@ -8,4 +8,3 @@ declare namespace _default {
8
8
  })[])[];
9
9
  }
10
10
  export default _default;
11
- //# sourceMappingURL=release.config.d.ts.map
@@ -1,3 +1,2 @@
1
1
  import { Application } from 'express';
2
2
  export declare const loadRoutes: (app: Application) => Promise<void>;
3
- //# sourceMappingURL=appRoutes.d.ts.map
@@ -1,5 +1,4 @@
1
1
  export declare const getCertOptions: () => {
2
- pfx: Buffer<ArrayBufferLike>;
2
+ pfx: NonSharedBuffer;
3
3
  passphrase: string;
4
4
  };
5
- //# sourceMappingURL=cert.d.ts.map
@@ -7,7 +7,6 @@ interface CSPConfig {
7
7
  res: Response<unknown, Record<string, unknown>>;
8
8
  fileSystem?: typeof fs;
9
9
  }
10
- export declare const sendFileWithCSPNonce: ({ buildPath, page, nonceRegex, res, fileSystem, }: CSPConfig) => void;
10
+ export declare const sendFileWithCSPNonce: ({ buildPath, page, nonceRegex, res, fileSystem, }: CSPConfig) => Promise<void>;
11
11
  export declare const csp: (app: Application) => void;
12
12
  export {};
13
- //# sourceMappingURL=csp.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@ export declare const logger: {
5
5
  error: (err: Error) => void;
6
6
  appStarted: (port: string, host: string, tunnelStarted?: string) => void;
7
7
  };
8
- //# sourceMappingURL=logger.d.ts.map
@@ -4,4 +4,3 @@ export declare const setupAdditionalMiddlewars: (app: Application, options?: {
4
4
  buildPath?: string;
5
5
  basePath?: string;
6
6
  }) => express.Application;
7
- //# sourceMappingURL=middlewares.d.ts.map
@@ -2,4 +2,3 @@ export declare const getCWD: () => string;
2
2
  export declare const port: number;
3
3
  export declare const host: string;
4
4
  export declare const wsPort: number;
5
- //# sourceMappingURL=utils.d.ts.map
@@ -11,4 +11,3 @@ export interface WSServerOptions {
11
11
  onOpen?: (webSocket: wsLib.WebSocket) => void;
12
12
  }
13
13
  export declare const createWSServer: ({ port, pingInterval, onOpen, }: WSServerOptions) => Promise<Servers>;
14
- //# sourceMappingURL=wsServer.d.ts.map
@@ -12,6 +12,7 @@ export namespace jestConfig {
12
12
  '.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
13
13
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': string;
14
14
  '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': string;
15
+ '.*frame\\.html(?:\\?[a-zA-Z]+)?$': string;
15
16
  '.*\\.html(?:\\?[a-zA-Z]+)?$': string;
16
17
  '@elliemae/pui-user-monitoring': string;
17
18
  '@elliemae/pui-app-loader': string;
@@ -31,7 +32,7 @@ export namespace jestConfig {
31
32
  };
32
33
  let transformIgnorePatterns: string[];
33
34
  namespace globals {
34
- let APP_CONFIG: string | Buffer<ArrayBufferLike>;
35
+ let APP_CONFIG: string | NonSharedBuffer;
35
36
  let __webpack_public_path__: string;
36
37
  }
37
38
  namespace testEnvironmentOptions {
@@ -44,4 +45,3 @@ export namespace jestConfig {
44
45
  let testTimeout: number;
45
46
  let prettierPath: null;
46
47
  }
47
- //# sourceMappingURL=jest.config.d.cts.map
@@ -16,6 +16,7 @@ export const jestNodeConfig: {
16
16
  '.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
17
17
  '.*\\.svg(?:\\?[a-zA-Z]+)?$': string;
18
18
  '.*iframe\\.html(?:\\?[a-zA-Z]+)?$': string;
19
+ '.*frame\\.html(?:\\?[a-zA-Z]+)?$': string;
19
20
  '.*\\.html(?:\\?[a-zA-Z]+)?$': string;
20
21
  '@elliemae/pui-user-monitoring': string;
21
22
  '@elliemae/pui-app-loader': string;
@@ -32,7 +33,7 @@ export const jestNodeConfig: {
32
33
  '^.+\\.[jt]sx?$': any[];
33
34
  };
34
35
  globals: {
35
- APP_CONFIG: string | Buffer<ArrayBufferLike>;
36
+ APP_CONFIG: string | NonSharedBuffer;
36
37
  __webpack_public_path__: string;
37
38
  };
38
39
  testEnvironmentOptions: {
@@ -44,4 +45,3 @@ export const jestNodeConfig: {
44
45
  testTimeout: number;
45
46
  prettierPath: null;
46
47
  };
47
- //# sourceMappingURL=jest.node.config.d.cts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=jest.polyfills.d.cts.map
@@ -15,4 +15,3 @@ declare namespace _default {
15
15
  let put: jest.Mock<any, any, any>;
16
16
  }
17
17
  export default _default;
18
- //# sourceMappingURL=axios.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: "CSS_MODULE";
2
2
  export default _default;
3
- //# sourceMappingURL=cssModule.d.ts.map
@@ -0,0 +1,3 @@
1
+ export const filename: "./frame.html";
2
+ declare const _default: "./frame.html";
3
+ export default _default;
@@ -1,3 +1,2 @@
1
1
  declare const _default: "HTML_MODULE";
2
2
  export default _default;
3
- //# sourceMappingURL=html.d.ts.map
@@ -1,3 +1,3 @@
1
+ export const filename: "./iframe.html";
1
2
  declare const _default: "./iframe.html";
2
3
  export default _default;
3
- //# sourceMappingURL=iframe.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare const _default: "IMAGE_MOCK";
2
2
  export default _default;
3
- //# sourceMappingURL=image.d.ts.map
@@ -1,2 +1 @@
1
1
  export function addMatchMedia(): void;
2
- //# sourceMappingURL=matchMedia.d.ts.map
@@ -1,2 +1 @@
1
1
  export function load(): void;
2
- //# sourceMappingURL=pui-app-loader.d.ts.map
@@ -36,4 +36,3 @@ export function http(): {
36
36
  export function webvitals(): void;
37
37
  export function logUnhandledErrors(): void;
38
38
  export function redactPii(): void;
39
- //# sourceMappingURL=pui-diagnostics.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export function setCustomUserData(): void;
2
2
  export function setCustomVirtualPageName(): void;
3
3
  export function startVirtualPageMonitoringWithAutoEnd(): void;
4
- //# sourceMappingURL=pui-user-monitoring.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export const attach: jest.Mock<any, any, any>;
2
2
  export const detach: jest.Mock<any, any, any>;
3
3
  export const getConfig: jest.Mock<any, any, any>;
4
- //# sourceMappingURL=retry-axios.d.ts.map
@@ -1,4 +1,3 @@
1
1
  declare const _default: "SvgrURL";
2
2
  export default _default;
3
3
  export const ReactComponent: "div";
4
- //# sourceMappingURL=svg.d.ts.map
@@ -1,2 +1 @@
1
1
  export function enableHotReloading(): void;
2
- //# sourceMappingURL=webpack-hmr.d.ts.map
@@ -1,3 +1,2 @@
1
1
  declare function _exports(request: any, options: any): string | false;
2
2
  export = _exports;
3
- //# sourceMappingURL=resolver.d.cts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=setup-react-env.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=setup-tests.d.ts.map
@@ -1,2 +1 @@
1
- export declare const vitestConfig: import("vite").UserConfig & Promise<import("vite").UserConfig> & (import("vitest/config.js").UserConfigFnObject & import("vitest/config.js").UserConfigExport);
2
- //# sourceMappingURL=vitest.config.d.ts.map
1
+ export declare const vitestConfig: import("vite").UserConfig;
@@ -11,4 +11,3 @@ export function esBuild({ srcdir, outdir, esmOnly, target, injectReactShim, skip
11
11
  injectReactShim?: boolean | undefined;
12
12
  skipNestedPackageJSON?: boolean | undefined;
13
13
  }): Promise<void>;
14
- //# sourceMappingURL=esbuild.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export { React };
2
2
  import * as React from 'react';
3
- //# sourceMappingURL=react-shim.d.ts.map
@@ -1,2 +1 @@
1
1
  export const swcrcConfig: any;
2
- //# sourceMappingURL=swcrc.config.d.cts.map
@@ -1,4 +1,3 @@
1
1
  export let entryPoints: string[];
2
2
  export let exclude: string[];
3
3
  export let out: string;
4
- //# sourceMappingURL=typedoc.d.cts.map
@@ -1,2 +1 @@
1
1
  export function notifyUpdates(): Promise<void>;
2
- //# sourceMappingURL=update-notifier.d.ts.map
@@ -1,5 +1,4 @@
1
1
  export const basePath: string;
2
- export function getAppConfig(): "{}" | Buffer<ArrayBufferLike>;
2
+ export function getAppConfig(): "{}" | NonSharedBuffer;
3
3
  export function isTypeScriptEnabled(): boolean;
4
4
  export function isApp(): boolean;
5
- //# sourceMappingURL=utils.d.cts.map
@@ -1,5 +1,4 @@
1
1
  export declare const basePath: string;
2
2
  export declare const isApp: () => boolean;
3
3
  export declare const isHttps: () => boolean;
4
- export declare const getAppConfig: () => "{}" | Buffer<ArrayBufferLike>;
5
- //# sourceMappingURL=utils.d.ts.map
4
+ export declare const getAppConfig: () => "{}" | NonSharedBuffer;
@@ -11,12 +11,14 @@ declare const defaultOptions: {
11
11
  declare class CspPlugin {
12
12
  #private;
13
13
  /**
14
+ *
15
+ * @param htmlWebpackPlugin
14
16
  * @param {object} options Additional options for this module.
15
17
  */
16
18
  constructor(options?: typeof defaultOptions);
17
19
  /**
18
20
  * Processes HtmlWebpackPlugin's html data by adding the CSP
19
- * @param _compilation
21
+ * @param compilation
20
22
  * @param htmlPluginData
21
23
  * @param htmlPluginData.html
22
24
  * @param compileCb
@@ -30,4 +32,3 @@ declare class CspPlugin {
30
32
  apply(compiler: webpack.Compiler): void;
31
33
  }
32
34
  export { CspPlugin };
33
- //# sourceMappingURL=csp-plugin.d.ts.map
@@ -63,4 +63,3 @@ declare class CSP {
63
63
  static hashInlineScript(scriptText: string): string;
64
64
  }
65
65
  export { CSP };
66
- //# sourceMappingURL=csp.d.ts.map
@@ -30,4 +30,3 @@ export declare const getCompressionPlugins: (isLibrary?: boolean) => Compression
30
30
  export declare const filterByFilePresence: (patterns: ObjectPattern[]) => ObjectPattern[];
31
31
  export declare const resolveExtensions: string[];
32
32
  export declare const mainFields: string[];
33
- //# sourceMappingURL=helpers.d.ts.map
@@ -8,4 +8,3 @@ type ReplacerFunction = (req: Request, res: Response) => {
8
8
  export declare const interceptorMiddleware: (fn: ReplacerFunction) => (req: Request, res: Response, next: () => void) => void;
9
9
  export declare const addCSPNonceMiddleware: (middlewares: Middleware[]) => void;
10
10
  export {};
11
- //# sourceMappingURL=interceptor-middleware.d.ts.map
@@ -1,4 +1,3 @@
1
1
  import { Configuration } from 'webpack';
2
2
  import 'webpack-dev-server';
3
3
  export declare const baseConfig: (options: Configuration) => Configuration;
4
- //# sourceMappingURL=webpack.base.babel.d.ts.map