@elliemae/pui-cli 8.22.0 → 8.23.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.
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var import_vitest = require("vitest");
|
|
3
|
-
var import_jest_styled_components = require("jest-styled-components");
|
|
4
3
|
var import_react = require("@testing-library/react");
|
|
5
|
-
var import_extend_expect = require("@testing-library/jest-dom/extend-expect");
|
|
6
4
|
(0, import_vitest.afterEach)(() => {
|
|
7
5
|
(0, import_react.cleanup)();
|
|
8
6
|
});
|
|
@@ -35,27 +35,27 @@ var import_node_path = __toESM(require("node:path"), 1);
|
|
|
35
35
|
var import_node_url = require("node:url");
|
|
36
36
|
var import_config = require("vitest/config");
|
|
37
37
|
var import_plugin_react = __toESM(require("@vitejs/plugin-react"), 1);
|
|
38
|
+
var import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1);
|
|
38
39
|
const import_meta = {};
|
|
39
40
|
const __dirname = import_node_path.default.dirname((0, import_node_url.fileURLToPath)(import_meta.url));
|
|
40
41
|
const vitestConfig = (0, import_config.defineConfig)({
|
|
41
|
-
plugins: [(0, import_plugin_react.default)()],
|
|
42
|
+
plugins: [(0, import_plugin_react.default)(), (0, import_vite_tsconfig_paths.default)()],
|
|
42
43
|
test: {
|
|
43
44
|
globals: true,
|
|
44
45
|
root: process.cwd(),
|
|
45
|
-
environment: "
|
|
46
|
+
environment: "happy-dom",
|
|
46
47
|
setupFiles: [import_node_path.default.resolve(__dirname, "./setup-test-env.js")],
|
|
47
48
|
include: ["./{app,lib}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
48
49
|
exclude: [...import_config.configDefaults.exclude, ".idea", ".git", ".cache", "e2e"],
|
|
49
|
-
// watchIgnore: [
|
|
50
|
-
// '.*\\/node_modules\\/.*',
|
|
51
|
-
// '.*\\/build\\/.*',
|
|
52
|
-
// '.*\\/dist\\/.*',
|
|
53
|
-
// ],
|
|
54
50
|
coverage: {
|
|
55
51
|
reportsDirectory: "./reports/coverage"
|
|
56
52
|
},
|
|
57
53
|
deps: {
|
|
58
|
-
|
|
54
|
+
optimizer: {
|
|
55
|
+
web: {
|
|
56
|
+
include: ["app.config.json", "@elliemae/pui-app-sdk"]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
});
|
|
@@ -2,26 +2,26 @@ import path from "node:path";
|
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
3
|
import { defineConfig, configDefaults } from "vitest/config";
|
|
4
4
|
import react from "@vitejs/plugin-react";
|
|
5
|
+
import tsconfigPaths from "vite-tsconfig-paths";
|
|
5
6
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
6
7
|
const vitestConfig = defineConfig({
|
|
7
|
-
plugins: [react()],
|
|
8
|
+
plugins: [react(), tsconfigPaths()],
|
|
8
9
|
test: {
|
|
9
10
|
globals: true,
|
|
10
11
|
root: process.cwd(),
|
|
11
|
-
environment: "
|
|
12
|
+
environment: "happy-dom",
|
|
12
13
|
setupFiles: [path.resolve(__dirname, "./setup-test-env.js")],
|
|
13
14
|
include: ["./{app,lib}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
14
15
|
exclude: [...configDefaults.exclude, ".idea", ".git", ".cache", "e2e"],
|
|
15
|
-
// watchIgnore: [
|
|
16
|
-
// '.*\\/node_modules\\/.*',
|
|
17
|
-
// '.*\\/build\\/.*',
|
|
18
|
-
// '.*\\/dist\\/.*',
|
|
19
|
-
// ],
|
|
20
16
|
coverage: {
|
|
21
17
|
reportsDirectory: "./reports/coverage"
|
|
22
18
|
},
|
|
23
19
|
deps: {
|
|
24
|
-
|
|
20
|
+
optimizer: {
|
|
21
|
+
web: {
|
|
22
|
+
include: ["app.config.json", "@elliemae/pui-app-sdk"]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.23.0",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"sonar56x": true
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@axe-core/react": "~4.
|
|
78
|
+
"@axe-core/react": "~4.8.0",
|
|
79
79
|
"@babel/cli": "~7.23.0",
|
|
80
|
-
"@babel/core": "~7.23.
|
|
80
|
+
"@babel/core": "~7.23.2",
|
|
81
81
|
"@babel/eslint-parser": "~7.22.15",
|
|
82
82
|
"@babel/node": "~7.22.19",
|
|
83
83
|
"@babel/plugin-proposal-class-properties": "~7.18.6",
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
"@babel/plugin-transform-react-constant-elements": "~7.22.5",
|
|
89
89
|
"@babel/plugin-transform-react-inline-elements": "~7.22.5",
|
|
90
90
|
"@babel/plugin-transform-react-jsx-source": "~7.22.5",
|
|
91
|
-
"@babel/plugin-transform-runtime": "~7.
|
|
92
|
-
"@babel/preset-env": "~7.
|
|
91
|
+
"@babel/plugin-transform-runtime": "~7.23.2",
|
|
92
|
+
"@babel/preset-env": "~7.23.2",
|
|
93
93
|
"@babel/preset-react": "~7.22.15",
|
|
94
|
-
"@babel/preset-typescript": "~7.23.
|
|
95
|
-
"@babel/runtime": "~7.23.
|
|
94
|
+
"@babel/preset-typescript": "~7.23.2",
|
|
95
|
+
"@babel/runtime": "~7.23.2",
|
|
96
96
|
"@commitlint/cli": "~17.7.2",
|
|
97
97
|
"@commitlint/config-conventional": "~17.7.0",
|
|
98
98
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.8.0",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"@types/jest": "~29.5.5",
|
|
133
133
|
"@types/jest-axe": "~3.5.6",
|
|
134
134
|
"@types/moment-locales-webpack-plugin": "~1.2.4",
|
|
135
|
-
"@types/node": "~18.18.
|
|
135
|
+
"@types/node": "~18.18.5",
|
|
136
136
|
"@types/normalize-path": "~3.0.0",
|
|
137
137
|
"@types/postcss-preset-env": "~7.7.0",
|
|
138
138
|
"@types/rimraf": "~3.0.2",
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
"jest-cli": "~29.7.0",
|
|
224
224
|
"jest-environment-jsdom": "~29.7.0",
|
|
225
225
|
"jest-sonar-reporter": "~2.0.0",
|
|
226
|
-
"jest-styled-components": "~7.
|
|
226
|
+
"jest-styled-components": "~7.2.0",
|
|
227
227
|
"jest-watch-typeahead": "~2.2.2",
|
|
228
228
|
"jscodeshift": "~0.15.0",
|
|
229
229
|
"jsdoc": "~4.0.2",
|
|
@@ -238,9 +238,9 @@
|
|
|
238
238
|
"node-plop": "~0.32.0",
|
|
239
239
|
"nodemon": "~2.0.22",
|
|
240
240
|
"normalize-path": "~3.0.0",
|
|
241
|
-
"npm-check-updates": "16.14.
|
|
241
|
+
"npm-check-updates": "16.14.6",
|
|
242
242
|
"npm-run-all": "~4.1.5",
|
|
243
|
-
"pino": "~8.
|
|
243
|
+
"pino": "~8.16.0",
|
|
244
244
|
"pino-http": "~8.5.0",
|
|
245
245
|
"pino-pretty": "~10.2.3",
|
|
246
246
|
"plop": "~3.1.2",
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
"postcss-jsx": "~0.36.4",
|
|
250
250
|
"postcss-loader": "~7.3.3",
|
|
251
251
|
"postcss-markdown": "~1.2.0",
|
|
252
|
-
"postcss-preset-env": "9.
|
|
252
|
+
"postcss-preset-env": "9.2.0",
|
|
253
253
|
"postcss-syntax": "~0.36.2",
|
|
254
254
|
"prettier": "~2.8.8",
|
|
255
255
|
"prisma": "~4.16.2",
|