@elliemae/pui-cli 7.26.1 → 7.26.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.
@@ -139,14 +139,15 @@ const devConfig = {
139
139
  devMiddleware: {
140
140
  publicPath: basePath
141
141
  },
142
- historyApiFallback: true,
142
+ historyApiFallback: {
143
+ index: `${basePath}index.html`
144
+ },
143
145
  hot: true,
144
146
  open: [basePath],
145
147
  port: process.env.PORT || "auto",
146
148
  setupMiddlewares: (middlewares, devServer) => {
147
149
  (0, import_middlewares.setupDefaultMiddlewares)(devServer.app);
148
150
  (0, import_app_routes.loadRoutes)(devServer.app);
149
- (0, import_middlewares.setupAdditionalMiddlewars)(devServer.app);
150
151
  return middlewares;
151
152
  }
152
153
  }
@@ -6,10 +6,7 @@ import CircularDependencyPlugin from "circular-dependency-plugin";
6
6
  import MiniCssExtractPlugin from "mini-css-extract-plugin";
7
7
  import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin";
8
8
  import SpeedMeasurePlugin from "speed-measure-webpack-plugin";
9
- import {
10
- setupDefaultMiddlewares,
11
- setupAdditionalMiddlewars
12
- } from "../server/middlewares.js";
9
+ import { setupDefaultMiddlewares } from "../server/middlewares.js";
13
10
  import { loadRoutes } from "../server/app-routes.cjs";
14
11
  import {
15
12
  isAppLoaderEnabled,
@@ -112,14 +109,15 @@ const devConfig = {
112
109
  devMiddleware: {
113
110
  publicPath: basePath
114
111
  },
115
- historyApiFallback: true,
112
+ historyApiFallback: {
113
+ index: `${basePath}index.html`
114
+ },
116
115
  hot: true,
117
116
  open: [basePath],
118
117
  port: process.env.PORT || "auto",
119
118
  setupMiddlewares: (middlewares, devServer) => {
120
119
  setupDefaultMiddlewares(devServer.app);
121
120
  loadRoutes(devServer.app);
122
- setupAdditionalMiddlewars(devServer.app);
123
121
  return middlewares;
124
122
  }
125
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "7.26.1",
3
+ "version": "7.26.3",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -83,9 +83,9 @@
83
83
  "@commitlint/config-conventional": "~17.4.2",
84
84
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
85
85
  "@faker-js/faker": "7.6.0",
86
- "@nrwl/cli": "15.6.1",
87
- "@nrwl/tao": "15.6.1",
88
- "@nrwl/workspace": "15.6.1",
86
+ "@nrwl/cli": "15.6.2",
87
+ "@nrwl/tao": "15.6.2",
88
+ "@nrwl/workspace": "15.6.2",
89
89
  "@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
90
90
  "@semantic-release/changelog": "~6.0.2",
91
91
  "@semantic-release/exec": "~6.0.3",
@@ -110,7 +110,7 @@
110
110
  "@testing-library/react": "~13.4.0",
111
111
  "@testing-library/react-hooks": "~8.0.1",
112
112
  "@testing-library/user-event": "~14.4.3",
113
- "@types/jest": "~29.2.6",
113
+ "@types/jest": "~29.4.0",
114
114
  "@types/jest-axe": "~3.5.5",
115
115
  "@types/node": "~18.11.18",
116
116
  "@types/rimraf": "~3.0.2",
@@ -120,7 +120,7 @@
120
120
  "@typescript-eslint/eslint-plugin": "~5.49.0",
121
121
  "@typescript-eslint/parser": "~5.49.0",
122
122
  "@vitejs/plugin-react": "~3.0.1",
123
- "@vitest/coverage-c8": "~0.28.1",
123
+ "@vitest/coverage-c8": "~0.28.2",
124
124
  "autoprefixer": "~10.4.13",
125
125
  "axe-core": "~4.6.3",
126
126
  "babel-plugin-date-fns": "~2.0.0",
@@ -255,7 +255,7 @@
255
255
  "url-loader": "~4.1.1",
256
256
  "uuid": "~9.0.0",
257
257
  "vite": "~4.0.4",
258
- "vitest": "~0.28.1",
258
+ "vitest": "~0.28.2",
259
259
  "vite-tsconfig-paths": "~4.0.5",
260
260
  "webpack": "~5.75.0",
261
261
  "webpack-bundle-analyzer": "~4.7.0",