Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sveltinio/components-library
Monorepo for Svelte components packages
https://github.com/sveltinio/components-library
google-analytics media seo svelte svelte-components svelte-components-library sveltekit turborepo ui-components umami-analytics widget-library
Last synced: 2 months ago
JSON representation
Monorepo for Svelte components packages
- Host: GitHub
- URL: https://github.com/sveltinio/components-library
- Owner: sveltinio
- License: mit
- Created: 2022-01-11T13:37:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-20T04:24:37.000Z (11 months ago)
- Last Synced: 2024-10-04T06:34:13.621Z (3 months ago)
- Topics: google-analytics, media, seo, svelte, svelte-components, svelte-components-library, sveltekit, turborepo, ui-components, umami-analytics, widget-library
- Language: CSS
- Homepage:
- Size: 10 MB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Components Library
## Crafted to be used by Sveltin based projects but definetely usable out of them
### Intro
This repo is a "mono-repo" based on [pnpm workspaces](https://pnpm.io/workspaces) for managing the packages.
Each package has its own folder and README in the `/packages` directory. All package bundles are handled with the same command: `pnpm package`
### Packages
| Package | Version | Demos | Changelog |
| -------------------------- | :---------------------------------------: | :---: | ------------------------------------------ |
| [@sveltinio/essentials] | [![essentials]](https://www.npmjs.com/package/@sveltinio/essentials) | [View](https://www.sveltelab.dev/fe9w6pw2qs8sgm9) | [Changelog](packages/essentials/CHANGELOG.md) |
| [@sveltinio/media-content] | [![media-content]](https://www.npmjs.com/package/@sveltinio/media-content)| [View](https://www.sveltelab.dev/h57nt8jpieokw1n) | [Changelog](packages/media-content/CHANGELOG.md) |
| [@sveltinio/seo] | [![seo]](https://www.npmjs.com/package/@sveltinio/seo) | [View](https://www.sveltelab.dev/1omlyex216bwf75) | [Changelog](packages/seo/CHANGELOG.md) |
| [@sveltinio/services] | [![services]](https://www.npmjs.com/package/@sveltinio/services) | [View](https://www.sveltelab.dev/mu01l23m3291k52) | [Changelog](packages/services/CHANGELOG.md) |
| [@sveltinio/widgets] | [![widgets]](https://www.npmjs.com/package/@sveltinio/widgets) | [View](https://www.sveltelab.dev/sw6o1z34sn9bn75) | [Changelog](packages/widgets/CHANGELOG.md) |## Demos
Clone the repos and install all the dependencies:
```bash
git clone https://github.com/sveltinio/components-library.gitcd components-library
pnpm install
```Run the demos:
```bash
pnpm dev # or pnpm turbo run dev
```## Develop & Build
Clone the repos and install all the dependencies:
```bash
git clone https://github.com/sveltinio/components-library.gitcd components-library
pnpm install
```Run the tests:
```bash
pnpm test:packages
```### Create new component
```bash
pnpm plop
```### Build Packages
```bash
pnpm build:packages
``````bash
pnpm build:sites
```## License
Free and open-source software under the [MIT License](LICENSE)
[essentials]: https://img.shields.io/npm/v/@sveltinio/essentials.svg?style=flat
[media-content]: https://img.shields.io/npm/v/@sveltinio/media-content.svg?style=flat
[seo]: https://img.shields.io/npm/v/@sveltinio/seo.svg?style=flat
[services]: https://img.shields.io/npm/v/@sveltinio/services.svg?style=flat
[widgets]: https://img.shields.io/npm/v/@sveltinio/widgets.svg?style=flat[@sveltinio/essentials]: packages/essentials
[@sveltinio/media-content]: packages/media-content
[@sveltinio/seo]: packages/seo
[@sveltinio/services]: packages/services
[@sveltinio/widgets]: packages/widgets