Skip to content

Commit

Permalink
Merge branch 'main' into chris/track-astro-integration-keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored Oct 8, 2024
2 parents 3855fa6 + 7fb423a commit 674cf67
Show file tree
Hide file tree
Showing 477 changed files with 372 additions and 481 deletions.
6 changes: 6 additions & 0 deletions scripts/integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,17 @@
"frameworks": {
"keywords": ["renderer"]
},
"loaders": {
"keywords": ["astro-loader"]
},
"performance+seo": {
"keywords": ["seo", "performance", "perf", "optimization"]
},
"toolbar": {
"keywords": ["devtools", "dev-overlay", "dev-toolbar"]
},
"utilities": {
"keywords": ["tooling", "utils", "utility"]
}
},
"featured": [
Expand Down
4 changes: 1 addition & 3 deletions scripts/integrations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ export function getOverrides(packageName) {
* @returns {String[]}
*/
export function getCategoriesForKeyword(keyword) {
const categories = keywordToCategories.has(keyword)
return keywordToCategories.has(keyword)
? Array.from(keywordToCategories.get(keyword))
: [];

return categories.length ? categories : ['css+ui'];
}

export function badgeForPackage(pkg) {
Expand Down
4 changes: 4 additions & 0 deletions scripts/update-integrations.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ async function getIntegrationFiles() {
function normalizePackageDetails(data, pkg) {
const keywordCategories = (data.keywords ?? []).flatMap(getCategoriesForKeyword);

if (keywordCategories.length === 0) {
keywordCategories.push('uncategorized');
}

const toolbar = getToolbarPackagePriority(pkg);
const official = isOfficial(pkg);

Expand Down
3 changes: 3 additions & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ export const IntegrationCategories = new Map([
['recent', 'Recently Added'],
['official', 'Official'],
['frameworks', 'Frameworks'],
['loaders', 'Loaders'],
['adapters', 'Adapters'],
['css+ui', 'CSS + UI'],
['performance+seo', 'Performance + SEO'],
['analytics', 'Analytics'],
['accessibility', 'Accessibility'],
['toolbar', 'Dev Toolbar'],
['utilities', 'Utilities'],
['uncategorized', 'Uncategorized'],
] as const);

const seoSchema = z.object({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@adammatthiesen/astro-commercejs"
title: "@adammatthiesen/astro-commercejs"
description: An Astro Integration to bring the CommerceJS SDK into Astro snap in package.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@adammatthiesen/astro-commercejs
homepageUrl: https://github.com/adammatthiesen/astro-commercejs
downloads: 15
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@advanced-astrolottie.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@advanced-astro/lottie"
title: "@advanced-astro/lottie"
description: The next level 🔥 experience of Astro 🚀 in a frenzy of Lottie wizardry 🪄
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@advanced-astro/lottie
repoUrl: https://github.com/advanced-astro/lottie
homepageUrl: https://github.com/advanced-astro/lottie#readme.md
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@advanced-astrotoast.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@advanced-astro/toast"
title: "@advanced-astro/toast"
description: astro-toast is a simple component for displaying toasts on your website.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@advanced-astro/toast
homepageUrl: https://github.com/advenced-astro/toast
downloads: 7
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@aeonkitastro.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@aeonkit/astro"
title: "@aeonkit/astro"
description: A collection of useful Astro components from Aeonkit
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@aeonkit/astro
homepageUrl: https://www.npmjs.com/package/@aeonkit/astro
downloads: 58
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@altanoastro-html-to-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@altano/astro-html-to-image"
title: "@altano/astro-html-to-image"
description: Render Astro components to images
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@altano/astro-html-to-image
repoUrl: https://github.com/altano/npm-packages
homepageUrl: https://github.com/altano/npm-packages/tree/main/packages/astro-html-to-image
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@altanoastro-opengraph-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@altano/astro-opengraph-image"
title: "@altano/astro-opengraph-image"
description: Render Open Graph Images from Astro Components
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@altano/astro-opengraph-image
repoUrl: https://github.com/altano/npm-packages
homepageUrl: https://github.com/altano/npm-packages/tree/main/packages/astro-opengraph-image
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@amdglobalastro-i18next.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ title: "@amdglobal/astro-i18next"
description: An astro integration of i18next + some utility components to help
you translate your astro websites!
categories:
- css+ui
- performance+seo
npmUrl: https://www.npmjs.com/package/@amdglobal/astro-i18next
repoUrl: https://github.com/amdglobal/astro-i18next
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@antonyfarisdeno-astro-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@antonyfaris/deno-astro-adapter"
title: "@antonyfaris/deno-astro-adapter"
description: Deploy your Astro site to a Deno server
categories:
- css+ui
- adapters
npmUrl: https://www.npmjs.com/package/@antonyfaris/deno-astro-adapter
repoUrl: https://github.com/antonyfaris/deno-astro-adapter
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@aqzhyigoogle-analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@aqzhyi/google-analytics"
title: "@aqzhyi/google-analytics"
description: Google Analytics (GA4) library
categories:
- css+ui
- analytics
- recent
npmUrl: https://www.npmjs.com/package/@aqzhyi/google-analytics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-community/astro-embed-link-preview"
title: "@astro-community/astro-embed-link-preview"
description: Component to embed a website’s OpenGraph image and metadata on your Astro site
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-community/astro-embed-link-preview
repoUrl: https://github.com/delucis/astro-embed
homepageUrl: https://astro-embed.netlify.app/components/link-preview/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-community/astro-embed-twitter"
title: "@astro-community/astro-embed-twitter"
description: Component to easily embed Tweets on your Astro site
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-community/astro-embed-twitter
repoUrl: https://github.com/delucis/astro-embed
homepageUrl: https://astro-embed.netlify.app/components/twitter/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-community/astro-embed-vimeo"
title: "@astro-community/astro-embed-vimeo"
description: Component to easily embed Vimeo videos on your Astro site
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-community/astro-embed-vimeo
repoUrl: https://github.com/delucis/astro-embed
homepageUrl: https://astro-embed.netlify.app/components/vimeo/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-community/astro-embed-youtube"
title: "@astro-community/astro-embed-youtube"
description: Component to easily embed YouTube videos on your Astro site
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-community/astro-embed-youtube
repoUrl: https://github.com/delucis/astro-embed
homepageUrl: https://astro-embed.netlify.app/components/youtube/
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-componentbutton.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-component/button"
title: "@astro-component/button"
description: Astro js Button Component - 0 Javascript
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-component/button
repoUrl: https://github.com/astro-component/button
homepageUrl: https://github.com/astro-component/button#readme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "@astro-github-elements/clipboard-copy"
description: An Astro wrapper for the '@github/clipboard-copy' web component, an
easy to use copy to clipboard button
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-github-elements/clipboard-copy
repoUrl: https://github.com/BryceRussell/astro-github-elements
homepageUrl: https://github.com/BryceRussell/astro-github-elements/tree/main/packages/clipboard-copy#readme
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-github-elementstime.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-github-elements/time"
title: "@astro-github-elements/time"
description: An Astro wrapper for the '@github/relative-time-element' package
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-github-elements/time
repoUrl: https://github.com/BryceRussell/astro-github-elements
homepageUrl: https://github.com/BryceRussell/astro-github-elements/tree/main/packages/time#readme
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-openapibackend.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-openapi/backend"
title: "@astro-openapi/backend"
description: An Astro JS Server-side-rendering (SSR) requests adapter for OpenAPI Backend.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-openapi/backend
homepageUrl: https://www.npmjs.com/package/@astro-openapi/backend
downloads: 22
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-openapibundler.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-openapi/bundler"
title: "@astro-openapi/bundler"
description: See project documentation.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-openapi/bundler
homepageUrl: https://www.npmjs.com/package/@astro-openapi/bundler
downloads: 20
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-openapigui-elements.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-openapi/gui-elements"
title: "@astro-openapi/gui-elements"
description: See project documentation.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-openapi/gui-elements
homepageUrl: https://www.npmjs.com/package/@astro-openapi/gui-elements
downloads: 19
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-openapigui-redoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-openapi/gui-redoc"
title: "@astro-openapi/gui-redoc"
description: See project documentation.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-openapi/gui-redoc
homepageUrl: https://www.npmjs.com/package/@astro-openapi/gui-redoc
downloads: 26
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-openapigui-swagger.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-openapi/gui-swagger"
title: "@astro-openapi/gui-swagger"
description: See project documentation.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-openapi/gui-swagger
homepageUrl: https://www.npmjs.com/package/@astro-openapi/gui-swagger
downloads: 26
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-openapitypegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-openapi/typegen"
title: "@astro-openapi/typegen"
description: See project documentation.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-openapi/typegen
homepageUrl: https://www.npmjs.com/package/@astro-openapi/typegen
downloads: 23
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-reactivevalidator.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-reactive/validator"
title: "@astro-reactive/validator"
description: Form validation library for Astro 🔥
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-reactive/validator
repoUrl: https://github.com/astro-reactive/astro-reactive
homepageUrl: https://astro-reactive.js.org
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-teireact.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-tei/react"
title: "@astro-tei/react"
description: Astro component for TEI as Custom Elements with React support
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-tei/react
repoUrl: https://github.com/raffazizzi/astro-tei
homepageUrl: https://github.com/raffazizzi/astro-tei#readme
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-utilscontext.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-utils/context"
title: "@astro-utils/context"
description: React like Context for astro.js
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-utils/context
repoUrl: https://github.com/withastro-utils/utils
homepageUrl: https://withastro-utils.github.io/docs/
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-utilsexpress-endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-utils/express-endpoints"
title: "@astro-utils/express-endpoints"
description: Express-like framework for Astro Endpoints
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-utils/express-endpoints
repoUrl: https://github.com/withastro-utils/utils
homepageUrl: https://withastro-utils.github.io/docs/
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-utilsformidable.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astro-utils/formidable"
title: "@astro-utils/formidable"
description: A wrapper for formidable to use with Astro
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-utils/formidable
repoUrl: https://github.com/withastro-utils/utils
homepageUrl: https://withastro-utils.github.io/docs/
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro-utilsforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "@astro-utils/forms"
description: Server component for Astro (call server functions from client side
with validation and state management)
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro-utils/forms
repoUrl: https://github.com/withastro-utils/utils
homepageUrl: https://withastro-utils.github.io/docs/
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astro_uibutton.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "@astro_ui/button"
description: This is a template for an Astro component library. Use this
template for writing components to use in multiple projects or publish to NPM.
categories:
- css+ui
- uncategorized
npmUrl: https://www.npmjs.com/package/@astro_ui/button
homepageUrl: https://www.npmjs.com/package/@astro_ui/button
downloads: 4
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@astrojs-awsadapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@astrojs-aws/adapter"
title: "@astrojs-aws/adapter"
description: The Astro adapter of AWS Serverless
categories:
- css+ui
- adapters
npmUrl: https://www.npmjs.com/package/@astrojs-aws/adapter
repoUrl: https://github.com/helbing/astrojs-aws
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@astrojscloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@astrojs/cloudflare"
title: "@astrojs/cloudflare"
description: Deploy your site to Cloudflare Workers/Pages
categories:
- css+ui
- adapters
- official
npmUrl: https://www.npmjs.com/package/@astrojs/cloudflare
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@astrojsdeno.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@astrojs/deno"
title: "@astrojs/deno"
description: Deploy your site to a Deno server
categories:
- css+ui
- adapters
- official
npmUrl: https://www.npmjs.com/package/@astrojs/deno
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astrojsmarkdoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astrojs/markdoc"
title: "@astrojs/markdoc"
description: Add support for Markdoc in your Astro site
categories:
- css+ui
- uncategorized
- official
npmUrl: https://www.npmjs.com/package/@astrojs/markdoc
repoUrl: https://github.com/withastro/astro
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astrojsmarkdown-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astrojs/markdown-component"
title: "@astrojs/markdown-component"
description: Use the legacy Markdown component in your Astro site
categories:
- css+ui
- uncategorized
- official
npmUrl: https://www.npmjs.com/package/@astrojs/markdown-component
repoUrl: https://github.com/withastro/astro
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astrojsmdx.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astrojs/mdx"
title: "@astrojs/mdx"
description: Add support for MDX pages in your Astro site
categories:
- css+ui
- uncategorized
- official
npmUrl: https://www.npmjs.com/package/@astrojs/mdx
image: /assets/integrations/mdx.svg
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@astrojsnetlify.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@astrojs/netlify"
title: "@astrojs/netlify"
description: Deploy your site to Netlify
categories:
- css+ui
- adapters
- official
npmUrl: https://www.npmjs.com/package/@astrojs/netlify
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@astrojsnode.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@astrojs/node"
title: "@astrojs/node"
description: Deploy your site to a Node.js server
categories:
- css+ui
- adapters
- official
npmUrl: https://www.npmjs.com/package/@astrojs/node
Expand Down
1 change: 0 additions & 1 deletion src/content/integrations/@astrojspartytown.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: "@astrojs/partytown"
title: "@astrojs/partytown"
description: Use Partytown to move scripts into a web worker in your Astro project
categories:
- css+ui
- analytics
- performance+seo
- official
Expand Down
2 changes: 1 addition & 1 deletion src/content/integrations/@astrojsprism.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "@astrojs/prism"
title: "@astrojs/prism"
description: Add Prism syntax highlighting support to your Astro site
categories:
- css+ui
- uncategorized
- official
npmUrl: https://www.npmjs.com/package/@astrojs/prism
repoUrl: https://github.com/withastro/astro
Expand Down
Loading

0 comments on commit 674cf67

Please sign in to comment.