@elliemae/pui-cli 8.0.0-next.2 → 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.
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["dom", "dom.iterable", "esnext"],
4
+ "module": "esnext",
5
+ "target": "es2015",
6
+ "allowJs": true,
7
+ "allowSyntheticDefaultImports": true,
8
+ "esModuleInterop": true,
9
+ "forceConsistentCasingInFileNames": true,
10
+ "isolatedModules": true,
11
+ "jsx": "react-jsx",
12
+ "moduleResolution": "node",
13
+ "noEmit": true,
14
+ "noFallthroughCasesInSwitch": true,
15
+ "resolveJsonModule": true,
16
+ "skipLibCheck": true,
17
+ "strict": true,
18
+ "preserveConstEnums": true,
19
+ "sourceMap": true
20
+ },
21
+ "$schema": "https://json.schemastore.org/tsconfig",
22
+ "display": "pui-cli app"
23
+ }
@@ -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
  });
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["dom", "dom.iterable", "es2022"],
4
+ "moduleResolution": "node",
5
+ "target": "es2022",
6
+ "module": "es2022",
7
+ "allowJs": true,
8
+ "allowSyntheticDefaultImports": true,
9
+ "strict": true,
10
+ "esModuleInterop": true,
11
+ "skipLibCheck": true,
12
+ "jsx": "react-jsx",
13
+ "noFallthroughCasesInSwitch": true,
14
+ "resolveJsonModule": true,
15
+ "forceConsistentCasingInFileNames": true,
16
+ "preserveConstEnums": true,
17
+ "sourceMap": true,
18
+ "declaration": true,
19
+ "emitDeclarationOnly": true
20
+ },
21
+ "$schema": "https://json.schemastore.org/tsconfig",
22
+ "display": "pui-cli library"
23
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.0.0-next.2",
3
+ "version": "8.0.0-next.4",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -23,7 +23,9 @@
23
23
  }
24
24
  },
25
25
  "files": [
26
- "dist"
26
+ "dist",
27
+ "./app.tsconfig.json",
28
+ "./library.tsconfig.json"
27
29
  ],
28
30
  "publishConfig": {
29
31
  "access": "public"
@@ -87,28 +89,28 @@
87
89
  "@commitlint/config-conventional": "~17.4.2",
88
90
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
89
91
  "@faker-js/faker": "7.6.0",
90
- "@nrwl/cli": "15.6.2",
91
- "@nrwl/tao": "15.6.2",
92
- "@nrwl/workspace": "15.6.2",
92
+ "@nrwl/cli": "15.6.3",
93
+ "@nrwl/tao": "15.6.3",
94
+ "@nrwl/workspace": "15.6.3",
93
95
  "@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
94
96
  "@semantic-release/changelog": "~6.0.2",
95
97
  "@semantic-release/exec": "~6.0.3",
96
98
  "@semantic-release/git": "~10.0.1",
97
- "@storybook/addon-a11y": "~6.5.15",
98
- "@storybook/addon-essentials": "~6.5.15",
99
+ "@storybook/addon-a11y": "~6.5.16",
100
+ "@storybook/addon-essentials": "~6.5.16",
99
101
  "@storybook/addon-events": "~6.2.9",
100
- "@storybook/addon-interactions": "~6.5.15",
101
- "@storybook/addon-links": "~6.5.15",
102
- "@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",
103
105
  "@storybook/builder-vite": "~0.3.0",
104
- "@storybook/builder-webpack5": "~6.5.15",
105
- "@storybook/manager-webpack5": "~6.5.15",
106
- "@storybook/react": "~6.5.15",
107
- "@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",
108
110
  "@stylelint/postcss-css-in-js": "~0.38.0",
109
111
  "@svgr/webpack": "~6.5.1",
110
- "@swc/cli": "~0.1.59",
111
- "@swc/core": "~1.3.28",
112
+ "@swc/cli": "~0.1.60",
113
+ "@swc/core": "~1.3.32",
112
114
  "@swc/jest": "~0.2.24",
113
115
  "@testing-library/jest-dom": "~5.16.5",
114
116
  "@testing-library/react": "~13.4.0",
@@ -119,7 +121,7 @@
119
121
  "@types/compression": "~1.7.2",
120
122
  "@types/duplicate-package-checker-webpack-plugin": "~2.1.2",
121
123
  "@types/ip": "~1.1.0",
122
- "@types/jest": "~29.2.6",
124
+ "@types/jest": "~29.4.0",
123
125
  "@types/jest-axe": "~3.5.5",
124
126
  "@types/moment-locales-webpack-plugin": "~1.2.3",
125
127
  "@types/node": "~18.11.18",
@@ -131,10 +133,10 @@
131
133
  "@types/uuid": "~9.0.0",
132
134
  "@types/testing-library__jest-dom": "~5.14.5",
133
135
  "@types/webpack-bundle-analyzer": "~4.6.0",
134
- "@typescript-eslint/eslint-plugin": "~5.49.0",
135
- "@typescript-eslint/parser": "~5.49.0",
136
+ "@typescript-eslint/eslint-plugin": "~5.50.0",
137
+ "@typescript-eslint/parser": "~5.50.0",
136
138
  "@vitejs/plugin-react": "~3.0.1",
137
- "@vitest/coverage-c8": "~0.28.1",
139
+ "@vitest/coverage-c8": "~0.28.3",
138
140
  "autoprefixer": "~10.4.13",
139
141
  "axe-core": "~4.6.3",
140
142
  "babel-plugin-date-fns": "~2.0.0",
@@ -148,7 +150,7 @@
148
150
  "babel-plugin-transform-remove-console": "~6.9.4",
149
151
  "babel-plugin-transform-strip-block": "~0.0.5",
150
152
  "body-parser": "~1.20.1",
151
- "browserslist": "~4.21.4",
153
+ "browserslist": "~4.21.5",
152
154
  "browserslist-to-esbuild": "~1.2.0",
153
155
  "chalk": "~5.2.0",
154
156
  "circular-dependency-plugin": "~5.2.2",
@@ -165,10 +167,10 @@
165
167
  "dotenv-webpack": "~8.0.1",
166
168
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
167
169
  "enhanced-resolve": "5.12.0",
168
- "esbuild": "~0.17.4",
170
+ "esbuild": "~0.17.5",
169
171
  "esbuild-loader": "~2.21.0",
170
172
  "esbuild-plugin-svgr": "~1.0.1",
171
- "eslint": "~8.32.0",
173
+ "eslint": "~8.33.0",
172
174
  "eslint-config-airbnb": "~19.0.4",
173
175
  "eslint-config-airbnb-base": "~15.0.0",
174
176
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -181,11 +183,11 @@
181
183
  "eslint-plugin-eslint-comments": "~3.2.0",
182
184
  "eslint-plugin-import": "~2.27.5",
183
185
  "eslint-plugin-jest": "~27.2.1",
184
- "eslint-plugin-jsdoc": "~39.6.8",
186
+ "eslint-plugin-jsdoc": "~39.7.5",
185
187
  "eslint-plugin-jsx-a11y": "~6.7.1",
186
188
  "eslint-plugin-mdx": "~2.0.5",
187
189
  "eslint-plugin-prettier": "~4.2.1",
188
- "eslint-plugin-react": "~7.32.1",
190
+ "eslint-plugin-react": "~7.32.2",
189
191
  "eslint-plugin-react-hooks": "~4.6.0",
190
192
  "eslint-plugin-redux-saga": "~1.3.2",
191
193
  "eslint-plugin-storybook": "~0.6.10",
@@ -199,7 +201,7 @@
199
201
  "fast-glob": "~3.2.12",
200
202
  "find-up": "~6.3.0",
201
203
  "find-up-cli": "~5.0.0",
202
- "happy-dom": "~8.1.5",
204
+ "happy-dom": "~8.2.2",
203
205
  "helmet-csp": "~3.4.0",
204
206
  "html-loader": "~4.2.0",
205
207
  "html-webpack-plugin": "~5.5.0",
@@ -209,8 +211,8 @@
209
211
  "imports-loader": "~4.0.1",
210
212
  "ip": "~1.1.8",
211
213
  "jest-axe": "~7.0.0",
212
- "jest-cli": "~29.4.0",
213
- "jest-environment-jsdom": "~29.4.0",
214
+ "jest-cli": "~29.4.1",
215
+ "jest-environment-jsdom": "~29.4.1",
214
216
  "jest-sonar-reporter": "~2.0.0",
215
217
  "jest-styled-components": "~7.1.1",
216
218
  "jest-watch-typeahead": "~2.2.2",
@@ -230,7 +232,7 @@
230
232
  "normalize-path": "~3.0.0",
231
233
  "npm-check-updates": "16.6.3",
232
234
  "pino": "~8.8.0",
233
- "pino-http": "~8.3.1",
235
+ "pino-http": "~8.3.2",
234
236
  "pino-pretty": "~9.1.1",
235
237
  "plop": "~3.1.1",
236
238
  "postcss": "~8.4.21",
@@ -238,7 +240,7 @@
238
240
  "postcss-jsx": "~0.36.4",
239
241
  "postcss-loader": "~7.0.2",
240
242
  "postcss-markdown": "~1.2.0",
241
- "postcss-preset-env": "~8.0.0",
243
+ "postcss-preset-env": "~8.0.1",
242
244
  "postcss-syntax": "~0.36.2",
243
245
  "prettier": "~2.8.3",
244
246
  "prisma": "~4.9.0",
@@ -251,7 +253,7 @@
251
253
  "resize-observer-polyfill": "~1.5.1",
252
254
  "resolve-typescript-plugin": "~2.0.0",
253
255
  "rimraf": "~4.1.2",
254
- "semantic-release": "~20.0.4",
256
+ "semantic-release": "~20.1.0",
255
257
  "slackify-markdown": "~4.3.1",
256
258
  "speed-measure-webpack-plugin": "~1.5.0",
257
259
  "storybook-addon-turbo-build": "~1.1.0",
@@ -265,12 +267,12 @@
265
267
  "ts-node": "~10.9.1",
266
268
  "tsc-alias": "~1.8.2",
267
269
  "typedoc": "~0.23.24",
268
- "typescript": "~4.9.4",
270
+ "typescript": "~4.9.5",
269
271
  "update-notifier": "~6.0.2",
270
272
  "url-loader": "~4.1.1",
271
273
  "uuid": "~9.0.0",
272
274
  "vite": "~4.0.4",
273
- "vitest": "~0.28.1",
275
+ "vitest": "~0.28.3",
274
276
  "vite-tsconfig-paths": "~4.0.5",
275
277
  "webpack": "~5.75.0",
276
278
  "webpack-bundle-analyzer": "~4.7.0",
@@ -286,7 +288,7 @@
286
288
  "@elliemae/pui-doc-gen": "~1.4.1",
287
289
  "react": "~18.2.0",
288
290
  "react-dom": "~18.2.0",
289
- "redux": "~4.2.0",
291
+ "redux": "~4.2.1",
290
292
  "redux-saga": "~1.2.2",
291
293
  "styled-components": "~5.3.6"
292
294
  }