@elliemae/pui-cli 9.0.0-alpha.12 → 9.0.0-alpha.13
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/README.md +4 -3
- package/build/docs/404.html +4 -4
- package/build/docs/api/functions/loadRoutes/index.html +9 -9
- package/build/docs/api/index.html +8 -8
- package/build/docs/api/type-aliases/LIB_NAME/index.html +5 -5
- package/build/docs/api/variables/babelConfig/index.html +5 -28
- package/build/docs/api/variables/commitlintConfig/index.html +5 -8
- package/build/docs/api/variables/eslintFlatBaseConfig/index.html +6 -6
- package/build/docs/api/variables/eslintFlatBaseConfigStrict/index.html +6 -6
- package/build/docs/api/variables/eslintFlatConfig/index.html +6 -6
- package/build/docs/api/variables/eslintFlatConfigStrict/index.html +6 -6
- package/build/docs/api/variables/jestConfig/index.html +86 -86
- package/build/docs/api/variables/jestNodeConfig/index.html +86 -86
- package/build/docs/api/variables/lintStagedConfig/index.html +22 -12
- package/build/docs/api/variables/prettierConfig/index.html +5 -18
- package/build/docs/api/variables/stylelintConfig/index.html +5 -5
- package/build/docs/api/variables/vitestConfig/index.html +5 -5
- package/build/docs/assets/css/{styles.74603f39.css → styles.3cba4e67.css} +1 -1
- package/build/docs/assets/js/04ee7372.c6c3d513.js +1 -0
- package/build/docs/assets/js/0551d4dd.a6b1d9fa.js +1 -0
- package/build/docs/assets/js/0a1d0315.43980061.js +1 -0
- package/build/docs/assets/js/13097d8d.4ac8ef79.js +1 -0
- package/build/docs/assets/js/{16b7bc88.c3779e27.js → 16b7bc88.2ac57556.js} +1 -1
- package/build/docs/assets/js/{17896441.84339068.js → 17896441.705d85a0.js} +1 -1
- package/build/docs/assets/js/{1b9df811.aaa95da1.js → 1b9df811.ec75cfdc.js} +1 -1
- package/build/docs/assets/js/{232a0286.33b2782b.js → 232a0286.6f749ae5.js} +1 -1
- package/build/docs/assets/js/{2399.cc5803e0.js → 2399.5d123cba.js} +1 -1
- package/build/docs/assets/js/{37d86055.47211796.js → 37d86055.1e73f036.js} +1 -1
- package/build/docs/assets/js/3992.b9b54f94.js +2 -0
- package/build/docs/assets/js/{4fb6949f.69e375e4.js → 4fb6949f.13bde4a8.js} +1 -1
- package/build/docs/assets/js/5befad71.96f04f67.js +1 -0
- package/build/docs/assets/js/5d5f1db0.e7607cd2.js +1 -0
- package/build/docs/assets/js/5e8c322a.0b86bf5a.js +1 -0
- package/build/docs/assets/js/5e95c892.de377e27.js +1 -0
- package/build/docs/assets/js/{5fb3c522.da5628e8.js → 5fb3c522.3ec831ee.js} +1 -1
- package/build/docs/assets/js/6bd11e52.c61bfcd5.js +1 -0
- package/build/docs/assets/js/6e96545e.1b545333.js +1 -0
- package/build/docs/assets/js/{71f6d02b.cfd98385.js → 71f6d02b.4b381360.js} +1 -1
- package/build/docs/assets/js/{6704.2615a5c6.js → 7843.f4b19776.js} +1 -1
- package/build/docs/assets/js/80e87108.8c451f49.js +1 -0
- package/build/docs/assets/js/{8585.3cb09ff7.js → 8585.e2298db3.js} +1 -1
- package/build/docs/assets/js/{a7bd4aaa.30ffad02.js → a7bd4aaa.aceac89c.js} +1 -1
- package/build/docs/assets/js/a94703ab.248144c2.js +1 -0
- package/build/docs/assets/js/b7b585d8.7d50f3f6.js +1 -0
- package/build/docs/assets/js/{bde5209a.f5bca8b2.js → bde5209a.480cc8d8.js} +1 -1
- package/build/docs/assets/js/c377a04b.c6b6b394.js +1 -0
- package/build/docs/assets/js/{dfd75424.51c4e2cb.js → dfd75424.459da76b.js} +1 -1
- package/build/docs/assets/js/f736c962.ab424879.js +1 -0
- package/build/docs/assets/js/main.3ae939d4.js +2 -0
- package/build/docs/assets/js/runtime~main.9ecf1839.js +1 -0
- package/build/docs/eslint-rules-migration/index.html +39 -39
- package/build/docs/index.html +70 -71
- package/build/docs/pui-cli-9-migration/index.html +163 -99
- package/build/docs/sitemap.xml +1 -1
- package/build/docs/ssl-certificate-setup/index.html +23 -23
- package/build/docs/stylelint-migration/index.html +19 -21
- package/build/docs/usage-guide/index.html +90 -90
- package/dist/cjs/babel.config.js +124 -0
- package/dist/cjs/index.js +5 -9
- package/dist/cjs/lint-config/commitlint/export.mjs +1 -0
- package/dist/cjs/lint-config/commitlint.config.mjs +6 -0
- package/dist/cjs/lint-config/eslint/common.cjs +8 -1
- package/dist/cjs/lint-config/eslint/flat/rules.mjs +1 -0
- package/dist/cjs/lint-config/lint-staged.config.js +17 -5
- package/dist/cjs/lint-config/prettier/export.mjs +1 -0
- package/dist/cjs/lint-config/{prettier.config.cjs → prettier.config.mjs} +4 -1
- package/dist/cjs/skills/migrate-storybook-out-of-cjs/SKILL.md +89 -35
- package/dist/cjs/skills/migrate-to-pui-cli-9/SKILL.md +126 -38
- package/dist/cjs/testing/{jest.config.cjs → jest.config.mjs} +9 -5
- package/dist/{esm/testing/jest.node.config.cjs → cjs/testing/jest.node.config.mjs} +3 -2
- package/dist/esm/babel.config.js +94 -0
- package/dist/esm/index.js +5 -9
- package/dist/esm/lint-config/commitlint/export.mjs +1 -0
- package/dist/esm/lint-config/commitlint.config.mjs +6 -0
- package/dist/esm/lint-config/eslint/common.cjs +8 -1
- package/dist/esm/lint-config/eslint/flat/rules.mjs +1 -0
- package/dist/esm/lint-config/lint-staged.config.js +17 -5
- package/dist/esm/lint-config/prettier/export.mjs +1 -0
- package/{lib/lint-config/prettier.config.cjs → dist/esm/lint-config/prettier.config.mjs} +4 -1
- package/dist/esm/skills/migrate-storybook-out-of-cjs/SKILL.md +89 -35
- package/dist/esm/skills/migrate-to-pui-cli-9/SKILL.md +126 -38
- package/dist/esm/testing/{jest.config.cjs → jest.config.mjs} +9 -5
- package/dist/{cjs/testing/jest.node.config.cjs → esm/testing/jest.node.config.mjs} +3 -2
- package/dist/types/lib/babel.config.d.ts +3 -0
- package/dist/types/lib/index.d.ts +5 -9
- package/dist/types/lib/lint-config/commitlint/export.d.mts +1 -0
- package/dist/types/lib/lint-config/commitlint.config.d.mts +3 -0
- package/dist/types/lib/lint-config/eslint/common.d.cts +8 -2
- package/dist/types/lib/lint-config/eslint/non-react.d.cts +8 -1
- package/dist/types/lib/lint-config/eslint/react.d.cts +8 -1
- package/dist/types/lib/lint-config/eslint/typescript/non-react.d.cts +8 -1
- package/dist/types/lib/lint-config/eslint/typescript/react.d.cts +8 -1
- package/dist/types/lib/lint-config/lint-staged.config.d.ts +2 -2
- package/dist/types/lib/lint-config/prettier/export.d.mts +1 -0
- package/dist/types/lib/lint-config/prettier.config.d.mts +3 -0
- package/dist/types/lib/utils.d.cts +1 -1
- package/dist/types/lib/utils.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/lib/lint-config/commitlint/export.mjs +1 -0
- package/lib/lint-config/commitlint.config.mjs +6 -0
- package/lib/lint-config/eslint/common.cjs +8 -1
- package/lib/lint-config/eslint/flat/rules.mjs +1 -0
- package/lib/lint-config/lint-staged.config.js +20 -5
- package/lib/lint-config/prettier/export.mjs +1 -0
- package/{dist/esm/lint-config/prettier.config.cjs → lib/lint-config/prettier.config.mjs} +4 -1
- package/lib/skills/migrate-storybook-out-of-cjs/SKILL.md +89 -35
- package/lib/skills/migrate-to-pui-cli-9/SKILL.md +126 -38
- package/lib/testing/jest.config.mjs +124 -0
- package/lib/testing/jest.node.config.mjs +9 -0
- package/package.json +38 -22
- package/build/docs/api/variables/eslintBaseConfig/index.html +0 -132
- package/build/docs/api/variables/eslintConfig/index.html +0 -180
- package/build/docs/assets/js/04ee7372.2852111b.js +0 -1
- package/build/docs/assets/js/0551d4dd.ebb18f4f.js +0 -1
- package/build/docs/assets/js/0a1d0315.fc8f91a7.js +0 -1
- package/build/docs/assets/js/13097d8d.7877421c.js +0 -1
- package/build/docs/assets/js/3992.0ac29b2f.js +0 -2
- package/build/docs/assets/js/5befad71.5f19afb5.js +0 -1
- package/build/docs/assets/js/5d5f1db0.c5aa5afa.js +0 -1
- package/build/docs/assets/js/5e8c322a.ef3b894b.js +0 -1
- package/build/docs/assets/js/5e95c892.f550b901.js +0 -1
- package/build/docs/assets/js/6bd11e52.08b95209.js +0 -1
- package/build/docs/assets/js/6e96545e.30c1b801.js +0 -1
- package/build/docs/assets/js/80e87108.f9507b95.js +0 -1
- package/build/docs/assets/js/a94703ab.f1796514.js +0 -1
- package/build/docs/assets/js/b7b585d8.6d53e73f.js +0 -1
- package/build/docs/assets/js/b8ac1d98.62684003.js +0 -1
- package/build/docs/assets/js/c377a04b.0f8625c6.js +0 -1
- package/build/docs/assets/js/e5f79924.c793a74d.js +0 -1
- package/build/docs/assets/js/f736c962.dbd0d004.js +0 -1
- package/build/docs/assets/js/main.d5acb4ca.js +0 -2
- package/build/docs/assets/js/runtime~main.4f7cd700.js +0 -1
- package/dist/cjs/babel.config.cjs +0 -97
- package/dist/cjs/index.cjs +0 -35
- package/dist/cjs/lint-config/commitlint.config.cjs +0 -1
- package/dist/cjs/lint-config/stylelint.config.cjs +0 -3
- package/dist/esm/babel.config.cjs +0 -97
- package/dist/esm/index.cjs +0 -35
- package/dist/esm/lint-config/commitlint.config.cjs +0 -1
- package/dist/esm/lint-config/stylelint.config.cjs +0 -3
- package/dist/types/lib/babel.config.d.cts +0 -59
- package/dist/types/lib/index.d.cts +0 -13
- package/dist/types/lib/lint-config/commitlint.config.d.cts +0 -4
- package/dist/types/lib/lint-config/prettier.config.d.cts +0 -8
- package/dist/types/lib/lint-config/stylelint.config.d.cts +0 -2
- package/lib/lint-config/commitlint.config.cjs +0 -1
- package/lib/lint-config/stylelint.config.cjs +0 -3
- /package/build/docs/assets/js/{3992.0ac29b2f.js.LICENSE.txt → 3992.b9b54f94.js.LICENSE.txt} +0 -0
- /package/build/docs/assets/js/{main.d5acb4ca.js.LICENSE.txt → main.3ae939d4.js.LICENSE.txt} +0 -0
- /package/dist/types/lib/testing/{jest.config.d.cts → jest.config.d.mts} +0 -0
- /package/dist/types/lib/testing/{jest.node.config.d.cts → jest.node.config.d.mts} +0 -0
package/build/docs/sitemap.xml
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://pui.ice.com/cli/api/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/functions/loadRoutes</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/type-aliases/LIB_NAME</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/babelConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/commitlintConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://pui.ice.com/cli/api/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/functions/loadRoutes</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/type-aliases/LIB_NAME</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/babelConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/commitlintConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/eslintFlatBaseConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/eslintFlatBaseConfigStrict</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/eslintFlatConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/eslintFlatConfigStrict</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/jestConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/jestNodeConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/lintStagedConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/prettierConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/stylelintConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/api/variables/vitestConfig</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/eslint-rules-migration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/pui-cli-9-migration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/ssl-certificate-setup</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/stylelint-migration</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/usage-guide</loc><changefreq>weekly</changefreq><priority>0.5</priority></url><url><loc>https://pui.ice.com/cli/</loc><changefreq>weekly</changefreq><priority>0.5</priority></url></urlset>
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.10.1">
|
|
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.
|
|
7
|
-
<script src="/cli/assets/js/runtime~main.
|
|
8
|
-
<script src="/cli/assets/js/main.
|
|
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.3cba4e67.css">
|
|
7
|
+
<script src="/cli/assets/js/runtime~main.9ecf1839.js" defer="defer"></script>
|
|
8
|
+
<script src="/cli/assets/js/main.3ae939d4.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
12
12
|
<symbol id="theme-svg-external-link" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
|
|
13
13
|
</defs></svg>
|
|
14
|
-
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||"light"),document.documentElement.setAttribute("data-theme-choice",t||"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="
|
|
14
|
+
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||"light"),document.documentElement.setAttribute("data-theme-choice",t||"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_uUOh" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="theme-layout-navbar navbar navbar--fixed-top"><div class="navbar__inner"><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/cli/"><div class="navbar__logo"><img src="/cli/img/logo.svg" alt="Cli" class="themedComponent_DNHH themedComponent--light_puUK"><img src="/cli/img/logo.svg" alt="Cli" class="themedComponent_DNHH themedComponent--dark_ytUh"></div><b class="navbar__title text--truncate">Cli</b></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/cli/">Getting Started</a><a class="navbar__item navbar__link" href="/cli/api">API</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href="https://git.elliemae.io/platform-ui/pui-cli.git" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-label="(opens in new tab)" class="iconExternalLink_gBgG"><use href="#theme-svg-external-link"></use></svg></a><div class="toggle_bwF7 colorModeToggle_QGVI"><button class="clean-btn toggleButton_Cu0l toggleButtonDisabled_OZ9s" type="button" disabled="" title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_njg9 lightToggleIcon_jmWU"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_njg9 darkToggleIcon_cwWx"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_njg9 systemToggleIcon_OGHn"><path fill="currentColor" d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"></path></svg></button></div><div class="navbarSearchContainer_WcYf"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="theme-layout-main main-wrapper mainWrapper_yECr"><div class="docsWrapper_uGqN"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_psYS" type="button"></button><div class="docRoot_xjvB"><aside class="theme-doc-sidebar-container docSidebarContainer_CacH"><div class="sidebarViewport_EpUQ"><div class="sidebar_Pceu"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_NnMk"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="categoryLink_Uon2 menu__link menu__link--sublist" href="/cli/api/"><span title="Cli API" class="categoryLinkLabel_eWUU">Cli API</span></a><button aria-label="Expand sidebar category 'Cli API'" aria-expanded="false" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/eslint-rules-migration"><span title="ESLint rules migration guide (legacy → ESLint 10 flat config)" class="linkLabel_GXod">ESLint rules migration guide (legacy → ESLint 10 flat config)</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/"><span title="PUI CLI Documentation" class="linkLabel_GXod">PUI CLI Documentation</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/pui-cli-9-migration"><span title="pui-cli 9 migration guide" class="linkLabel_GXod">pui-cli 9 migration guide</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/cli/ssl-certificate-setup"><span title="Trust SSL Certificate Guide" class="linkLabel_GXod">Trust SSL Certificate Guide</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/stylelint-migration"><span title="Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)" class="linkLabel_GXod">Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/usage-guide"><span title="Usage Guide" class="linkLabel_GXod">Usage Guide</span></a></li></ul></nav></div></div></aside><main class="docMainContainer_eyKo"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_Dj72"><div class="docItemContainer_Qzlb"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_BbJP" aria-label="Breadcrumbs"><ul class="breadcrumbs"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/cli/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_h1OG"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link">Trust SSL Certificate Guide</span></li></ul></nav><div class="tocCollapsible_SEmd theme-doc-toc-mobile tocMobile_GImu"><button type="button" class="clean-btn tocCollapsibleButton_wJia">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Trust SSL Certificate Guide</h1></header>
|
|
15
15
|
<p>This guide explains how to trust the self-signed CA certificate on different operating systems and browsers so your HTTPS connection works without warnings.</p>
|
|
16
16
|
<hr>
|
|
17
|
-
<h2 class="anchor
|
|
17
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="-table-of-contents">📋 Table of Contents<a href="#-table-of-contents" class="hash-link" aria-label="Direct link to 📋 Table of Contents" title="Direct link to 📋 Table of Contents" translate="no"></a></h2>
|
|
18
18
|
<ul>
|
|
19
19
|
<li class=""><a href="#-macos" class="">macOS</a></li>
|
|
20
20
|
<li class=""><a href="#-windows" class="">Windows</a></li>
|
|
21
21
|
<li class=""><a href="#-firefox-all-platforms" class="">Firefox (All Platforms)</a></li>
|
|
22
22
|
</ul>
|
|
23
23
|
<hr>
|
|
24
|
-
<h2 class="anchor
|
|
25
|
-
<h3 class="anchor
|
|
24
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="-macos">🍎 macOS<a href="#-macos" class="hash-link" aria-label="Direct link to 🍎 macOS" title="Direct link to 🍎 macOS" translate="no"></a></h2>
|
|
25
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="via-keychain-access">Via Keychain Access<a href="#via-keychain-access" class="hash-link" aria-label="Direct link to Via Keychain Access" title="Direct link to Via Keychain Access" translate="no"></a></h3>
|
|
26
26
|
<ol>
|
|
27
27
|
<li class="">
|
|
28
28
|
<p><strong>Locate the certificate file:</strong></p>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<p><strong>Test:</strong> Visit <code>https://localhost:8443</code> - should show secure! 🔒</p>
|
|
73
73
|
</li>
|
|
74
74
|
</ol>
|
|
75
|
-
<h3 class="anchor
|
|
75
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="remove-certificate-from-macos">Remove Certificate from macOS<a href="#remove-certificate-from-macos" class="hash-link" aria-label="Direct link to Remove Certificate from macOS" title="Direct link to Remove Certificate from macOS" translate="no"></a></h3>
|
|
76
76
|
<p><strong>Via Keychain Access:</strong></p>
|
|
77
77
|
<ol>
|
|
78
78
|
<li class="">Open Keychain Access</li>
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
<li class="">Enter password</li>
|
|
82
82
|
</ol>
|
|
83
83
|
<p><strong>Via Command Line:</strong></p>
|
|
84
|
-
<div class="language-bash
|
|
84
|
+
<div class="language-bash codeBlockContainer_xJos theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_HrWh"><pre tabindex="0" class="prism-code language-bash codeBlock_wqKj thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_tOUB"><div class="token-line" style="color:#393A34"><span class="token plain"># From login keychain</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">security delete-certificate -c "localhost" ~/Library/Keychains/login.keychain-db</span><br></div></code></pre></div></div>
|
|
85
85
|
<hr>
|
|
86
|
-
<h2 class="anchor
|
|
87
|
-
<h3 class="anchor
|
|
86
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="-windows">🪟 Windows<a href="#-windows" class="hash-link" aria-label="Direct link to 🪟 Windows" title="Direct link to 🪟 Windows" translate="no"></a></h2>
|
|
87
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="via-certificate-manager">Via Certificate Manager<a href="#via-certificate-manager" class="hash-link" aria-label="Direct link to Via Certificate Manager" title="Direct link to Via Certificate Manager" translate="no"></a></h3>
|
|
88
88
|
<ol>
|
|
89
89
|
<li class="">
|
|
90
90
|
<p><strong>Open Certificate Manager:</strong></p>
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<p><strong>Test:</strong> Visit <code>https://localhost:8443</code> - should show secure! 🔒</p>
|
|
137
137
|
</li>
|
|
138
138
|
</ol>
|
|
139
|
-
<h3 class="anchor
|
|
139
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="remove-certificate-from-windows">Remove Certificate from Windows<a href="#remove-certificate-from-windows" class="hash-link" aria-label="Direct link to Remove Certificate from Windows" title="Direct link to Remove Certificate from Windows" translate="no"></a></h3>
|
|
140
140
|
<ol>
|
|
141
141
|
<li class="">Open Certificate Manager (<code>certmgr.msc</code>)</li>
|
|
142
142
|
<li class="">Navigate to <strong>"Trusted Root Certification Authorities"</strong> → <strong>"Certificates"</strong></li>
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
<li class="">Confirm deletion</li>
|
|
146
146
|
</ol>
|
|
147
147
|
<hr>
|
|
148
|
-
<h2 class="anchor
|
|
148
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="-firefox-all-platforms">🦊 Firefox (All Platforms)<a href="#-firefox-all-platforms" class="hash-link" aria-label="Direct link to 🦊 Firefox (All Platforms)" title="Direct link to 🦊 Firefox (All Platforms)" translate="no"></a></h2>
|
|
149
149
|
<p>Firefox uses its own certificate store, independent of the operating system.</p>
|
|
150
|
-
<h3 class="anchor
|
|
150
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="import-certificate-to-firefox">Import Certificate to Firefox<a href="#import-certificate-to-firefox" class="hash-link" aria-label="Direct link to Import Certificate to Firefox" title="Direct link to Import Certificate to Firefox" translate="no"></a></h3>
|
|
151
151
|
<ol>
|
|
152
152
|
<li class="">
|
|
153
153
|
<p><strong>Open Firefox Settings:</strong></p>
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
<p><strong>Test:</strong> Visit <code>https://localhost:8443</code> - should show secure! 🔒</p>
|
|
208
208
|
</li>
|
|
209
209
|
</ol>
|
|
210
|
-
<h3 class="anchor
|
|
210
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="remove-certificate-from-firefox">Remove Certificate from Firefox<a href="#remove-certificate-from-firefox" class="hash-link" aria-label="Direct link to Remove Certificate from Firefox" title="Direct link to Remove Certificate from Firefox" translate="no"></a></h3>
|
|
211
211
|
<ol>
|
|
212
212
|
<li class="">Go to <code>about:preferences#privacy</code></li>
|
|
213
213
|
<li class="">Click <strong>"View Certificates"</strong></li>
|
|
@@ -217,8 +217,8 @@
|
|
|
217
217
|
<li class="">Confirm deletion</li>
|
|
218
218
|
</ol>
|
|
219
219
|
<hr>
|
|
220
|
-
<h2 class="anchor
|
|
221
|
-
<h3 class="anchor
|
|
220
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="troubleshooting">Troubleshooting<a href="#troubleshooting" class="hash-link" aria-label="Direct link to Troubleshooting" title="Direct link to Troubleshooting" translate="no"></a></h2>
|
|
221
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="still-seeing-not-secure-warning">Still seeing "Not Secure" warning?<a href="#still-seeing-not-secure-warning" class="hash-link" aria-label="Direct link to Still seeing "Not Secure" warning?" title="Direct link to Still seeing "Not Secure" warning?" translate="no"></a></h3>
|
|
222
222
|
<ol>
|
|
223
223
|
<li class=""><strong>Restart your browser</strong> - Browsers cache certificate trust settings</li>
|
|
224
224
|
<li class=""><strong>Check the certificate is in login keychain</strong> - Look in Keychain Access</li>
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
<li class=""><strong>Clear browser cache</strong> - Especially SSL state</li>
|
|
227
227
|
<li class=""><strong>Check hostname</strong> - Must use <code>localhost</code>, not <code>127.0.0.1</code></li>
|
|
228
228
|
</ol>
|
|
229
|
-
<h3 class="anchor
|
|
229
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="browser-not-trusting-certificate">Browser not trusting certificate?<a href="#browser-not-trusting-certificate" class="hash-link" aria-label="Direct link to Browser not trusting certificate?" title="Direct link to Browser not trusting certificate?" translate="no"></a></h3>
|
|
230
230
|
<p><strong>Chrome/Edge (Windows):</strong></p>
|
|
231
231
|
<ul>
|
|
232
232
|
<li class="">These browsers use the Windows certificate store</li>
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
<li class="">See <a href="#firefox-all-platforms" class="">Firefox section</a> above</li>
|
|
247
247
|
<li class="">Must import the certificate directly into Firefox</li>
|
|
248
248
|
</ul>
|
|
249
|
-
<h2 class="anchor
|
|
249
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="certificate-details">Certificate Details<a href="#certificate-details" class="hash-link" aria-label="Direct link to Certificate Details" title="Direct link to Certificate Details" translate="no"></a></h2>
|
|
250
250
|
<p><strong>CA Certificate (ca-cert.pem):</strong></p>
|
|
251
251
|
<ul>
|
|
252
252
|
<li class="">Type: Root CA Certificate</li>
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
<li class=""><code>ca-key.pem</code>: CA private key (password protected)</li>
|
|
268
268
|
<li class=""><code>key.pem</code>: Server private key (no password for convenience)</li>
|
|
269
269
|
</ul>
|
|
270
|
-
<h2 class="anchor
|
|
270
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="security-notes">Security Notes<a href="#security-notes" class="hash-link" aria-label="Direct link to Security Notes" title="Direct link to Security Notes" translate="no"></a></h2>
|
|
271
271
|
<p>⚠️ <strong>These certificates are for local development only!</strong></p>
|
|
272
272
|
<ul>
|
|
273
273
|
<li class="">Never use these certificates in production</li>
|
|
@@ -276,9 +276,9 @@
|
|
|
276
276
|
<li class="">Don't commit private keys to version control</li>
|
|
277
277
|
<li class="">Add to <code>.gitignore</code>: <code>*.pem</code>, <code>*.key</code></li>
|
|
278
278
|
</ul>
|
|
279
|
-
<h2 class="anchor
|
|
279
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="regenerate-certificates">Regenerate Certificates<a href="#regenerate-certificates" class="hash-link" aria-label="Direct link to Regenerate Certificates" title="Direct link to Regenerate Certificates" translate="no"></a></h2>
|
|
280
280
|
<p>If you need to regenerate the certificates:</p>
|
|
281
|
-
<div class="language-bash
|
|
282
|
-
<p>Then re-trust the new CA certificate using the steps above.</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col
|
|
281
|
+
<div class="language-bash codeBlockContainer_xJos theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_HrWh"><pre tabindex="0" class="prism-code language-bash codeBlock_wqKj thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_tOUB"><div class="token-line" style="color:#393A34"><span class="token plain">cd ssl</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">./generate-certs.sh</span><br></div></code></pre></div></div>
|
|
282
|
+
<p>Then re-trust the new CA certificate using the steps above.</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_wx0h"><a href="https://git.elliemae.io/platform-ui/pui-cli.git/docs/ssl-certificate-setup.md" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_HJtS" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_rV1z"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/cli/pui-cli-9-migration"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">pui-cli 9 migration guide</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/cli/stylelint-migration"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_Vnv3 thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#-table-of-contents" class="table-of-contents__link toc-highlight">📋 Table of Contents</a></li><li><a href="#-macos" class="table-of-contents__link toc-highlight">🍎 macOS</a><ul><li><a href="#via-keychain-access" class="table-of-contents__link toc-highlight">Via Keychain Access</a></li><li><a href="#remove-certificate-from-macos" class="table-of-contents__link toc-highlight">Remove Certificate from macOS</a></li></ul></li><li><a href="#-windows" class="table-of-contents__link toc-highlight">🪟 Windows</a><ul><li><a href="#via-certificate-manager" class="table-of-contents__link toc-highlight">Via Certificate Manager</a></li><li><a href="#remove-certificate-from-windows" class="table-of-contents__link toc-highlight">Remove Certificate from Windows</a></li></ul></li><li><a href="#-firefox-all-platforms" class="table-of-contents__link toc-highlight">🦊 Firefox (All Platforms)</a><ul><li><a href="#import-certificate-to-firefox" class="table-of-contents__link toc-highlight">Import Certificate to Firefox</a></li><li><a href="#remove-certificate-from-firefox" class="table-of-contents__link toc-highlight">Remove Certificate from Firefox</a></li></ul></li><li><a href="#troubleshooting" class="table-of-contents__link toc-highlight">Troubleshooting</a><ul><li><a href="#still-seeing-not-secure-warning" class="table-of-contents__link toc-highlight">Still seeing "Not Secure" warning?</a></li><li><a href="#browser-not-trusting-certificate" class="table-of-contents__link toc-highlight">Browser not trusting certificate?</a></li></ul></li><li><a href="#certificate-details" class="table-of-contents__link toc-highlight">Certificate Details</a></li><li><a href="#security-notes" class="table-of-contents__link toc-highlight">Security Notes</a></li><li><a href="#regenerate-certificates" class="table-of-contents__link toc-highlight">Regenerate Certificates</a></li></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/cli/">Getting Started</a></li></ul></div><div class="theme-layout-footer-column col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://icemortgagetechnology.slack.com/archives/C01M49EGP6Z" target="_blank" rel="noopener noreferrer" class="footer__link-item">Slack<svg width="13.5" height="13.5" aria-label="(opens in new tab)" class="iconExternalLink_gBgG"><use href="#theme-svg-external-link"></use></svg></a></li></ul></div><div class="theme-layout-footer-column col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://git.elliemae.io/platform-ui/pui-cli.git" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-label="(opens in new tab)" class="iconExternalLink_gBgG"><use href="#theme-svg-external-link"></use></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2026 ICE.</div></div></div></footer></div>
|
|
283
283
|
</body>
|
|
284
284
|
</html>
|
|
@@ -3,40 +3,38 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="generator" content="Docusaurus v3.10.1">
|
|
6
|
-
<title data-rh="true">Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17) | 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/stylelint-migration"><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="Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17) | Cli"><meta data-rh="true" name="description" content="This document covers Stylelint changes shipped with pui-cli 9 (Stylelint 17.x)."><meta data-rh="true" property="og:description" content="This document covers Stylelint changes shipped with pui-cli 9 (Stylelint 17.x)."><link data-rh="true" rel="icon" href="/cli/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/cli/stylelint-migration"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/stylelint-migration" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/stylelint-migration" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)","item":"https://pui.ice.com/cli/stylelint-migration"}]}</script><link rel="stylesheet" href="/cli/assets/css/styles.
|
|
7
|
-
<script src="/cli/assets/js/runtime~main.
|
|
8
|
-
<script src="/cli/assets/js/main.
|
|
6
|
+
<title data-rh="true">Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17) | 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/stylelint-migration"><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="Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17) | Cli"><meta data-rh="true" name="description" content="This document covers Stylelint changes shipped with pui-cli 9 (Stylelint 17.x)."><meta data-rh="true" property="og:description" content="This document covers Stylelint changes shipped with pui-cli 9 (Stylelint 17.x)."><link data-rh="true" rel="icon" href="/cli/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pui.ice.com/cli/stylelint-migration"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/stylelint-migration" hreflang="en"><link data-rh="true" rel="alternate" href="https://pui.ice.com/cli/stylelint-migration" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)","item":"https://pui.ice.com/cli/stylelint-migration"}]}</script><link rel="stylesheet" href="/cli/assets/css/styles.3cba4e67.css">
|
|
7
|
+
<script src="/cli/assets/js/runtime~main.9ecf1839.js" defer="defer"></script>
|
|
8
|
+
<script src="/cli/assets/js/main.3ae939d4.js" defer="defer"></script>
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<svg style="display: none;"><defs>
|
|
12
12
|
<symbol id="theme-svg-external-link" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
|
|
13
13
|
</defs></svg>
|
|
14
|
-
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||"light"),document.documentElement.setAttribute("data-theme-choice",t||"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="
|
|
14
|
+
<script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||"light"),document.documentElement.setAttribute("data-theme-choice",t||"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_uUOh" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="theme-layout-navbar navbar navbar--fixed-top"><div class="navbar__inner"><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/cli/"><div class="navbar__logo"><img src="/cli/img/logo.svg" alt="Cli" class="themedComponent_DNHH themedComponent--light_puUK"><img src="/cli/img/logo.svg" alt="Cli" class="themedComponent_DNHH themedComponent--dark_ytUh"></div><b class="navbar__title text--truncate">Cli</b></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/cli/">Getting Started</a><a class="navbar__item navbar__link" href="/cli/api">API</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href="https://git.elliemae.io/platform-ui/pui-cli.git" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-label="(opens in new tab)" class="iconExternalLink_gBgG"><use href="#theme-svg-external-link"></use></svg></a><div class="toggle_bwF7 colorModeToggle_QGVI"><button class="clean-btn toggleButton_Cu0l toggleButtonDisabled_OZ9s" type="button" disabled="" title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_njg9 lightToggleIcon_jmWU"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_njg9 darkToggleIcon_cwWx"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" aria-hidden="true" class="toggleIcon_njg9 systemToggleIcon_OGHn"><path fill="currentColor" d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"></path></svg></button></div><div class="navbarSearchContainer_WcYf"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="theme-layout-main main-wrapper mainWrapper_yECr"><div class="docsWrapper_uGqN"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_psYS" type="button"></button><div class="docRoot_xjvB"><aside class="theme-doc-sidebar-container docSidebarContainer_CacH"><div class="sidebarViewport_EpUQ"><div class="sidebar_Pceu"><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_NnMk"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="categoryLink_Uon2 menu__link menu__link--sublist" href="/cli/api/"><span title="Cli API" class="categoryLinkLabel_eWUU">Cli API</span></a><button aria-label="Expand sidebar category 'Cli API'" aria-expanded="false" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/eslint-rules-migration"><span title="ESLint rules migration guide (legacy → ESLint 10 flat config)" class="linkLabel_GXod">ESLint rules migration guide (legacy → ESLint 10 flat config)</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/"><span title="PUI CLI Documentation" class="linkLabel_GXod">PUI CLI Documentation</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/pui-cli-9-migration"><span title="pui-cli 9 migration guide" class="linkLabel_GXod">pui-cli 9 migration guide</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/ssl-certificate-setup"><span title="Trust SSL Certificate Guide" class="linkLabel_GXod">Trust SSL Certificate Guide</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/cli/stylelint-migration"><span title="Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)" class="linkLabel_GXod">Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)</span></a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/cli/usage-guide"><span title="Usage Guide" class="linkLabel_GXod">Usage Guide</span></a></li></ul></nav></div></div></aside><main class="docMainContainer_eyKo"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_Dj72"><div class="docItemContainer_Qzlb"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_BbJP" aria-label="Breadcrumbs"><ul class="breadcrumbs"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/cli/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_h1OG"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link">Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)</span></li></ul></nav><div class="tocCollapsible_SEmd theme-doc-toc-mobile tocMobile_GImu"><button type="button" class="clean-btn tocCollapsibleButton_wJia">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>Stylelint migration guide (pui-cli 8 → 9 / Stylelint 17)</h1></header>
|
|
15
15
|
<p>This document covers Stylelint changes shipped with <strong>pui-cli 9</strong> (Stylelint <strong>17.x</strong>).</p>
|
|
16
16
|
<p>For the full pui-cli 9 upgrade path, see <a class="" href="/cli/pui-cli-9-migration">pui-cli 9 migration guide</a>.</p>
|
|
17
17
|
<hr>
|
|
18
|
-
<h2 class="anchor
|
|
19
|
-
<table><thead><tr><th>Topic</th><th>Before (pui-cli 8)</th><th>After (pui-cli 9)</th></tr></thead><tbody><tr><td>Stylelint</td><td>15.x</td><td><strong>17.x</strong></td></tr><tr><td>Recommended preset</td><td><code>stylelint-config-recommended@14</code></td><td><strong><code>stylelint-config-recommended@18</code></strong></td></tr><tr><td>Styled-components</td><td><code>stylelint-config-styled-components</code> in <code>extends</code></td><td><strong>Removed</strong> — rules inlined in shared config</td></tr><tr><td>CSS-in-JS syntax</td><td><code>stylelint-processor-styled-components</code> / processors</td><td><strong><code>postcss-styled-syntax</code></strong> via <code>customSyntax</code></td></tr><tr><td>Config format</td><td><code>stylelint.config.cjs</code
|
|
18
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="at-a-glance">At a glance<a href="#at-a-glance" class="hash-link" aria-label="Direct link to At a glance" title="Direct link to At a glance" translate="no"></a></h2>
|
|
19
|
+
<table><thead><tr><th>Topic</th><th>Before (pui-cli 8)</th><th>After (pui-cli 9)</th></tr></thead><tbody><tr><td>Stylelint</td><td>15.x</td><td><strong>17.x</strong></td></tr><tr><td>Recommended preset</td><td><code>stylelint-config-recommended@14</code></td><td><strong><code>stylelint-config-recommended@18</code></strong></td></tr><tr><td>Styled-components</td><td><code>stylelint-config-styled-components</code> in <code>extends</code></td><td><strong>Removed</strong> — rules inlined in shared config</td></tr><tr><td>CSS-in-JS syntax</td><td><code>stylelint-processor-styled-components</code> / processors</td><td><strong><code>postcss-styled-syntax</code></strong> via <code>customSyntax</code></td></tr><tr><td>Config format</td><td><code>stylelint.config.cjs</code></td><td><strong><code>stylelint.config.mjs</code></strong></td></tr><tr><td>Consumer import</td><td><code>require('@elliemae/pui-cli').stylelintConfig</code></td><td><code>import { stylelintConfig } from '@elliemae/pui-cli/stylelint'</code></td></tr><tr><td>Package exports</td><td>CJS + ESM dual entry</td><td><strong>ESM only</strong> in pui-cli 9</td></tr></tbody></table>
|
|
20
20
|
<hr>
|
|
21
|
-
<h2 class="anchor
|
|
21
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="why-stylelint-config-styled-components-was-removed">Why <code>stylelint-config-styled-components</code> was removed<a href="#why-stylelint-config-styled-components-was-removed" class="hash-link" aria-label="Direct link to why-stylelint-config-styled-components-was-removed" title="Direct link to why-stylelint-config-styled-components-was-removed" translate="no"></a></h2>
|
|
22
22
|
<p><code>stylelint-config-styled-components@0.1.1</code> is unmaintained and references rules removed in Stylelint 17 (for example <code>no-missing-end-of-source-newline</code>). That caused config load failures after the Stylelint 17 upgrade.</p>
|
|
23
23
|
<p>The shared pui-cli config now inlines the small set of rules that package provided:</p>
|
|
24
24
|
<table><thead><tr><th>Rule</th><th>Value</th><th>Notes</th></tr></thead><tbody><tr><td><code>value-no-vendor-prefix</code></td><td><code>true</code></td><td>Same as styled-components preset</td></tr><tr><td><code>property-no-vendor-prefix</code></td><td><code>true</code></td><td>Same as styled-components preset</td></tr><tr><td><code>no-empty-source</code></td><td><code>null</code></td><td>Styled template files may be empty</td></tr><tr><td><code>selector-type-no-unknown</code></td><td><code>null</code></td><td>Allow styled-components DOM shims</td></tr><tr><td><code>function-no-unknown</code></td><td><code>null</code></td><td>Allow CSS-in-JS helper functions</td></tr></tbody></table>
|
|
25
25
|
<hr>
|
|
26
|
-
<h2 class="anchor
|
|
26
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="how-to-upgrade-a-repo">How to upgrade a repo<a href="#how-to-upgrade-a-repo" class="hash-link" aria-label="Direct link to How to upgrade a repo" title="Direct link to How to upgrade a repo" translate="no"></a></h2>
|
|
27
27
|
<ol>
|
|
28
28
|
<li class="">Upgrade <code>@elliemae/pui-cli</code> to v9 (Stylelint 17 is bundled as a dependency).</li>
|
|
29
29
|
<li class="">Replace your Stylelint config with the shared config (see below).</li>
|
|
30
30
|
<li class=""><strong>Delete</strong> any local workaround that filters <code>stylelint-config-styled-components</code> from <code>extends</code>.</li>
|
|
31
31
|
<li class="">Run <code>pui-cli lint</code> (or <code>pui-cli lint --css</code>).</li>
|
|
32
32
|
</ol>
|
|
33
|
-
<h3 class="anchor
|
|
34
|
-
<div class="language-javascript
|
|
35
|
-
<
|
|
36
|
-
<div class="language-javascript codeBlockContainer_uLrG theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_yDoo"><pre tabindex="0" class="prism-code language-javascript codeBlock_whMN thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_r5mI"><div class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic">// stylelint.config.cjs</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">const</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"> stylelintConfig </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">require</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">'@elliemae/pui-cli'</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">module</span><span class="token punctuation" style="color:#393A34">.</span><span class="token property-access">exports</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> stylelintConfig</span><span class="token punctuation" style="color:#393A34">;</span><br></div></code></pre></div></div>
|
|
37
|
-
<p><code>pui-cli lint</code> auto-detects <code>stylelint.config.mjs</code> first, then <code>stylelint.config.cjs</code>.</p>
|
|
33
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="esm-config">ESM config<a href="#esm-config" class="hash-link" aria-label="Direct link to ESM config" title="Direct link to ESM config" translate="no"></a></h3>
|
|
34
|
+
<div class="language-javascript codeBlockContainer_xJos theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_HrWh"><pre tabindex="0" class="prism-code language-javascript codeBlock_wqKj thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_tOUB"><div class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic">// stylelint.config.mjs</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword module" style="color:#00009f">import</span><span class="token plain"> </span><span class="token imports punctuation" style="color:#393A34">{</span><span class="token imports"> stylelintConfig </span><span class="token imports punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token keyword module" style="color:#00009f">from</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'@elliemae/pui-cli/stylelint'</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword module" style="color:#00009f">export</span><span class="token plain"> </span><span class="token keyword module" style="color:#00009f">default</span><span class="token plain"> stylelintConfig</span><span class="token punctuation" style="color:#393A34">;</span><br></div></code></pre></div></div>
|
|
35
|
+
<p><code>pui-cli lint</code> auto-detects <code>stylelint.config.mjs</code> first, then falls back to a local <code>stylelint.config.cjs</code> in the consumer repo (must not use <code>require('@elliemae/pui-cli')</code> — that entry is removed in pui-cli 9).</p>
|
|
38
36
|
<hr>
|
|
39
|
-
<h2 class="anchor
|
|
37
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="stylelint-17-breaking-changes-summary">Stylelint 17 breaking changes (summary)<a href="#stylelint-17-breaking-changes-summary" class="hash-link" aria-label="Direct link to Stylelint 17 breaking changes (summary)" title="Direct link to Stylelint 17 breaking changes (summary)" translate="no"></a></h2>
|
|
40
38
|
<p>Stylelint 17 is ESM-only internally and requires <strong>Node.js 20.19+</strong> (pui-cli 9 requires Node 24). Notable changes that may affect CI or custom plugins:</p>
|
|
41
39
|
<ul>
|
|
42
40
|
<li class=""><strong>Default <code>fix</code> mode</strong> is now <code>strict</code> (fixes only when the whole file can be safely autofixed).</li>
|
|
@@ -45,13 +43,13 @@
|
|
|
45
43
|
</ul>
|
|
46
44
|
<p>Full upstream details: <a href="https://stylelint.io/migration-guide/to-17" target="_blank" rel="noopener noreferrer" class="">Stylelint 17 migration guide</a>.</p>
|
|
47
45
|
<hr>
|
|
48
|
-
<h2 class="anchor
|
|
49
|
-
<h3 class="anchor
|
|
46
|
+
<h2 class="anchor anchorTargetStickyNavbar_a4V3" id="troubleshooting">Troubleshooting<a href="#troubleshooting" class="hash-link" aria-label="Direct link to Troubleshooting" title="Direct link to Troubleshooting" translate="no"></a></h2>
|
|
47
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="unknown-rule-no-missing-end-of-source-newline"><code>Unknown rule no-missing-end-of-source-newline</code><a href="#unknown-rule-no-missing-end-of-source-newline" class="hash-link" aria-label="Direct link to unknown-rule-no-missing-end-of-source-newline" title="Direct link to unknown-rule-no-missing-end-of-source-newline" translate="no"></a></h3>
|
|
50
48
|
<p>A dependency or local config still extends <code>stylelint-config-styled-components</code> or sets removed rules. Remove that extend and use the pui-cli shared config.</p>
|
|
51
|
-
<h3 class="anchor
|
|
52
|
-
<p>The Stylelint CLI must receive a config whose <strong>default export
|
|
53
|
-
<div class="language-javascript
|
|
54
|
-
<h3 class="anchor
|
|
55
|
-
<p>Ensure files are included in the lint glob (<code>app/**</code>, <code>lib/**</code> with <code>.{js,jsx,ts,tsx}</code> extensions). The shared config sets <code>customSyntax: 'postcss-styled-syntax'</code> for CSS-in-JS.</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col
|
|
49
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="no-rules-found-within-configuration"><code>No rules found within configuration</code><a href="#no-rules-found-within-configuration" class="hash-link" aria-label="Direct link to no-rules-found-within-configuration" title="Direct link to no-rules-found-within-configuration" translate="no"></a></h3>
|
|
50
|
+
<p>The Stylelint CLI must receive a config whose <strong>default export</strong> is the config object — not <code>{ stylelintConfig: { ... } }</code>. Re-export correctly:</p>
|
|
51
|
+
<div class="language-javascript codeBlockContainer_xJos theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_HrWh"><pre tabindex="0" class="prism-code language-javascript codeBlock_wqKj thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_tOUB"><div class="token-line" style="color:#393A34"><span class="token keyword module" style="color:#00009f">import</span><span class="token plain"> </span><span class="token imports punctuation" style="color:#393A34">{</span><span class="token imports"> stylelintConfig </span><span class="token imports punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token keyword module" style="color:#00009f">from</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'@elliemae/pui-cli/stylelint'</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword module" style="color:#00009f">export</span><span class="token plain"> </span><span class="token keyword module" style="color:#00009f">default</span><span class="token plain"> stylelintConfig</span><span class="token punctuation" style="color:#393A34">;</span><br></div></code></pre></div></div>
|
|
52
|
+
<h3 class="anchor anchorTargetStickyNavbar_a4V3" id="styled-components-files-not-linted">Styled-components files not linted<a href="#styled-components-files-not-linted" class="hash-link" aria-label="Direct link to Styled-components files not linted" title="Direct link to Styled-components files not linted" translate="no"></a></h3>
|
|
53
|
+
<p>Ensure files are included in the lint glob (<code>app/**</code>, <code>lib/**</code> with <code>.{js,jsx,ts,tsx}</code> extensions). The shared config sets <code>customSyntax: 'postcss-styled-syntax'</code> for CSS-in-JS.</p></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="row margin-top--sm theme-doc-footer-edit-meta-row"><div class="col noPrint_wx0h"><a href="https://git.elliemae.io/platform-ui/pui-cli.git/docs/stylelint-migration.md" target="_blank" rel="noopener noreferrer" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_HJtS" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><div class="col lastUpdated_rV1z"></div></div></footer></article><nav class="docusaurus-mt-lg pagination-nav" aria-label="Docs pages"><a class="pagination-nav__link pagination-nav__link--prev" href="/cli/ssl-certificate-setup"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Trust SSL Certificate Guide</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/cli/usage-guide"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Usage Guide</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_Vnv3 thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#at-a-glance" class="table-of-contents__link toc-highlight">At a glance</a></li><li><a href="#why-stylelint-config-styled-components-was-removed" class="table-of-contents__link toc-highlight">Why <code>stylelint-config-styled-components</code> was removed</a></li><li><a href="#how-to-upgrade-a-repo" class="table-of-contents__link toc-highlight">How to upgrade a repo</a><ul><li><a href="#esm-config" class="table-of-contents__link toc-highlight">ESM config</a></li></ul></li><li><a href="#stylelint-17-breaking-changes-summary" class="table-of-contents__link toc-highlight">Stylelint 17 breaking changes (summary)</a></li><li><a href="#troubleshooting" class="table-of-contents__link toc-highlight">Troubleshooting</a><ul><li><a href="#unknown-rule-no-missing-end-of-source-newline" class="table-of-contents__link toc-highlight"><code>Unknown rule no-missing-end-of-source-newline</code></a></li><li><a href="#no-rules-found-within-configuration" class="table-of-contents__link toc-highlight"><code>No rules found within configuration</code></a></li><li><a href="#styled-components-files-not-linted" class="table-of-contents__link toc-highlight">Styled-components files not linted</a></li></ul></li></ul></div></div></div></div></main></div></div></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/cli/">Getting Started</a></li></ul></div><div class="theme-layout-footer-column col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://icemortgagetechnology.slack.com/archives/C01M49EGP6Z" target="_blank" rel="noopener noreferrer" class="footer__link-item">Slack<svg width="13.5" height="13.5" aria-label="(opens in new tab)" class="iconExternalLink_gBgG"><use href="#theme-svg-external-link"></use></svg></a></li></ul></div><div class="theme-layout-footer-column col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://git.elliemae.io/platform-ui/pui-cli.git" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-label="(opens in new tab)" class="iconExternalLink_gBgG"><use href="#theme-svg-external-link"></use></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2026 ICE.</div></div></div></footer></div>
|
|
56
54
|
</body>
|
|
57
55
|
</html>
|