@elliemae/pui-cli 9.0.0-next.44 → 9.0.0-next.46

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.
@@ -10,7 +10,7 @@ const nodeEnvPreset = {
10
10
  const webEnvPreset = {
11
11
  modules: process.env.ES_MODULES === 'false' ? 'commonjs' : false,
12
12
  useBuiltIns: 'usage',
13
- corejs: { version: '3.22', proposals: true },
13
+ corejs: { version: '3.36', proposals: true },
14
14
  };
15
15
 
16
16
  const presetEnvOptions =
@@ -49,14 +49,14 @@ const lintCSS = async (args) => {
49
49
  `stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${!(0, import_utils.getCIEnv)() ? "--color" : "--no-color"} --allow-empty-input --config ${import_node_path.default.join(
50
50
  process.cwd(),
51
51
  "stylelint.config.mjs"
52
- )}`
52
+ )} -o ./reports/stylelint.json`
53
53
  );
54
54
  };
55
55
  const lintJS = async (args) => {
56
56
  const fixIssues = args.fix ? "--fix" : "";
57
57
  const debugFlags = args.debug ? "--env-info --debug" : "";
58
58
  await (0, import_utils.exec)(
59
- `eslint ${!(0, import_utils.getCIEnv)() ? "--color" : "--no-color"} ${fixIssues} ${debugFlags} .`
59
+ `eslint -o ./reports/eslint.json ${!(0, import_utils.getCIEnv)() ? "--color" : "--no-color"} ${fixIssues} ${debugFlags} .`
60
60
  );
61
61
  };
62
62
  const cmdArgs = {
@@ -83,6 +83,8 @@ const getSupportedBrowsers = async () => {
83
83
  });
84
84
  const browserVersions = stdout?.toString()?.split("\n") || [];
85
85
  return browserVersions.reduce((acc, nameVersion) => {
86
+ if (!nameVersion)
87
+ return acc;
86
88
  const [name, version] = nameVersion.split(" ");
87
89
  const versionRange = version.split("-");
88
90
  acc[browsersMapping[name]] = versionRange?.[0] ?? version;
@@ -10,7 +10,7 @@ const nodeEnvPreset = {
10
10
  const webEnvPreset = {
11
11
  modules: process.env.ES_MODULES === 'false' ? 'commonjs' : false,
12
12
  useBuiltIns: 'usage',
13
- corejs: { version: '3.22', proposals: true },
13
+ corejs: { version: '3.36', proposals: true },
14
14
  };
15
15
 
16
16
  const presetEnvOptions =
@@ -23,14 +23,14 @@ const lintCSS = async (args) => {
23
23
  `stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${!getCIEnv() ? "--color" : "--no-color"} --allow-empty-input --config ${path.join(
24
24
  process.cwd(),
25
25
  "stylelint.config.mjs"
26
- )}`
26
+ )} -o ./reports/stylelint.json`
27
27
  );
28
28
  };
29
29
  const lintJS = async (args) => {
30
30
  const fixIssues = args.fix ? "--fix" : "";
31
31
  const debugFlags = args.debug ? "--env-info --debug" : "";
32
32
  await exec(
33
- `eslint ${!getCIEnv() ? "--color" : "--no-color"} ${fixIssues} ${debugFlags} .`
33
+ `eslint -o ./reports/eslint.json ${!getCIEnv() ? "--color" : "--no-color"} ${fixIssues} ${debugFlags} .`
34
34
  );
35
35
  };
36
36
  const cmdArgs = {
@@ -51,6 +51,8 @@ const getSupportedBrowsers = async () => {
51
51
  });
52
52
  const browserVersions = stdout?.toString()?.split("\n") || [];
53
53
  return browserVersions.reduce((acc, nameVersion) => {
54
+ if (!nameVersion)
55
+ return acc;
54
56
  const [name, version] = nameVersion.split(" ");
55
57
  const versionRange = version.split("-");
56
58
  acc[browsersMapping[name]] = versionRange?.[0] ?? version;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "9.0.0-next.44",
3
+ "version": "9.0.0-next.46",
4
4
  "description": "ICE MT UI Platform CLI",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/cjs/index.cjs",
@@ -75,60 +75,59 @@
75
75
  "jestSonar": {
76
76
  "reportPath": "reports",
77
77
  "reportFile": "tests.xml",
78
- "indent": 4,
79
- "sonar56x": true
78
+ "indent": 4
80
79
  },
81
80
  "dependencies": {
82
- "@axe-core/react": "~4.8.5",
83
- "@babel/cli": "~7.23.9",
84
- "@babel/core": "~7.24.0",
85
- "@babel/eslint-parser": "~7.23.10",
81
+ "@axe-core/react": "~4.9.0",
82
+ "@babel/cli": "~7.24.5",
83
+ "@babel/core": "~7.24.5",
84
+ "@babel/eslint-parser": "~7.24.5",
86
85
  "@babel/node": "~7.23.9",
87
86
  "@babel/plugin-proposal-class-properties": "~7.18.6",
88
- "@babel/plugin-proposal-export-default-from": "~7.23.3",
87
+ "@babel/plugin-proposal-export-default-from": "~7.24.1",
89
88
  "@babel/plugin-syntax-dynamic-import": "~7.8.3",
90
- "@babel/plugin-syntax-import-assertions": "~7.23.3",
91
- "@babel/plugin-transform-modules-commonjs": "~7.23.3",
92
- "@babel/plugin-transform-react-constant-elements": "~7.23.3",
93
- "@babel/plugin-transform-react-inline-elements": "~7.23.3",
94
- "@babel/plugin-transform-react-jsx-source": "~7.23.3",
95
- "@babel/plugin-transform-runtime": "~7.24.0",
96
- "@babel/preset-env": "~7.24.0",
97
- "@babel/preset-react": "~7.23.3",
98
- "@babel/preset-typescript": "~7.23.3",
99
- "@babel/runtime": "~7.24.0",
100
- "@commitlint/cli": "~19.0.3",
101
- "@commitlint/config-conventional": "~19.0.3",
89
+ "@babel/plugin-syntax-import-assertions": "~7.24.1",
90
+ "@babel/plugin-transform-modules-commonjs": "~7.24.1",
91
+ "@babel/plugin-transform-react-constant-elements": "~7.24.1",
92
+ "@babel/plugin-transform-react-inline-elements": "~7.24.1",
93
+ "@babel/plugin-transform-react-jsx-source": "~7.24.1",
94
+ "@babel/plugin-transform-runtime": "~7.24.3",
95
+ "@babel/preset-env": "~7.24.5",
96
+ "@babel/preset-react": "~7.24.1",
97
+ "@babel/preset-typescript": "~7.24.1",
98
+ "@babel/runtime": "~7.24.5",
99
+ "@commitlint/cli": "~19.3.0",
100
+ "@commitlint/config-conventional": "~19.2.2",
102
101
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.9.0",
103
102
  "@faker-js/faker": "8.4.1",
104
- "@nx/workspace": "18.0.7",
105
- "@pmmmwh/react-refresh-webpack-plugin": "~0.5.11",
103
+ "@nx/workspace": "18.3.4",
104
+ "@pmmmwh/react-refresh-webpack-plugin": "~0.5.13",
106
105
  "@semantic-release/changelog": "~6.0.3",
107
106
  "@semantic-release/exec": "~6.0.3",
108
107
  "@semantic-release/git": "~10.0.1",
109
- "@storybook/addon-a11y": "~7.6.17",
110
- "@storybook/addon-essentials": "~7.6.17",
108
+ "@storybook/addon-a11y": "~7.6.18",
109
+ "@storybook/addon-essentials": "~7.6.18",
111
110
  "@storybook/addon-events": "~6.2.9",
112
- "@storybook/addon-interactions": "~7.6.17",
113
- "@storybook/addon-links": "~7.6.17",
114
- "@storybook/addon-storysource": "~7.6.17",
115
- "@storybook/blocks": "~7.6.17",
116
- "@storybook/builder-vite": "~7.6.17",
117
- "@storybook/builder-webpack5": "~7.6.17",
111
+ "@storybook/addon-interactions": "~7.6.18",
112
+ "@storybook/addon-links": "~7.6.18",
113
+ "@storybook/addon-storysource": "~7.6.18",
114
+ "@storybook/blocks": "~7.6.18",
115
+ "@storybook/builder-vite": "~7.6.18",
116
+ "@storybook/builder-webpack5": "~7.6.18",
118
117
  "@storybook/jest": "~0.2.3",
119
118
  "@storybook/manager-webpack5": "~6.5.16",
120
- "@storybook/react": "~7.6.17",
121
- "@storybook/react-vite": "~7.6.17",
122
- "@storybook/react-webpack5": "~7.6.17",
119
+ "@storybook/react": "~7.6.18",
120
+ "@storybook/react-vite": "~7.6.18",
121
+ "@storybook/react-webpack5": "~7.6.18",
123
122
  "@storybook/testing-library": "~0.2.2",
124
- "@storybook/theming": "~7.6.17",
123
+ "@storybook/theming": "~7.6.18",
125
124
  "@stylelint/postcss-css-in-js": "~0.38.0",
126
125
  "@svgr/webpack": "~8.1.0",
127
- "@swc/cli": "~0.3.10",
128
- "@swc/core": "~1.4.5",
126
+ "@swc/cli": "~0.3.12",
127
+ "@swc/core": "~1.4.17",
129
128
  "@swc/jest": "~0.2.36",
130
129
  "@testing-library/jest-dom": "~6.4.2",
131
- "@testing-library/react": "~14.2.1",
130
+ "@testing-library/react": "~14.3.1",
132
131
  "@testing-library/react-hooks": "~8.0.1",
133
132
  "@testing-library/user-event": "~14.5.2",
134
133
  "@types/circular-dependency-plugin": "~5.0.8",
@@ -139,7 +138,7 @@
139
138
  "@types/jest": "~29.5.12",
140
139
  "@types/jest-axe": "~3.5.9",
141
140
  "@types/moment-locales-webpack-plugin": "~1.2.6",
142
- "@types/node": "~20.11.25",
141
+ "@types/node": "~20.12.7",
143
142
  "@types/normalize-path": "~3.0.2",
144
143
  "@types/postcss-preset-env": "~8.0.0",
145
144
  "@types/rimraf": "~4.0.5",
@@ -148,17 +147,17 @@
148
147
  "@types/uuid": "~9.0.8",
149
148
  "@types/testing-library__jest-dom": "~5.14.9",
150
149
  "@types/webpack-bundle-analyzer": "~4.7.0",
151
- "@typescript-eslint/eslint-plugin": "~7.1.1",
152
- "@typescript-eslint/parser": "~7.1.1",
150
+ "@typescript-eslint/eslint-plugin": "~7.8.0",
151
+ "@typescript-eslint/parser": "~7.8.0",
153
152
  "@vitejs/plugin-react": "~4.2.1",
154
153
  "@vitest/coverage-c8": "~0.33.0",
155
- "autoprefixer": "~10.4.18",
156
- "axe-core": "~4.8.4",
154
+ "autoprefixer": "~10.4.19",
155
+ "axe-core": "~4.9.0",
157
156
  "babel-plugin-date-fns": "~2.0.0",
158
157
  "babel-plugin-dynamic-import-node": "~2.3.3",
159
158
  "babel-plugin-import-remove-resource-query": "~1.0.0",
160
159
  "babel-plugin-lodash": "~3.3.4",
161
- "babel-plugin-module-resolver": "~5.0.0",
160
+ "babel-plugin-module-resolver": "~5.0.2",
162
161
  "babel-plugin-source-map-support": "~2.2.0",
163
162
  "babel-plugin-styled-components": "~2.1.4",
164
163
  "babel-plugin-transform-react-remove-prop-types": "~0.4.24",
@@ -174,16 +173,16 @@
174
173
  "copy-webpack-plugin": "~12.0.2",
175
174
  "cors": "~2.8.5",
176
175
  "cross-env": "~7.0.3",
177
- "css-loader": "~6.10.0",
176
+ "css-loader": "~6.11.0",
178
177
  "css-minimizer-webpack-plugin": "~6.0.0",
179
178
  "depcheck": "~1.4.7",
180
179
  "docdash": "~2.0.2",
181
180
  "dotenv": "~16.4.5",
182
- "dotenv-webpack": "~8.0.1",
181
+ "dotenv-webpack": "~8.1.0",
183
182
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
184
- "enhanced-resolve": "5.15.1",
185
- "esbuild": "~0.20.1",
186
- "esbuild-loader": "~4.0.3",
183
+ "enhanced-resolve": "5.16.0",
184
+ "esbuild": "~0.20.2",
185
+ "esbuild-loader": "~4.1.0",
187
186
  "esbuild-plugin-lodash": "~1.2.0",
188
187
  "esbuild-plugin-svgr": "~2.1.0",
189
188
  "eslint": "~8.57.0",
@@ -199,25 +198,25 @@
199
198
  "eslint-plugin-eslint-comments": "~3.2.0",
200
199
  "eslint-plugin-import": "~2.29.1",
201
200
  "eslint-plugin-jest": "~27.9.0",
202
- "eslint-plugin-jsdoc": "~48.2.0",
201
+ "eslint-plugin-jsdoc": "~48.2.3",
203
202
  "eslint-plugin-jsx-a11y": "~6.8.0",
204
203
  "eslint-plugin-mdx": "~3.1.5",
205
204
  "eslint-plugin-prettier": "~5.1.3",
206
- "eslint-plugin-react": "~7.34.0",
207
- "eslint-plugin-react-hooks": "~4.6.0",
205
+ "eslint-plugin-react": "~7.34.1",
206
+ "eslint-plugin-react-hooks": "~4.6.2",
208
207
  "eslint-plugin-redux-saga": "~1.3.2",
209
208
  "eslint-plugin-storybook": "~0.8.0",
210
- "eslint-plugin-testing-library": "~6.2.0",
209
+ "eslint-plugin-testing-library": "~6.2.2",
211
210
  "eslint-plugin-wdio": "~8.24.12",
212
211
  "execa": "~8.0.1",
213
- "express": "~4.18.3",
212
+ "express": "~4.19.2",
214
213
  "express-static-gzip": "~2.1.7",
215
- "favicons": "~7.1.5",
214
+ "favicons": "~7.2.0",
216
215
  "favicons-webpack-plugin": "~6.0.1",
217
216
  "fast-glob": "~3.3.2",
218
217
  "find-up": "~7.0.0",
219
218
  "find-up-cli": "~6.0.0",
220
- "happy-dom": "~13.6.2",
219
+ "happy-dom": "~13.10.1",
221
220
  "helmet-csp": "~3.4.0",
222
221
  "html-loader": "~5.0.0",
223
222
  "html-webpack-plugin": "~5.6.0",
@@ -236,23 +235,23 @@
236
235
  "jsdoc": "~4.0.2",
237
236
  "lerna": "~8.1.2",
238
237
  "lint-staged": "~15.2.2",
239
- "mini-css-extract-plugin": "~2.8.1",
238
+ "mini-css-extract-plugin": "~2.9.0",
240
239
  "minimist": "~1.2.8",
241
240
  "moment": "~2.30.1",
242
241
  "moment-locales-webpack-plugin": "~1.2.0",
243
- "msw": "~2.2.2",
242
+ "msw": "~2.2.14",
244
243
  "npm-run-all": "~4.1.5",
245
- "node-gyp": "~10.0.1",
244
+ "node-gyp": "~10.1.0",
246
245
  "node-plop": "~0.32.0",
247
246
  "nodemon": "~3.1.0",
248
247
  "normalize-path": "~3.0.0",
249
- "npm-check-updates": "16.14.15",
250
- "nx": "~18.0.7",
251
- "pino": "~8.19.0",
248
+ "npm-check-updates": "16.14.20",
249
+ "nx": "~18.3.4",
250
+ "pino": "~8.21.0",
252
251
  "pino-http": "~9.0.0",
253
252
  "pino-pretty": "~10.3.1",
254
253
  "plop": "~4.0.1",
255
- "postcss": "~8.4.35",
254
+ "postcss": "~8.4.38",
256
255
  "postcss-html": "~1.6.0",
257
256
  "postcss-jsx": "~0.36.4",
258
257
  "postcss-loader": "~8.1.1",
@@ -261,58 +260,58 @@
261
260
  "postcss-styled-syntax": "0.6.4",
262
261
  "postcss-syntax": "~0.36.2",
263
262
  "prettier": "~3.2.5",
264
- "prisma": "~5.10.2",
263
+ "prisma": "~5.13.0",
265
264
  "pug": "~3.0.2",
266
265
  "pug-loader": "~2.4.0",
267
266
  "raf": "~3.4.1",
268
267
  "react-docgen": "~7.0.3",
269
- "react-refresh": "~0.14.0",
270
- "react-test-renderer": "~18.2.0",
268
+ "react-refresh": "~0.14.2",
269
+ "react-test-renderer": "~18.3.1",
271
270
  "resize-observer-polyfill": "~1.5.1",
272
271
  "resolve-typescript-plugin": "~2.0.1",
273
272
  "rimraf": "5.0.5",
274
- "semantic-release": "~23.0.2",
273
+ "semantic-release": "~23.0.8",
275
274
  "slackify-markdown": "~4.4.0",
276
275
  "speed-measure-webpack-plugin": "~1.5.0",
277
- "storybook": "~7.6.17",
276
+ "storybook": "~7.6.18",
278
277
  "storybook-addon-turbo-build": "~2.0.1",
279
278
  "storybook-react-router": "~1.0.8",
280
279
  "style-loader": "~3.3.4",
281
- "stylelint": "~16.2.1",
280
+ "stylelint": "~16.4.0",
282
281
  "stylelint-config-standard": "~36.0.0",
283
282
  "supertest": "~6.3.4",
284
283
  "swc-loader": "~0.2.6",
285
284
  "tsconfig-paths-webpack-plugin": "~4.1.0",
286
285
  "ts-node": "~10.9.2",
287
286
  "tsc-alias": "~1.8.8",
288
- "tsx": "~4.7.1",
289
- "typedoc": "~0.25.11",
290
- "typescript": "~5.4.2",
291
- "undici": "~6.7.0",
287
+ "tsx": "~4.8.2",
288
+ "typedoc": "~0.25.13",
289
+ "typescript": "~5.4.5",
290
+ "undici": "~6.15.0",
292
291
  "update-notifier": "~7.0.0",
293
292
  "url-loader": "~4.1.1",
294
293
  "uuid": "~9.0.1",
295
- "vite": "~5.1.5",
296
- "vitest": "~1.3.1",
297
- "vite-tsconfig-paths": "~4.3.1",
298
- "webpack": "~5.90.3",
299
- "webpack-bundle-analyzer": "~4.10.1",
294
+ "vite": "~5.2.10",
295
+ "vitest": "~1.5.3",
296
+ "vite-tsconfig-paths": "~4.3.2",
297
+ "webpack": "~5.91.0",
298
+ "webpack-bundle-analyzer": "~4.10.2",
300
299
  "webpack-cli": "~5.1.4",
301
- "webpack-dev-server": "~5.0.2",
300
+ "webpack-dev-server": "~5.0.4",
302
301
  "webpack-manifest-plugin": "~5.0.0",
303
302
  "webpack-merge": "~5.10.0",
304
303
  "whatwg-fetch": "~3.6.20",
305
- "workbox-webpack-plugin": "~7.0.0",
306
- "ws": "~8.16.0",
304
+ "workbox-webpack-plugin": "~7.1.0",
305
+ "ws": "~8.17.0",
307
306
  "yargs": "~17.7.2"
308
307
  },
309
308
  "devDependencies": {
310
309
  "@elliemae/pui-doc-gen": "~2.0.1",
311
- "react": "~18.2.0",
312
- "react-dom": "~18.2.0",
310
+ "react": "~18.3.1",
311
+ "react-dom": "~18.3.1",
313
312
  "redux": "~5.0.1",
314
313
  "redux-saga": "~1.3.0",
315
- "styled-components": "~6.1.8"
314
+ "styled-components": "~6.1.9"
316
315
  },
317
316
  "type": "module"
318
317
  }