@elliemae/pui-cli 8.21.0 → 8.22.1
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,14 +35,15 @@ 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"],
|
|
@@ -55,7 +56,11 @@ const vitestConfig = (0, import_config.defineConfig)({
|
|
|
55
56
|
reportsDirectory: "./reports/coverage"
|
|
56
57
|
},
|
|
57
58
|
deps: {
|
|
58
|
-
|
|
59
|
+
optimizer: {
|
|
60
|
+
web: {
|
|
61
|
+
include: ["app.config.json"]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
66
|
});
|
|
@@ -2,13 +2,14 @@ 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"],
|
|
@@ -21,7 +22,11 @@ const vitestConfig = defineConfig({
|
|
|
21
22
|
reportsDirectory: "./reports/coverage"
|
|
22
23
|
},
|
|
23
24
|
deps: {
|
|
24
|
-
|
|
25
|
+
optimizer: {
|
|
26
|
+
web: {
|
|
27
|
+
include: ["app.config.json"]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
25
30
|
}
|
|
26
31
|
}
|
|
27
32
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.22.1",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -75,7 +75,7 @@
|
|
|
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
80
|
"@babel/core": "~7.23.0",
|
|
81
81
|
"@babel/eslint-parser": "~7.22.15",
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
119
119
|
"@svgr/webpack": "~7.0.0",
|
|
120
120
|
"@swc/cli": "~0.1.62",
|
|
121
|
-
"@swc/core": "~1.3.
|
|
121
|
+
"@swc/core": "~1.3.92",
|
|
122
122
|
"@swc/jest": "~0.2.29",
|
|
123
123
|
"@testing-library/jest-dom": "~5.17.0",
|
|
124
124
|
"@testing-library/react": "~14.0.0",
|
|
@@ -132,19 +132,20 @@
|
|
|
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.4",
|
|
136
136
|
"@types/normalize-path": "~3.0.0",
|
|
137
137
|
"@types/postcss-preset-env": "~7.7.0",
|
|
138
138
|
"@types/rimraf": "~3.0.2",
|
|
139
139
|
"@types/speed-measure-webpack-plugin": "~1.3.4",
|
|
140
140
|
"@types/supertest": "~2.0.14",
|
|
141
141
|
"@types/testing-library__jest-dom": "~5.14.9",
|
|
142
|
-
"@types/uuid": "~9.0.
|
|
142
|
+
"@types/uuid": "~9.0.5",
|
|
143
143
|
"@types/webpack-bundle-analyzer": "~4.6.1",
|
|
144
144
|
"@typescript-eslint/eslint-plugin": "~5.62.0",
|
|
145
145
|
"@typescript-eslint/parser": "~5.62.0",
|
|
146
146
|
"@vitejs/plugin-react": "~4.1.0",
|
|
147
147
|
"@vitest/coverage-c8": "~0.33.0",
|
|
148
|
+
"@vitest/coverage-v8": "~0.34.6",
|
|
148
149
|
"autoprefixer": "~10.4.16",
|
|
149
150
|
"axe-core": "~4.8.2",
|
|
150
151
|
"babel-plugin-date-fns": "~2.0.0",
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
"esbuild": "~0.19.4",
|
|
179
180
|
"esbuild-loader": "~3.2.0",
|
|
180
181
|
"esbuild-plugin-svgr": "~1.1.0",
|
|
181
|
-
"eslint": "~8.
|
|
182
|
+
"eslint": "~8.51.0",
|
|
182
183
|
"eslint-config-airbnb": "~19.0.4",
|
|
183
184
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
184
185
|
"eslint-config-airbnb-typescript": "~17.1.0",
|
|
@@ -198,7 +199,7 @@
|
|
|
198
199
|
"eslint-plugin-react": "~7.33.2",
|
|
199
200
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
200
201
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
201
|
-
"eslint-plugin-storybook": "~0.6.
|
|
202
|
+
"eslint-plugin-storybook": "~0.6.15",
|
|
202
203
|
"eslint-plugin-testing-library": "~5.11.1",
|
|
203
204
|
"eslint-plugin-wdio": "~8.8.7",
|
|
204
205
|
"execa": "~7.2.0",
|
|
@@ -209,7 +210,7 @@
|
|
|
209
210
|
"favicons-webpack-plugin": "~6.0.1",
|
|
210
211
|
"find-up": "~6.3.0",
|
|
211
212
|
"find-up-cli": "~5.0.0",
|
|
212
|
-
"happy-dom": "~9.
|
|
213
|
+
"happy-dom": "~12.9.1",
|
|
213
214
|
"helmet-csp": "~3.4.0",
|
|
214
215
|
"html-loader": "~4.2.0",
|
|
215
216
|
"html-webpack-plugin": "~5.5.3",
|
|
@@ -239,7 +240,7 @@
|
|
|
239
240
|
"normalize-path": "~3.0.0",
|
|
240
241
|
"npm-check-updates": "16.14.5",
|
|
241
242
|
"npm-run-all": "~4.1.5",
|
|
242
|
-
"pino": "~8.
|
|
243
|
+
"pino": "~8.16.0",
|
|
243
244
|
"pino-http": "~8.5.0",
|
|
244
245
|
"pino-pretty": "~10.2.3",
|
|
245
246
|
"plop": "~3.1.2",
|
|
@@ -248,7 +249,7 @@
|
|
|
248
249
|
"postcss-jsx": "~0.36.4",
|
|
249
250
|
"postcss-loader": "~7.3.3",
|
|
250
251
|
"postcss-markdown": "~1.2.0",
|
|
251
|
-
"postcss-preset-env": "9.
|
|
252
|
+
"postcss-preset-env": "9.2.0",
|
|
252
253
|
"postcss-syntax": "~0.36.2",
|
|
253
254
|
"prettier": "~2.8.8",
|
|
254
255
|
"prisma": "~4.16.2",
|
|
@@ -276,14 +277,14 @@
|
|
|
276
277
|
"ts-node": "~10.9.1",
|
|
277
278
|
"tsc-alias": "~1.8.8",
|
|
278
279
|
"tsx": "~3.13.0",
|
|
279
|
-
"typedoc": "~0.25.
|
|
280
|
+
"typedoc": "~0.25.2",
|
|
280
281
|
"typescript": "~5.2.2",
|
|
281
282
|
"update-notifier": "~6.0.2",
|
|
282
283
|
"url-loader": "~4.1.1",
|
|
283
284
|
"uuid": "~9.0.1",
|
|
284
|
-
"vite": "~4.4.
|
|
285
|
+
"vite": "~4.4.11",
|
|
285
286
|
"vite-tsconfig-paths": "~4.2.1",
|
|
286
|
-
"vitest": "~0.
|
|
287
|
+
"vitest": "~1.0.0-beta.1",
|
|
287
288
|
"webpack": "~5.88.2",
|
|
288
289
|
"webpack-bundle-analyzer": "~4.9.1",
|
|
289
290
|
"webpack-cli": "~5.1.4",
|