@elliemae/pui-cli 8.0.0-next.9 → 8.0.1

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.
package/README.md CHANGED
@@ -20,6 +20,10 @@
20
20
 
21
21
  ## Migration Guide
22
22
 
23
+ ### v7 to v8
24
+
25
+ [Changelog](https://confluence.elliemae.io/display/FEAE/CLI+ChangeLog#CLIChangeLog-v8)
26
+
23
27
  ### v6 to v7
24
28
 
25
29
  [ChangeLog](https://confluence.elliemae.io/display/FEAE/CLI+ChangeLog#CLIChangeLog-v7)
@@ -38,7 +38,7 @@ var import_set_registry_version = require("../monorepo/set-registry-version.js")
38
38
  var import_delete_merged_tags = require("../monorepo/delete-merged-tags.js");
39
39
  const version = async (lernaOptions = "") => {
40
40
  await (0, import_utils.exec)(
41
- `cross-env NODE_ENV=production lerna version --conventional-commits --exact --create-release github --force-publish --yes ${lernaOptions}`
41
+ `lerna version --conventional-commits --exact --create-release github --force-publish --yes ${lernaOptions}`
42
42
  );
43
43
  };
44
44
  const cmdArgs = {
@@ -38,6 +38,7 @@ var import_html_webpack_plugin = __toESM(require("html-webpack-plugin"), 1);
38
38
  var import_circular_dependency_plugin = __toESM(require("circular-dependency-plugin"), 1);
39
39
  var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"), 1);
40
40
  var import_react_refresh_webpack_plugin = __toESM(require("@pmmmwh/react-refresh-webpack-plugin"), 1);
41
+ var import_express_static_gzip = __toESM(require("express-static-gzip"), 1);
41
42
  var import_middlewares = require("../server/middlewares.js");
42
43
  var import_appRoutes = require("../server/appRoutes.js");
43
44
  var import_helpers = require("./helpers.js");
@@ -150,6 +151,15 @@ const devConfig = {
150
151
  }).catch((err) => {
151
152
  console.error(err);
152
153
  });
154
+ const cdnRouter = (0, import_express_static_gzip.default)("cdn", {});
155
+ devServer.app.use((req, res, next) => {
156
+ const parsedPath = import_node_path.default.parse(req.url);
157
+ if (parsedPath?.ext) {
158
+ cdnRouter(req, res, next);
159
+ return;
160
+ }
161
+ next();
162
+ });
153
163
  }
154
164
  return middlewares;
155
165
  }
@@ -5,7 +5,7 @@ import { setRegistryVersion } from "../monorepo/set-registry-version.js";
5
5
  import { deleteMergedTags } from "../monorepo/delete-merged-tags.js";
6
6
  const version = async (lernaOptions = "") => {
7
7
  await exec(
8
- `cross-env NODE_ENV=production lerna version --conventional-commits --exact --create-release github --force-publish --yes ${lernaOptions}`
8
+ `lerna version --conventional-commits --exact --create-release github --force-publish --yes ${lernaOptions}`
9
9
  );
10
10
  };
11
11
  const cmdArgs = {
@@ -5,6 +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 expressStaticGzip from "express-static-gzip";
8
9
  import { setupDefaultMiddlewares } from "../server/middlewares.js";
9
10
  import { loadRoutes } from "../server/appRoutes.js";
10
11
  import {
@@ -120,6 +121,15 @@ const devConfig = {
120
121
  }).catch((err) => {
121
122
  console.error(err);
122
123
  });
124
+ const cdnRouter = expressStaticGzip("cdn", {});
125
+ devServer.app.use((req, res, next) => {
126
+ const parsedPath = path.parse(req.url);
127
+ if (parsedPath?.ext) {
128
+ cdnRouter(req, res, next);
129
+ return;
130
+ }
131
+ next();
132
+ });
123
133
  }
124
134
  return middlewares;
125
135
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "8.0.0-next.9",
3
+ "version": "8.0.1",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -73,30 +73,30 @@
73
73
  },
74
74
  "dependencies": {
75
75
  "@axe-core/react": "~4.6.0",
76
- "@babel/cli": "~7.20.7",
77
- "@babel/core": "~7.20.12",
76
+ "@babel/cli": "~7.21.0",
77
+ "@babel/core": "~7.21.0",
78
78
  "@babel/eslint-parser": "~7.19.1",
79
79
  "@babel/node": "~7.20.7",
80
80
  "@babel/plugin-proposal-class-properties": "~7.18.6",
81
81
  "@babel/plugin-proposal-export-default-from": "~7.18.10",
82
82
  "@babel/plugin-syntax-dynamic-import": "~7.8.3",
83
83
  "@babel/plugin-syntax-import-assertions": "~7.20.0",
84
- "@babel/plugin-transform-modules-commonjs": "~7.20.11",
84
+ "@babel/plugin-transform-modules-commonjs": "~7.21.2",
85
85
  "@babel/plugin-transform-react-constant-elements": "~7.20.2",
86
- "@babel/plugin-transform-react-inline-elements": "~7.18.6",
86
+ "@babel/plugin-transform-react-inline-elements": "~7.21.0",
87
87
  "@babel/plugin-transform-react-jsx-source": "~7.19.6",
88
- "@babel/plugin-transform-runtime": "~7.19.6",
88
+ "@babel/plugin-transform-runtime": "~7.21.0",
89
89
  "@babel/preset-env": "~7.20.2",
90
90
  "@babel/preset-react": "~7.18.6",
91
- "@babel/preset-typescript": "~7.18.6",
92
- "@babel/runtime": "~7.20.13",
93
- "@commitlint/cli": "~17.4.2",
94
- "@commitlint/config-conventional": "~17.4.2",
91
+ "@babel/preset-typescript": "~7.21.0",
92
+ "@babel/runtime": "~7.21.0",
93
+ "@commitlint/cli": "~17.4.4",
94
+ "@commitlint/config-conventional": "~17.4.4",
95
95
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
96
96
  "@faker-js/faker": "7.6.0",
97
- "@nrwl/cli": "15.6.3",
98
- "@nrwl/tao": "15.6.3",
99
- "@nrwl/workspace": "15.6.3",
97
+ "@nrwl/cli": "15.8.1",
98
+ "@nrwl/tao": "15.8.1",
99
+ "@nrwl/workspace": "15.8.1",
100
100
  "@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
101
101
  "@semantic-release/changelog": "~6.0.2",
102
102
  "@semantic-release/exec": "~6.0.3",
@@ -107,18 +107,18 @@
107
107
  "@storybook/addon-interactions": "~6.5.16",
108
108
  "@storybook/addon-links": "~6.5.16",
109
109
  "@storybook/addon-storysource": "~6.5.16",
110
- "@storybook/builder-vite": "~0.4.1",
110
+ "@storybook/builder-vite": "~0.4.2",
111
111
  "@storybook/builder-webpack5": "~6.5.16",
112
112
  "@storybook/manager-webpack5": "~6.5.16",
113
113
  "@storybook/react": "~6.5.16",
114
114
  "@storybook/theming": "~6.5.16",
115
115
  "@stylelint/postcss-css-in-js": "~0.38.0",
116
116
  "@svgr/webpack": "~6.5.1",
117
- "@swc/cli": "~0.1.61",
118
- "@swc/core": "~1.3.35",
117
+ "@swc/cli": "~0.1.62",
118
+ "@swc/core": "~1.3.37",
119
119
  "@swc/jest": "~0.2.24",
120
120
  "@testing-library/jest-dom": "~5.16.5",
121
- "@testing-library/react": "~13.4.0",
121
+ "@testing-library/react": "~14.0.0",
122
122
  "@testing-library/react-hooks": "~8.0.1",
123
123
  "@testing-library/user-event": "~14.4.3",
124
124
  "@types/circular-dependency-plugin": "~5.0.5",
@@ -129,19 +129,19 @@
129
129
  "@types/jest": "~29.4.0",
130
130
  "@types/jest-axe": "~3.5.5",
131
131
  "@types/moment-locales-webpack-plugin": "~1.2.3",
132
- "@types/node": "~18.13.0",
132
+ "@types/node": "~18.14.2",
133
133
  "@types/normalize-path": "~3.0.0",
134
134
  "@types/postcss-preset-env": "~7.7.0",
135
135
  "@types/rimraf": "~3.0.2",
136
136
  "@types/speed-measure-webpack-plugin": "~1.3.4",
137
137
  "@types/supertest": "~2.0.12",
138
- "@types/uuid": "~9.0.0",
138
+ "@types/uuid": "~9.0.1",
139
139
  "@types/testing-library__jest-dom": "~5.14.5",
140
140
  "@types/webpack-bundle-analyzer": "~4.6.0",
141
- "@typescript-eslint/eslint-plugin": "~5.51.0",
142
- "@typescript-eslint/parser": "~5.51.0",
141
+ "@typescript-eslint/eslint-plugin": "~5.54.0",
142
+ "@typescript-eslint/parser": "~5.54.0",
143
143
  "@vitejs/plugin-react": "~3.1.0",
144
- "@vitest/coverage-c8": "~0.28.4",
144
+ "@vitest/coverage-c8": "~0.29.2",
145
145
  "autoprefixer": "~10.4.13",
146
146
  "axe-core": "~4.6.3",
147
147
  "babel-plugin-date-fns": "~2.0.0",
@@ -154,7 +154,7 @@
154
154
  "babel-plugin-transform-react-remove-prop-types": "~0.4.24",
155
155
  "babel-plugin-transform-remove-console": "~6.9.4",
156
156
  "babel-plugin-transform-strip-block": "~0.0.5",
157
- "body-parser": "~1.20.1",
157
+ "body-parser": "~1.20.2",
158
158
  "browserslist": "~4.21.5",
159
159
  "browserslist-to-esbuild": "~1.2.0",
160
160
  "chalk": "~5.2.0",
@@ -172,10 +172,10 @@
172
172
  "dotenv-webpack": "~8.0.1",
173
173
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
174
174
  "enhanced-resolve": "5.12.0",
175
- "esbuild": "~0.17.7",
176
- "esbuild-loader": "~3.0.0",
175
+ "esbuild": "~0.17.10",
176
+ "esbuild-loader": "~3.0.1",
177
177
  "esbuild-plugin-svgr": "~1.0.1",
178
- "eslint": "~8.34.0",
178
+ "eslint": "~8.35.0",
179
179
  "eslint-config-airbnb": "~19.0.4",
180
180
  "eslint-config-airbnb-base": "~15.0.0",
181
181
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -184,7 +184,7 @@
184
184
  "eslint-import-resolver-babel-module": "~5.3.2",
185
185
  "eslint-import-resolver-typescript": "~3.5.3",
186
186
  "eslint-import-resolver-webpack": "~0.13.2",
187
- "eslint-plugin-compat": "~4.1.1",
187
+ "eslint-plugin-compat": "~4.1.2",
188
188
  "eslint-plugin-eslint-comments": "~3.2.0",
189
189
  "eslint-plugin-import": "~2.27.5",
190
190
  "eslint-plugin-jest": "~27.2.1",
@@ -195,18 +195,18 @@
195
195
  "eslint-plugin-react": "~7.32.2",
196
196
  "eslint-plugin-react-hooks": "~4.6.0",
197
197
  "eslint-plugin-redux-saga": "~1.3.2",
198
- "eslint-plugin-storybook": "~0.6.10",
199
- "eslint-plugin-testing-library": "~5.10.1",
198
+ "eslint-plugin-storybook": "~0.6.11",
199
+ "eslint-plugin-testing-library": "~5.10.2",
200
200
  "eslint-plugin-wdio": "~8.0.14",
201
201
  "execa": "~7.0.0",
202
202
  "express": "~4.18.2",
203
203
  "express-static-gzip": "~2.1.7",
204
- "favicons": "~7.0.2",
204
+ "favicons": "~7.1.0",
205
205
  "favicons-webpack-plugin": "~6.0.0",
206
206
  "fast-glob": "~3.2.12",
207
207
  "find-up": "~6.3.0",
208
208
  "find-up-cli": "~5.0.0",
209
- "happy-dom": "~8.2.6",
209
+ "happy-dom": "~8.9.0",
210
210
  "helmet-csp": "~3.4.0",
211
211
  "html-loader": "~4.2.0",
212
212
  "html-webpack-plugin": "~5.5.0",
@@ -216,29 +216,29 @@
216
216
  "imports-loader": "~4.0.1",
217
217
  "ip": "~1.1.8",
218
218
  "jest-axe": "~7.0.0",
219
- "jest-cli": "~29.4.2",
220
- "jest-environment-jsdom": "~29.4.2",
219
+ "jest-cli": "~29.4.3",
220
+ "jest-environment-jsdom": "~29.4.3",
221
221
  "jest-sonar-reporter": "~2.0.0",
222
222
  "jest-styled-components": "~7.1.1",
223
223
  "jest-watch-typeahead": "~2.2.2",
224
224
  "jscodeshift": "~0.14.0",
225
- "jsdoc": "~4.0.0",
226
- "lerna": "~6.4.1",
227
- "lint-staged": "~13.1.1",
225
+ "jsdoc": "~4.0.2",
226
+ "lerna": "~6.5.1",
227
+ "lint-staged": "~13.1.2",
228
228
  "mini-css-extract-plugin": "~2.7.2",
229
229
  "minimist": "~1.2.8",
230
230
  "moment": "~2.29.4",
231
231
  "moment-locales-webpack-plugin": "~1.2.0",
232
- "msw": "~1.0.1",
232
+ "msw": "~1.1.0",
233
233
  "npm-run-all": "~4.1.5",
234
234
  "node-gyp": "~9.3.1",
235
235
  "node-plop": "~0.31.1",
236
236
  "nodemon": "~2.0.20",
237
237
  "normalize-path": "~3.0.0",
238
- "npm-check-updates": "16.7.4",
239
- "pino": "~8.10.0",
238
+ "npm-check-updates": "16.7.10",
239
+ "pino": "~8.11.0",
240
240
  "pino-http": "~8.3.3",
241
- "pino-pretty": "~9.2.0",
241
+ "pino-pretty": "~9.4.0",
242
242
  "plop": "~3.1.2",
243
243
  "postcss": "~8.4.21",
244
244
  "postcss-html": "~1.5.0",
@@ -248,7 +248,7 @@
248
248
  "postcss-preset-env": "~8.0.1",
249
249
  "postcss-syntax": "~0.36.2",
250
250
  "prettier": "~2.8.4",
251
- "prisma": "~4.10.1",
251
+ "prisma": "~4.11.0",
252
252
  "pug": "~3.0.2",
253
253
  "pug-loader": "~2.4.0",
254
254
  "raf": "~3.4.1",
@@ -257,40 +257,40 @@
257
257
  "react-test-renderer": "~18.2.0",
258
258
  "resize-observer-polyfill": "~1.5.1",
259
259
  "resolve-typescript-plugin": "~2.0.0",
260
- "rimraf": "~4.1.2",
261
- "semantic-release": "~20.1.0",
260
+ "rimraf": "~4.1.3",
261
+ "semantic-release": "~20.1.1",
262
262
  "slackify-markdown": "~4.3.1",
263
263
  "speed-measure-webpack-plugin": "~1.5.0",
264
264
  "storybook-addon-turbo-build": "~1.1.0",
265
265
  "storybook-react-router": "~1.0.8",
266
266
  "style-loader": "~3.3.1",
267
- "stylelint": "~15.1.0",
267
+ "stylelint": "~15.2.0",
268
268
  "stylelint-config-recommended": "~10.0.1",
269
269
  "stylelint-config-styled-components": "~0.1.1",
270
270
  "supertest": "~6.3.3",
271
271
  "swc-loader": "~0.2.3",
272
272
  "ts-node": "~10.9.1",
273
273
  "tsc-alias": "~1.8.2",
274
- "typedoc": "~0.23.25",
274
+ "typedoc": "~0.23.26",
275
275
  "typescript": "~4.9.5",
276
276
  "update-notifier": "~6.0.2",
277
277
  "url-loader": "~4.1.1",
278
278
  "uuid": "~9.0.0",
279
- "vite": "~4.1.1",
280
- "vitest": "~0.28.4",
279
+ "vite": "~4.1.4",
280
+ "vitest": "~0.29.2",
281
281
  "vite-tsconfig-paths": "~4.0.5",
282
282
  "webpack": "~5.75.0",
283
- "webpack-bundle-analyzer": "~4.7.0",
283
+ "webpack-bundle-analyzer": "~4.8.0",
284
284
  "webpack-cli": "~5.0.1",
285
285
  "webpack-dev-server": "~4.11.1",
286
286
  "webpack-manifest-plugin": "~5.0.0",
287
287
  "webpack-merge": "~5.8.0",
288
288
  "whatwg-fetch": "~3.6.2",
289
289
  "workbox-webpack-plugin": "~6.5.4",
290
- "yargs": "~17.6.2"
290
+ "yargs": "~17.7.1"
291
291
  },
292
292
  "devDependencies": {
293
- "@elliemae/pui-doc-gen": "~1.4.1",
293
+ "@elliemae/pui-doc-gen": "~1.6.4",
294
294
  "react": "~18.2.0",
295
295
  "react-dom": "~18.2.0",
296
296
  "redux": "~4.2.1",