@elliemae/pui-cli 7.0.0-alpha.18 → 7.0.0-alpha.20
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/webpack/webpack.lib.base.babel.js +6 -6
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +2 -2
- package/dist/esm/webpack/webpack.lib.base.babel.js +6 -11
- package/dist/esm/webpack/webpack.lib.prod.babel.js +1 -1
- package/dist/types/webpack/webpack.lib.prod.babel.d.ts +19 -3
- package/package.json +45 -45
|
@@ -38,7 +38,7 @@ __export(webpack_lib_base_babel_exports, {
|
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(webpack_lib_base_babel_exports);
|
|
40
40
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
41
|
-
var import_webpack = require("webpack");
|
|
41
|
+
var import_webpack = __toESM(require("webpack"), 1);
|
|
42
42
|
var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"), 1);
|
|
43
43
|
var import_copy_webpack_plugin = __toESM(require("copy-webpack-plugin"), 1);
|
|
44
44
|
var import_postcss_preset_env = __toESM(require("postcss-preset-env"), 1);
|
|
@@ -65,11 +65,11 @@ const copyPluginPatterns = (0, import_helpers.filterByFilePresence)([
|
|
|
65
65
|
}
|
|
66
66
|
]);
|
|
67
67
|
const plugins = [
|
|
68
|
-
new import_webpack.EnvironmentPlugin({
|
|
68
|
+
new import_webpack.default.EnvironmentPlugin({
|
|
69
69
|
ASSET_PATH: "/",
|
|
70
70
|
CI: "false"
|
|
71
71
|
}),
|
|
72
|
-
new import_webpack.DefinePlugin({
|
|
72
|
+
new import_webpack.default.DefinePlugin({
|
|
73
73
|
APP_CONFIG: (0, import_utils.getAppConfig)(true)
|
|
74
74
|
}),
|
|
75
75
|
...copyPluginPatterns.length > 0 ? [
|
|
@@ -78,11 +78,11 @@ const plugins = [
|
|
|
78
78
|
})
|
|
79
79
|
] : [],
|
|
80
80
|
new import_duplicate_package_checker_webpack_plugin.default(),
|
|
81
|
-
new import_webpack.optimize.LimitChunkCountPlugin({
|
|
81
|
+
new import_webpack.default.optimize.LimitChunkCountPlugin({
|
|
82
82
|
maxChunks: 1
|
|
83
83
|
}),
|
|
84
84
|
new import_moment_locales_webpack_plugin.default({ localesToKeep: ["es-us"] }),
|
|
85
|
-
new import_webpack.ProgressPlugin()
|
|
85
|
+
new import_webpack.default.ProgressPlugin()
|
|
86
86
|
];
|
|
87
87
|
const baseConfig = (options) => ({
|
|
88
88
|
mode: options.mode,
|
|
@@ -171,7 +171,7 @@ const baseConfig = (options) => ({
|
|
|
171
171
|
type: "asset"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
test:
|
|
174
|
+
test: new RegExp("(?<!\\/iframe)\\.html$"),
|
|
175
175
|
exclude: (0, import_helpers.excludeNodeModulesExcept)(["@elliemae/*"]),
|
|
176
176
|
use: "html-loader"
|
|
177
177
|
},
|
|
@@ -30,9 +30,9 @@ var import_webpack_bundle_analyzer = require("webpack-bundle-analyzer");
|
|
|
30
30
|
var import_esbuild_loader = require("esbuild-loader");
|
|
31
31
|
var import_browserslist_to_esbuild = __toESM(require("browserslist-to-esbuild"), 1);
|
|
32
32
|
var import_helpers = require("./helpers.js");
|
|
33
|
-
var
|
|
33
|
+
var import_webpack_lib_base_babel = require("./webpack.lib.base.babel.js");
|
|
34
34
|
const libraryName = (0, import_helpers.getLibraryName)();
|
|
35
|
-
var webpack_lib_prod_babel_default = (0,
|
|
35
|
+
var webpack_lib_prod_babel_default = (0, import_webpack_lib_base_babel.baseConfig)({
|
|
36
36
|
mode: "production",
|
|
37
37
|
output: {
|
|
38
38
|
filename: `js/${libraryName}.[chunkhash].js`,
|
|
@@ -15,12 +15,7 @@ var __spreadValues = (a, b) => {
|
|
|
15
15
|
return a;
|
|
16
16
|
};
|
|
17
17
|
import path from "node:path";
|
|
18
|
-
import
|
|
19
|
-
EnvironmentPlugin,
|
|
20
|
-
DefinePlugin,
|
|
21
|
-
optimize,
|
|
22
|
-
ProgressPlugin
|
|
23
|
-
} from "webpack";
|
|
18
|
+
import webpack from "webpack";
|
|
24
19
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
25
20
|
import CopyWebpackPlugin from "copy-webpack-plugin";
|
|
26
21
|
import PostcssPresetEnv from "postcss-preset-env";
|
|
@@ -53,11 +48,11 @@ const copyPluginPatterns = filterByFilePresence([
|
|
|
53
48
|
}
|
|
54
49
|
]);
|
|
55
50
|
const plugins = [
|
|
56
|
-
new EnvironmentPlugin({
|
|
51
|
+
new webpack.EnvironmentPlugin({
|
|
57
52
|
ASSET_PATH: "/",
|
|
58
53
|
CI: "false"
|
|
59
54
|
}),
|
|
60
|
-
new DefinePlugin({
|
|
55
|
+
new webpack.DefinePlugin({
|
|
61
56
|
APP_CONFIG: getAppConfig(true)
|
|
62
57
|
}),
|
|
63
58
|
...copyPluginPatterns.length > 0 ? [
|
|
@@ -66,11 +61,11 @@ const plugins = [
|
|
|
66
61
|
})
|
|
67
62
|
] : [],
|
|
68
63
|
new DuplicatePackageCheckerPlugin(),
|
|
69
|
-
new optimize.LimitChunkCountPlugin({
|
|
64
|
+
new webpack.optimize.LimitChunkCountPlugin({
|
|
70
65
|
maxChunks: 1
|
|
71
66
|
}),
|
|
72
67
|
new MomentLocalesPlugin({ localesToKeep: ["es-us"] }),
|
|
73
|
-
new ProgressPlugin()
|
|
68
|
+
new webpack.ProgressPlugin()
|
|
74
69
|
];
|
|
75
70
|
const baseConfig = (options) => ({
|
|
76
71
|
mode: options.mode,
|
|
@@ -159,7 +154,7 @@ const baseConfig = (options) => ({
|
|
|
159
154
|
type: "asset"
|
|
160
155
|
},
|
|
161
156
|
{
|
|
162
|
-
test:
|
|
157
|
+
test: new RegExp("(?<!\\/iframe)\\.html$"),
|
|
163
158
|
exclude: excludeNodeModulesExcept(["@elliemae/*"]),
|
|
164
159
|
use: "html-loader"
|
|
165
160
|
},
|
|
@@ -5,7 +5,7 @@ import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
|
|
|
5
5
|
import { ESBuildMinifyPlugin } from "esbuild-loader";
|
|
6
6
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
7
7
|
import { getLibraryName, getCompressionPlugins } from "./helpers.js";
|
|
8
|
-
import { baseConfig } from "./webpack.base.babel.js";
|
|
8
|
+
import { baseConfig } from "./webpack.lib.base.babel.js";
|
|
9
9
|
const libraryName = getLibraryName();
|
|
10
10
|
var webpack_lib_prod_babel_default = baseConfig({
|
|
11
11
|
mode: "production",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
mode: any;
|
|
3
|
-
entry:
|
|
3
|
+
entry: string[];
|
|
4
4
|
output: any;
|
|
5
5
|
optimization: any;
|
|
6
6
|
module: {
|
|
@@ -48,8 +48,16 @@ declare const _default: {
|
|
|
48
48
|
resourceQuery?: undefined;
|
|
49
49
|
} | {
|
|
50
50
|
test: RegExp;
|
|
51
|
-
|
|
51
|
+
exclude: RegExp;
|
|
52
|
+
use: string;
|
|
53
|
+
resolve?: undefined;
|
|
54
|
+
type?: undefined;
|
|
55
|
+
issuer?: undefined;
|
|
56
|
+
resourceQuery?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
test: RegExp;
|
|
52
59
|
exclude: (modulePath: any) => boolean;
|
|
60
|
+
type: string;
|
|
53
61
|
resolve?: undefined;
|
|
54
62
|
use?: undefined;
|
|
55
63
|
issuer?: undefined;
|
|
@@ -62,6 +70,14 @@ declare const _default: {
|
|
|
62
70
|
use: string[];
|
|
63
71
|
resolve?: undefined;
|
|
64
72
|
type?: undefined;
|
|
73
|
+
} | {
|
|
74
|
+
test: RegExp;
|
|
75
|
+
exclude: (modulePath: any) => boolean;
|
|
76
|
+
use: string;
|
|
77
|
+
resolve?: undefined;
|
|
78
|
+
type?: undefined;
|
|
79
|
+
issuer?: undefined;
|
|
80
|
+
resourceQuery?: undefined;
|
|
65
81
|
} | {
|
|
66
82
|
resourceQuery: RegExp;
|
|
67
83
|
type: string;
|
|
@@ -78,6 +94,7 @@ declare const _default: {
|
|
|
78
94
|
extensions: string[];
|
|
79
95
|
mainFields: string[];
|
|
80
96
|
alias: any;
|
|
97
|
+
plugins: import("resolve-typescript-plugin")[];
|
|
81
98
|
};
|
|
82
99
|
externals: {
|
|
83
100
|
'@elliemae/pui-user-monitoring': string;
|
|
@@ -86,6 +103,5 @@ declare const _default: {
|
|
|
86
103
|
};
|
|
87
104
|
devtool: any;
|
|
88
105
|
performance: any;
|
|
89
|
-
devServer: any;
|
|
90
106
|
};
|
|
91
107
|
export default _default;
|
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.20",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -64,58 +64,58 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@axe-core/react": "~4.4.2",
|
|
66
66
|
"@babel/cli": "~7.17.10",
|
|
67
|
-
"@babel/core": "~7.18.
|
|
68
|
-
"@babel/eslint-parser": "~7.
|
|
67
|
+
"@babel/core": "~7.18.2",
|
|
68
|
+
"@babel/eslint-parser": "~7.18.2",
|
|
69
69
|
"@babel/node": "~7.17.10",
|
|
70
70
|
"@babel/plugin-proposal-class-properties": "~7.17.12",
|
|
71
71
|
"@babel/plugin-proposal-export-default-from": "~7.17.12",
|
|
72
72
|
"@babel/plugin-syntax-dynamic-import": "~7.8.3",
|
|
73
|
-
"@babel/plugin-transform-modules-commonjs": "~7.18.
|
|
73
|
+
"@babel/plugin-transform-modules-commonjs": "~7.18.2",
|
|
74
74
|
"@babel/plugin-transform-react-constant-elements": "~7.17.12",
|
|
75
75
|
"@babel/plugin-transform-react-inline-elements": "~7.16.7",
|
|
76
76
|
"@babel/plugin-transform-react-jsx-source": "~7.16.7",
|
|
77
|
-
"@babel/plugin-transform-runtime": "~7.18.
|
|
78
|
-
"@babel/preset-env": "~7.18.
|
|
77
|
+
"@babel/plugin-transform-runtime": "~7.18.2",
|
|
78
|
+
"@babel/preset-env": "~7.18.2",
|
|
79
79
|
"@babel/preset-react": "~7.17.12",
|
|
80
80
|
"@babel/preset-typescript": "~7.17.12",
|
|
81
|
-
"@babel/runtime": "~7.18.
|
|
82
|
-
"@commitlint/cli": "~17.0.
|
|
83
|
-
"@commitlint/config-conventional": "~17.0.
|
|
81
|
+
"@babel/runtime": "~7.18.3",
|
|
82
|
+
"@commitlint/cli": "~17.0.2",
|
|
83
|
+
"@commitlint/config-conventional": "~17.0.2",
|
|
84
84
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.4.2",
|
|
85
|
-
"@faker-js/faker": "7.0
|
|
86
|
-
"@nrwl/cli": "14.1.
|
|
87
|
-
"@nrwl/tao": "14.1.
|
|
88
|
-
"@nrwl/workspace": "14.1.
|
|
85
|
+
"@faker-js/faker": "7.1.0",
|
|
86
|
+
"@nrwl/cli": "14.1.9",
|
|
87
|
+
"@nrwl/tao": "14.1.9",
|
|
88
|
+
"@nrwl/workspace": "14.1.9",
|
|
89
89
|
"@pmmmwh/react-refresh-webpack-plugin": "~0.5.7",
|
|
90
90
|
"@semantic-release/changelog": "~6.0.1",
|
|
91
91
|
"@semantic-release/exec": "~6.0.3",
|
|
92
92
|
"@semantic-release/git": "~10.0.1",
|
|
93
|
-
"@storybook/addon-a11y": "~6.5.
|
|
94
|
-
"@storybook/addon-essentials": "~6.5.
|
|
93
|
+
"@storybook/addon-a11y": "~6.5.6",
|
|
94
|
+
"@storybook/addon-essentials": "~6.5.6",
|
|
95
95
|
"@storybook/addon-events": "~6.2.9",
|
|
96
|
-
"@storybook/addon-interactions": "~6.5.
|
|
97
|
-
"@storybook/addon-links": "~6.5.
|
|
98
|
-
"@storybook/addon-storysource": "~6.5.
|
|
96
|
+
"@storybook/addon-interactions": "~6.5.6",
|
|
97
|
+
"@storybook/addon-links": "~6.5.6",
|
|
98
|
+
"@storybook/addon-storysource": "~6.5.6",
|
|
99
99
|
"@storybook/builder-vite": "~0.1.35",
|
|
100
|
-
"@storybook/builder-webpack5": "~6.5.
|
|
101
|
-
"@storybook/manager-webpack5": "~6.5.
|
|
102
|
-
"@storybook/react": "~6.5.
|
|
103
|
-
"@storybook/theming": "~6.5.
|
|
100
|
+
"@storybook/builder-webpack5": "~6.5.6",
|
|
101
|
+
"@storybook/manager-webpack5": "~6.5.6",
|
|
102
|
+
"@storybook/react": "~6.5.6",
|
|
103
|
+
"@storybook/theming": "~6.5.6",
|
|
104
104
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
105
105
|
"@svgr/webpack": "~6.2.1",
|
|
106
106
|
"@swc/cli": "~0.1.57",
|
|
107
|
-
"@swc/core": "~1.2.
|
|
107
|
+
"@swc/core": "~1.2.196",
|
|
108
108
|
"@swc/jest": "~0.2.21",
|
|
109
109
|
"@testing-library/jest-dom": "~5.16.4",
|
|
110
|
-
"@testing-library/react": "~13.
|
|
110
|
+
"@testing-library/react": "~13.3.0",
|
|
111
111
|
"@testing-library/react-hooks": "~8.0.0",
|
|
112
112
|
"@testing-library/user-event": "~14.2.0",
|
|
113
|
-
"@types/jest": "~27.5.
|
|
114
|
-
"@types/node": "~17.0.
|
|
113
|
+
"@types/jest": "~27.5.2",
|
|
114
|
+
"@types/node": "~17.0.38",
|
|
115
115
|
"@types/rimraf": "~3.0.2",
|
|
116
116
|
"@types/testing-library__jest-dom": "~5.14.3",
|
|
117
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
118
|
-
"@typescript-eslint/parser": "~5.
|
|
117
|
+
"@typescript-eslint/eslint-plugin": "~5.27.0",
|
|
118
|
+
"@typescript-eslint/parser": "~5.27.0",
|
|
119
119
|
"@vitejs/plugin-react": "~1.3.2",
|
|
120
120
|
"autoprefixer": "~10.4.7",
|
|
121
121
|
"axe-core": "~4.4.2",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
"dotenv-webpack": "~7.1.0",
|
|
149
149
|
"duplicate-package-checker-webpack-plugin": "~3.0.0",
|
|
150
150
|
"enhanced-resolve": "5.9.3",
|
|
151
|
-
"esbuild": "~0.14.
|
|
151
|
+
"esbuild": "~0.14.42",
|
|
152
152
|
"esbuild-loader": "~2.19.0",
|
|
153
153
|
"esbuild-plugin-svgr": "~1.0.1",
|
|
154
154
|
"eslint": "~8.16.0",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"eslint-plugin-compat": "~4.0.2",
|
|
164
164
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
165
165
|
"eslint-plugin-import": "~2.26.0",
|
|
166
|
-
"eslint-plugin-jest": "~26.
|
|
166
|
+
"eslint-plugin-jest": "~26.4.6",
|
|
167
167
|
"eslint-plugin-jsdoc": "~39.3.2",
|
|
168
168
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
169
169
|
"eslint-plugin-mdx": "~1.17.0",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"eslint-plugin-react-hooks": "~4.5.0",
|
|
173
173
|
"eslint-plugin-redux-saga": "~1.3.2",
|
|
174
174
|
"eslint-plugin-storybook": "~0.5.12",
|
|
175
|
-
"eslint-plugin-testing-library": "~5.5.
|
|
175
|
+
"eslint-plugin-testing-library": "~5.5.1",
|
|
176
176
|
"eslint-plugin-wdio": "~7.19.4",
|
|
177
177
|
"execa": "~6.1.0",
|
|
178
178
|
"express": "~4.18.1",
|
|
@@ -183,10 +183,10 @@
|
|
|
183
183
|
"fast-glob": "~3.2.11",
|
|
184
184
|
"find-up": "~6.3.0",
|
|
185
185
|
"find-up-cli": "~5.0.0",
|
|
186
|
-
"happy-dom": "~
|
|
186
|
+
"happy-dom": "~5.0.0",
|
|
187
187
|
"helmet-csp": "~3.4.0",
|
|
188
188
|
"html-webpack-plugin": "~5.5.0",
|
|
189
|
-
"http-server": "~14.1.
|
|
189
|
+
"http-server": "~14.1.1",
|
|
190
190
|
"husky": "~8.0.1",
|
|
191
191
|
"husky-init": "~8.0.0",
|
|
192
192
|
"imports-loader": "~4.0.0",
|
|
@@ -199,33 +199,33 @@
|
|
|
199
199
|
"jest-watch-typeahead": "~1.1.0",
|
|
200
200
|
"jscodeshift": "~0.13.1",
|
|
201
201
|
"jsdoc": "~3.6.10",
|
|
202
|
-
"lerna": "~
|
|
203
|
-
"lint-staged": "~
|
|
202
|
+
"lerna": "~5.0.0",
|
|
203
|
+
"lint-staged": "~13.0.0",
|
|
204
204
|
"mini-css-extract-plugin": "~2.6.0",
|
|
205
205
|
"minimist": "~1.2.6",
|
|
206
206
|
"moment": "~2.29.3",
|
|
207
207
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
208
|
-
"msw": "~0.
|
|
208
|
+
"msw": "~0.42.0",
|
|
209
209
|
"node-gyp": "~9.0.0",
|
|
210
210
|
"node-plop": "~0.31.0",
|
|
211
211
|
"nodemon": "~2.0.16",
|
|
212
212
|
"normalize-path": "~3.0.0",
|
|
213
|
-
"npm-check-updates": "13.0.
|
|
214
|
-
"pino": "~
|
|
215
|
-
"pino-pretty": "~
|
|
213
|
+
"npm-check-updates": "13.0.4",
|
|
214
|
+
"pino": "~8.0.0",
|
|
215
|
+
"pino-pretty": "~8.0.0",
|
|
216
216
|
"plop": "~3.1.0",
|
|
217
217
|
"postcss": "~8.4.14",
|
|
218
218
|
"postcss-html": "~1.4.1",
|
|
219
219
|
"postcss-jsx": "~0.36.4",
|
|
220
220
|
"postcss-loader": "~7.0.0",
|
|
221
221
|
"postcss-markdown": "~1.2.0",
|
|
222
|
-
"postcss-preset-env": "~7.
|
|
222
|
+
"postcss-preset-env": "~7.7.0",
|
|
223
223
|
"postcss-syntax": "~0.36.2",
|
|
224
224
|
"prettier": "~2.6.2",
|
|
225
225
|
"pug": "~3.0.2",
|
|
226
226
|
"pug-loader": "~2.4.0",
|
|
227
227
|
"raf": "~3.4.1",
|
|
228
|
-
"react-docgen": "~5.4.
|
|
228
|
+
"react-docgen": "~5.4.1",
|
|
229
229
|
"react-refresh": "~0.13.0",
|
|
230
230
|
"react-test-renderer": "~18.1.0",
|
|
231
231
|
"resize-observer-polyfill": "~1.5.1",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"storybook-builder-vite": "~0.1.23",
|
|
239
239
|
"storybook-react-router": "~1.0.8",
|
|
240
240
|
"style-loader": "~3.3.1",
|
|
241
|
-
"stylelint": "~14.8.
|
|
241
|
+
"stylelint": "~14.8.5",
|
|
242
242
|
"stylelint-config-recommended": "~7.0.0",
|
|
243
243
|
"stylelint-config-styled-components": "~0.1.1",
|
|
244
244
|
"swc-loader": "~0.2.1",
|
|
@@ -249,12 +249,12 @@
|
|
|
249
249
|
"url-loader": "~4.1.1",
|
|
250
250
|
"uuid": "~8.3.2",
|
|
251
251
|
"vite": "~2.9.9",
|
|
252
|
-
"vitest": "~0.
|
|
253
|
-
"vite-tsconfig-paths": "~3.
|
|
252
|
+
"vitest": "~0.13.1",
|
|
253
|
+
"vite-tsconfig-paths": "~3.5.0",
|
|
254
254
|
"webpack": "~5.72.1",
|
|
255
255
|
"webpack-bundle-analyzer": "~4.5.0",
|
|
256
256
|
"webpack-cli": "~4.9.2",
|
|
257
|
-
"webpack-dev-server": "~4.9.
|
|
257
|
+
"webpack-dev-server": "~4.9.1",
|
|
258
258
|
"webpack-manifest-plugin": "~5.0.0",
|
|
259
259
|
"webpack-merge": "~5.8.0",
|
|
260
260
|
"whatwg-fetch": "~3.6.2",
|