@elliemae/pui-cli 8.0.0-next.3 → 8.0.0-next.4

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.
@@ -137,7 +137,9 @@ const devConfig = {
137
137
  devMiddleware: {
138
138
  publicPath: basePath
139
139
  },
140
- historyApiFallback: true,
140
+ historyApiFallback: {
141
+ index: `${basePath}index.html`
142
+ },
141
143
  hot: true,
142
144
  open: [basePath],
143
145
  port: process.env.PORT || "auto",
@@ -145,8 +147,6 @@ const devConfig = {
145
147
  if (devServer.app) {
146
148
  (0, import_middlewares.setupDefaultMiddlewares)(devServer.app);
147
149
  (0, import_appRoutes.loadRoutes)(devServer.app).then(() => {
148
- if (devServer.app)
149
- (0, import_middlewares.setupAdditionalMiddlewars)(devServer.app);
150
150
  }).catch((err) => {
151
151
  console.error(err);
152
152
  });
@@ -5,10 +5,7 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
5
5
  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
- import {
9
- setupAdditionalMiddlewars,
10
- setupDefaultMiddlewares
11
- } from "../server/middlewares.js";
8
+ import { setupDefaultMiddlewares } from "../server/middlewares.js";
12
9
  import { loadRoutes } from "../server/appRoutes.js";
13
10
  import {
14
11
  isAppLoaderEnabled,
@@ -110,7 +107,9 @@ const devConfig = {
110
107
  devMiddleware: {
111
108
  publicPath: basePath
112
109
  },
113
- historyApiFallback: true,
110
+ historyApiFallback: {
111
+ index: `${basePath}index.html`
112
+ },
114
113
  hot: true,
115
114
  open: [basePath],
116
115
  port: process.env.PORT || "auto",
@@ -118,8 +117,6 @@ const devConfig = {
118
117
  if (devServer.app) {
119
118
  setupDefaultMiddlewares(devServer.app);
120
119
  loadRoutes(devServer.app).then(() => {
121
- if (devServer.app)
122
- setupAdditionalMiddlewars(devServer.app);
123
120
  }).catch((err) => {
124
121
  console.error(err);
125
122
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.0.0-next.3",
3
+ "version": "8.0.0-next.4",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -89,28 +89,28 @@
89
89
  "@commitlint/config-conventional": "~17.4.2",
90
90
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
91
91
  "@faker-js/faker": "7.6.0",
92
- "@nrwl/cli": "15.6.2",
93
- "@nrwl/tao": "15.6.2",
94
- "@nrwl/workspace": "15.6.2",
92
+ "@nrwl/cli": "15.6.3",
93
+ "@nrwl/tao": "15.6.3",
94
+ "@nrwl/workspace": "15.6.3",
95
95
  "@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
96
96
  "@semantic-release/changelog": "~6.0.2",
97
97
  "@semantic-release/exec": "~6.0.3",
98
98
  "@semantic-release/git": "~10.0.1",
99
- "@storybook/addon-a11y": "~6.5.15",
100
- "@storybook/addon-essentials": "~6.5.15",
99
+ "@storybook/addon-a11y": "~6.5.16",
100
+ "@storybook/addon-essentials": "~6.5.16",
101
101
  "@storybook/addon-events": "~6.2.9",
102
- "@storybook/addon-interactions": "~6.5.15",
103
- "@storybook/addon-links": "~6.5.15",
104
- "@storybook/addon-storysource": "~6.5.15",
102
+ "@storybook/addon-interactions": "~6.5.16",
103
+ "@storybook/addon-links": "~6.5.16",
104
+ "@storybook/addon-storysource": "~6.5.16",
105
105
  "@storybook/builder-vite": "~0.3.0",
106
- "@storybook/builder-webpack5": "~6.5.15",
107
- "@storybook/manager-webpack5": "~6.5.15",
108
- "@storybook/react": "~6.5.15",
109
- "@storybook/theming": "~6.5.15",
106
+ "@storybook/builder-webpack5": "~6.5.16",
107
+ "@storybook/manager-webpack5": "~6.5.16",
108
+ "@storybook/react": "~6.5.16",
109
+ "@storybook/theming": "~6.5.16",
110
110
  "@stylelint/postcss-css-in-js": "~0.38.0",
111
111
  "@svgr/webpack": "~6.5.1",
112
- "@swc/cli": "~0.1.59",
113
- "@swc/core": "~1.3.28",
112
+ "@swc/cli": "~0.1.60",
113
+ "@swc/core": "~1.3.32",
114
114
  "@swc/jest": "~0.2.24",
115
115
  "@testing-library/jest-dom": "~5.16.5",
116
116
  "@testing-library/react": "~13.4.0",
@@ -133,10 +133,10 @@
133
133
  "@types/uuid": "~9.0.0",
134
134
  "@types/testing-library__jest-dom": "~5.14.5",
135
135
  "@types/webpack-bundle-analyzer": "~4.6.0",
136
- "@typescript-eslint/eslint-plugin": "~5.49.0",
137
- "@typescript-eslint/parser": "~5.49.0",
136
+ "@typescript-eslint/eslint-plugin": "~5.50.0",
137
+ "@typescript-eslint/parser": "~5.50.0",
138
138
  "@vitejs/plugin-react": "~3.0.1",
139
- "@vitest/coverage-c8": "~0.28.2",
139
+ "@vitest/coverage-c8": "~0.28.3",
140
140
  "autoprefixer": "~10.4.13",
141
141
  "axe-core": "~4.6.3",
142
142
  "babel-plugin-date-fns": "~2.0.0",
@@ -150,7 +150,7 @@
150
150
  "babel-plugin-transform-remove-console": "~6.9.4",
151
151
  "babel-plugin-transform-strip-block": "~0.0.5",
152
152
  "body-parser": "~1.20.1",
153
- "browserslist": "~4.21.4",
153
+ "browserslist": "~4.21.5",
154
154
  "browserslist-to-esbuild": "~1.2.0",
155
155
  "chalk": "~5.2.0",
156
156
  "circular-dependency-plugin": "~5.2.2",
@@ -167,10 +167,10 @@
167
167
  "dotenv-webpack": "~8.0.1",
168
168
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
169
169
  "enhanced-resolve": "5.12.0",
170
- "esbuild": "~0.17.4",
170
+ "esbuild": "~0.17.5",
171
171
  "esbuild-loader": "~2.21.0",
172
172
  "esbuild-plugin-svgr": "~1.0.1",
173
- "eslint": "~8.32.0",
173
+ "eslint": "~8.33.0",
174
174
  "eslint-config-airbnb": "~19.0.4",
175
175
  "eslint-config-airbnb-base": "~15.0.0",
176
176
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -183,11 +183,11 @@
183
183
  "eslint-plugin-eslint-comments": "~3.2.0",
184
184
  "eslint-plugin-import": "~2.27.5",
185
185
  "eslint-plugin-jest": "~27.2.1",
186
- "eslint-plugin-jsdoc": "~39.6.8",
186
+ "eslint-plugin-jsdoc": "~39.7.5",
187
187
  "eslint-plugin-jsx-a11y": "~6.7.1",
188
188
  "eslint-plugin-mdx": "~2.0.5",
189
189
  "eslint-plugin-prettier": "~4.2.1",
190
- "eslint-plugin-react": "~7.32.1",
190
+ "eslint-plugin-react": "~7.32.2",
191
191
  "eslint-plugin-react-hooks": "~4.6.0",
192
192
  "eslint-plugin-redux-saga": "~1.3.2",
193
193
  "eslint-plugin-storybook": "~0.6.10",
@@ -201,7 +201,7 @@
201
201
  "fast-glob": "~3.2.12",
202
202
  "find-up": "~6.3.0",
203
203
  "find-up-cli": "~5.0.0",
204
- "happy-dom": "~8.1.5",
204
+ "happy-dom": "~8.2.2",
205
205
  "helmet-csp": "~3.4.0",
206
206
  "html-loader": "~4.2.0",
207
207
  "html-webpack-plugin": "~5.5.0",
@@ -211,8 +211,8 @@
211
211
  "imports-loader": "~4.0.1",
212
212
  "ip": "~1.1.8",
213
213
  "jest-axe": "~7.0.0",
214
- "jest-cli": "~29.4.0",
215
- "jest-environment-jsdom": "~29.4.0",
214
+ "jest-cli": "~29.4.1",
215
+ "jest-environment-jsdom": "~29.4.1",
216
216
  "jest-sonar-reporter": "~2.0.0",
217
217
  "jest-styled-components": "~7.1.1",
218
218
  "jest-watch-typeahead": "~2.2.2",
@@ -232,7 +232,7 @@
232
232
  "normalize-path": "~3.0.0",
233
233
  "npm-check-updates": "16.6.3",
234
234
  "pino": "~8.8.0",
235
- "pino-http": "~8.3.1",
235
+ "pino-http": "~8.3.2",
236
236
  "pino-pretty": "~9.1.1",
237
237
  "plop": "~3.1.1",
238
238
  "postcss": "~8.4.21",
@@ -240,7 +240,7 @@
240
240
  "postcss-jsx": "~0.36.4",
241
241
  "postcss-loader": "~7.0.2",
242
242
  "postcss-markdown": "~1.2.0",
243
- "postcss-preset-env": "~8.0.0",
243
+ "postcss-preset-env": "~8.0.1",
244
244
  "postcss-syntax": "~0.36.2",
245
245
  "prettier": "~2.8.3",
246
246
  "prisma": "~4.9.0",
@@ -267,12 +267,12 @@
267
267
  "ts-node": "~10.9.1",
268
268
  "tsc-alias": "~1.8.2",
269
269
  "typedoc": "~0.23.24",
270
- "typescript": "~4.9.4",
270
+ "typescript": "~4.9.5",
271
271
  "update-notifier": "~6.0.2",
272
272
  "url-loader": "~4.1.1",
273
273
  "uuid": "~9.0.0",
274
274
  "vite": "~4.0.4",
275
- "vitest": "~0.28.2",
275
+ "vitest": "~0.28.3",
276
276
  "vite-tsconfig-paths": "~4.0.5",
277
277
  "webpack": "~5.75.0",
278
278
  "webpack-bundle-analyzer": "~4.7.0",
@@ -288,7 +288,7 @@
288
288
  "@elliemae/pui-doc-gen": "~1.4.1",
289
289
  "react": "~18.2.0",
290
290
  "react-dom": "~18.2.0",
291
- "redux": "~4.2.0",
291
+ "redux": "~4.2.1",
292
292
  "redux-saga": "~1.2.2",
293
293
  "styled-components": "~5.3.6"
294
294
  }