Skip to content

Commit

Permalink
Update category table for libraries on NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryuni committed Oct 5, 2024
1 parent b13d251 commit 89ca0ed
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/content/docs/en/reference/publish-to-npm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -279,18 +279,22 @@ Avatars are a great way to highlight your brand in the library! Once your packag
Need to override the information our library reads from NPM? No problem! [File an issue](https://github.com/withastro/astro.build/issues/new/choose) with the updated information and we'll make sure the custom `name`, `description`, or `homepage` is used instead.
:::

### Collections
### Categories

In addition to the required `astro-component` or `withastro` keyword, special keywords are also used to automatically organize packages. Including any of the keywords below will add your integration to the collection in our integrations library.
In addition to the required `astro-component` or `withastro` keyword, special keywords are also used to automatically organize packages. Including any of the keywords below will add your integration to the matching category in our integrations library.

| collection | keywords |
| category | keywords |
|------------------ | -------------------------------------------- |
| Accessibility | `a11y`, `accessibility` |
| Adapters | `astro-adapter` |
| Analytics | `analytics` |
| CSS + UI | `css`, `ui`, `icon`, `icons`, `renderer` |
| Frameworks | `renderer` |
| Performance + SEO | `performance`, `perf`, `seo`, `optimization` |
| Dev Toolbar | `devtools`, `dev-overlay`, `dev-toolbar` |
| Utilities | `tooling`, `utils`, `utility` |

Packages that don't include any keyword matching a category will be added to the `CSS + UI` category.

## Share

Expand Down

0 comments on commit 89ca0ed

Please sign in to comment.