@elliemae/pui-cli 8.0.0-next.8 → 8.0.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.
- package/dist/cjs/commands/version.js +1 -1
- package/dist/cjs/testing/setup-test-env.js +5 -24
- package/dist/cjs/testing/vitest.config.js +1 -1
- package/dist/esm/commands/version.js +1 -1
- package/dist/esm/testing/setup-test-env.js +5 -2
- package/dist/esm/testing/vitest.config.js +1 -1
- package/dist/types/testing/vitest.config.d.ts +1 -1
- package/package.json +53 -48
|
@@ -38,7 +38,7 @@ var import_set_registry_version = require("../monorepo/set-registry-version.js")
|
|
|
38
38
|
var import_delete_merged_tags = require("../monorepo/delete-merged-tags.js");
|
|
39
39
|
const version = async (lernaOptions = "") => {
|
|
40
40
|
await (0, import_utils.exec)(
|
|
41
|
-
`
|
|
41
|
+
`lerna version --conventional-commits --exact --create-release github --force-publish --yes ${lernaOptions}`
|
|
42
42
|
);
|
|
43
43
|
};
|
|
44
44
|
const cmdArgs = {
|
|
@@ -1,27 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
12
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
-
}
|
|
14
|
-
return to;
|
|
15
|
-
};
|
|
16
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
22
|
-
mod
|
|
23
|
-
));
|
|
24
|
-
var React = __toESM(require("react"), 1);
|
|
2
|
+
var import_vitest = require("vitest");
|
|
25
3
|
var import_jest_styled_components = require("jest-styled-components");
|
|
4
|
+
var import_react = require("@testing-library/react");
|
|
26
5
|
var import_extend_expect = require("@testing-library/jest-dom/extend-expect");
|
|
27
|
-
|
|
6
|
+
(0, import_vitest.afterEach)(() => {
|
|
7
|
+
(0, import_react.cleanup)();
|
|
8
|
+
});
|
|
@@ -42,7 +42,7 @@ const vitestConfig = (0, import_config.defineConfig)({
|
|
|
42
42
|
test: {
|
|
43
43
|
globals: true,
|
|
44
44
|
root: process.cwd(),
|
|
45
|
-
environment: "
|
|
45
|
+
environment: "jsdom",
|
|
46
46
|
setupFiles: [import_node_path.default.resolve(__dirname, "./setup-test-env.js")],
|
|
47
47
|
include: ["./{app,lib}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
48
48
|
exclude: [...import_config.configDefaults.exclude, ".idea", ".git", ".cache", "e2e"],
|
|
@@ -5,7 +5,7 @@ import { setRegistryVersion } from "../monorepo/set-registry-version.js";
|
|
|
5
5
|
import { deleteMergedTags } from "../monorepo/delete-merged-tags.js";
|
|
6
6
|
const version = async (lernaOptions = "") => {
|
|
7
7
|
await exec(
|
|
8
|
-
`
|
|
8
|
+
`lerna version --conventional-commits --exact --create-release github --force-publish --yes ${lernaOptions}`
|
|
9
9
|
);
|
|
10
10
|
};
|
|
11
11
|
const cmdArgs = {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { afterEach } from "vitest";
|
|
2
2
|
import "jest-styled-components";
|
|
3
|
+
import { cleanup } from "@testing-library/react";
|
|
3
4
|
import "@testing-library/jest-dom/extend-expect";
|
|
4
|
-
|
|
5
|
+
afterEach(() => {
|
|
6
|
+
cleanup();
|
|
7
|
+
});
|
|
@@ -8,7 +8,7 @@ const vitestConfig = defineConfig({
|
|
|
8
8
|
test: {
|
|
9
9
|
globals: true,
|
|
10
10
|
root: process.cwd(),
|
|
11
|
-
environment: "
|
|
11
|
+
environment: "jsdom",
|
|
12
12
|
setupFiles: [path.resolve(__dirname, "./setup-test-env.js")],
|
|
13
13
|
include: ["./{app,lib}/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"],
|
|
14
14
|
exclude: [...configDefaults.exclude, ".idea", ".git", ".cache", "e2e"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const vitestConfig: import("vitest/dist/config").UserConfigExport;
|
|
1
|
+
export declare const vitestConfig: import("vitest/dist/config").UserConfigExport;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,12 @@
|
|
|
20
20
|
},
|
|
21
21
|
"./storybook": {
|
|
22
22
|
"require": "./dist/cjs/webpack/webpack.storybook.js"
|
|
23
|
-
}
|
|
23
|
+
},
|
|
24
|
+
"./vitest": {
|
|
25
|
+
"import": "./dist/esm/testing/vitest.config.js"
|
|
26
|
+
},
|
|
27
|
+
"./app.tsconfig.json": "./app.tsconfig.json",
|
|
28
|
+
"./library.tsconfig.json": "./library.tsconfig.json"
|
|
24
29
|
},
|
|
25
30
|
"files": [
|
|
26
31
|
"dist",
|
|
@@ -68,30 +73,30 @@
|
|
|
68
73
|
},
|
|
69
74
|
"dependencies": {
|
|
70
75
|
"@axe-core/react": "~4.6.0",
|
|
71
|
-
"@babel/cli": "~7.
|
|
72
|
-
"@babel/core": "~7.
|
|
76
|
+
"@babel/cli": "~7.21.0",
|
|
77
|
+
"@babel/core": "~7.21.0",
|
|
73
78
|
"@babel/eslint-parser": "~7.19.1",
|
|
74
79
|
"@babel/node": "~7.20.7",
|
|
75
80
|
"@babel/plugin-proposal-class-properties": "~7.18.6",
|
|
76
81
|
"@babel/plugin-proposal-export-default-from": "~7.18.10",
|
|
77
82
|
"@babel/plugin-syntax-dynamic-import": "~7.8.3",
|
|
78
83
|
"@babel/plugin-syntax-import-assertions": "~7.20.0",
|
|
79
|
-
"@babel/plugin-transform-modules-commonjs": "~7.
|
|
84
|
+
"@babel/plugin-transform-modules-commonjs": "~7.21.2",
|
|
80
85
|
"@babel/plugin-transform-react-constant-elements": "~7.20.2",
|
|
81
|
-
"@babel/plugin-transform-react-inline-elements": "~7.
|
|
86
|
+
"@babel/plugin-transform-react-inline-elements": "~7.21.0",
|
|
82
87
|
"@babel/plugin-transform-react-jsx-source": "~7.19.6",
|
|
83
|
-
"@babel/plugin-transform-runtime": "~7.
|
|
88
|
+
"@babel/plugin-transform-runtime": "~7.21.0",
|
|
84
89
|
"@babel/preset-env": "~7.20.2",
|
|
85
90
|
"@babel/preset-react": "~7.18.6",
|
|
86
|
-
"@babel/preset-typescript": "~7.
|
|
87
|
-
"@babel/runtime": "~7.
|
|
88
|
-
"@commitlint/cli": "~17.4.
|
|
89
|
-
"@commitlint/config-conventional": "~17.4.
|
|
91
|
+
"@babel/preset-typescript": "~7.21.0",
|
|
92
|
+
"@babel/runtime": "~7.21.0",
|
|
93
|
+
"@commitlint/cli": "~17.4.4",
|
|
94
|
+
"@commitlint/config-conventional": "~17.4.4",
|
|
90
95
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
91
96
|
"@faker-js/faker": "7.6.0",
|
|
92
|
-
"@nrwl/cli": "15.
|
|
93
|
-
"@nrwl/tao": "15.
|
|
94
|
-
"@nrwl/workspace": "15.
|
|
97
|
+
"@nrwl/cli": "15.7.2",
|
|
98
|
+
"@nrwl/tao": "15.7.2",
|
|
99
|
+
"@nrwl/workspace": "15.7.2",
|
|
95
100
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
96
101
|
"@semantic-release/changelog": "~6.0.2",
|
|
97
102
|
"@semantic-release/exec": "~6.0.3",
|
|
@@ -102,18 +107,18 @@
|
|
|
102
107
|
"@storybook/addon-interactions": "~6.5.16",
|
|
103
108
|
"@storybook/addon-links": "~6.5.16",
|
|
104
109
|
"@storybook/addon-storysource": "~6.5.16",
|
|
105
|
-
"@storybook/builder-vite": "~0.4.
|
|
110
|
+
"@storybook/builder-vite": "~0.4.2",
|
|
106
111
|
"@storybook/builder-webpack5": "~6.5.16",
|
|
107
112
|
"@storybook/manager-webpack5": "~6.5.16",
|
|
108
113
|
"@storybook/react": "~6.5.16",
|
|
109
114
|
"@storybook/theming": "~6.5.16",
|
|
110
115
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
111
116
|
"@svgr/webpack": "~6.5.1",
|
|
112
|
-
"@swc/cli": "~0.1.
|
|
113
|
-
"@swc/core": "~1.3.
|
|
117
|
+
"@swc/cli": "~0.1.62",
|
|
118
|
+
"@swc/core": "~1.3.36",
|
|
114
119
|
"@swc/jest": "~0.2.24",
|
|
115
120
|
"@testing-library/jest-dom": "~5.16.5",
|
|
116
|
-
"@testing-library/react": "~
|
|
121
|
+
"@testing-library/react": "~14.0.0",
|
|
117
122
|
"@testing-library/react-hooks": "~8.0.1",
|
|
118
123
|
"@testing-library/user-event": "~14.4.3",
|
|
119
124
|
"@types/circular-dependency-plugin": "~5.0.5",
|
|
@@ -124,19 +129,19 @@
|
|
|
124
129
|
"@types/jest": "~29.4.0",
|
|
125
130
|
"@types/jest-axe": "~3.5.5",
|
|
126
131
|
"@types/moment-locales-webpack-plugin": "~1.2.3",
|
|
127
|
-
"@types/node": "~18.
|
|
132
|
+
"@types/node": "~18.14.1",
|
|
128
133
|
"@types/normalize-path": "~3.0.0",
|
|
129
134
|
"@types/postcss-preset-env": "~7.7.0",
|
|
130
135
|
"@types/rimraf": "~3.0.2",
|
|
131
136
|
"@types/speed-measure-webpack-plugin": "~1.3.4",
|
|
132
137
|
"@types/supertest": "~2.0.12",
|
|
133
|
-
"@types/uuid": "~9.0.
|
|
138
|
+
"@types/uuid": "~9.0.1",
|
|
134
139
|
"@types/testing-library__jest-dom": "~5.14.5",
|
|
135
140
|
"@types/webpack-bundle-analyzer": "~4.6.0",
|
|
136
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
137
|
-
"@typescript-eslint/parser": "~5.
|
|
141
|
+
"@typescript-eslint/eslint-plugin": "~5.53.0",
|
|
142
|
+
"@typescript-eslint/parser": "~5.53.0",
|
|
138
143
|
"@vitejs/plugin-react": "~3.1.0",
|
|
139
|
-
"@vitest/coverage-c8": "~0.28.
|
|
144
|
+
"@vitest/coverage-c8": "~0.28.5",
|
|
140
145
|
"autoprefixer": "~10.4.13",
|
|
141
146
|
"axe-core": "~4.6.3",
|
|
142
147
|
"babel-plugin-date-fns": "~2.0.0",
|
|
@@ -149,7 +154,7 @@
|
|
|
149
154
|
"babel-plugin-transform-react-remove-prop-types": "~0.4.24",
|
|
150
155
|
"babel-plugin-transform-remove-console": "~6.9.4",
|
|
151
156
|
"babel-plugin-transform-strip-block": "~0.0.5",
|
|
152
|
-
"body-parser": "~1.20.
|
|
157
|
+
"body-parser": "~1.20.2",
|
|
153
158
|
"browserslist": "~4.21.5",
|
|
154
159
|
"browserslist-to-esbuild": "~1.2.0",
|
|
155
160
|
"chalk": "~5.2.0",
|
|
@@ -167,8 +172,8 @@
|
|
|
167
172
|
"dotenv-webpack": "~8.0.1",
|
|
168
173
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
169
174
|
"enhanced-resolve": "5.12.0",
|
|
170
|
-
"esbuild": "~0.17.
|
|
171
|
-
"esbuild-loader": "~3.0.
|
|
175
|
+
"esbuild": "~0.17.10",
|
|
176
|
+
"esbuild-loader": "~3.0.1",
|
|
172
177
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
173
178
|
"eslint": "~8.34.0",
|
|
174
179
|
"eslint-config-airbnb": "~19.0.4",
|
|
@@ -179,29 +184,29 @@
|
|
|
179
184
|
"eslint-import-resolver-babel-module": "~5.3.2",
|
|
180
185
|
"eslint-import-resolver-typescript": "~3.5.3",
|
|
181
186
|
"eslint-import-resolver-webpack": "~0.13.2",
|
|
182
|
-
"eslint-plugin-compat": "~4.1.
|
|
187
|
+
"eslint-plugin-compat": "~4.1.2",
|
|
183
188
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
184
189
|
"eslint-plugin-import": "~2.27.5",
|
|
185
190
|
"eslint-plugin-jest": "~27.2.1",
|
|
186
|
-
"eslint-plugin-jsdoc": "~
|
|
191
|
+
"eslint-plugin-jsdoc": "~40.0.0",
|
|
187
192
|
"eslint-plugin-jsx-a11y": "~6.7.1",
|
|
188
193
|
"eslint-plugin-mdx": "~2.0.5",
|
|
189
194
|
"eslint-plugin-prettier": "~4.2.1",
|
|
190
195
|
"eslint-plugin-react": "~7.32.2",
|
|
191
196
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
192
197
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
193
|
-
"eslint-plugin-storybook": "~0.6.
|
|
194
|
-
"eslint-plugin-testing-library": "~5.10.
|
|
198
|
+
"eslint-plugin-storybook": "~0.6.11",
|
|
199
|
+
"eslint-plugin-testing-library": "~5.10.2",
|
|
195
200
|
"eslint-plugin-wdio": "~8.0.14",
|
|
196
|
-
"execa": "~
|
|
201
|
+
"execa": "~7.0.0",
|
|
197
202
|
"express": "~4.18.2",
|
|
198
203
|
"express-static-gzip": "~2.1.7",
|
|
199
|
-
"favicons": "~7.0
|
|
204
|
+
"favicons": "~7.1.0",
|
|
200
205
|
"favicons-webpack-plugin": "~6.0.0",
|
|
201
206
|
"fast-glob": "~3.2.12",
|
|
202
207
|
"find-up": "~6.3.0",
|
|
203
208
|
"find-up-cli": "~5.0.0",
|
|
204
|
-
"happy-dom": "~8.2
|
|
209
|
+
"happy-dom": "~8.7.2",
|
|
205
210
|
"helmet-csp": "~3.4.0",
|
|
206
211
|
"html-loader": "~4.2.0",
|
|
207
212
|
"html-webpack-plugin": "~5.5.0",
|
|
@@ -211,15 +216,15 @@
|
|
|
211
216
|
"imports-loader": "~4.0.1",
|
|
212
217
|
"ip": "~1.1.8",
|
|
213
218
|
"jest-axe": "~7.0.0",
|
|
214
|
-
"jest-cli": "~29.4.
|
|
215
|
-
"jest-environment-jsdom": "~29.4.
|
|
219
|
+
"jest-cli": "~29.4.3",
|
|
220
|
+
"jest-environment-jsdom": "~29.4.3",
|
|
216
221
|
"jest-sonar-reporter": "~2.0.0",
|
|
217
222
|
"jest-styled-components": "~7.1.1",
|
|
218
223
|
"jest-watch-typeahead": "~2.2.2",
|
|
219
224
|
"jscodeshift": "~0.14.0",
|
|
220
|
-
"jsdoc": "~4.0.
|
|
221
|
-
"lerna": "~6.
|
|
222
|
-
"lint-staged": "~13.1.
|
|
225
|
+
"jsdoc": "~4.0.2",
|
|
226
|
+
"lerna": "~6.5.1",
|
|
227
|
+
"lint-staged": "~13.1.2",
|
|
223
228
|
"mini-css-extract-plugin": "~2.7.2",
|
|
224
229
|
"minimist": "~1.2.8",
|
|
225
230
|
"moment": "~2.29.4",
|
|
@@ -230,10 +235,10 @@
|
|
|
230
235
|
"node-plop": "~0.31.1",
|
|
231
236
|
"nodemon": "~2.0.20",
|
|
232
237
|
"normalize-path": "~3.0.0",
|
|
233
|
-
"npm-check-updates": "16.7.
|
|
234
|
-
"pino": "~8.
|
|
238
|
+
"npm-check-updates": "16.7.9",
|
|
239
|
+
"pino": "~8.11.0",
|
|
235
240
|
"pino-http": "~8.3.3",
|
|
236
|
-
"pino-pretty": "~9.
|
|
241
|
+
"pino-pretty": "~9.3.0",
|
|
237
242
|
"plop": "~3.1.2",
|
|
238
243
|
"postcss": "~8.4.21",
|
|
239
244
|
"postcss-html": "~1.5.0",
|
|
@@ -259,33 +264,33 @@
|
|
|
259
264
|
"storybook-addon-turbo-build": "~1.1.0",
|
|
260
265
|
"storybook-react-router": "~1.0.8",
|
|
261
266
|
"style-loader": "~3.3.1",
|
|
262
|
-
"stylelint": "~15.
|
|
267
|
+
"stylelint": "~15.2.0",
|
|
263
268
|
"stylelint-config-recommended": "~10.0.1",
|
|
264
269
|
"stylelint-config-styled-components": "~0.1.1",
|
|
265
270
|
"supertest": "~6.3.3",
|
|
266
271
|
"swc-loader": "~0.2.3",
|
|
267
272
|
"ts-node": "~10.9.1",
|
|
268
273
|
"tsc-alias": "~1.8.2",
|
|
269
|
-
"typedoc": "~0.23.
|
|
274
|
+
"typedoc": "~0.23.25",
|
|
270
275
|
"typescript": "~4.9.5",
|
|
271
276
|
"update-notifier": "~6.0.2",
|
|
272
277
|
"url-loader": "~4.1.1",
|
|
273
278
|
"uuid": "~9.0.0",
|
|
274
|
-
"vite": "~4.1.
|
|
275
|
-
"vitest": "~0.28.
|
|
279
|
+
"vite": "~4.1.4",
|
|
280
|
+
"vitest": "~0.28.5",
|
|
276
281
|
"vite-tsconfig-paths": "~4.0.5",
|
|
277
282
|
"webpack": "~5.75.0",
|
|
278
|
-
"webpack-bundle-analyzer": "~4.
|
|
283
|
+
"webpack-bundle-analyzer": "~4.8.0",
|
|
279
284
|
"webpack-cli": "~5.0.1",
|
|
280
285
|
"webpack-dev-server": "~4.11.1",
|
|
281
286
|
"webpack-manifest-plugin": "~5.0.0",
|
|
282
287
|
"webpack-merge": "~5.8.0",
|
|
283
288
|
"whatwg-fetch": "~3.6.2",
|
|
284
289
|
"workbox-webpack-plugin": "~6.5.4",
|
|
285
|
-
"yargs": "~17.
|
|
290
|
+
"yargs": "~17.7.1"
|
|
286
291
|
},
|
|
287
292
|
"devDependencies": {
|
|
288
|
-
"@elliemae/pui-doc-gen": "~1.4
|
|
293
|
+
"@elliemae/pui-doc-gen": "~1.6.4",
|
|
289
294
|
"react": "~18.2.0",
|
|
290
295
|
"react-dom": "~18.2.0",
|
|
291
296
|
"redux": "~4.2.1",
|