Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Algolia Docsearch to docs website #1365

Merged
merged 28 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
fcfc8b2
Added Algolia Docsearch
r100-stack Jun 16, 2023
7614a21
yarn lock
r100-stack Jun 25, 2023
bb5be19
Merge remote-tracking branch 'origin/main' into rohan/algolia-docsearch
r100-stack Jun 25, 2023
fe497ca
.gitignore
r100-stack Jul 12, 2023
9d30415
docsearch custom styling
r100-stack Jul 12, 2023
77428b1
Use yarn docsearch packages
r100-stack Jul 12, 2023
c427145
yarn.lock
r100-stack Jul 12, 2023
d4ad754
Prefixed Algolia env variables with PUBLIC_
r100-stack Jul 12, 2023
2517a8a
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Jul 13, 2023
bb3a7c3
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Jul 13, 2023
0b07023
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Jul 13, 2023
9156577
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Jul 13, 2023
814e2e9
Revert back some test images
r100-stack Jul 13, 2023
09ff2ad
Readded algolia yarn packages
r100-stack Jul 13, 2023
a16f453
Added .env to root .gitignore instead of apps/website/.gitignore
r100-stack Jul 13, 2023
5a6d195
yarn.lock
r100-stack Jul 13, 2023
3f5a944
Added a separate AlgoliaSearch component. Also tried cascade layers, …
r100-stack Jul 13, 2023
05eea2d
Removed testing code
r100-stack Jul 13, 2023
5b1dacf
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Aug 1, 2023
7c9e00d
Fixed Algolia search incorrect light theme styles. Used body instead …
r100-stack Aug 1, 2023
232ed8c
Changed some styles
r100-stack Aug 1, 2023
3236957
Added transformItems to remove the base url from the link of an Algol…
r100-stack Aug 1, 2023
fa7f566
Removed box shadow from docsearch hit
r100-stack Aug 1, 2023
89f9c8e
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Aug 1, 2023
82507a9
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Aug 3, 2023
9632db7
Changed layer name from algolia to thirdparty.algolia
r100-stack Aug 4, 2023
76d31b1
Merge branch 'dev' into rohan/algolia-docsearch
r100-stack Aug 4, 2023
ba09a7b
Changed from semver 7.5.3 to 7.5.4
r100-stack Aug 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ yarn-error.log*
.env.development.local
.env.test.local
.env.production.local

features/search
3 changes: 3 additions & 0 deletions apps/website/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# build output
dist/
.output/

# Environment variables
.env
mayank99 marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"@astrojs/mdx": "^0.17.0",
"@astrojs/react": "^2.0.2",
"@astrojs/sitemap": "^1.0.1",
"@docsearch/css": "3",
"@docsearch/js": "3",
"@fontsource/noto-sans": "^4.5.11",
"@fontsource/noto-sans-mono": "^4.5.11",
"@itwin/itwinui-react": "*",
Expand Down
6 changes: 2 additions & 4 deletions apps/website/src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ const { pathname } = Astro.url;
<nav aria-label='Global site'>
{pathname === '/' && <a href='/docs'>Documentation</a>}

{pathname.startsWith('/docs') && <algolia-searchbox />}

<a href='https://www.github.com/iTwin/iTwinUI' class='github-link'>
<VisuallyHidden>GitHub</VisuallyHidden>

Expand Down Expand Up @@ -86,10 +88,6 @@ const { pathname } = Astro.url;
gap: var(--space-2);
align-items: center;
margin-left: auto;

@media (max-width: 50em) {
display: none;
mayank99 marked this conversation as resolved.
Show resolved Hide resolved
}
}

a {
Expand Down
21 changes: 21 additions & 0 deletions apps/website/src/pages/_global.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import '@fontsource/noto-sans/600.css';
import '@fontsource/noto-sans/300.css';
import '@fontsource/noto-sans/800.css';

import '@docsearch/css';
Copy link
Contributor

@mayank99 mayank99 Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you import this inside a style tag, you will be able to use cascade layers like this:

@import '@docsearch/css' layer(algolia);

this will avoid the need for !important when overriding variables

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the idea! I tried this but unfortunately could not get it working. Even with importing into the cascade layer, I found some styles applied outside the layer. I could not figure out why.

Here is the current code. Can you please take a look?
https://github.com/iTwin/iTwinUI/pull/1365/files#diff-595fc35b63ffd581acefb86333565cf14eb0a0747438807742a45f57f98e4ebdR18-R30

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bug in astro that they are not interested in fixing. withastro/astro#5857

You might be able to work around it by adding the variables to body instead of :root.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I am now using body and I don't need !important anymore. The Algolia styles still appear outside the cascade layer, but the <style> that contains body (instead of :root) appears higher in the layer specificity list. Just wondering, why could that be the case?

Here is the screenshot where the first layer is the Algolia class, the second layer with body are my classes, the third layer with :root is the duplicate layer, and the fourth layer are the algolia styles inside the cascade layer.

image
image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you asking why body variables take preference over :root? that's because they are lower in the dom tree, so they override anything above it, regardless of specificity.

the layer issue is also just a dev-only thing. i'd suggest inspecting prod build to confirm everything is working

yarn build --filter=website
cd apps/website && yarn preview

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you asking why body variables take preference over :root? that's because they are lower in the dom tree, so they override anything above it, regardless of specificity.

body has a specificity of (0, 0, 1) and :root has a specificity of (0, 1, 0). So I first was a bit confused regarding why body took preference over :root.

Upon looking in the inpect panel, I saw that the layer with body is higher list of layers in the inspect panel. But I am not sure why did the body layer appear higher than the :root layer and thus override the styles in the layer with :root.

the layer issue is also just a dev-only thing. i'd suggest inspecting prod build to confirm everything is working

Sounds good, will inspect prod version.


const { content = {} } = Astro.props;
---

Expand Down Expand Up @@ -213,6 +215,14 @@ const { content = {} } = Astro.props;
--border-radius-1: var(--space-1);
--transition-speed: 0.2s;
--transition-speed-slow: 0.4s;

// Algolia DocSearch: https://docsearch.algolia.com/docs/styling/
--docsearch-primary-color: var(--color-highlight-4) !important;
--docsearch-searchbox-background: var(--color-background-1) !important;
--docsearch-searchbox-focus-background: var(--color-background-1) !important;
--docsearch-hit-background: var(--color-background-2) !important;
--docsearch-modal-background: var(--color-background-2) !important;
--docsearch-footer-background: var(--color-background-2) !important;
}
</style>

Expand Down Expand Up @@ -250,5 +260,16 @@ const { content = {} } = Astro.props;
element.setAttribute('tabindex', '0');
});
</script> -->
<script>
mayank99 marked this conversation as resolved.
Show resolved Hide resolved
import docsearch from '@docsearch/js';

docsearch({
appId: import.meta.env.PUBLIC_ALGOLIA_APP_ID,
apiKey: import.meta.env.PUBLIC_ALGOLIA_API_KEY,
indexName: import.meta.env.PUBLIC_ALGOLIA_INDEX_NAME,
container: 'algolia-searchbox',
debug: false, // Set debug to true if you want to inspect the modal
});
</script>
</body>
</html>
191 changes: 185 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,137 @@
# yarn lockfile v1


"@algolia/[email protected]":
version "1.9.3"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-core/-/autocomplete-core-1.9.3.tgz#1d56482a768c33aae0868c8533049e02e8961be7"
integrity sha512-009HdfugtGCdC4JdXUbVJClA0q0zh24yyePn+KUGk3rP7j8FEe/m5Yo/z65gn6nP/cM39PxpzqKrL7A6fP6PPw==
dependencies:
"@algolia/autocomplete-plugin-algolia-insights" "1.9.3"
"@algolia/autocomplete-shared" "1.9.3"

"@algolia/[email protected]":
version "1.9.3"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-plugin-algolia-insights/-/autocomplete-plugin-algolia-insights-1.9.3.tgz#9b7f8641052c8ead6d66c1623d444cbe19dde587"
integrity sha512-a/yTUkcO/Vyy+JffmAnTWbr4/90cLzw+CC3bRbhnULr/EM0fGNvM13oQQ14f2moLMcVDyAx/leczLlAOovhSZg==
dependencies:
"@algolia/autocomplete-shared" "1.9.3"

"@algolia/[email protected]":
version "1.9.3"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.9.3.tgz#64cca4a4304cfcad2cf730e83067e0c1b2f485da"
integrity sha512-d4qlt6YmrLMYy95n5TB52wtNDr6EgAIPH81dvvvW8UmuWRgxEtY0NJiPwl/h95JtG2vmRM804M0DSwMCNZlzRA==
dependencies:
"@algolia/autocomplete-shared" "1.9.3"

"@algolia/[email protected]":
version "1.9.3"
resolved "https://registry.yarnpkg.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.9.3.tgz#2e22e830d36f0a9cf2c0ccd3c7f6d59435b77dfa"
integrity sha512-Wnm9E4Ye6Rl6sTTqjoymD+l8DjSTHsHboVRYrKgEt8Q7UHm9nYbqhN/i0fhUYA3OAEH7WA8x3jfpnmJm3rKvaQ==

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.18.0.tgz#7bc0c9d8d346ed01384f4cf0dfaf6ba29ad5c20c"
integrity sha512-rUAs49NLlO8LVLgGzM4cLkw8NJLKguQLgvFmBEe3DyzlinoqxzQMHfKZs6TSq4LZfw/z8qHvRo8NcTAAUJQLcw==
dependencies:
"@algolia/cache-common" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/cache-common/-/cache-common-4.18.0.tgz#aac33afac53e191c595d14a4bb7e6d81aae4836f"
integrity sha512-BmxsicMR4doGbeEXQu8yqiGmiyvpNvejYJtQ7rvzttEAMxOPoWEHrWyzBQw4x7LrBY9pMrgv4ZlUaF8PGzewHg==

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/cache-in-memory/-/cache-in-memory-4.18.0.tgz#9a40294c734819724a1b4e86afd5a7d4be9bcc2f"
integrity sha512-evD4dA1nd5HbFdufBxLqlJoob7E2ozlqJZuV3YlirNx5Na4q1LckIuzjNYZs2ddLzuTc/Xd5O3Ibf7OwPskHxw==
dependencies:
"@algolia/cache-common" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/client-account/-/client-account-4.18.0.tgz#202d9e06b41e06e45cb919107bed0a65106883cc"
integrity sha512-XsDnlROr3+Z1yjxBJjUMfMazi1V155kVdte6496atvBgOEtwCzTs3A+qdhfsAnGUvaYfBrBkL0ThnhMIBCGcew==
dependencies:
"@algolia/client-common" "4.18.0"
"@algolia/client-search" "4.18.0"
"@algolia/transporter" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/client-analytics/-/client-analytics-4.18.0.tgz#030b026bd9c13cb15437e35e4456bde25b0f1298"
integrity sha512-chEUSN4ReqU7uRQ1C8kDm0EiPE+eJeAXiWcBwLhEynfNuTfawN9P93rSZktj7gmExz0C8XmkbBU19IQ05wCNrQ==
dependencies:
"@algolia/client-common" "4.18.0"
"@algolia/client-search" "4.18.0"
"@algolia/requester-common" "4.18.0"
"@algolia/transporter" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/client-common/-/client-common-4.18.0.tgz#e080c393e1becdd5f5f008815c57d3248d3a8483"
integrity sha512-7N+soJFP4wn8tjTr3MSUT/U+4xVXbz4jmeRfWfVAzdAbxLAQbHa0o/POSdTvQ8/02DjCLelloZ1bb4ZFVKg7Wg==
dependencies:
"@algolia/requester-common" "4.18.0"
"@algolia/transporter" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/client-personalization/-/client-personalization-4.18.0.tgz#9042ce2773120158ad25e1dfb28d706cebb48dc2"
integrity sha512-+PeCjODbxtamHcPl+couXMeHEefpUpr7IHftj4Y4Nia1hj8gGq4VlIcqhToAw8YjLeCTfOR7r7xtj3pJcYdP8A==
dependencies:
"@algolia/client-common" "4.18.0"
"@algolia/requester-common" "4.18.0"
"@algolia/transporter" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/client-search/-/client-search-4.18.0.tgz#83b37aacbe254fd7892154fe7a8f0395bd01c682"
integrity sha512-F9xzQXTjm6UuZtnsLIew6KSraXQ0AzS/Ee+OD+mQbtcA/K1sg89tqb8TkwjtiYZ0oij13u3EapB3gPZwm+1Y6g==
dependencies:
"@algolia/client-common" "4.18.0"
"@algolia/requester-common" "4.18.0"
"@algolia/transporter" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/logger-common/-/logger-common-4.18.0.tgz#0e6a14e8b91fcb7861595169e1ca57cf219f8255"
integrity sha512-46etYgSlkoKepkMSyaoriSn2JDgcrpc/nkOgou/lm0y17GuMl9oYZxwKKTSviLKI5Irk9nSKGwnBTQYwXOYdRg==

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/logger-console/-/logger-console-4.18.0.tgz#3636e4b3e2154ee2ee2db2e5be2857203c9f7047"
integrity sha512-3P3VUYMl9CyJbi/UU1uUNlf6Z8N2ltW3Oqhq/nR7vH0CjWv32YROq3iGWGxB2xt3aXobdUPXs6P0tHSKRmNA6g==
dependencies:
"@algolia/logger-common" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.18.0.tgz#90ac575946e0ab196cdd87593b3fed563a32a9af"
integrity sha512-/AcWHOBub2U4TE/bPi4Gz1XfuLK6/7dj4HJG+Z2SfQoS1RjNLshZclU3OoKIkFp8D2NC7+BNsPvr9cPLyW8nyQ==
dependencies:
"@algolia/requester-common" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/requester-common/-/requester-common-4.18.0.tgz#12984aa4b10679ffa863536ceeae33cdd0ee4d42"
integrity sha512-xlT8R1qYNRBCi1IYLsx7uhftzdfsLPDGudeQs+xvYB4sQ3ya7+ppolB/8m/a4F2gCkEO6oxpp5AGemM7kD27jA==

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/requester-node-http/-/requester-node-http-4.18.0.tgz#8046b141c784cc7778bcf51e8a7888cce463754b"
integrity sha512-TGfwj9aeTVgOUhn5XrqBhwUhUUDnGIKlI0kCBMdR58XfXcfdwomka+CPIgThRbfYw04oQr31A6/95ZH2QVJ9UQ==
dependencies:
"@algolia/requester-common" "4.18.0"

"@algolia/[email protected]":
version "4.18.0"
resolved "https://registry.yarnpkg.com/@algolia/transporter/-/transporter-4.18.0.tgz#18de645c20fc5703196b2ad4fec55e98c315a1d8"
integrity sha512-xbw3YRUGtXQNG1geYFEDDuFLZt4Z8YNKbamHPkzr3rWc6qp4/BqEeXcI2u/P/oMq2yxtXgMxrCxOPA8lyIe5jw==
dependencies:
"@algolia/cache-common" "4.18.0"
"@algolia/logger-common" "4.18.0"
"@algolia/requester-common" "4.18.0"

"@ampproject/remapping@^2.2.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d"
Expand Down Expand Up @@ -1288,9 +1419,9 @@
regenerator-runtime "^0.13.11"

"@babel/runtime@^7.7.2":
version "7.21.5"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.5.tgz#8492dddda9644ae3bda3b45eabe87382caee7200"
integrity sha512-8jI69toZqqcsnqGGqwGS4Qb1VwLOEp4hz+CXPywcvjs60u3B4Pom/U/7rm4W8tMOYEB+E9wgD0mW1l3r8qlI9Q==
version "7.22.6"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.22.6.tgz#57d64b9ae3cff1d67eb067ae117dac087f5bd438"
integrity sha512-wDb5pWm4WDdF6LFUde3Jl8WzPA+3ZbxYqkC6xAXuD3irdEHN1k0NfTRrJD8ZD378SJ61miMLCqIOXYhd8x+AJQ==
dependencies:
regenerator-runtime "^0.13.11"

Expand Down Expand Up @@ -1720,6 +1851,29 @@
resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70"
integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==

"@docsearch/css@3", "@docsearch/[email protected]":
version "3.5.1"
resolved "https://registry.yarnpkg.com/@docsearch/css/-/css-3.5.1.tgz#4adf9884735bbfea621c3716e80ea97baa419b73"
integrity sha512-2Pu9HDg/uP/IT10rbQ+4OrTQuxIWdKVUEdcw9/w7kZJv9NeHS6skJx1xuRiFyoGKwAzcHXnLp7csE99sj+O1YA==

"@docsearch/js@3":
version "3.5.1"
resolved "https://registry.yarnpkg.com/@docsearch/js/-/js-3.5.1.tgz#6d8de3b4fcf7de94462c0e592e333efa9ebbbabd"
integrity sha512-EXi8de5njxgP6TV3N9ytnGRLG9zmBNTEZjR4VzwPcpPLbZxxTLG2gaFyJyKiFVQxHW/DPlMrDJA3qoRRGEkgZw==
dependencies:
"@docsearch/react" "3.5.1"
preact "^10.0.0"

"@docsearch/[email protected]":
version "3.5.1"
resolved "https://registry.yarnpkg.com/@docsearch/react/-/react-3.5.1.tgz#35f4a75f948211d8bb6830d2147c575f96a85274"
integrity sha512-t5mEODdLzZq4PTFAm/dvqcvZFdPDMdfPE5rJS5SC8OUq9mPzxEy6b+9THIqNM9P0ocCb4UC5jqBrxKclnuIbzQ==
dependencies:
"@algolia/autocomplete-core" "1.9.3"
"@algolia/autocomplete-preset-algolia" "1.9.3"
"@docsearch/css" "3.5.1"
algoliasearch "^4.0.0"

"@emmetio/abbreviation@^2.2.3":
version "2.2.3"
resolved "https://registry.yarnpkg.com/@emmetio/abbreviation/-/abbreviation-2.2.3.tgz#2b3c0383c1a4652f677d5b56fb3f1616fe16ef10"
Expand Down Expand Up @@ -4713,6 +4867,26 @@ ajv@^8.0.1:
require-from-string "^2.0.2"
uri-js "^4.2.2"

algoliasearch@^4.0.0:
version "4.18.0"
resolved "https://registry.yarnpkg.com/algoliasearch/-/algoliasearch-4.18.0.tgz#1183ad0384a5b2c14f381c3a361da611acc8edb3"
integrity sha512-pCuVxC1SVcpc08ENH32T4sLKSyzoU7TkRIDBMwSLfIiW+fq4znOmWDkAygHZ6pRcO9I1UJdqlfgnV7TRj+MXrA==
dependencies:
"@algolia/cache-browser-local-storage" "4.18.0"
"@algolia/cache-common" "4.18.0"
"@algolia/cache-in-memory" "4.18.0"
"@algolia/client-account" "4.18.0"
"@algolia/client-analytics" "4.18.0"
"@algolia/client-common" "4.18.0"
"@algolia/client-personalization" "4.18.0"
"@algolia/client-search" "4.18.0"
"@algolia/logger-common" "4.18.0"
"@algolia/logger-console" "4.18.0"
"@algolia/requester-browser-xhr" "4.18.0"
"@algolia/requester-common" "4.18.0"
"@algolia/requester-node-http" "4.18.0"
"@algolia/transporter" "4.18.0"

ansi-align@^3.0.0, ansi-align@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59"
Expand Down Expand Up @@ -12206,6 +12380,11 @@ [email protected], [email protected], postcss@^7, postcss@^8.3.11, postcss@^8.4.21, po
picocolors "^1.0.0"
source-map-js "^1.0.2"

preact@^10.0.0:
version "10.16.0"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.16.0.tgz#68a06d70b191b8a313ea722d61e09c6b2a79a37e"
integrity sha512-XTSj3dJ4roKIC93pald6rWuB2qQJO9gO2iLLyTe87MrjQN+HklueLsmskbywEWqCHlclgz3/M4YLL2iBr9UmMA==

preferred-pm@^3.0.0, preferred-pm@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/preferred-pm/-/preferred-pm-3.0.3.tgz#1b6338000371e3edbce52ef2e4f65eb2e73586d6"
Expand Down Expand Up @@ -15548,9 +15727,9 @@ yallist@^4.0.0:
integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==

yaml@^1.10.0, yaml@^1.10.2, yaml@^2.2.1, yaml@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.2.tgz#ec551ef37326e6d42872dad1970300f8eb83a073"
integrity sha512-CBKFWExMn46Foo4cldiChEzn7S7SRV+wqiluAb6xmueD/fGyRHIhX8m14vVGgeFWjN540nKCNVj6P21eQjgTuA==
version "2.3.1"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b"
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==

yargs-parser@^13.1.2:
version "13.1.2"
Expand Down
Loading