@elliemae/pui-cli 8.56.2 → 8.56.4
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.2dc2f922.js → main.4629f892.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/testing/mocks/pui-logrocket.js +6 -4
- package/dist/cjs/testing/setup-tests.js +3 -6
- package/dist/cjs/webpack/helpers.js +4 -3
- package/dist/esm/testing/mocks/pui-logrocket.js +6 -4
- package/dist/esm/testing/setup-tests.js +3 -6
- package/dist/esm/webpack/helpers.js +4 -3
- package/dist/types/lib/testing/mocks/pui-logrocket.d.ts +4 -3
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- /package/build/docs/assets/js/{main.2dc2f922.js.LICENSE.txt → main.4629f892.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.4629f892.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.4629f892.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.4629f892.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body class="navigation-with-keyboard">
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
@@ -18,17 +18,17 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var pui_logrocket_exports = {};
|
|
20
20
|
__export(pui_logrocket_exports, {
|
|
21
|
+
LogRocket: () => logRocket,
|
|
21
22
|
buildLogRocketQueryParams: () => buildLogRocketQueryParams,
|
|
22
23
|
hasUserConsentedToSessionRecording: () => hasUserConsentedToSessionRecording,
|
|
23
|
-
initLogRocket: () => initLogRocket
|
|
24
|
-
logRocket: () => logRocket
|
|
24
|
+
initLogRocket: () => initLogRocket
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(pui_logrocket_exports);
|
|
27
27
|
const initLogRocket = () => {
|
|
28
|
+
window.emui.isLogRocketInitialized = true;
|
|
28
29
|
};
|
|
29
30
|
const hasUserConsentedToSessionRecording = () => true;
|
|
30
|
-
const buildLogRocketQueryParams = () =>
|
|
31
|
-
};
|
|
31
|
+
const buildLogRocketQueryParams = () => "analyticsConsent=false&lrEnabled=false&lrAppId=pui-cli";
|
|
32
32
|
const logRocket = {
|
|
33
33
|
init: () => {
|
|
34
34
|
},
|
|
@@ -43,3 +43,5 @@ const logRocket = {
|
|
|
43
43
|
captureException: () => {
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
+
window.emui = window.emui || {};
|
|
47
|
+
window.emui.logRocket = logRocket;
|
|
@@ -29,7 +29,6 @@ var import_resize_observer_polyfill = __toESM(require("resize-observer-polyfill"
|
|
|
29
29
|
var import_matchMedia = require("./mocks/matchMedia.js");
|
|
30
30
|
var import_worker = require("./mocks/worker.js");
|
|
31
31
|
var import_pui_diagnostics = require("./mocks/pui-diagnostics.js");
|
|
32
|
-
var import_pui_logrocket = require("./mocks/pui-logrocket.js");
|
|
33
32
|
Object.defineProperty(globalThis, "crypto", {
|
|
34
33
|
value: import_node_crypto.webcrypto
|
|
35
34
|
});
|
|
@@ -69,11 +68,9 @@ const addRootElement = (id) => {
|
|
|
69
68
|
addRootElement("root");
|
|
70
69
|
(0, import_matchMedia.addMatchMedia)();
|
|
71
70
|
window.ResizeObserver = import_resize_observer_polyfill.default;
|
|
72
|
-
window.emui = {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
_BASE_PATH: new URL(document.baseURI).pathname
|
|
76
|
-
};
|
|
71
|
+
window.emui = window.emui || {};
|
|
72
|
+
window.emui.logger = (0, import_pui_diagnostics.logger)();
|
|
73
|
+
window.emui._BASE_PATH = new URL(document.baseURI).pathname;
|
|
77
74
|
let showCorejsWarn = false;
|
|
78
75
|
afterAll(() => {
|
|
79
76
|
if (showCorejsWarn) {
|
|
@@ -166,7 +166,7 @@ const getDiagnosticsFileName = () => {
|
|
|
166
166
|
)[0];
|
|
167
167
|
};
|
|
168
168
|
const getLogRocketFileName = () => {
|
|
169
|
-
const libName = "
|
|
169
|
+
const libName = "emuiLogrocket";
|
|
170
170
|
const libPath = import_node_path.default.join(
|
|
171
171
|
process.cwd(),
|
|
172
172
|
"node_modules/@elliemae/pui-logrocket/dist/public/js"
|
|
@@ -174,7 +174,7 @@ const getLogRocketFileName = () => {
|
|
|
174
174
|
if (!import_node_fs.default.existsSync(libPath)) return `${libName}.js`;
|
|
175
175
|
const distJSFiles = import_node_fs.default.readdirSync(libPath);
|
|
176
176
|
return distJSFiles.filter(
|
|
177
|
-
(fName) => fName.match(/
|
|
177
|
+
(fName) => fName.match(/emuiLogrocket+((?!chunk).)*\.js$/)
|
|
178
178
|
)[0];
|
|
179
179
|
};
|
|
180
180
|
const getENCWLoaderFileName = () => {
|
|
@@ -224,7 +224,8 @@ const getCompressionPlugins = (isLibrary = false) => {
|
|
|
224
224
|
/\/emuiDiagnostics/,
|
|
225
225
|
/\/emuiAppLoader/,
|
|
226
226
|
/\/encwLoader/,
|
|
227
|
-
/\/emuiEncwLoader
|
|
227
|
+
/\/emuiEncwLoader/,
|
|
228
|
+
/\/emuiLogrocket/
|
|
228
229
|
];
|
|
229
230
|
const commonConfig = {
|
|
230
231
|
test: /\.(js|css)$/,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const initLogRocket = () => {
|
|
2
|
+
window.emui.isLogRocketInitialized = true;
|
|
2
3
|
};
|
|
3
4
|
const hasUserConsentedToSessionRecording = () => true;
|
|
4
|
-
const buildLogRocketQueryParams = () =>
|
|
5
|
-
};
|
|
5
|
+
const buildLogRocketQueryParams = () => "analyticsConsent=false&lrEnabled=false&lrAppId=pui-cli";
|
|
6
6
|
const logRocket = {
|
|
7
7
|
init: () => {
|
|
8
8
|
},
|
|
@@ -17,9 +17,11 @@ const logRocket = {
|
|
|
17
17
|
captureException: () => {
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
+
window.emui = window.emui || {};
|
|
21
|
+
window.emui.logRocket = logRocket;
|
|
20
22
|
export {
|
|
23
|
+
logRocket as LogRocket,
|
|
21
24
|
buildLogRocketQueryParams,
|
|
22
25
|
hasUserConsentedToSessionRecording,
|
|
23
|
-
initLogRocket
|
|
24
|
-
logRocket
|
|
26
|
+
initLogRocket
|
|
25
27
|
};
|
|
@@ -6,7 +6,6 @@ import ResizeObserver from "resize-observer-polyfill";
|
|
|
6
6
|
import { addMatchMedia } from "./mocks/matchMedia.js";
|
|
7
7
|
import { WorkerMock } from "./mocks/worker.js";
|
|
8
8
|
import { logger } from "./mocks/pui-diagnostics.js";
|
|
9
|
-
import { logRocket } from "./mocks/pui-logrocket.js";
|
|
10
9
|
Object.defineProperty(globalThis, "crypto", {
|
|
11
10
|
value: webcrypto
|
|
12
11
|
});
|
|
@@ -46,11 +45,9 @@ const addRootElement = (id) => {
|
|
|
46
45
|
addRootElement("root");
|
|
47
46
|
addMatchMedia();
|
|
48
47
|
window.ResizeObserver = ResizeObserver;
|
|
49
|
-
window.emui = {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
_BASE_PATH: new URL(document.baseURI).pathname
|
|
53
|
-
};
|
|
48
|
+
window.emui = window.emui || {};
|
|
49
|
+
window.emui.logger = logger();
|
|
50
|
+
window.emui._BASE_PATH = new URL(document.baseURI).pathname;
|
|
54
51
|
let showCorejsWarn = false;
|
|
55
52
|
afterAll(() => {
|
|
56
53
|
if (showCorejsWarn) {
|
|
@@ -116,7 +116,7 @@ const getDiagnosticsFileName = () => {
|
|
|
116
116
|
)[0];
|
|
117
117
|
};
|
|
118
118
|
const getLogRocketFileName = () => {
|
|
119
|
-
const libName = "
|
|
119
|
+
const libName = "emuiLogrocket";
|
|
120
120
|
const libPath = path.join(
|
|
121
121
|
process.cwd(),
|
|
122
122
|
"node_modules/@elliemae/pui-logrocket/dist/public/js"
|
|
@@ -124,7 +124,7 @@ const getLogRocketFileName = () => {
|
|
|
124
124
|
if (!fs.existsSync(libPath)) return `${libName}.js`;
|
|
125
125
|
const distJSFiles = fs.readdirSync(libPath);
|
|
126
126
|
return distJSFiles.filter(
|
|
127
|
-
(fName) => fName.match(/
|
|
127
|
+
(fName) => fName.match(/emuiLogrocket+((?!chunk).)*\.js$/)
|
|
128
128
|
)[0];
|
|
129
129
|
};
|
|
130
130
|
const getENCWLoaderFileName = () => {
|
|
@@ -174,7 +174,8 @@ const getCompressionPlugins = (isLibrary = false) => {
|
|
|
174
174
|
/\/emuiDiagnostics/,
|
|
175
175
|
/\/emuiAppLoader/,
|
|
176
176
|
/\/encwLoader/,
|
|
177
|
-
/\/emuiEncwLoader
|
|
177
|
+
/\/emuiEncwLoader/,
|
|
178
|
+
/\/emuiLogrocket/
|
|
178
179
|
];
|
|
179
180
|
const commonConfig = {
|
|
180
181
|
test: /\.(js|css)$/,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function
|
|
1
|
+
export function buildLogRocketQueryParams(): string;
|
|
2
2
|
export function hasUserConsentedToSessionRecording(): boolean;
|
|
3
|
-
export function
|
|
4
|
-
|
|
3
|
+
export function initLogRocket(): void;
|
|
4
|
+
declare namespace logRocket {
|
|
5
5
|
function init(): void;
|
|
6
6
|
function identify(): void;
|
|
7
7
|
function track(): void;
|
|
@@ -10,3 +10,4 @@ export namespace logRocket {
|
|
|
10
10
|
function captureMessage(): void;
|
|
11
11
|
function captureException(): void;
|
|
12
12
|
}
|
|
13
|
+
export { logRocket as LogRocket };
|