@elliemae/pui-cli 7.1.0 → 7.3.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/webpack/helpers.js +2 -0
- package/dist/cjs/webpack/webpack.base.babel.js +24 -0
- package/dist/cjs/webpack/webpack.lib.base.babel.js +3 -8
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +2 -11
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +2 -11
- package/dist/esm/webpack/helpers.js +2 -0
- package/dist/esm/webpack/webpack.base.babel.js +24 -0
- package/dist/esm/webpack/webpack.lib.base.babel.js +4 -9
- package/dist/esm/webpack/webpack.lib.dev.babel.js +3 -12
- package/dist/esm/webpack/webpack.lib.prod.babel.js +3 -12
- package/dist/types/webpack/helpers.d.ts +1 -0
- package/dist/types/webpack/webpack.lib.base.babel.d.ts +3 -9
- package/dist/types/webpack/webpack.lib.dev.babel.d.ts +3 -9
- package/dist/types/webpack/webpack.lib.prod.babel.d.ts +3 -9
- package/package.json +19 -19
|
@@ -31,6 +31,7 @@ __export(helpers_exports, {
|
|
|
31
31
|
getAppVersion: () => getAppVersion,
|
|
32
32
|
getCompressionPlugins: () => getCompressionPlugins,
|
|
33
33
|
getLibraryName: () => getLibraryName,
|
|
34
|
+
getLibraryVariableName: () => getLibraryVariableName,
|
|
34
35
|
getMediaPath: () => getMediaPath,
|
|
35
36
|
getPaths: () => getPaths,
|
|
36
37
|
isAppLoaderEnabled: () => isAppLoaderEnabled,
|
|
@@ -75,6 +76,7 @@ const getLibraryName = () => {
|
|
|
75
76
|
const modifiedLibName = `emui-${libraryName.replace("@elliemae/", "").replace("pui-", "")}`;
|
|
76
77
|
return import_lodash.default.camelCase(modifiedLibName);
|
|
77
78
|
};
|
|
79
|
+
const getLibraryVariableName = () => process.env.LIBRARY_VARIABLE_NAME || getLibraryName();
|
|
78
80
|
const mapToFolder = (dependencies, folder) => dependencies.reduce(
|
|
79
81
|
(acc, dependency) => ({
|
|
80
82
|
[dependency]: import_node_path.default.resolve(`${folder}/${dependency.replace("$", "")}`),
|
|
@@ -74,6 +74,12 @@ const plugins = [
|
|
|
74
74
|
toType: "dir",
|
|
75
75
|
info: { minimized: true }
|
|
76
76
|
},
|
|
77
|
+
{
|
|
78
|
+
from: "node_modules/@elliemae/pui-user-monitoring/dist/umd/*.js",
|
|
79
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
80
|
+
noErrorOnMissing: true,
|
|
81
|
+
info: { minimized: true }
|
|
82
|
+
},
|
|
77
83
|
{
|
|
78
84
|
from: "node_modules/@elliemae/pui-app-loader/dist/public/js",
|
|
79
85
|
to: "./latest/js",
|
|
@@ -81,6 +87,12 @@ const plugins = [
|
|
|
81
87
|
noErrorOnMissing: true,
|
|
82
88
|
info: { minimized: true }
|
|
83
89
|
},
|
|
90
|
+
{
|
|
91
|
+
from: "node_modules/@elliemae/pui-app-loader/dist/umd/*.js",
|
|
92
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
93
|
+
noErrorOnMissing: true,
|
|
94
|
+
info: { minimized: true }
|
|
95
|
+
},
|
|
84
96
|
{
|
|
85
97
|
from: "node_modules/@elliemae/encw-loader/dist/public/js",
|
|
86
98
|
to: "./latest/js",
|
|
@@ -88,6 +100,12 @@ const plugins = [
|
|
|
88
100
|
noErrorOnMissing: true,
|
|
89
101
|
info: { minimized: true }
|
|
90
102
|
},
|
|
103
|
+
{
|
|
104
|
+
from: "node_modules/@elliemae/encw-loader/dist/umd/*.js",
|
|
105
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
106
|
+
noErrorOnMissing: true,
|
|
107
|
+
info: { minimized: true }
|
|
108
|
+
},
|
|
91
109
|
{
|
|
92
110
|
from: "node_modules/@elliemae/pui-diagnostics/dist/public/js",
|
|
93
111
|
to: "./latest/js",
|
|
@@ -95,6 +113,12 @@ const plugins = [
|
|
|
95
113
|
noErrorOnMissing: true,
|
|
96
114
|
info: { minimized: true }
|
|
97
115
|
},
|
|
116
|
+
{
|
|
117
|
+
from: "node_modules/@elliemae/pui-diagnostics/dist/umd/*.js",
|
|
118
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
119
|
+
noErrorOnMissing: true,
|
|
120
|
+
info: { minimized: true }
|
|
121
|
+
},
|
|
98
122
|
{
|
|
99
123
|
from: "public",
|
|
100
124
|
to: "./latest",
|
|
@@ -76,12 +76,12 @@ const plugins = [
|
|
|
76
76
|
];
|
|
77
77
|
const baseConfig = (options) => ({
|
|
78
78
|
mode: options.mode,
|
|
79
|
-
entry:
|
|
79
|
+
entry: { index: import_node_path.default.join(process.cwd(), "lib/index") },
|
|
80
80
|
output: {
|
|
81
81
|
clean: true,
|
|
82
|
-
path: import_node_path.default.resolve(process.cwd(), "dist/
|
|
82
|
+
path: import_node_path.default.resolve(process.cwd(), "dist/umd"),
|
|
83
83
|
publicPath: "auto",
|
|
84
|
-
library:
|
|
84
|
+
library: (0, import_helpers.getLibraryVariableName)(),
|
|
85
85
|
libraryTarget: "umd",
|
|
86
86
|
...options.output
|
|
87
87
|
},
|
|
@@ -161,11 +161,6 @@ const baseConfig = (options) => ({
|
|
|
161
161
|
exclude: (0, import_helpers.excludeNodeModulesExcept)(["@elliemae/*"]),
|
|
162
162
|
type: "asset"
|
|
163
163
|
},
|
|
164
|
-
{
|
|
165
|
-
test: new RegExp("(?<!\\/iframe)\\.html$"),
|
|
166
|
-
exclude: (0, import_helpers.excludeNodeModulesExcept)(["@elliemae/*"]),
|
|
167
|
-
use: "html-loader"
|
|
168
|
-
},
|
|
169
164
|
{
|
|
170
165
|
test: /\.(mp4|webm)$/,
|
|
171
166
|
exclude: (0, import_helpers.excludeNodeModulesExcept)(["@elliemae/*"]),
|
|
@@ -34,7 +34,6 @@ var import_mini_css_extract_plugin = __toESM(require("mini-css-extract-plugin"),
|
|
|
34
34
|
var import_html_webpack_plugin = __toESM(require("html-webpack-plugin"), 1);
|
|
35
35
|
var import_helpers = require("./helpers.js");
|
|
36
36
|
var import_webpack_lib_base_babel = require("./webpack.lib.base.babel.js");
|
|
37
|
-
const libraryName = (0, import_helpers.getLibraryName)();
|
|
38
37
|
const { basePath } = (0, import_helpers.getPaths)();
|
|
39
38
|
const getHtmlWebpackPlugins = () => {
|
|
40
39
|
const htmlTemplateFiles = import_fast_glob.default.sync([import_node_path.default.join(process.cwd(), "lib/*.html")]);
|
|
@@ -42,18 +41,13 @@ const getHtmlWebpackPlugins = () => {
|
|
|
42
41
|
(htmlTemplateFile) => new import_html_webpack_plugin.default({
|
|
43
42
|
template: htmlTemplateFile,
|
|
44
43
|
filename: import_node_path.default.basename(htmlTemplateFile),
|
|
45
|
-
|
|
44
|
+
library: (0, import_helpers.getLibraryVariableName)(),
|
|
46
45
|
inject: true
|
|
47
46
|
})
|
|
48
47
|
);
|
|
49
48
|
};
|
|
50
49
|
var webpack_lib_dev_babel_default = (0, import_webpack_lib_base_babel.baseConfig)({
|
|
51
50
|
mode: "development",
|
|
52
|
-
output: {
|
|
53
|
-
filename: `js/${libraryName}.js`,
|
|
54
|
-
chunkFilename: `js/${libraryName}.chunk.js`,
|
|
55
|
-
assetModuleFilename: "[name][ext][query]"
|
|
56
|
-
},
|
|
57
51
|
optimization: {
|
|
58
52
|
splitChunks: {
|
|
59
53
|
chunks: "all"
|
|
@@ -68,10 +62,7 @@ var webpack_lib_dev_babel_default = (0, import_webpack_lib_base_babel.baseConfig
|
|
|
68
62
|
exclude: /a\.(js|ts|jsx|tsx)|node_modules/,
|
|
69
63
|
failOnError: false
|
|
70
64
|
}),
|
|
71
|
-
new import_mini_css_extract_plugin.default({
|
|
72
|
-
filename: `css/${libraryName}.css`,
|
|
73
|
-
chunkFilename: `css/${libraryName}.chunk.css`
|
|
74
|
-
})
|
|
65
|
+
new import_mini_css_extract_plugin.default({})
|
|
75
66
|
],
|
|
76
67
|
devtool: "eval-source-map",
|
|
77
68
|
performance: {
|
|
@@ -36,14 +36,13 @@ var import_esbuild_loader = require("esbuild-loader");
|
|
|
36
36
|
var import_browserslist_to_esbuild = __toESM(require("browserslist-to-esbuild"), 1);
|
|
37
37
|
var import_helpers = require("./helpers.js");
|
|
38
38
|
var import_webpack_lib_base_babel = require("./webpack.lib.base.babel.js");
|
|
39
|
-
const libraryName = process.env.LIBRARY_FILE_NAME || (0, import_helpers.getLibraryName)();
|
|
40
39
|
const getHtmlWebpackPlugins = () => {
|
|
41
40
|
const htmlTemplateFiles = import_fast_glob.default.sync([import_node_path.default.join(process.cwd(), "lib/*.html")]);
|
|
42
41
|
return htmlTemplateFiles.map(
|
|
43
42
|
(htmlTemplateFile) => new import_html_webpack_plugin.default({
|
|
44
43
|
template: htmlTemplateFile,
|
|
45
44
|
filename: import_node_path.default.basename(htmlTemplateFile),
|
|
46
|
-
|
|
45
|
+
library: (0, import_helpers.getLibraryVariableName)(),
|
|
47
46
|
inject: true,
|
|
48
47
|
minify: {
|
|
49
48
|
removeComments: true,
|
|
@@ -62,11 +61,6 @@ const getHtmlWebpackPlugins = () => {
|
|
|
62
61
|
};
|
|
63
62
|
var webpack_lib_prod_babel_default = (0, import_webpack_lib_base_babel.baseConfig)({
|
|
64
63
|
mode: "production",
|
|
65
|
-
output: {
|
|
66
|
-
filename: `js/${libraryName}.[chunkhash].js`,
|
|
67
|
-
chunkFilename: `js/${libraryName}.[chunkhash].chunk.js`,
|
|
68
|
-
assetModuleFilename: "assets/[name].[hash][ext][query]"
|
|
69
|
-
},
|
|
70
64
|
optimization: {
|
|
71
65
|
moduleIds: "deterministic",
|
|
72
66
|
minimize: true,
|
|
@@ -85,10 +79,7 @@ var webpack_lib_prod_babel_default = (0, import_webpack_lib_base_babel.baseConfi
|
|
|
85
79
|
},
|
|
86
80
|
plugins: [
|
|
87
81
|
...getHtmlWebpackPlugins(),
|
|
88
|
-
new import_mini_css_extract_plugin.default({
|
|
89
|
-
filename: `css/${libraryName}.[contenthash].css`,
|
|
90
|
-
chunkFilename: `css/${libraryName}.[contenthash].chunk.css`
|
|
91
|
-
}),
|
|
82
|
+
new import_mini_css_extract_plugin.default({}),
|
|
92
83
|
...(0, import_helpers.getCompressionPlugins)(true),
|
|
93
84
|
new import_webpack_bundle_analyzer.BundleAnalyzerPlugin({
|
|
94
85
|
analyzerMode: "static",
|
|
@@ -32,6 +32,7 @@ const getLibraryName = () => {
|
|
|
32
32
|
const modifiedLibName = `emui-${libraryName.replace("@elliemae/", "").replace("pui-", "")}`;
|
|
33
33
|
return _.camelCase(modifiedLibName);
|
|
34
34
|
};
|
|
35
|
+
const getLibraryVariableName = () => process.env.LIBRARY_VARIABLE_NAME || getLibraryName();
|
|
35
36
|
const mapToFolder = (dependencies, folder) => dependencies.reduce(
|
|
36
37
|
(acc, dependency) => ({
|
|
37
38
|
[dependency]: path.resolve(`${folder}/${dependency.replace("$", "")}`),
|
|
@@ -200,6 +201,7 @@ export {
|
|
|
200
201
|
getAppVersion,
|
|
201
202
|
getCompressionPlugins,
|
|
202
203
|
getLibraryName,
|
|
204
|
+
getLibraryVariableName,
|
|
203
205
|
getMediaPath,
|
|
204
206
|
getPaths,
|
|
205
207
|
isAppLoaderEnabled,
|
|
@@ -51,6 +51,12 @@ const plugins = [
|
|
|
51
51
|
toType: "dir",
|
|
52
52
|
info: { minimized: true }
|
|
53
53
|
},
|
|
54
|
+
{
|
|
55
|
+
from: "node_modules/@elliemae/pui-user-monitoring/dist/umd/*.js",
|
|
56
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
57
|
+
noErrorOnMissing: true,
|
|
58
|
+
info: { minimized: true }
|
|
59
|
+
},
|
|
54
60
|
{
|
|
55
61
|
from: "node_modules/@elliemae/pui-app-loader/dist/public/js",
|
|
56
62
|
to: "./latest/js",
|
|
@@ -58,6 +64,12 @@ const plugins = [
|
|
|
58
64
|
noErrorOnMissing: true,
|
|
59
65
|
info: { minimized: true }
|
|
60
66
|
},
|
|
67
|
+
{
|
|
68
|
+
from: "node_modules/@elliemae/pui-app-loader/dist/umd/*.js",
|
|
69
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
70
|
+
noErrorOnMissing: true,
|
|
71
|
+
info: { minimized: true }
|
|
72
|
+
},
|
|
61
73
|
{
|
|
62
74
|
from: "node_modules/@elliemae/encw-loader/dist/public/js",
|
|
63
75
|
to: "./latest/js",
|
|
@@ -65,6 +77,12 @@ const plugins = [
|
|
|
65
77
|
noErrorOnMissing: true,
|
|
66
78
|
info: { minimized: true }
|
|
67
79
|
},
|
|
80
|
+
{
|
|
81
|
+
from: "node_modules/@elliemae/encw-loader/dist/umd/*.js",
|
|
82
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
83
|
+
noErrorOnMissing: true,
|
|
84
|
+
info: { minimized: true }
|
|
85
|
+
},
|
|
68
86
|
{
|
|
69
87
|
from: "node_modules/@elliemae/pui-diagnostics/dist/public/js",
|
|
70
88
|
to: "./latest/js",
|
|
@@ -72,6 +90,12 @@ const plugins = [
|
|
|
72
90
|
noErrorOnMissing: true,
|
|
73
91
|
info: { minimized: true }
|
|
74
92
|
},
|
|
93
|
+
{
|
|
94
|
+
from: "node_modules/@elliemae/pui-diagnostics/dist/umd/*.js",
|
|
95
|
+
to: "./latest/js/[name].[contenthash][ext]",
|
|
96
|
+
noErrorOnMissing: true,
|
|
97
|
+
info: { minimized: true }
|
|
98
|
+
},
|
|
75
99
|
{
|
|
76
100
|
from: "public",
|
|
77
101
|
to: "./latest",
|
|
@@ -9,7 +9,7 @@ import ResolveTypeScriptPlugin from "resolve-typescript-plugin";
|
|
|
9
9
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
10
10
|
import {
|
|
11
11
|
excludeNodeModulesExcept,
|
|
12
|
-
|
|
12
|
+
getLibraryVariableName,
|
|
13
13
|
modulesToTranspile,
|
|
14
14
|
getAlias,
|
|
15
15
|
filterByFilePresence
|
|
@@ -53,12 +53,12 @@ const plugins = [
|
|
|
53
53
|
];
|
|
54
54
|
const baseConfig = (options) => ({
|
|
55
55
|
mode: options.mode,
|
|
56
|
-
entry:
|
|
56
|
+
entry: { index: path.join(process.cwd(), "lib/index") },
|
|
57
57
|
output: {
|
|
58
58
|
clean: true,
|
|
59
|
-
path: path.resolve(process.cwd(), "dist/
|
|
59
|
+
path: path.resolve(process.cwd(), "dist/umd"),
|
|
60
60
|
publicPath: "auto",
|
|
61
|
-
library:
|
|
61
|
+
library: getLibraryVariableName(),
|
|
62
62
|
libraryTarget: "umd",
|
|
63
63
|
...options.output
|
|
64
64
|
},
|
|
@@ -138,11 +138,6 @@ const baseConfig = (options) => ({
|
|
|
138
138
|
exclude: excludeNodeModulesExcept(["@elliemae/*"]),
|
|
139
139
|
type: "asset"
|
|
140
140
|
},
|
|
141
|
-
{
|
|
142
|
-
test: new RegExp("(?<!\\/iframe)\\.html$"),
|
|
143
|
-
exclude: excludeNodeModulesExcept(["@elliemae/*"]),
|
|
144
|
-
use: "html-loader"
|
|
145
|
-
},
|
|
146
141
|
{
|
|
147
142
|
test: /\.(mp4|webm)$/,
|
|
148
143
|
exclude: excludeNodeModulesExcept(["@elliemae/*"]),
|
|
@@ -3,9 +3,8 @@ import fg from "fast-glob";
|
|
|
3
3
|
import CircularDependencyPlugin from "circular-dependency-plugin";
|
|
4
4
|
import MiniCssExtractPlugin from "mini-css-extract-plugin";
|
|
5
5
|
import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
6
|
-
import {
|
|
6
|
+
import { getLibraryVariableName, getPaths } from "./helpers.js";
|
|
7
7
|
import { baseConfig } from "./webpack.lib.base.babel.js";
|
|
8
|
-
const libraryName = getLibraryName();
|
|
9
8
|
const { basePath } = getPaths();
|
|
10
9
|
const getHtmlWebpackPlugins = () => {
|
|
11
10
|
const htmlTemplateFiles = fg.sync([path.join(process.cwd(), "lib/*.html")]);
|
|
@@ -13,18 +12,13 @@ const getHtmlWebpackPlugins = () => {
|
|
|
13
12
|
(htmlTemplateFile) => new HtmlWebpackPlugin({
|
|
14
13
|
template: htmlTemplateFile,
|
|
15
14
|
filename: path.basename(htmlTemplateFile),
|
|
16
|
-
|
|
15
|
+
library: getLibraryVariableName(),
|
|
17
16
|
inject: true
|
|
18
17
|
})
|
|
19
18
|
);
|
|
20
19
|
};
|
|
21
20
|
var webpack_lib_dev_babel_default = baseConfig({
|
|
22
21
|
mode: "development",
|
|
23
|
-
output: {
|
|
24
|
-
filename: `js/${libraryName}.js`,
|
|
25
|
-
chunkFilename: `js/${libraryName}.chunk.js`,
|
|
26
|
-
assetModuleFilename: "[name][ext][query]"
|
|
27
|
-
},
|
|
28
22
|
optimization: {
|
|
29
23
|
splitChunks: {
|
|
30
24
|
chunks: "all"
|
|
@@ -39,10 +33,7 @@ var webpack_lib_dev_babel_default = baseConfig({
|
|
|
39
33
|
exclude: /a\.(js|ts|jsx|tsx)|node_modules/,
|
|
40
34
|
failOnError: false
|
|
41
35
|
}),
|
|
42
|
-
new MiniCssExtractPlugin({
|
|
43
|
-
filename: `css/${libraryName}.css`,
|
|
44
|
-
chunkFilename: `css/${libraryName}.chunk.css`
|
|
45
|
-
})
|
|
36
|
+
new MiniCssExtractPlugin({})
|
|
46
37
|
],
|
|
47
38
|
devtool: "eval-source-map",
|
|
48
39
|
performance: {
|
|
@@ -5,16 +5,15 @@ import HtmlWebpackPlugin from "html-webpack-plugin";
|
|
|
5
5
|
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
|
|
6
6
|
import { ESBuildMinifyPlugin } from "esbuild-loader";
|
|
7
7
|
import browserslistToEsbuild from "browserslist-to-esbuild";
|
|
8
|
-
import {
|
|
8
|
+
import { getLibraryVariableName, getCompressionPlugins } from "./helpers.js";
|
|
9
9
|
import { baseConfig } from "./webpack.lib.base.babel.js";
|
|
10
|
-
const libraryName = process.env.LIBRARY_FILE_NAME || getLibraryName();
|
|
11
10
|
const getHtmlWebpackPlugins = () => {
|
|
12
11
|
const htmlTemplateFiles = fg.sync([path.join(process.cwd(), "lib/*.html")]);
|
|
13
12
|
return htmlTemplateFiles.map(
|
|
14
13
|
(htmlTemplateFile) => new HtmlWebpackPlugin({
|
|
15
14
|
template: htmlTemplateFile,
|
|
16
15
|
filename: path.basename(htmlTemplateFile),
|
|
17
|
-
|
|
16
|
+
library: getLibraryVariableName(),
|
|
18
17
|
inject: true,
|
|
19
18
|
minify: {
|
|
20
19
|
removeComments: true,
|
|
@@ -33,11 +32,6 @@ const getHtmlWebpackPlugins = () => {
|
|
|
33
32
|
};
|
|
34
33
|
var webpack_lib_prod_babel_default = baseConfig({
|
|
35
34
|
mode: "production",
|
|
36
|
-
output: {
|
|
37
|
-
filename: `js/${libraryName}.[chunkhash].js`,
|
|
38
|
-
chunkFilename: `js/${libraryName}.[chunkhash].chunk.js`,
|
|
39
|
-
assetModuleFilename: "assets/[name].[hash][ext][query]"
|
|
40
|
-
},
|
|
41
35
|
optimization: {
|
|
42
36
|
moduleIds: "deterministic",
|
|
43
37
|
minimize: true,
|
|
@@ -56,10 +50,7 @@ var webpack_lib_prod_babel_default = baseConfig({
|
|
|
56
50
|
},
|
|
57
51
|
plugins: [
|
|
58
52
|
...getHtmlWebpackPlugins(),
|
|
59
|
-
new MiniCssExtractPlugin({
|
|
60
|
-
filename: `css/${libraryName}.[contenthash].css`,
|
|
61
|
-
chunkFilename: `css/${libraryName}.[contenthash].chunk.css`
|
|
62
|
-
}),
|
|
53
|
+
new MiniCssExtractPlugin({}),
|
|
63
54
|
...getCompressionPlugins(true),
|
|
64
55
|
new BundleAnalyzerPlugin({
|
|
65
56
|
analyzerMode: "static",
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
export const LATEST_VERSION: "latest";
|
|
3
3
|
export function excludeNodeModulesExcept(modules: any): (modulePath: any) => boolean;
|
|
4
4
|
export function getLibraryName(): string;
|
|
5
|
+
export function getLibraryVariableName(): string;
|
|
5
6
|
export function mapToFolder(dependencies: any, folder: any): any;
|
|
6
7
|
export function getAlias(): any;
|
|
7
8
|
export const modulesToTranspile: string[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export function baseConfig(options: any): {
|
|
2
2
|
mode: any;
|
|
3
|
-
entry:
|
|
3
|
+
entry: {
|
|
4
|
+
index: string;
|
|
5
|
+
};
|
|
4
6
|
output: any;
|
|
5
7
|
optimization: any;
|
|
6
8
|
module: {
|
|
@@ -70,14 +72,6 @@ export function baseConfig(options: any): {
|
|
|
70
72
|
use: string[];
|
|
71
73
|
resolve?: undefined;
|
|
72
74
|
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;
|
|
81
75
|
} | {
|
|
82
76
|
resourceQuery: RegExp;
|
|
83
77
|
type: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
mode: any;
|
|
3
|
-
entry:
|
|
3
|
+
entry: {
|
|
4
|
+
index: string;
|
|
5
|
+
};
|
|
4
6
|
output: any;
|
|
5
7
|
optimization: any;
|
|
6
8
|
module: {
|
|
@@ -70,14 +72,6 @@ declare const _default: {
|
|
|
70
72
|
use: string[];
|
|
71
73
|
resolve?: undefined;
|
|
72
74
|
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;
|
|
81
75
|
} | {
|
|
82
76
|
resourceQuery: RegExp;
|
|
83
77
|
type: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
mode: any;
|
|
3
|
-
entry:
|
|
3
|
+
entry: {
|
|
4
|
+
index: string;
|
|
5
|
+
};
|
|
4
6
|
output: any;
|
|
5
7
|
optimization: any;
|
|
6
8
|
module: {
|
|
@@ -70,14 +72,6 @@ declare const _default: {
|
|
|
70
72
|
use: string[];
|
|
71
73
|
resolve?: undefined;
|
|
72
74
|
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;
|
|
81
75
|
} | {
|
|
82
76
|
resourceQuery: RegExp;
|
|
83
77
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/pui-cli",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0",
|
|
4
4
|
"description": "ICE MT UI Platform CLI",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@axe-core/react": "~4.4.3",
|
|
66
66
|
"@babel/cli": "~7.18.10",
|
|
67
|
-
"@babel/core": "~7.18.
|
|
67
|
+
"@babel/core": "~7.18.13",
|
|
68
68
|
"@babel/eslint-parser": "~7.18.9",
|
|
69
69
|
"@babel/node": "~7.18.10",
|
|
70
70
|
"@babel/plugin-proposal-class-properties": "~7.18.6",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"@commitlint/config-conventional": "~17.0.3",
|
|
84
84
|
"@elliemae/browserslist-config-elliemae-latest-browsers": "~1.5.0",
|
|
85
85
|
"@faker-js/faker": "7.4.0",
|
|
86
|
-
"@nrwl/cli": "14.5.
|
|
87
|
-
"@nrwl/tao": "14.5.
|
|
88
|
-
"@nrwl/workspace": "14.5.
|
|
86
|
+
"@nrwl/cli": "14.5.10",
|
|
87
|
+
"@nrwl/tao": "14.5.10",
|
|
88
|
+
"@nrwl/workspace": "14.5.10",
|
|
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",
|
|
@@ -104,18 +104,18 @@
|
|
|
104
104
|
"@stylelint/postcss-css-in-js": "~0.38.0",
|
|
105
105
|
"@svgr/webpack": "~6.3.1",
|
|
106
106
|
"@swc/cli": "~0.1.57",
|
|
107
|
-
"@swc/core": "~1.2.
|
|
107
|
+
"@swc/core": "~1.2.242",
|
|
108
108
|
"@swc/jest": "~0.2.22",
|
|
109
109
|
"@testing-library/jest-dom": "~5.16.5",
|
|
110
110
|
"@testing-library/react": "~13.3.0",
|
|
111
111
|
"@testing-library/react-hooks": "~8.0.1",
|
|
112
112
|
"@testing-library/user-event": "~14.4.3",
|
|
113
113
|
"@types/jest": "~28.1.7",
|
|
114
|
-
"@types/node": "~18.7.
|
|
114
|
+
"@types/node": "~18.7.11",
|
|
115
115
|
"@types/rimraf": "~3.0.2",
|
|
116
116
|
"@types/testing-library__jest-dom": "~5.14.5",
|
|
117
|
-
"@typescript-eslint/eslint-plugin": "~5.
|
|
118
|
-
"@typescript-eslint/parser": "~5.
|
|
117
|
+
"@typescript-eslint/eslint-plugin": "~5.34.0",
|
|
118
|
+
"@typescript-eslint/parser": "~5.34.0",
|
|
119
119
|
"@vitejs/plugin-react": "~2.0.1",
|
|
120
120
|
"autoprefixer": "~10.4.8",
|
|
121
121
|
"axe-core": "~4.4.3",
|
|
@@ -157,12 +157,12 @@
|
|
|
157
157
|
"eslint-config-prettier": "~8.5.0",
|
|
158
158
|
"eslint-config-react-app": "~7.0.1",
|
|
159
159
|
"eslint-import-resolver-babel-module": "~5.3.1",
|
|
160
|
-
"eslint-import-resolver-typescript": "~3.
|
|
160
|
+
"eslint-import-resolver-typescript": "~3.5.0",
|
|
161
161
|
"eslint-import-resolver-webpack": "~0.13.2",
|
|
162
162
|
"eslint-plugin-compat": "~4.0.2",
|
|
163
163
|
"eslint-plugin-eslint-comments": "~3.2.0",
|
|
164
164
|
"eslint-plugin-import": "~2.26.0",
|
|
165
|
-
"eslint-plugin-jest": "~26.8.
|
|
165
|
+
"eslint-plugin-jest": "~26.8.7",
|
|
166
166
|
"eslint-plugin-jsdoc": "~39.3.6",
|
|
167
167
|
"eslint-plugin-jsx-a11y": "~6.6.1",
|
|
168
168
|
"eslint-plugin-mdx": "~2.0.2",
|
|
@@ -205,13 +205,13 @@
|
|
|
205
205
|
"minimist": "~1.2.6",
|
|
206
206
|
"moment": "~2.29.4",
|
|
207
207
|
"moment-locales-webpack-plugin": "~1.2.0",
|
|
208
|
-
"msw": "~0.
|
|
208
|
+
"msw": "~0.45.0",
|
|
209
209
|
"node-gyp": "~9.1.0",
|
|
210
210
|
"node-plop": "~0.31.0",
|
|
211
211
|
"nodemon": "~2.0.19",
|
|
212
212
|
"normalize-path": "~3.0.0",
|
|
213
213
|
"npm-check-updates": "16.0.5",
|
|
214
|
-
"pino": "~8.4.
|
|
214
|
+
"pino": "~8.4.2",
|
|
215
215
|
"pino-pretty": "~9.0.1",
|
|
216
216
|
"plop": "~3.1.1",
|
|
217
217
|
"postcss": "~8.4.16",
|
|
@@ -231,14 +231,14 @@
|
|
|
231
231
|
"resize-observer-polyfill": "~1.5.1",
|
|
232
232
|
"resolve-typescript-plugin": "~1.2.0",
|
|
233
233
|
"rimraf": "~3.0.2",
|
|
234
|
-
"semantic-release": "~19.0.
|
|
234
|
+
"semantic-release": "~19.0.5",
|
|
235
235
|
"slackify-markdown": "~4.3.1",
|
|
236
236
|
"speed-measure-webpack-plugin": "~1.5.0",
|
|
237
237
|
"storybook-addon-turbo-build": "~1.1.0",
|
|
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.
|
|
241
|
+
"stylelint": "~14.11.0",
|
|
242
242
|
"stylelint-config-recommended": "~9.0.0",
|
|
243
243
|
"stylelint-config-styled-components": "~0.1.1",
|
|
244
244
|
"swc-loader": "~0.2.3",
|
|
@@ -249,11 +249,11 @@
|
|
|
249
249
|
"update-notifier": "~6.0.2",
|
|
250
250
|
"url-loader": "~4.1.1",
|
|
251
251
|
"uuid": "~8.3.2",
|
|
252
|
-
"vite": "~3.0.
|
|
253
|
-
"vitest": "~0.22.
|
|
252
|
+
"vite": "~3.0.9",
|
|
253
|
+
"vitest": "~0.22.1",
|
|
254
254
|
"vite-tsconfig-paths": "~3.5.0",
|
|
255
255
|
"webpack": "~5.74.0",
|
|
256
|
-
"webpack-bundle-analyzer": "~4.
|
|
256
|
+
"webpack-bundle-analyzer": "~4.6.1",
|
|
257
257
|
"webpack-cli": "~4.10.0",
|
|
258
258
|
"webpack-dev-server": "~4.10.0",
|
|
259
259
|
"webpack-manifest-plugin": "~5.0.0",
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"react": "~18.2.0",
|
|
267
267
|
"react-dom": "~18.2.0",
|
|
268
268
|
"redux": "~4.2.0",
|
|
269
|
-
"redux-saga": "~1.2.
|
|
269
|
+
"redux-saga": "~1.2.1",
|
|
270
270
|
"styled-components": "~5.3.5"
|
|
271
271
|
}
|
|
272
272
|
}
|