@elliemae/pui-cli 8.56.1 → 8.56.3
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/build/docs/404.html +1 -1
- package/build/docs/api/functions/loadRoutes/index.html +1 -1
- package/build/docs/api/index.html +1 -1
- package/build/docs/api/type-aliases/LIB_NAME/index.html +1 -1
- package/build/docs/api/variables/babelConfig/index.html +1 -1
- package/build/docs/api/variables/commitlintConfig/index.html +1 -1
- package/build/docs/api/variables/eslintBaseConfig/index.html +1 -1
- package/build/docs/api/variables/eslintConfig/index.html +1 -1
- package/build/docs/api/variables/jestConfig/index.html +1 -1
- package/build/docs/api/variables/jestNodeConfig/index.html +1 -1
- package/build/docs/api/variables/lintStagedConfig/index.html +1 -1
- package/build/docs/api/variables/prettierConfig/index.html +1 -1
- package/build/docs/api/variables/stylelintConfig/index.html +1 -1
- package/build/docs/api/variables/vitestConfig/index.html +1 -1
- package/build/docs/assets/js/{main.23cc0776.js → main.6d310d39.js} +2 -2
- package/build/docs/index.html +1 -1
- package/build/docs/ssl-certificate-setup/index.html +1 -1
- package/build/docs/usage-guide/index.html +1 -1
- package/dist/cjs/webpack/helpers.js +16 -2
- package/dist/cjs/webpack/webpack.base.babel.js +7 -0
- package/dist/cjs/webpack/webpack.dev.babel.js +3 -1
- package/dist/cjs/webpack/webpack.prod.babel.js +2 -0
- package/dist/esm/webpack/helpers.js +16 -2
- package/dist/esm/webpack/webpack.base.babel.js +7 -0
- package/dist/esm/webpack/webpack.dev.babel.js +3 -1
- package/dist/esm/webpack/webpack.prod.babel.js +2 -0
- package/dist/types/lib/webpack/helpers.d.ts +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- /package/build/docs/assets/js/{main.23cc0776.js.LICENSE.txt → main.6d310d39.js.LICENSE.txt} +0 -0
package/build/docs/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.9.2">
|
|
6
6
|
<title data-rh="true">PUI CLI Documentation | Cli</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pui.ice.com/cli/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="PUI CLI Documentation | Cli"><meta data-rh="true" name="description" content="Welcome to the ICE MT UI Platform CLI documentation. This CLI tool provides a comprehensive set of commands for building, testing, and maintaining UI applications and libraries."><meta data-rh="true" property="og:description" content="Welcome to the ICE MT UI Platform CLI documentation. This CLI tool provides a comprehensive set of commands for building, testing, and maintaining UI applications and libraries."><link data-rh="true" rel="icon" href="/cli/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/cli/"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/" hreflang="x-default"><script data-rh="true">function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container";n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/cli/</span> </p>\n <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname,o="/"===s.substr(-1)?s:s+"/";e.innerHTML=o}document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()})</script><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"PUI CLI Documentation","item":"https://pui.ice.com/cli/"}]}</script><link rel="stylesheet" href="/cli/assets/css/styles.b1b52ffd.css">
|
|
7
7
|
<script src="/cli/assets/js/runtime~main.41f949c1.js" defer="defer"></script>
|
|
8
|
-
<script src="/cli/assets/js/main.
|
|
8
|
+
<script src="/cli/assets/js/main.6d310d39.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.9.2">
|
|
6
6
|
<title data-rh="true">Trust SSL Certificate Guide | Cli</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pui.ice.com/cli/ssl-certificate-setup"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Trust SSL Certificate Guide | Cli"><meta data-rh="true" name="description" content="This guide explains how to trust the self-signed CA certificate on different operating systems and browsers so your HTTPS connection works without warnings."><meta data-rh="true" property="og:description" content="This guide explains how to trust the self-signed CA certificate on different operating systems and browsers so your HTTPS connection works without warnings."><link data-rh="true" rel="icon" href="/cli/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/cli/ssl-certificate-setup"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/ssl-certificate-setup" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/ssl-certificate-setup" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Trust SSL Certificate Guide","item":"https://pui.ice.com/cli/ssl-certificate-setup"}]}</script><link rel="stylesheet" href="/cli/assets/css/styles.b1b52ffd.css">
|
|
7
7
|
<script src="/cli/assets/js/runtime~main.41f949c1.js" defer="defer"></script>
|
|
8
|
-
<script src="/cli/assets/js/main.
|
|
8
|
+
<script src="/cli/assets/js/main.6d310d39.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.9.2">
|
|
6
6
|
<title data-rh="true">Usage Guide | Cli</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pui.ice.com/cli/usage-guide"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="Usage Guide | Cli"><meta data-rh="true" name="description" content="This guide provides detailed documentation for all available commands in @elliemae/pui-cli."><meta data-rh="true" property="og:description" content="This guide provides detailed documentation for all available commands in @elliemae/pui-cli."><link data-rh="true" rel="icon" href="/cli/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/cli/usage-guide"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/usage-guide" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/usage-guide" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Usage Guide","item":"https://pui.ice.com/cli/usage-guide"}]}</script><link rel="stylesheet" href="/cli/assets/css/styles.b1b52ffd.css">
|
|
7
7
|
<script src="/cli/assets/js/runtime~main.41f949c1.js" defer="defer"></script>
|
|
8
|
-
<script src="/cli/assets/js/main.
|
|
8
|
+
<script src="/cli/assets/js/main.6d310d39.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -165,6 +165,18 @@ const getDiagnosticsFileName = () => {
|
|
|
165
165
|
(fName) => fName.match(/emuiDiagnostics+((?!chunk).)*\.js$/)
|
|
166
166
|
)[0];
|
|
167
167
|
};
|
|
168
|
+
const getLogRocketFileName = () => {
|
|
169
|
+
const libName = "emuiLogrocket";
|
|
170
|
+
const libPath = import_node_path.default.join(
|
|
171
|
+
process.cwd(),
|
|
172
|
+
"node_modules/@elliemae/pui-logrocket/dist/public/js"
|
|
173
|
+
);
|
|
174
|
+
if (!import_node_fs.default.existsSync(libPath)) return `${libName}.js`;
|
|
175
|
+
const distJSFiles = import_node_fs.default.readdirSync(libPath);
|
|
176
|
+
return distJSFiles.filter(
|
|
177
|
+
(fName) => fName.match(/emuiLogrocket+((?!chunk).)*\.js$/)
|
|
178
|
+
)[0];
|
|
179
|
+
};
|
|
168
180
|
const getENCWLoaderFileName = () => {
|
|
169
181
|
const libName = "emuiEncwLoader";
|
|
170
182
|
const appLoaderLibPath = import_node_path.default.join(
|
|
@@ -195,7 +207,8 @@ const getPaths = (latestVersion = true) => {
|
|
|
195
207
|
appLoaderScriptPath: `latest/js/${getAppLoaderFileName()}`,
|
|
196
208
|
diagnosticsScriptPath: `latest/js/${getDiagnosticsFileName()}`,
|
|
197
209
|
globalScriptPath: `latest/js/global.js${timeStampQuery}`,
|
|
198
|
-
encwLoaderScriptPath: `latest/js/${getENCWLoaderFileName()}
|
|
210
|
+
encwLoaderScriptPath: `latest/js/${getENCWLoaderFileName()}`,
|
|
211
|
+
logRocketScriptPath: `latest/js/${getLogRocketFileName()}`
|
|
199
212
|
};
|
|
200
213
|
};
|
|
201
214
|
const isAppLoaderEnabled = () => process.env.APP_LOADER === "true";
|
|
@@ -211,7 +224,8 @@ const getCompressionPlugins = (isLibrary = false) => {
|
|
|
211
224
|
/\/emuiDiagnostics/,
|
|
212
225
|
/\/emuiAppLoader/,
|
|
213
226
|
/\/encwLoader/,
|
|
214
|
-
/\/emuiEncwLoader
|
|
227
|
+
/\/emuiEncwLoader/,
|
|
228
|
+
/\/emuiLogrocket/
|
|
215
229
|
];
|
|
216
230
|
const commonConfig = {
|
|
217
231
|
test: /\.(js|css)$/,
|
|
@@ -127,6 +127,13 @@ const plugins = [
|
|
|
127
127
|
// noErrorOnMissing: true,
|
|
128
128
|
// info: { minimized: true },
|
|
129
129
|
// },
|
|
130
|
+
{
|
|
131
|
+
from: "node_modules/@elliemae/pui-logrocket/dist/public/js",
|
|
132
|
+
to: "./latest/js",
|
|
133
|
+
toType: "dir",
|
|
134
|
+
noErrorOnMissing: true,
|
|
135
|
+
info: { minimized: true }
|
|
136
|
+
},
|
|
130
137
|
{
|
|
131
138
|
from: "public",
|
|
132
139
|
to: "./latest",
|
|
@@ -58,7 +58,8 @@ const {
|
|
|
58
58
|
globalScriptPath,
|
|
59
59
|
appLoaderScriptPath,
|
|
60
60
|
diagnosticsScriptPath,
|
|
61
|
-
encwLoaderScriptPath
|
|
61
|
+
encwLoaderScriptPath,
|
|
62
|
+
logRocketScriptPath
|
|
62
63
|
} = (0, import_helpers.getPaths)();
|
|
63
64
|
const serverOptions = {
|
|
64
65
|
type: "https",
|
|
@@ -118,6 +119,7 @@ const devConfig = {
|
|
|
118
119
|
appLoaderScriptPath,
|
|
119
120
|
diagnosticsScriptPath,
|
|
120
121
|
encwLoaderScriptPath,
|
|
122
|
+
logRocketScriptPath,
|
|
121
123
|
googleTagManager: (0, import_helpers.isGoogleTagManagerEnabled)(),
|
|
122
124
|
csp: process.env.CSP === "true"
|
|
123
125
|
}
|
|
@@ -112,6 +112,7 @@ const {
|
|
|
112
112
|
appLoaderScriptPath,
|
|
113
113
|
diagnosticsScriptPath,
|
|
114
114
|
encwLoaderScriptPath,
|
|
115
|
+
logRocketScriptPath,
|
|
115
116
|
basePath
|
|
116
117
|
} = (0, import_helpers.getPaths)();
|
|
117
118
|
const htmlWebpackPlugin = new import_html_webpack_plugin.default({
|
|
@@ -137,6 +138,7 @@ const htmlWebpackPlugin = new import_html_webpack_plugin.default({
|
|
|
137
138
|
appLoaderScriptPath,
|
|
138
139
|
diagnosticsScriptPath,
|
|
139
140
|
encwLoaderScriptPath,
|
|
141
|
+
logRocketScriptPath,
|
|
140
142
|
googleTagManager: (0, import_helpers.isGoogleTagManagerEnabled)(),
|
|
141
143
|
csp: process.env.CSP === "true"
|
|
142
144
|
}
|
|
@@ -115,6 +115,18 @@ const getDiagnosticsFileName = () => {
|
|
|
115
115
|
(fName) => fName.match(/emuiDiagnostics+((?!chunk).)*\.js$/)
|
|
116
116
|
)[0];
|
|
117
117
|
};
|
|
118
|
+
const getLogRocketFileName = () => {
|
|
119
|
+
const libName = "emuiLogrocket";
|
|
120
|
+
const libPath = path.join(
|
|
121
|
+
process.cwd(),
|
|
122
|
+
"node_modules/@elliemae/pui-logrocket/dist/public/js"
|
|
123
|
+
);
|
|
124
|
+
if (!fs.existsSync(libPath)) return `${libName}.js`;
|
|
125
|
+
const distJSFiles = fs.readdirSync(libPath);
|
|
126
|
+
return distJSFiles.filter(
|
|
127
|
+
(fName) => fName.match(/emuiLogrocket+((?!chunk).)*\.js$/)
|
|
128
|
+
)[0];
|
|
129
|
+
};
|
|
118
130
|
const getENCWLoaderFileName = () => {
|
|
119
131
|
const libName = "emuiEncwLoader";
|
|
120
132
|
const appLoaderLibPath = path.join(
|
|
@@ -145,7 +157,8 @@ const getPaths = (latestVersion = true) => {
|
|
|
145
157
|
appLoaderScriptPath: `latest/js/${getAppLoaderFileName()}`,
|
|
146
158
|
diagnosticsScriptPath: `latest/js/${getDiagnosticsFileName()}`,
|
|
147
159
|
globalScriptPath: `latest/js/global.js${timeStampQuery}`,
|
|
148
|
-
encwLoaderScriptPath: `latest/js/${getENCWLoaderFileName()}
|
|
160
|
+
encwLoaderScriptPath: `latest/js/${getENCWLoaderFileName()}`,
|
|
161
|
+
logRocketScriptPath: `latest/js/${getLogRocketFileName()}`
|
|
149
162
|
};
|
|
150
163
|
};
|
|
151
164
|
const isAppLoaderEnabled = () => process.env.APP_LOADER === "true";
|
|
@@ -161,7 +174,8 @@ const getCompressionPlugins = (isLibrary = false) => {
|
|
|
161
174
|
/\/emuiDiagnostics/,
|
|
162
175
|
/\/emuiAppLoader/,
|
|
163
176
|
/\/encwLoader/,
|
|
164
|
-
/\/emuiEncwLoader
|
|
177
|
+
/\/emuiEncwLoader/,
|
|
178
|
+
/\/emuiLogrocket/
|
|
165
179
|
];
|
|
166
180
|
const commonConfig = {
|
|
167
181
|
test: /\.(js|css)$/,
|
|
@@ -101,6 +101,13 @@ const plugins = [
|
|
|
101
101
|
// noErrorOnMissing: true,
|
|
102
102
|
// info: { minimized: true },
|
|
103
103
|
// },
|
|
104
|
+
{
|
|
105
|
+
from: "node_modules/@elliemae/pui-logrocket/dist/public/js",
|
|
106
|
+
to: "./latest/js",
|
|
107
|
+
toType: "dir",
|
|
108
|
+
noErrorOnMissing: true,
|
|
109
|
+
info: { minimized: true }
|
|
110
|
+
},
|
|
104
111
|
{
|
|
105
112
|
from: "public",
|
|
106
113
|
to: "./latest",
|
|
@@ -28,7 +28,8 @@ const {
|
|
|
28
28
|
globalScriptPath,
|
|
29
29
|
appLoaderScriptPath,
|
|
30
30
|
diagnosticsScriptPath,
|
|
31
|
-
encwLoaderScriptPath
|
|
31
|
+
encwLoaderScriptPath,
|
|
32
|
+
logRocketScriptPath
|
|
32
33
|
} = getPaths();
|
|
33
34
|
const serverOptions = {
|
|
34
35
|
type: "https",
|
|
@@ -88,6 +89,7 @@ const devConfig = {
|
|
|
88
89
|
appLoaderScriptPath,
|
|
89
90
|
diagnosticsScriptPath,
|
|
90
91
|
encwLoaderScriptPath,
|
|
92
|
+
logRocketScriptPath,
|
|
91
93
|
googleTagManager: isGoogleTagManagerEnabled(),
|
|
92
94
|
csp: process.env.CSP === "true"
|
|
93
95
|
}
|
|
@@ -84,6 +84,7 @@ const {
|
|
|
84
84
|
appLoaderScriptPath,
|
|
85
85
|
diagnosticsScriptPath,
|
|
86
86
|
encwLoaderScriptPath,
|
|
87
|
+
logRocketScriptPath,
|
|
87
88
|
basePath
|
|
88
89
|
} = getPaths();
|
|
89
90
|
const htmlWebpackPlugin = new HtmlWebpackPlugin({
|
|
@@ -109,6 +110,7 @@ const htmlWebpackPlugin = new HtmlWebpackPlugin({
|
|
|
109
110
|
appLoaderScriptPath,
|
|
110
111
|
diagnosticsScriptPath,
|
|
111
112
|
encwLoaderScriptPath,
|
|
113
|
+
logRocketScriptPath,
|
|
112
114
|
googleTagManager: isGoogleTagManagerEnabled(),
|
|
113
115
|
csp: process.env.CSP === "true"
|
|
114
116
|
}
|
|
@@ -22,6 +22,7 @@ export declare const getPaths: (latestVersion?: boolean) => {
|
|
|
22
22
|
diagnosticsScriptPath: string;
|
|
23
23
|
globalScriptPath: string;
|
|
24
24
|
encwLoaderScriptPath: string;
|
|
25
|
+
logRocketScriptPath: string;
|
|
25
26
|
};
|
|
26
27
|
export declare const isAppLoaderEnabled: () => boolean;
|
|
27
28
|
export declare const getMediaPath: () => string;
|