@elliemae/pui-cli 7.0.0-alpha.11 → 7.0.0-alpha.12
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.
|
@@ -23,11 +23,14 @@ __export(vitest_exports, {
|
|
|
23
23
|
vitestCmd: () => vitestCmd
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(vitest_exports);
|
|
26
|
+
var import_node_path = __toESM(require("node:path"), 1);
|
|
27
|
+
var import_node_url = require("node:url");
|
|
26
28
|
var import_yargs = __toESM(require("yargs"), 1);
|
|
27
29
|
var import_utils = require("./utils.js");
|
|
28
30
|
const import_meta = {};
|
|
31
|
+
const __dirname = import_node_path.default.dirname((0, import_node_url.fileURLToPath)(import_meta.url));
|
|
29
32
|
const { CI = false } = process.env;
|
|
30
|
-
const configPath =
|
|
33
|
+
const configPath = import_node_path.default.resolve(__dirname, "../testing/vitest.config.js");
|
|
31
34
|
const test = async (commandOptions) => {
|
|
32
35
|
await (0, import_utils.exec)(`cross-env FORCE_COLOR=true vitest --config ${configPath} ${commandOptions}`);
|
|
33
36
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
5
|
var __export = (target, all) => {
|
|
8
6
|
for (var name in all)
|
|
@@ -16,7 +14,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
14
|
}
|
|
17
15
|
return to;
|
|
18
16
|
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
|
20
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
18
|
var vitest_config_exports = {};
|
|
22
19
|
__export(vitest_config_exports, {
|
|
@@ -24,13 +21,11 @@ __export(vitest_config_exports, {
|
|
|
24
21
|
});
|
|
25
22
|
module.exports = __toCommonJS(vitest_config_exports);
|
|
26
23
|
var import_vite = require("vite");
|
|
27
|
-
var import_path = __toESM(require("path"), 1);
|
|
28
24
|
var vitest_config_default = (0, import_vite.defineConfig)({
|
|
29
25
|
test: {
|
|
30
26
|
globals: true,
|
|
31
27
|
root: process.cwd(),
|
|
32
28
|
exclude: ["node_modules", "dist", ".idea", ".git", ".cache", "e2e"],
|
|
33
|
-
setupFiles: [import_path.default.resolve(__dirname, "./vitest.setup.ts")],
|
|
34
29
|
coverage: {
|
|
35
30
|
reportsDirectory: "./reports/coverage"
|
|
36
31
|
},
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { fileURLToPath } from "node:url";
|
|
1
3
|
import yargs from "yargs";
|
|
2
4
|
import { exec, logError, logSuccess } from "./utils.js";
|
|
5
|
+
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
3
6
|
const { CI = false } = process.env;
|
|
4
|
-
const configPath =
|
|
7
|
+
const configPath = path.resolve(__dirname, "../testing/vitest.config.js");
|
|
5
8
|
const test = async (commandOptions) => {
|
|
6
9
|
await exec(`cross-env FORCE_COLOR=true vitest --config ${configPath} ${commandOptions}`);
|
|
7
10
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { defineConfig } from "vite";
|
|
2
|
-
import path from "path";
|
|
3
2
|
var vitest_config_default = defineConfig({
|
|
4
3
|
test: {
|
|
5
4
|
globals: true,
|
|
6
5
|
root: process.cwd(),
|
|
7
6
|
exclude: ["node_modules", "dist", ".idea", ".git", ".cache", "e2e"],
|
|
8
|
-
setupFiles: [path.resolve(__dirname, "./vitest.setup.ts")],
|
|
9
7
|
coverage: {
|
|
10
8
|
reportsDirectory: "./reports/coverage"
|
|
11
9
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.0.0-alpha.
|
|
3
|
+
"version": "7.0.0-alpha.12",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"sonar56x": true
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
+
"@axe-core/react": "~4.4.2",
|
|
65
66
|
"@babel/cli": "~7.17.10",
|
|
66
67
|
"@babel/core": "~7.17.10",
|
|
67
68
|
"@babel/eslint-parser": "~7.17.0",
|
|
@@ -103,8 +104,8 @@
|
|
|
103
104
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
104
105
|
"@svgr/webpack": "~6.2.1",
|
|
105
106
|
"@swc/cli": "~0.1.57",
|
|
106
|
-
"@swc/core": "~1.2.
|
|
107
|
-
"@swc/jest": "~0.2.
|
|
107
|
+
"@swc/core": "~1.2.179",
|
|
108
|
+
"@swc/jest": "~0.2.21",
|
|
108
109
|
"@testing-library/jest-dom": "~5.16.4",
|
|
109
110
|
"@testing-library/react": "~13.2.0",
|
|
110
111
|
"@testing-library/react-hooks": "~8.0.0",
|
|
@@ -112,12 +113,10 @@
|
|
|
112
113
|
"@types/node": "~17.0.31",
|
|
113
114
|
"@types/rimraf": "~3.0.2",
|
|
114
115
|
"@types/testing-library__jest-dom": "~5.14.3",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
116
|
-
"@typescript-eslint/parser": "~5.
|
|
116
|
+
"@typescript-eslint/eslint-plugin": "~5.23.0",
|
|
117
|
+
"@typescript-eslint/parser": "~5.23.0",
|
|
117
118
|
"autoprefixer": "~10.4.7",
|
|
118
119
|
"axe-core": "~4.4.1",
|
|
119
|
-
"babel-loader": "~8.2.5",
|
|
120
|
-
"babel-plugin-add-import-extension": "1.6.0",
|
|
121
120
|
"babel-plugin-date-fns": "~2.0.0",
|
|
122
121
|
"babel-plugin-dynamic-import-node": "~2.3.3",
|
|
123
122
|
"babel-plugin-import-remove-resource-query": "~1.0.0",
|
|
@@ -150,7 +149,7 @@
|
|
|
150
149
|
"esbuild": "~0.14.38",
|
|
151
150
|
"esbuild-loader": "~2.18.0",
|
|
152
151
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
153
|
-
"eslint": "~8.
|
|
152
|
+
"eslint": "~8.15.0",
|
|
154
153
|
"eslint-config-airbnb": "~19.0.4",
|
|
155
154
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
156
155
|
"eslint-config-airbnb-typescript": "~17.0.0",
|
|
@@ -171,7 +170,7 @@
|
|
|
171
170
|
"eslint-plugin-react-hooks": "~4.5.0",
|
|
172
171
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
173
172
|
"eslint-plugin-storybook": "~0.5.11",
|
|
174
|
-
"eslint-plugin-testing-library": "~5.
|
|
173
|
+
"eslint-plugin-testing-library": "~5.4.0",
|
|
175
174
|
"eslint-plugin-wdio": "~7.19.4",
|
|
176
175
|
"execa": "~6.1.0",
|
|
177
176
|
"express": "~4.18.1",
|
|
@@ -186,8 +185,8 @@
|
|
|
186
185
|
"helmet-csp": "~3.4.0",
|
|
187
186
|
"html-webpack-plugin": "~5.5.0",
|
|
188
187
|
"http-server": "~14.1.0",
|
|
189
|
-
"husky": "~
|
|
190
|
-
"husky-init": "~
|
|
188
|
+
"husky": "~8.0.1",
|
|
189
|
+
"husky-init": "~8.0.0",
|
|
191
190
|
"imports-loader": "~3.1.1",
|
|
192
191
|
"ip": "~1.1.5",
|
|
193
192
|
"jest-axe": "~6.0.0",
|
|
@@ -209,10 +208,8 @@
|
|
|
209
208
|
"nodemon": "~2.0.16",
|
|
210
209
|
"normalize-path": "~3.0.0",
|
|
211
210
|
"npm-check-updates": "12.5.11",
|
|
212
|
-
"null-loader": "~4.0.1",
|
|
213
211
|
"pino": "~7.11.0",
|
|
214
212
|
"pino-pretty": "~7.6.1",
|
|
215
|
-
"pinst": "~3.0.0",
|
|
216
213
|
"plop": "~3.1.0",
|
|
217
214
|
"postcss": "~8.4.13",
|
|
218
215
|
"postcss-html": "~1.4.1",
|
|
@@ -225,7 +222,6 @@
|
|
|
225
222
|
"pug": "~3.0.2",
|
|
226
223
|
"pug-loader": "~2.4.0",
|
|
227
224
|
"raf": "~3.4.1",
|
|
228
|
-
"react-axe": "~3.5.4",
|
|
229
225
|
"react-docgen": "~5.4.0",
|
|
230
226
|
"react-refresh": "~0.13.0",
|
|
231
227
|
"react-test-renderer": "~18.1.0",
|
|
@@ -243,7 +239,6 @@
|
|
|
243
239
|
"stylelint-config-recommended": "~7.0.0",
|
|
244
240
|
"stylelint-config-styled-components": "~0.1.1",
|
|
245
241
|
"swc-loader": "~0.2.0",
|
|
246
|
-
"terser-webpack-plugin": "~5.3.1",
|
|
247
242
|
"ts-node": "~10.7.0",
|
|
248
243
|
"tsc-alias": "~1.6.7",
|
|
249
244
|
"typescript": "~4.6.4",
|
|
@@ -251,13 +246,11 @@
|
|
|
251
246
|
"url-loader": "~4.1.1",
|
|
252
247
|
"uuid": "~8.3.2",
|
|
253
248
|
"vite": "~2.9.8",
|
|
254
|
-
"vitest": "~0.
|
|
249
|
+
"vitest": "~0.12.2",
|
|
255
250
|
"webpack": "~5.72.0",
|
|
256
251
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
257
252
|
"webpack-cli": "~4.9.2",
|
|
258
|
-
"webpack-dev-middleware": "~5.3.1",
|
|
259
253
|
"webpack-dev-server": "~4.9.0",
|
|
260
|
-
"webpack-hot-middleware": "~2.25.1",
|
|
261
254
|
"webpack-manifest-plugin": "~5.0.0",
|
|
262
255
|
"webpack-merge": "~5.8.0",
|
|
263
256
|
"whatwg-fetch": "~3.6.2",
|