@elliemae/pui-cli 8.0.0-next.1 → 8.0.0-next.11
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/app.tsconfig.json +23 -0
- package/dist/cjs/commands/start.js +1 -1
- package/dist/cjs/lint-config/stylelint.config.cjs +1 -1
- package/dist/cjs/server/appRoutes.js +2 -1
- package/dist/cjs/testing/setup-test-env.js +5 -24
- package/dist/cjs/testing/setup-tests.js +4 -2
- package/dist/cjs/testing/vitest.config.js +1 -1
- package/dist/cjs/transpile/esbuild.js +1 -1
- package/dist/cjs/webpack/webpack.base.babel.js +0 -2
- package/dist/cjs/webpack/webpack.dev.babel.js +3 -3
- package/dist/cjs/webpack/webpack.lib.base.babel.js +0 -2
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +1 -1
- package/dist/cjs/webpack/webpack.prod.babel.js +1 -1
- package/dist/esm/commands/start.js +1 -1
- package/dist/esm/lint-config/stylelint.config.cjs +1 -1
- package/dist/esm/server/appRoutes.js +2 -1
- package/dist/esm/testing/setup-test-env.js +5 -2
- package/dist/esm/testing/setup-tests.js +4 -2
- package/dist/esm/testing/vitest.config.js +1 -1
- package/dist/esm/transpile/esbuild.js +1 -1
- package/dist/esm/webpack/webpack.base.babel.js +0 -2
- package/dist/esm/webpack/webpack.dev.babel.js +4 -7
- package/dist/esm/webpack/webpack.lib.base.babel.js +0 -2
- package/dist/esm/webpack/webpack.lib.prod.babel.js +2 -2
- package/dist/esm/webpack/webpack.prod.babel.js +2 -2
- package/dist/types/lint-config/stylelint.config.d.cts +0 -1
- package/dist/types/testing/vitest.config.d.ts +1 -1
- package/library.tsconfig.json +23 -0
- package/package.json +82 -74
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["dom", "dom.iterable", "esnext"],
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"target": "es2020",
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"allowSyntheticDefaultImports": true,
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"forceConsistentCasingInFileNames": true,
|
|
10
|
+
"isolatedModules": true,
|
|
11
|
+
"jsx": "react-jsx",
|
|
12
|
+
"moduleResolution": "node",
|
|
13
|
+
"noEmit": true,
|
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
|
15
|
+
"resolveJsonModule": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"strict": true,
|
|
18
|
+
"preserveConstEnums": true,
|
|
19
|
+
"sourceMap": true
|
|
20
|
+
},
|
|
21
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
+
"display": "pui-cli app"
|
|
23
|
+
}
|
|
@@ -15,5 +15,5 @@ exports.stylelintConfig = {
|
|
|
15
15
|
'stylelint-config-recommended',
|
|
16
16
|
'stylelint-config-styled-components',
|
|
17
17
|
],
|
|
18
|
-
rules: { 'selector-type-no-unknown': null, '
|
|
18
|
+
rules: { 'selector-type-no-unknown': null, 'function-no-unknown': null },
|
|
19
19
|
};
|
|
@@ -63,7 +63,8 @@ const loadRoutes = async (app) => {
|
|
|
63
63
|
routeFiles.map(async (routeFile) => {
|
|
64
64
|
const { default: init } = await import(routeFile);
|
|
65
65
|
try {
|
|
66
|
-
init
|
|
66
|
+
if (typeof init === "function")
|
|
67
|
+
init(app);
|
|
67
68
|
} catch (err) {
|
|
68
69
|
console.error(
|
|
69
70
|
`unable to load routes from ${routeFile}. ${err.message}`
|
|
@@ -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
|
+
});
|
|
@@ -68,5 +68,7 @@ const addRootElement = (id) => {
|
|
|
68
68
|
addRootElement("root");
|
|
69
69
|
(0, import_matchMedia.addMatchMedia)();
|
|
70
70
|
window.ResizeObserver = import_resize_observer_polyfill.default;
|
|
71
|
-
window.emui = {
|
|
72
|
-
|
|
71
|
+
window.emui = {
|
|
72
|
+
logger: (0, import_pui_diagnostics.logger)(),
|
|
73
|
+
_BASE_PATH: new URL(document.baseURI).pathname
|
|
74
|
+
};
|
|
@@ -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"],
|
|
@@ -43,7 +43,7 @@ const __dirname = import_node_path.default.dirname((0, import_node_url.fileURLTo
|
|
|
43
43
|
const TARGETS = {
|
|
44
44
|
browserslist: (0, import_browserslist_to_esbuild.default)(),
|
|
45
45
|
web: "es2020",
|
|
46
|
-
node: "
|
|
46
|
+
node: "node18"
|
|
47
47
|
};
|
|
48
48
|
const ESBUILD_FORMAT = {
|
|
49
49
|
CJS: "cjs",
|
|
@@ -179,7 +179,6 @@ const baseConfig = (options) => ({
|
|
|
179
179
|
use: {
|
|
180
180
|
loader: "esbuild-loader",
|
|
181
181
|
options: {
|
|
182
|
-
loader: "jsx",
|
|
183
182
|
target: (0, import_browserslist_to_esbuild.default)()
|
|
184
183
|
}
|
|
185
184
|
}
|
|
@@ -193,7 +192,6 @@ const baseConfig = (options) => ({
|
|
|
193
192
|
use: {
|
|
194
193
|
loader: "esbuild-loader",
|
|
195
194
|
options: {
|
|
196
|
-
loader: "tsx",
|
|
197
195
|
target: (0, import_browserslist_to_esbuild.default)()
|
|
198
196
|
}
|
|
199
197
|
}
|
|
@@ -137,7 +137,9 @@ const devConfig = {
|
|
|
137
137
|
devMiddleware: {
|
|
138
138
|
publicPath: basePath
|
|
139
139
|
},
|
|
140
|
-
historyApiFallback:
|
|
140
|
+
historyApiFallback: {
|
|
141
|
+
index: `${basePath}index.html`
|
|
142
|
+
},
|
|
141
143
|
hot: true,
|
|
142
144
|
open: [basePath],
|
|
143
145
|
port: process.env.PORT || "auto",
|
|
@@ -145,8 +147,6 @@ const devConfig = {
|
|
|
145
147
|
if (devServer.app) {
|
|
146
148
|
(0, import_middlewares.setupDefaultMiddlewares)(devServer.app);
|
|
147
149
|
(0, import_appRoutes.loadRoutes)(devServer.app).then(() => {
|
|
148
|
-
if (devServer.app)
|
|
149
|
-
(0, import_middlewares.setupAdditionalMiddlewars)(devServer.app);
|
|
150
150
|
}).catch((err) => {
|
|
151
151
|
console.error(err);
|
|
152
152
|
});
|
|
@@ -103,7 +103,6 @@ const baseConfig = (options) => ({
|
|
|
103
103
|
use: {
|
|
104
104
|
loader: "esbuild-loader",
|
|
105
105
|
options: {
|
|
106
|
-
loader: "jsx",
|
|
107
106
|
target: (0, import_browserslist_to_esbuild.default)()
|
|
108
107
|
}
|
|
109
108
|
}
|
|
@@ -118,7 +117,6 @@ const baseConfig = (options) => ({
|
|
|
118
117
|
use: {
|
|
119
118
|
loader: "esbuild-loader",
|
|
120
119
|
options: {
|
|
121
|
-
loader: "tsx",
|
|
122
120
|
target: (0, import_browserslist_to_esbuild.default)()
|
|
123
121
|
}
|
|
124
122
|
}
|
|
@@ -58,7 +58,7 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
|
|
|
58
58
|
optimization: {
|
|
59
59
|
moduleIds: "deterministic",
|
|
60
60
|
minimizer: [
|
|
61
|
-
new import_esbuild_loader.
|
|
61
|
+
new import_esbuild_loader.EsbuildPlugin({
|
|
62
62
|
target: (0, import_browserslist_to_esbuild.default)(),
|
|
63
63
|
css: true
|
|
64
64
|
})
|
|
@@ -15,5 +15,5 @@ exports.stylelintConfig = {
|
|
|
15
15
|
'stylelint-config-recommended',
|
|
16
16
|
'stylelint-config-styled-components',
|
|
17
17
|
],
|
|
18
|
-
rules: { 'selector-type-no-unknown': null, '
|
|
18
|
+
rules: { 'selector-type-no-unknown': null, 'function-no-unknown': null },
|
|
19
19
|
};
|
|
@@ -30,7 +30,8 @@ const loadRoutes = async (app) => {
|
|
|
30
30
|
routeFiles.map(async (routeFile) => {
|
|
31
31
|
const { default: init } = await import(routeFile);
|
|
32
32
|
try {
|
|
33
|
-
init
|
|
33
|
+
if (typeof init === "function")
|
|
34
|
+
init(app);
|
|
34
35
|
} catch (err) {
|
|
35
36
|
console.error(
|
|
36
37
|
`unable to load routes from ${routeFile}. ${err.message}`
|
|
@@ -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
|
+
});
|
|
@@ -45,5 +45,7 @@ const addRootElement = (id) => {
|
|
|
45
45
|
addRootElement("root");
|
|
46
46
|
addMatchMedia();
|
|
47
47
|
window.ResizeObserver = ResizeObserver;
|
|
48
|
-
window.emui = {
|
|
49
|
-
|
|
48
|
+
window.emui = {
|
|
49
|
+
logger: logger(),
|
|
50
|
+
_BASE_PATH: new URL(document.baseURI).pathname
|
|
51
|
+
};
|
|
@@ -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"],
|
|
@@ -152,7 +152,6 @@ const baseConfig = (options) => ({
|
|
|
152
152
|
use: {
|
|
153
153
|
loader: "esbuild-loader",
|
|
154
154
|
options: {
|
|
155
|
-
loader: "jsx",
|
|
156
155
|
target: browserslistToEsbuild()
|
|
157
156
|
}
|
|
158
157
|
}
|
|
@@ -166,7 +165,6 @@ const baseConfig = (options) => ({
|
|
|
166
165
|
use: {
|
|
167
166
|
loader: "esbuild-loader",
|
|
168
167
|
options: {
|
|
169
|
-
loader: "tsx",
|
|
170
168
|
target: browserslistToEsbuild()
|
|
171
169
|
}
|
|
172
170
|
}
|
|
@@ -5,10 +5,7 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
|
5
5
|
import CircularDependencyPlugin from "circular-dependency-plugin";
|
|
6
6
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
7
7
|
import ReactRefreshWebpackPlugin from "@pmmmwh/react-refresh-webpack-plugin";
|
|
8
|
-
import {
|
|
9
|
-
setupAdditionalMiddlewars,
|
|
10
|
-
setupDefaultMiddlewares
|
|
11
|
-
} from "../server/middlewares.js";
|
|
8
|
+
import { setupDefaultMiddlewares } from "../server/middlewares.js";
|
|
12
9
|
import { loadRoutes } from "../server/appRoutes.js";
|
|
13
10
|
import {
|
|
14
11
|
isAppLoaderEnabled,
|
|
@@ -110,7 +107,9 @@ const devConfig = {
|
|
|
110
107
|
devMiddleware: {
|
|
111
108
|
publicPath: basePath
|
|
112
109
|
},
|
|
113
|
-
historyApiFallback:
|
|
110
|
+
historyApiFallback: {
|
|
111
|
+
index: `${basePath}index.html`
|
|
112
|
+
},
|
|
114
113
|
hot: true,
|
|
115
114
|
open: [basePath],
|
|
116
115
|
port: process.env.PORT || "auto",
|
|
@@ -118,8 +117,6 @@ const devConfig = {
|
|
|
118
117
|
if (devServer.app) {
|
|
119
118
|
setupDefaultMiddlewares(devServer.app);
|
|
120
119
|
loadRoutes(devServer.app).then(() => {
|
|
121
|
-
if (devServer.app)
|
|
122
|
-
setupAdditionalMiddlewars(devServer.app);
|
|
123
120
|
}).catch((err) => {
|
|
124
121
|
console.error(err);
|
|
125
122
|
});
|
|
@@ -76,7 +76,6 @@ const baseConfig = (options) => ({
|
|
|
76
76
|
use: {
|
|
77
77
|
loader: "esbuild-loader",
|
|
78
78
|
options: {
|
|
79
|
-
loader: "jsx",
|
|
80
79
|
target: browserslistToEsbuild()
|
|
81
80
|
}
|
|
82
81
|
}
|
|
@@ -91,7 +90,6 @@ const baseConfig = (options) => ({
|
|
|
91
90
|
use: {
|
|
92
91
|
loader: "esbuild-loader",
|
|
93
92
|
options: {
|
|
94
|
-
loader: "tsx",
|
|
95
93
|
target: browserslistToEsbuild()
|
|
96
94
|
}
|
|
97
95
|
}
|
|
@@ -3,7 +3,7 @@ import fg from "fast-glob";
|
|
|
3
3
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
4
4
|
import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
5
5
|
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
|
|
6
|
-
import {
|
|
6
|
+
import { EsbuildPlugin } from "esbuild-loader";
|
|
7
7
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
8
8
|
import {
|
|
9
9
|
getLibraryVariableName,
|
|
@@ -40,7 +40,7 @@ const prodConfig = {
|
|
|
40
40
|
moduleIds: "deterministic",
|
|
41
41
|
minimize: true,
|
|
42
42
|
minimizer: [
|
|
43
|
-
new
|
|
43
|
+
new EsbuildPlugin({
|
|
44
44
|
target: browserslistToEsbuild(),
|
|
45
45
|
css: true
|
|
46
46
|
})
|
|
@@ -3,7 +3,7 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
|
3
3
|
import { GenerateSW } from "workbox-webpack-plugin";
|
|
4
4
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
5
5
|
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
|
|
6
|
-
import {
|
|
6
|
+
import { EsbuildPlugin } from "esbuild-loader";
|
|
7
7
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
8
8
|
import { baseConfig } from "./webpack.base.babel.js";
|
|
9
9
|
import {
|
|
@@ -30,7 +30,7 @@ const getProdConfig = ({ latestVersion = true } = {}) => {
|
|
|
30
30
|
optimization: {
|
|
31
31
|
moduleIds: "deterministic",
|
|
32
32
|
minimizer: [
|
|
33
|
-
new
|
|
33
|
+
new EsbuildPlugin({
|
|
34
34
|
target: browserslistToEsbuild(),
|
|
35
35
|
css: true
|
|
36
36
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const vitestConfig: import("vitest/dist/config").UserConfigExport;
|
|
1
|
+
export declare const vitestConfig: import("vitest/dist/config").UserConfigExport;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"lib": ["dom", "dom.iterable", "es2022"],
|
|
4
|
+
"moduleResolution": "node",
|
|
5
|
+
"target": "es2022",
|
|
6
|
+
"module": "es2022",
|
|
7
|
+
"allowJs": true,
|
|
8
|
+
"allowSyntheticDefaultImports": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"esModuleInterop": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"jsx": "react-jsx",
|
|
13
|
+
"noFallthroughCasesInSwitch": true,
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
"preserveConstEnums": true,
|
|
17
|
+
"sourceMap": true,
|
|
18
|
+
"declaration": true,
|
|
19
|
+
"emitDeclarationOnly": true
|
|
20
|
+
},
|
|
21
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
22
|
+
"display": "pui-cli library"
|
|
23
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "8.0.0-next.
|
|
3
|
+
"version": "8.0.0-next.11",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -20,10 +20,17 @@
|
|
|
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
|
-
"dist"
|
|
31
|
+
"dist",
|
|
32
|
+
"./app.tsconfig.json",
|
|
33
|
+
"./library.tsconfig.json"
|
|
27
34
|
],
|
|
28
35
|
"publishConfig": {
|
|
29
36
|
"access": "public"
|
|
@@ -66,8 +73,8 @@
|
|
|
66
73
|
},
|
|
67
74
|
"dependencies": {
|
|
68
75
|
"@axe-core/react": "~4.6.0",
|
|
69
|
-
"@babel/cli": "~7.
|
|
70
|
-
"@babel/core": "~7.
|
|
76
|
+
"@babel/cli": "~7.21.0",
|
|
77
|
+
"@babel/core": "~7.21.0",
|
|
71
78
|
"@babel/eslint-parser": "~7.19.1",
|
|
72
79
|
"@babel/node": "~7.20.7",
|
|
73
80
|
"@babel/plugin-proposal-class-properties": "~7.18.6",
|
|
@@ -76,42 +83,42 @@
|
|
|
76
83
|
"@babel/plugin-syntax-import-assertions": "~7.20.0",
|
|
77
84
|
"@babel/plugin-transform-modules-commonjs": "~7.20.11",
|
|
78
85
|
"@babel/plugin-transform-react-constant-elements": "~7.20.2",
|
|
79
|
-
"@babel/plugin-transform-react-inline-elements": "~7.
|
|
86
|
+
"@babel/plugin-transform-react-inline-elements": "~7.21.0",
|
|
80
87
|
"@babel/plugin-transform-react-jsx-source": "~7.19.6",
|
|
81
|
-
"@babel/plugin-transform-runtime": "~7.
|
|
88
|
+
"@babel/plugin-transform-runtime": "~7.21.0",
|
|
82
89
|
"@babel/preset-env": "~7.20.2",
|
|
83
90
|
"@babel/preset-react": "~7.18.6",
|
|
84
|
-
"@babel/preset-typescript": "~7.
|
|
85
|
-
"@babel/runtime": "~7.
|
|
86
|
-
"@commitlint/cli": "~17.4.
|
|
87
|
-
"@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",
|
|
88
95
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.6.0",
|
|
89
96
|
"@faker-js/faker": "7.6.0",
|
|
90
|
-
"@nrwl/cli": "15.
|
|
91
|
-
"@nrwl/tao": "15.
|
|
92
|
-
"@nrwl/workspace": "15.
|
|
97
|
+
"@nrwl/cli": "15.7.2",
|
|
98
|
+
"@nrwl/tao": "15.7.2",
|
|
99
|
+
"@nrwl/workspace": "15.7.2",
|
|
93
100
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.10",
|
|
94
101
|
"@semantic-release/changelog": "~6.0.2",
|
|
95
102
|
"@semantic-release/exec": "~6.0.3",
|
|
96
103
|
"@semantic-release/git": "~10.0.1",
|
|
97
|
-
"@storybook/addon-a11y": "~6.5.
|
|
98
|
-
"@storybook/addon-essentials": "~6.5.
|
|
104
|
+
"@storybook/addon-a11y": "~6.5.16",
|
|
105
|
+
"@storybook/addon-essentials": "~6.5.16",
|
|
99
106
|
"@storybook/addon-events": "~6.2.9",
|
|
100
|
-
"@storybook/addon-interactions": "~6.5.
|
|
101
|
-
"@storybook/addon-links": "~6.5.
|
|
102
|
-
"@storybook/addon-storysource": "~6.5.
|
|
103
|
-
"@storybook/builder-vite": "~0.
|
|
104
|
-
"@storybook/builder-webpack5": "~6.5.
|
|
105
|
-
"@storybook/manager-webpack5": "~6.5.
|
|
106
|
-
"@storybook/react": "~6.5.
|
|
107
|
-
"@storybook/theming": "~6.5.
|
|
107
|
+
"@storybook/addon-interactions": "~6.5.16",
|
|
108
|
+
"@storybook/addon-links": "~6.5.16",
|
|
109
|
+
"@storybook/addon-storysource": "~6.5.16",
|
|
110
|
+
"@storybook/builder-vite": "~0.4.2",
|
|
111
|
+
"@storybook/builder-webpack5": "~6.5.16",
|
|
112
|
+
"@storybook/manager-webpack5": "~6.5.16",
|
|
113
|
+
"@storybook/react": "~6.5.16",
|
|
114
|
+
"@storybook/theming": "~6.5.16",
|
|
108
115
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
109
116
|
"@svgr/webpack": "~6.5.1",
|
|
110
|
-
"@swc/cli": "~0.1.
|
|
111
|
-
"@swc/core": "~1.3.
|
|
117
|
+
"@swc/cli": "~0.1.62",
|
|
118
|
+
"@swc/core": "~1.3.36",
|
|
112
119
|
"@swc/jest": "~0.2.24",
|
|
113
120
|
"@testing-library/jest-dom": "~5.16.5",
|
|
114
|
-
"@testing-library/react": "~
|
|
121
|
+
"@testing-library/react": "~14.0.0",
|
|
115
122
|
"@testing-library/react-hooks": "~8.0.1",
|
|
116
123
|
"@testing-library/user-event": "~14.4.3",
|
|
117
124
|
"@types/circular-dependency-plugin": "~5.0.5",
|
|
@@ -119,22 +126,22 @@
|
|
|
119
126
|
"@types/compression": "~1.7.2",
|
|
120
127
|
"@types/duplicate-package-checker-webpack-plugin": "~2.1.2",
|
|
121
128
|
"@types/ip": "~1.1.0",
|
|
122
|
-
"@types/jest": "~29.
|
|
129
|
+
"@types/jest": "~29.4.0",
|
|
123
130
|
"@types/jest-axe": "~3.5.5",
|
|
124
131
|
"@types/moment-locales-webpack-plugin": "~1.2.3",
|
|
125
|
-
"@types/node": "~18.
|
|
132
|
+
"@types/node": "~18.14.0",
|
|
126
133
|
"@types/normalize-path": "~3.0.0",
|
|
127
134
|
"@types/postcss-preset-env": "~7.7.0",
|
|
128
135
|
"@types/rimraf": "~3.0.2",
|
|
129
136
|
"@types/speed-measure-webpack-plugin": "~1.3.4",
|
|
130
137
|
"@types/supertest": "~2.0.12",
|
|
131
|
-
"@types/uuid": "~9.0.
|
|
138
|
+
"@types/uuid": "~9.0.1",
|
|
132
139
|
"@types/testing-library__jest-dom": "~5.14.5",
|
|
133
140
|
"@types/webpack-bundle-analyzer": "~4.6.0",
|
|
134
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
135
|
-
"@typescript-eslint/parser": "~5.
|
|
136
|
-
"@vitejs/plugin-react": "~3.0
|
|
137
|
-
"@vitest/coverage-c8": "~0.28.
|
|
141
|
+
"@typescript-eslint/eslint-plugin": "~5.53.0",
|
|
142
|
+
"@typescript-eslint/parser": "~5.53.0",
|
|
143
|
+
"@vitejs/plugin-react": "~3.1.0",
|
|
144
|
+
"@vitest/coverage-c8": "~0.28.5",
|
|
138
145
|
"autoprefixer": "~10.4.13",
|
|
139
146
|
"axe-core": "~4.6.3",
|
|
140
147
|
"babel-plugin-date-fns": "~2.0.0",
|
|
@@ -147,8 +154,8 @@
|
|
|
147
154
|
"babel-plugin-transform-react-remove-prop-types": "~0.4.24",
|
|
148
155
|
"babel-plugin-transform-remove-console": "~6.9.4",
|
|
149
156
|
"babel-plugin-transform-strip-block": "~0.0.5",
|
|
150
|
-
"body-parser": "~1.20.
|
|
151
|
-
"browserslist": "~4.21.
|
|
157
|
+
"body-parser": "~1.20.2",
|
|
158
|
+
"browserslist": "~4.21.5",
|
|
152
159
|
"browserslist-to-esbuild": "~1.2.0",
|
|
153
160
|
"chalk": "~5.2.0",
|
|
154
161
|
"circular-dependency-plugin": "~5.2.2",
|
|
@@ -165,10 +172,10 @@
|
|
|
165
172
|
"dotenv-webpack": "~8.0.1",
|
|
166
173
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
167
174
|
"enhanced-resolve": "5.12.0",
|
|
168
|
-
"esbuild": "~0.17.
|
|
169
|
-
"esbuild-loader": "~
|
|
175
|
+
"esbuild": "~0.17.10",
|
|
176
|
+
"esbuild-loader": "~3.0.1",
|
|
170
177
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
171
|
-
"eslint": "~8.
|
|
178
|
+
"eslint": "~8.34.0",
|
|
172
179
|
"eslint-config-airbnb": "~19.0.4",
|
|
173
180
|
"eslint-config-airbnb-base": "~15.0.0",
|
|
174
181
|
"eslint-config-airbnb-typescript": "~17.0.0",
|
|
@@ -177,29 +184,29 @@
|
|
|
177
184
|
"eslint-import-resolver-babel-module": "~5.3.2",
|
|
178
185
|
"eslint-import-resolver-typescript": "~3.5.3",
|
|
179
186
|
"eslint-import-resolver-webpack": "~0.13.2",
|
|
180
|
-
"eslint-plugin-compat": "~4.
|
|
187
|
+
"eslint-plugin-compat": "~4.1.2",
|
|
181
188
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
182
189
|
"eslint-plugin-import": "~2.27.5",
|
|
183
190
|
"eslint-plugin-jest": "~27.2.1",
|
|
184
|
-
"eslint-plugin-jsdoc": "~
|
|
191
|
+
"eslint-plugin-jsdoc": "~40.0.0",
|
|
185
192
|
"eslint-plugin-jsx-a11y": "~6.7.1",
|
|
186
193
|
"eslint-plugin-mdx": "~2.0.5",
|
|
187
194
|
"eslint-plugin-prettier": "~4.2.1",
|
|
188
|
-
"eslint-plugin-react": "~7.32.
|
|
195
|
+
"eslint-plugin-react": "~7.32.2",
|
|
189
196
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
190
197
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
191
|
-
"eslint-plugin-storybook": "~0.6.
|
|
192
|
-
"eslint-plugin-testing-library": "~5.10.
|
|
198
|
+
"eslint-plugin-storybook": "~0.6.11",
|
|
199
|
+
"eslint-plugin-testing-library": "~5.10.2",
|
|
193
200
|
"eslint-plugin-wdio": "~8.0.14",
|
|
194
|
-
"execa": "~
|
|
201
|
+
"execa": "~7.0.0",
|
|
195
202
|
"express": "~4.18.2",
|
|
196
203
|
"express-static-gzip": "~2.1.7",
|
|
197
|
-
"favicons": "~7.0
|
|
204
|
+
"favicons": "~7.1.0",
|
|
198
205
|
"favicons-webpack-plugin": "~6.0.0",
|
|
199
206
|
"fast-glob": "~3.2.12",
|
|
200
207
|
"find-up": "~6.3.0",
|
|
201
208
|
"find-up-cli": "~5.0.0",
|
|
202
|
-
"happy-dom": "~8.1
|
|
209
|
+
"happy-dom": "~8.7.1",
|
|
203
210
|
"helmet-csp": "~3.4.0",
|
|
204
211
|
"html-loader": "~4.2.0",
|
|
205
212
|
"html-webpack-plugin": "~5.5.0",
|
|
@@ -209,38 +216,39 @@
|
|
|
209
216
|
"imports-loader": "~4.0.1",
|
|
210
217
|
"ip": "~1.1.8",
|
|
211
218
|
"jest-axe": "~7.0.0",
|
|
212
|
-
"jest-cli": "~29.4.
|
|
213
|
-
"jest-environment-jsdom": "~29.4.
|
|
219
|
+
"jest-cli": "~29.4.3",
|
|
220
|
+
"jest-environment-jsdom": "~29.4.3",
|
|
214
221
|
"jest-sonar-reporter": "~2.0.0",
|
|
215
222
|
"jest-styled-components": "~7.1.1",
|
|
216
223
|
"jest-watch-typeahead": "~2.2.2",
|
|
217
224
|
"jscodeshift": "~0.14.0",
|
|
218
|
-
"jsdoc": "~4.0.
|
|
219
|
-
"lerna": "~6.
|
|
220
|
-
"lint-staged": "~13.1.
|
|
225
|
+
"jsdoc": "~4.0.2",
|
|
226
|
+
"lerna": "~6.5.1",
|
|
227
|
+
"lint-staged": "~13.1.2",
|
|
221
228
|
"mini-css-extract-plugin": "~2.7.2",
|
|
222
|
-
"minimist": "~1.2.
|
|
229
|
+
"minimist": "~1.2.8",
|
|
223
230
|
"moment": "~2.29.4",
|
|
224
231
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
225
|
-
"msw": "~0.
|
|
232
|
+
"msw": "~1.0.1",
|
|
233
|
+
"npm-run-all": "~4.1.5",
|
|
226
234
|
"node-gyp": "~9.3.1",
|
|
227
|
-
"node-plop": "~0.31.
|
|
235
|
+
"node-plop": "~0.31.1",
|
|
228
236
|
"nodemon": "~2.0.20",
|
|
229
237
|
"normalize-path": "~3.0.0",
|
|
230
|
-
"npm-check-updates": "16.
|
|
231
|
-
"pino": "~8.
|
|
232
|
-
"pino-http": "~8.3.
|
|
233
|
-
"pino-pretty": "~9.
|
|
234
|
-
"plop": "~3.1.
|
|
238
|
+
"npm-check-updates": "16.7.7",
|
|
239
|
+
"pino": "~8.11.0",
|
|
240
|
+
"pino-http": "~8.3.3",
|
|
241
|
+
"pino-pretty": "~9.3.0",
|
|
242
|
+
"plop": "~3.1.2",
|
|
235
243
|
"postcss": "~8.4.21",
|
|
236
244
|
"postcss-html": "~1.5.0",
|
|
237
245
|
"postcss-jsx": "~0.36.4",
|
|
238
246
|
"postcss-loader": "~7.0.2",
|
|
239
247
|
"postcss-markdown": "~1.2.0",
|
|
240
|
-
"postcss-preset-env": "~8.0.
|
|
248
|
+
"postcss-preset-env": "~8.0.1",
|
|
241
249
|
"postcss-syntax": "~0.36.2",
|
|
242
|
-
"prettier": "~2.8.
|
|
243
|
-
"prisma": "~4.
|
|
250
|
+
"prettier": "~2.8.4",
|
|
251
|
+
"prisma": "~4.10.1",
|
|
244
252
|
"pug": "~3.0.2",
|
|
245
253
|
"pug-loader": "~2.4.0",
|
|
246
254
|
"raf": "~3.4.1",
|
|
@@ -250,42 +258,42 @@
|
|
|
250
258
|
"resize-observer-polyfill": "~1.5.1",
|
|
251
259
|
"resolve-typescript-plugin": "~2.0.0",
|
|
252
260
|
"rimraf": "~4.1.2",
|
|
253
|
-
"semantic-release": "~
|
|
261
|
+
"semantic-release": "~20.1.0",
|
|
254
262
|
"slackify-markdown": "~4.3.1",
|
|
255
263
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
256
264
|
"storybook-addon-turbo-build": "~1.1.0",
|
|
257
265
|
"storybook-react-router": "~1.0.8",
|
|
258
266
|
"style-loader": "~3.3.1",
|
|
259
|
-
"stylelint": "~
|
|
260
|
-
"stylelint-config-recommended": "~
|
|
267
|
+
"stylelint": "~15.2.0",
|
|
268
|
+
"stylelint-config-recommended": "~10.0.1",
|
|
261
269
|
"stylelint-config-styled-components": "~0.1.1",
|
|
262
270
|
"supertest": "~6.3.3",
|
|
263
271
|
"swc-loader": "~0.2.3",
|
|
264
272
|
"ts-node": "~10.9.1",
|
|
265
273
|
"tsc-alias": "~1.8.2",
|
|
266
|
-
"typedoc": "~0.23.
|
|
267
|
-
"typescript": "~4.9.
|
|
274
|
+
"typedoc": "~0.23.25",
|
|
275
|
+
"typescript": "~4.9.5",
|
|
268
276
|
"update-notifier": "~6.0.2",
|
|
269
277
|
"url-loader": "~4.1.1",
|
|
270
278
|
"uuid": "~9.0.0",
|
|
271
|
-
"vite": "~4.
|
|
272
|
-
"vitest": "~0.28.
|
|
279
|
+
"vite": "~4.1.4",
|
|
280
|
+
"vitest": "~0.28.5",
|
|
273
281
|
"vite-tsconfig-paths": "~4.0.5",
|
|
274
282
|
"webpack": "~5.75.0",
|
|
275
|
-
"webpack-bundle-analyzer": "~4.
|
|
283
|
+
"webpack-bundle-analyzer": "~4.8.0",
|
|
276
284
|
"webpack-cli": "~5.0.1",
|
|
277
285
|
"webpack-dev-server": "~4.11.1",
|
|
278
286
|
"webpack-manifest-plugin": "~5.0.0",
|
|
279
287
|
"webpack-merge": "~5.8.0",
|
|
280
288
|
"whatwg-fetch": "~3.6.2",
|
|
281
289
|
"workbox-webpack-plugin": "~6.5.4",
|
|
282
|
-
"yargs": "~17.
|
|
290
|
+
"yargs": "~17.7.1"
|
|
283
291
|
},
|
|
284
292
|
"devDependencies": {
|
|
285
|
-
"@elliemae/pui-doc-gen": "~1.
|
|
293
|
+
"@elliemae/pui-doc-gen": "~1.5.1",
|
|
286
294
|
"react": "~18.2.0",
|
|
287
295
|
"react-dom": "~18.2.0",
|
|
288
|
-
"redux": "~4.2.
|
|
296
|
+
"redux": "~4.2.1",
|
|
289
297
|
"redux-saga": "~1.2.2",
|
|
290
298
|
"styled-components": "~5.3.6"
|
|
291
299
|
}
|