@elliemae/pui-cli 6.15.2 → 6.16.0

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.
@@ -2,16 +2,20 @@ const { exit } = require('yargs');
2
2
  const { exec, logError, logSuccess } = require('./utils');
3
3
  const { isTypeScriptEnabled } = require('../typescript/util');
4
4
 
5
+ const { CI = false } = process.env;
6
+
5
7
  async function lintCSS(fix = false) {
6
8
  const fixIssues = fix ? '--fix' : '';
7
9
  await exec(
8
- `stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} --color --allowEmptyInput`,
10
+ `stylelint ./{lib,app}/**/*.{js,jsx,ts,tsx} ${fixIssues} ${
11
+ !CI ? '--color' : ''
12
+ } --allowEmptyInput`,
9
13
  );
10
14
  }
11
15
 
12
16
  async function lintJS(fix = false) {
13
17
  const fixIssues = fix ? '--fix' : '';
14
- await exec(`eslint --color ${fixIssues} .`);
18
+ await exec(`eslint ${!CI ? '--color' : ''} ${fixIssues} .`);
15
19
  }
16
20
 
17
21
  async function handler(argv) {
@@ -4,7 +4,7 @@ const { exec, logError, logSuccess } = require('./utils');
4
4
  const { CI = false } = process.env;
5
5
 
6
6
  async function test(commandOptions) {
7
- await exec(`cross-env FORCE_COLOR=true NODE_ENV=test jest ${commandOptions}`);
7
+ await exec(`cross-env NODE_ENV=test jest ${commandOptions}`);
8
8
  }
9
9
 
10
10
  // eslint-disable-next-line max-statements
@@ -12,7 +12,7 @@ async function handler(argv) {
12
12
  let commandOptions = '--coverage';
13
13
  if (argv.fix) commandOptions = '-u';
14
14
  else if (argv.watch) commandOptions = '--watchAll';
15
- if (CI) commandOptions += ' --ci --runInBand';
15
+ if (CI) commandOptions += ' --ci --runInBand --no-colors';
16
16
  else commandOptions += ' --maxWorkers=50%';
17
17
  if (argv.p) commandOptions += ' --passWithNoTests';
18
18
  if (argv.r) commandOptions += ' --bail --findRelatedTests';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/pui-cli",
3
- "version": "6.15.2",
3
+ "version": "6.16.0",
4
4
  "private": false,
5
5
  "description": "ICE MT UI Platform CLI",
6
6
  "sideEffects": false,
@@ -63,8 +63,8 @@
63
63
  "@babel/preset-react": "~7.16.7",
64
64
  "@babel/preset-typescript": "~7.16.7",
65
65
  "@babel/runtime": "~7.17.9",
66
- "@commitlint/cli": "~16.2.3",
67
- "@commitlint/config-conventional": "~16.2.1",
66
+ "@commitlint/cli": "~16.2.4",
67
+ "@commitlint/config-conventional": "~16.2.4",
68
68
  "@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
69
69
  "@faker-js/faker": "6.2.0",
70
70
  "@nrwl/cli": "13.10.3",
@@ -80,7 +80,7 @@
80
80
  "@storybook/addon-interactions": "~6.4.22",
81
81
  "@storybook/addon-links": "~6.4.22",
82
82
  "@storybook/addon-storysource": "~6.4.22",
83
- "@storybook/builder-vite": "~0.1.29",
83
+ "@storybook/builder-vite": "~0.1.30",
84
84
  "@storybook/builder-webpack5": "~6.4.22",
85
85
  "@storybook/manager-webpack5": "~6.4.22",
86
86
  "@storybook/react": "~6.4.22",
@@ -88,18 +88,18 @@
88
88
  "@stylelint/postcss-css-in-js": "~0.37.2",
89
89
  "@svgr/webpack": "~6.2.1",
90
90
  "@swc/cli": "~0.1.57",
91
- "@swc/core": "~1.2.170",
91
+ "@swc/core": "~1.2.173",
92
92
  "@swc/jest": "~0.2.20",
93
93
  "@testing-library/jest-dom": "~5.16.4",
94
94
  "@testing-library/react": "~12.1.4",
95
95
  "@testing-library/react-hooks": "~7.0.2",
96
96
  "@types/jest": "~27.4.1",
97
- "@types/node": "~17.0.25",
97
+ "@types/node": "~17.0.29",
98
98
  "@types/rimraf": "~3.0.2",
99
99
  "@types/testing-library__jest-dom": "~5.14.3",
100
- "@typescript-eslint/eslint-plugin": "~5.20.0",
101
- "@typescript-eslint/parser": "~5.20.0",
102
- "autoprefixer": "~10.4.4",
100
+ "@typescript-eslint/eslint-plugin": "~5.21.0",
101
+ "@typescript-eslint/parser": "~5.21.0",
102
+ "autoprefixer": "~10.4.5",
103
103
  "axe-core": "~4.4.1",
104
104
  "babel-loader": "~8.2.5",
105
105
  "babel-plugin-add-import-extension": "1.5.1",
@@ -114,7 +114,7 @@
114
114
  "babel-plugin-transform-remove-console": "~6.9.4",
115
115
  "babel-plugin-transform-strip-block": "~0.0.5",
116
116
  "body-parser": "~1.20.0",
117
- "browserslist": "~4.20.2",
117
+ "browserslist": "~4.20.3",
118
118
  "browserslist-to-esbuild": "~1.1.1",
119
119
  "canvas": "~2.9.1",
120
120
  "chalk": "~4.1.2",
@@ -132,10 +132,10 @@
132
132
  "dotenv-webpack": "~7.1.0",
133
133
  "duplicate-package-checker-webpack-plugin": "~3.0.0",
134
134
  "enhanced-resolve": "5.9.3",
135
- "esbuild": "~0.14.37",
135
+ "esbuild": "~0.14.38",
136
136
  "esbuild-loader": "~2.18.0",
137
137
  "esbuild-plugin-svgr": "~1.0.1",
138
- "eslint": "~8.13.0",
138
+ "eslint": "~8.14.0",
139
139
  "eslint-config-airbnb": "~19.0.4",
140
140
  "eslint-config-airbnb-base": "~15.0.0",
141
141
  "eslint-config-airbnb-typescript": "~17.0.0",
@@ -147,19 +147,19 @@
147
147
  "eslint-plugin-compat": "~4.0.2",
148
148
  "eslint-plugin-eslint-comments": "~3.2.0",
149
149
  "eslint-plugin-import": "~2.26.0",
150
- "eslint-plugin-jest": "~26.1.4",
151
- "eslint-plugin-jsdoc": "~39.2.7",
150
+ "eslint-plugin-jest": "~26.1.5",
151
+ "eslint-plugin-jsdoc": "~39.2.9",
152
152
  "eslint-plugin-jsx-a11y": "~6.5.1",
153
153
  "eslint-plugin-mdx": "~1.17.0",
154
154
  "eslint-plugin-prettier": "~4.0.0",
155
155
  "eslint-plugin-react": "~7.29.4",
156
- "eslint-plugin-react-hooks": "~4.4.0",
156
+ "eslint-plugin-react-hooks": "~4.5.0",
157
157
  "eslint-plugin-redux-saga": "~1.3.2",
158
158
  "eslint-plugin-storybook": "~0.5.11",
159
159
  "eslint-plugin-testing-library": "~5.3.1",
160
160
  "eslint-plugin-wdio": "~7.19.4",
161
161
  "execa": "~5.1.1",
162
- "express": "~4.17.3",
162
+ "express": "~4.18.0",
163
163
  "express-pino-logger": "~7.0.0",
164
164
  "express-static-gzip": "~2.1.5",
165
165
  "favicons": "~6.2.2",
@@ -181,28 +181,28 @@
181
181
  "jscodeshift": "~0.13.1",
182
182
  "jsdoc": "~3.6.10",
183
183
  "lerna": "~4.0.0",
184
- "lint-staged": "~12.4.0",
184
+ "lint-staged": "~12.4.1",
185
185
  "mini-css-extract-plugin": "~2.6.0",
186
186
  "minimist": "~1.2.6",
187
187
  "moment": "~2.29.3",
188
188
  "moment-locales-webpack-plugin": "~1.2.0",
189
189
  "msw": "~0.39.2",
190
190
  "node-gyp": "~9.0.0",
191
- "node-plop": "~0.30.0",
191
+ "node-plop": "~0.31.0",
192
192
  "nodemon": "~2.0.15",
193
193
  "normalize-path": "~3.0.0",
194
- "npm-check-updates": "12.5.9",
194
+ "npm-check-updates": "12.5.10",
195
195
  "null-loader": "~4.0.1",
196
- "pino": "~7.10.0",
196
+ "pino": "~7.11.0",
197
197
  "pino-pretty": "~7.6.1",
198
198
  "pinst": "~3.0.0",
199
- "plop": "~3.0.5",
199
+ "plop": "~3.1.0",
200
200
  "postcss": "~8.4.12",
201
201
  "postcss-html": "~1.4.1",
202
202
  "postcss-jsx": "~0.36.4",
203
203
  "postcss-loader": "~6.2.1",
204
204
  "postcss-markdown": "~1.2.0",
205
- "postcss-preset-env": "~7.4.3",
205
+ "postcss-preset-env": "~7.4.4",
206
206
  "postcss-syntax": "~0.36.2",
207
207
  "prettier": "~2.6.2",
208
208
  "pug": "~3.0.2",
@@ -211,7 +211,7 @@
211
211
  "react-axe": "~3.5.4",
212
212
  "react-docgen": "~5.4.0",
213
213
  "react-refresh": "~0.11.0",
214
- "react-test-renderer": "~18.0.0",
214
+ "react-test-renderer": "~18.1.0",
215
215
  "resize-observer-polyfill": "~1.5.1",
216
216
  "resolve-typescript-plugin": "~1.2.0",
217
217
  "rimraf": "~3.0.2",
@@ -221,19 +221,19 @@
221
221
  "storybook-addon-turbo-build": "~1.1.0",
222
222
  "storybook-react-router": "~1.0.8",
223
223
  "style-loader": "~3.3.1",
224
- "stylelint": "~14.7.1",
224
+ "stylelint": "~14.8.0",
225
225
  "stylelint-config-recommended": "~7.0.0",
226
226
  "stylelint-config-styled-components": "~0.1.1",
227
227
  "swc-loader": "~0.2.0",
228
228
  "terser-webpack-plugin": "~5.3.1",
229
229
  "ts-node": "~10.7.0",
230
- "tsc-alias": "~1.6.6",
230
+ "tsc-alias": "~1.6.7",
231
231
  "typescript": "~4.6.3",
232
232
  "update-notifier": "~5.1.0",
233
233
  "url-loader": "~4.1.1",
234
234
  "uuid": "~8.3.2",
235
- "vite": "~2.9.5",
236
- "vitest": "~0.9.4",
235
+ "vite": "~2.9.6",
236
+ "vitest": "~0.10.0",
237
237
  "webpack": "~5.72.0",
238
238
  "webpack-bundle-analyzer": "~4.5.0",
239
239
  "webpack-cli": "~4.9.2",