@elliemae/pui-cli 6.0.0-beta.28 → 6.0.0-beta.31
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/lib/cli-commands/test.js
CHANGED
|
@@ -4,9 +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(
|
|
8
|
-
`cross-env FORCE_COLOR=true NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest ${commandOptions}`,
|
|
9
|
-
);
|
|
7
|
+
await exec(`cross-env FORCE_COLOR=true NODE_ENV=test jest ${commandOptions}`);
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
// eslint-disable-next-line max-statements
|
|
@@ -73,6 +73,7 @@ const jestConfig = {
|
|
|
73
73
|
'styled-components':
|
|
74
74
|
'<rootDir>/node_modules/styled-components/dist/styled-components.cjs.js',
|
|
75
75
|
},
|
|
76
|
+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
76
77
|
setupFilesAfterEnv: [`${getRootDir()}/lib/testing/setup-tests.js`],
|
|
77
78
|
setupFiles: ['raf/polyfill', 'whatwg-fetch'],
|
|
78
79
|
testRegex: '(app|lib).*/tests/.*\\.test\\.[jt]sx?$',
|
package/lib/testing/resolver.js
CHANGED
|
@@ -13,13 +13,16 @@ const resolutions = [
|
|
|
13
13
|
},
|
|
14
14
|
];
|
|
15
15
|
|
|
16
|
-
const
|
|
16
|
+
const resolveConfig = {
|
|
17
17
|
conditionNames: ['import', 'node', 'default'],
|
|
18
|
-
extensions: ['.
|
|
19
|
-
|
|
18
|
+
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.node'],
|
|
19
|
+
modules: ['node_modules', 'app', 'lib'],
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const importResolver = require('enhanced-resolve').create.sync(resolveConfig);
|
|
20
23
|
const requireResolver = require('enhanced-resolve').create.sync({
|
|
24
|
+
...resolveConfig,
|
|
21
25
|
conditionNames: ['require', 'node', 'default'],
|
|
22
|
-
extensions: ['.js', '.jsx', '.json', '.node', '.ts', '.tsx'],
|
|
23
26
|
});
|
|
24
27
|
|
|
25
28
|
module.exports = (request, options) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.31",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "ICE MT UI Platform CLI",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -47,28 +47,28 @@
|
|
|
47
47
|
"indent": 4
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@babel/cli": "~7.16.
|
|
51
|
-
"@babel/core": "~7.16.
|
|
52
|
-
"@babel/eslint-parser": "~7.16.
|
|
53
|
-
"@babel/node": "~7.16.
|
|
54
|
-
"@babel/plugin-proposal-class-properties": "~7.16.
|
|
55
|
-
"@babel/plugin-proposal-export-default-from": "~7.16.
|
|
50
|
+
"@babel/cli": "~7.16.7",
|
|
51
|
+
"@babel/core": "~7.16.7",
|
|
52
|
+
"@babel/eslint-parser": "~7.16.5",
|
|
53
|
+
"@babel/node": "~7.16.7",
|
|
54
|
+
"@babel/plugin-proposal-class-properties": "~7.16.7",
|
|
55
|
+
"@babel/plugin-proposal-export-default-from": "~7.16.7",
|
|
56
56
|
"@babel/plugin-syntax-dynamic-import": "~7.8.3",
|
|
57
|
-
"@babel/plugin-transform-modules-commonjs": "~7.16.
|
|
58
|
-
"@babel/plugin-transform-react-constant-elements": "~7.16.
|
|
59
|
-
"@babel/plugin-transform-react-inline-elements": "~7.16.
|
|
60
|
-
"@babel/plugin-transform-react-jsx-source": "~7.16.
|
|
61
|
-
"@babel/plugin-transform-runtime": "~7.16.
|
|
62
|
-
"@babel/preset-env": "~7.16.
|
|
63
|
-
"@babel/preset-react": "~7.16.
|
|
64
|
-
"@babel/preset-typescript": "~7.16.
|
|
65
|
-
"@babel/runtime": "~7.16.
|
|
66
|
-
"@commitlint/cli": "~
|
|
67
|
-
"@commitlint/config-conventional": "~
|
|
57
|
+
"@babel/plugin-transform-modules-commonjs": "~7.16.7",
|
|
58
|
+
"@babel/plugin-transform-react-constant-elements": "~7.16.7",
|
|
59
|
+
"@babel/plugin-transform-react-inline-elements": "~7.16.7",
|
|
60
|
+
"@babel/plugin-transform-react-jsx-source": "~7.16.7",
|
|
61
|
+
"@babel/plugin-transform-runtime": "~7.16.7",
|
|
62
|
+
"@babel/preset-env": "~7.16.7",
|
|
63
|
+
"@babel/preset-react": "~7.16.7",
|
|
64
|
+
"@babel/preset-typescript": "~7.16.7",
|
|
65
|
+
"@babel/runtime": "~7.16.7",
|
|
66
|
+
"@commitlint/cli": "~16.0.1",
|
|
67
|
+
"@commitlint/config-conventional": "~16.0.0",
|
|
68
68
|
"@elliemae/browserslist-config-elliemae": "~1.2.1",
|
|
69
|
-
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.
|
|
69
|
+
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.4",
|
|
70
70
|
"@semantic-release/changelog": "~6.0.1",
|
|
71
|
-
"@semantic-release/exec": "~6.0.
|
|
71
|
+
"@semantic-release/exec": "~6.0.3",
|
|
72
72
|
"@semantic-release/git": "~10.0.1",
|
|
73
73
|
"@storybook/addon-a11y": "~6.4.9",
|
|
74
74
|
"@storybook/addon-essentials": "~6.4.9",
|
|
@@ -81,20 +81,20 @@
|
|
|
81
81
|
"@storybook/react": "~6.4.9",
|
|
82
82
|
"@storybook/theming": "~6.4.9",
|
|
83
83
|
"@stylelint/postcss-css-in-js": "~0.37.2",
|
|
84
|
-
"@svgr/webpack": "~6.1.
|
|
85
|
-
"@swc/cli": "~0.1.
|
|
86
|
-
"@swc/core": "~1.2.
|
|
87
|
-
"@swc/jest": "~0.2.
|
|
84
|
+
"@svgr/webpack": "~6.1.2",
|
|
85
|
+
"@swc/cli": "~0.1.55",
|
|
86
|
+
"@swc/core": "~1.2.124",
|
|
87
|
+
"@swc/jest": "~0.2.15",
|
|
88
88
|
"@testing-library/jest-dom": "~5.16.1",
|
|
89
89
|
"@testing-library/react": "~12.1.2",
|
|
90
90
|
"@testing-library/react-hooks": "~7.0.2",
|
|
91
|
-
"@types/jest": "~27.0
|
|
92
|
-
"@types/node": "~
|
|
91
|
+
"@types/jest": "~27.4.0",
|
|
92
|
+
"@types/node": "~17.0.6",
|
|
93
93
|
"@types/rimraf": "~3.0.2",
|
|
94
94
|
"@types/testing-library__jest-dom": "~5.14.2",
|
|
95
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
96
|
-
"@typescript-eslint/parser": "~5.
|
|
97
|
-
"autoprefixer": "~10.4.
|
|
95
|
+
"@typescript-eslint/eslint-plugin": "~5.8.1",
|
|
96
|
+
"@typescript-eslint/parser": "~5.8.1",
|
|
97
|
+
"autoprefixer": "~10.4.1",
|
|
98
98
|
"axe-core": "~4.3.5",
|
|
99
99
|
"babel-loader": "~8.2.3",
|
|
100
100
|
"babel-plugin-add-import-extension": "1.5.1",
|
|
@@ -107,33 +107,33 @@
|
|
|
107
107
|
"babel-plugin-styled-components": "~2.0.2",
|
|
108
108
|
"babel-plugin-transform-react-remove-prop-types": "~0.4.24",
|
|
109
109
|
"babel-plugin-transform-remove-console": "~6.9.4",
|
|
110
|
-
"babel-plugin-transform-strip-block": "~0.0.
|
|
111
|
-
"body-parser": "~1.19.
|
|
112
|
-
"browserslist": "~4.
|
|
110
|
+
"babel-plugin-transform-strip-block": "~0.0.5",
|
|
111
|
+
"body-parser": "~1.19.1",
|
|
112
|
+
"browserslist": "~4.19.1",
|
|
113
113
|
"bundlesize": "~0.18.1",
|
|
114
114
|
"case-sensitive-paths-webpack-plugin": "~2.4.0",
|
|
115
115
|
"chalk": "~4.1.2",
|
|
116
116
|
"circular-dependency-plugin": "~5.2.2",
|
|
117
117
|
"classnames": "~2.3.1",
|
|
118
|
-
"compare-versions": "~4.1.
|
|
118
|
+
"compare-versions": "~4.1.2",
|
|
119
119
|
"compression": "~1.7.4",
|
|
120
|
-
"compression-webpack-plugin": "~9.0
|
|
121
|
-
"copy-webpack-plugin": "~10.
|
|
120
|
+
"compression-webpack-plugin": "~9.2.0",
|
|
121
|
+
"copy-webpack-plugin": "~10.2.0",
|
|
122
122
|
"cors": "~2.8.5",
|
|
123
123
|
"cross-env": "~7.0.3",
|
|
124
124
|
"css-loader": "~6.5.1",
|
|
125
|
-
"css-minimizer-webpack-plugin": "~3.
|
|
125
|
+
"css-minimizer-webpack-plugin": "~3.3.1",
|
|
126
126
|
"depcheck": "~1.4.2",
|
|
127
127
|
"docdash": "~1.2.0",
|
|
128
128
|
"dotenv": "~10.0.0",
|
|
129
129
|
"dotenv-webpack": "~7.0.3",
|
|
130
130
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
131
131
|
"enhanced-resolve": "~5.8.3",
|
|
132
|
-
"esbuild": "~0.14.
|
|
132
|
+
"esbuild": "~0.14.10",
|
|
133
133
|
"esbuild-jest": "~0.5.0",
|
|
134
|
-
"esbuild-loader": "~2.
|
|
135
|
-
"esbuild-plugin-svgr": "~0.0
|
|
136
|
-
"eslint": "~8.
|
|
134
|
+
"esbuild-loader": "~2.18.0",
|
|
135
|
+
"esbuild-plugin-svgr": "~1.0.0",
|
|
136
|
+
"eslint": "~8.6.0",
|
|
137
137
|
"eslint-config-airbnb": "~18.2.1",
|
|
138
138
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
139
139
|
"eslint-config-airbnb-typescript": "~15.0.0",
|
|
@@ -145,20 +145,20 @@
|
|
|
145
145
|
"eslint-plugin-compat": "~3.13.0",
|
|
146
146
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
147
147
|
"eslint-plugin-import": "~2.25.3",
|
|
148
|
-
"eslint-plugin-jest": "~25.3.
|
|
149
|
-
"eslint-plugin-jsdoc": "~37.
|
|
148
|
+
"eslint-plugin-jest": "~25.3.3",
|
|
149
|
+
"eslint-plugin-jsdoc": "~37.5.0",
|
|
150
150
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
151
151
|
"eslint-plugin-mdx": "~1.16.0",
|
|
152
152
|
"eslint-plugin-prettier": "~4.0.0",
|
|
153
|
-
"eslint-plugin-react": "~7.
|
|
153
|
+
"eslint-plugin-react": "~7.28.0",
|
|
154
154
|
"eslint-plugin-react-hooks": "~4.3.0",
|
|
155
155
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
156
|
-
"eslint-plugin-storybook": "~0.5.
|
|
156
|
+
"eslint-plugin-storybook": "~0.5.5",
|
|
157
157
|
"eslint-plugin-testing-library": "~5.0.1",
|
|
158
158
|
"eslint-plugin-wdio": "~7.4.2",
|
|
159
159
|
"express-static-gzip": "~2.1.1",
|
|
160
160
|
"execa": "~5.1.1",
|
|
161
|
-
"express": "~4.17.
|
|
161
|
+
"express": "~4.17.2",
|
|
162
162
|
"express-pino-logger": "~7.0.0",
|
|
163
163
|
"favicons": "~6.2.2",
|
|
164
164
|
"favicons-webpack-plugin": "~5.0.2",
|
|
@@ -173,33 +173,33 @@
|
|
|
173
173
|
"imports-loader": "~3.1.1",
|
|
174
174
|
"ip": "~1.1.5",
|
|
175
175
|
"jest-axe": "~5.0.1",
|
|
176
|
-
"jest-cli": "~27.4.
|
|
176
|
+
"jest-cli": "~27.4.5",
|
|
177
177
|
"jest-sonar-reporter": "~2.0.0",
|
|
178
178
|
"jest-styled-components": "~7.0.8",
|
|
179
179
|
"jscodeshift": "~0.13.0",
|
|
180
180
|
"jsdoc": "~3.6.7",
|
|
181
|
-
"lint-staged": "~12.1.
|
|
181
|
+
"lint-staged": "~12.1.4",
|
|
182
182
|
"mini-css-extract-plugin": "~2.4.5",
|
|
183
183
|
"minimist": "~1.2.5",
|
|
184
184
|
"moment": "~2.29.1",
|
|
185
185
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
186
|
-
"msw": "~0.36.
|
|
186
|
+
"msw": "~0.36.3",
|
|
187
187
|
"node-gyp": "~8.4.1",
|
|
188
188
|
"node-plop": "~0.30.0",
|
|
189
189
|
"nodemon": "~2.0.15",
|
|
190
|
-
"npm-check-updates": "12.0.
|
|
190
|
+
"npm-check-updates": "12.0.5",
|
|
191
191
|
"null-loader": "~4.0.1",
|
|
192
|
-
"pino": "~7.
|
|
193
|
-
"pino-pretty": "~7.
|
|
192
|
+
"pino": "~7.6.2",
|
|
193
|
+
"pino-pretty": "~7.3.0",
|
|
194
194
|
"pinst": "~2.1.6",
|
|
195
|
-
"plop": "~3.0.
|
|
196
|
-
"postcss": "~8.4.
|
|
195
|
+
"plop": "~3.0.5",
|
|
196
|
+
"postcss": "~8.4.5",
|
|
197
197
|
"postcss-jsx": "~0.36.4",
|
|
198
198
|
"postcss-html": "~1.3.0",
|
|
199
199
|
"postcss-markdown": "~1.2.0",
|
|
200
200
|
"postcss-syntax": "~0.36.2",
|
|
201
201
|
"postcss-loader": "~6.2.1",
|
|
202
|
-
"postcss-preset-env": "~7.0
|
|
202
|
+
"postcss-preset-env": "~7.1.0",
|
|
203
203
|
"prettier": "~2.5.1",
|
|
204
204
|
"pug": "~3.0.2",
|
|
205
205
|
"pug-loader": "~2.4.0",
|
|
@@ -216,11 +216,11 @@
|
|
|
216
216
|
"semantic-release": "~18.0.1",
|
|
217
217
|
"shelljs": "~0.8.4",
|
|
218
218
|
"slackify-markdown": "~4.3.1",
|
|
219
|
-
"storybook-builder-vite": "~0.1.
|
|
219
|
+
"storybook-builder-vite": "~0.1.13",
|
|
220
220
|
"storybook-addon-turbo-build": "~1.0.1",
|
|
221
221
|
"storybook-react-router": "~1.0.8",
|
|
222
222
|
"style-loader": "~3.3.1",
|
|
223
|
-
"stylelint": "~14.
|
|
223
|
+
"stylelint": "~14.2.0",
|
|
224
224
|
"stylelint-config-recommended": "~6.0.0",
|
|
225
225
|
"stylelint-config-styled-components": "~0.1.1",
|
|
226
226
|
"stylelint-custom-processor-loader": "~0.6.0",
|
|
@@ -228,22 +228,22 @@
|
|
|
228
228
|
"svg-url-loader": "~7.1.1",
|
|
229
229
|
"svgo": "~2.8.0",
|
|
230
230
|
"swc-loader": "~0.1.15",
|
|
231
|
-
"terser-webpack-plugin": "~5.
|
|
231
|
+
"terser-webpack-plugin": "~5.3.0",
|
|
232
232
|
"ts-node": "~10.4.0",
|
|
233
|
-
"tsc-alias": "~1.
|
|
233
|
+
"tsc-alias": "~1.5.0",
|
|
234
234
|
"tsc-files": "~1.1.3",
|
|
235
235
|
"tsconfig-paths": "~3.12.0",
|
|
236
236
|
"tsconfig-paths-webpack-plugin": "~3.5.2",
|
|
237
237
|
"type-fest": "~2.8.0",
|
|
238
|
-
"typescript": "~4.5.
|
|
238
|
+
"typescript": "~4.5.4",
|
|
239
239
|
"update-notifier": "~5.1.0",
|
|
240
240
|
"url-loader": "~4.1.1",
|
|
241
241
|
"uuid": "~8.3.2",
|
|
242
|
-
"vite": "~2.7.
|
|
242
|
+
"vite": "~2.7.10",
|
|
243
243
|
"webpack": "~5.65.0",
|
|
244
244
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
245
245
|
"webpack-cli": "~4.9.1",
|
|
246
|
-
"webpack-dev-middleware": "~5.
|
|
246
|
+
"webpack-dev-middleware": "~5.3.0",
|
|
247
247
|
"webpack-hot-middleware": "~2.25.1",
|
|
248
248
|
"webpack-manifest-plugin": "~4.0.2",
|
|
249
249
|
"webpack-merge": "~5.8.0",
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"webpack-strip-block": "~0.3.0",
|
|
252
252
|
"whatwg-fetch": "~3.6.2",
|
|
253
253
|
"workbox-webpack-plugin": "~6.4.2",
|
|
254
|
-
"yargs": "~17.3.
|
|
254
|
+
"yargs": "~17.3.1"
|
|
255
255
|
},
|
|
256
256
|
"devDependencies": {
|
|
257
257
|
"redux": "~4.1.2",
|