Skip to content

nais/ds-svelte-community

Repository files navigation

ds-svelte-community

A Svelte component library for Aksel.

Usage

ds-svelte-community is hosted on Google Artifact Registry.

Check out the Documentation for examples of how to install the library and how to use the components.


Development

We use Bun and asdf to manage dependencies and run scripts.

Run asdf install to install the correct version of bun. (You might need to run asdf plugin add bun first.)

Packages

The library is split into multiple packages in the packages directory. Each package has its own README.md with more information.

Package Description
ds-svelte-community The actual component library, including icons.
ds-svelte-community-preprocess-svelte A preprocessing step that optimizes usage of the component library.
vite-plugin-svelte-docs A Vite plugin that generates documentation JSON from Svelte components.

GitHub copilot in use

Some of the code in this repository is generated by GitHub Copilot.

Changesets

We use Changesets to manage versioning and changelogs. To create a new version, run bun x changeset and follow the instructions.

All changes should happen through a pull request.