@sveltia/cms 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/sveltia-cms.js +225 -225
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Sveltia CMS is a Git-based lightweight headless CMS under active development as
|
|
|
10
10
|
|
|
11
11
|
<br>
|
|
12
12
|
|
|
13
|
-
; Sveltia CMS](docs/screenshot-5-20240404.webp)<br>
|
|
14
14
|
|
|
15
15
|
## Motivation
|
|
16
16
|
|
|
@@ -42,7 +42,7 @@ We are working hard to create a **much better alternative to Netlify/Decap CMS**
|
|
|
42
42
|
### Better performance
|
|
43
43
|
|
|
44
44
|
- Built completely from scratch with Svelte instead of forking React-based Netlify/Decap CMS. The app starts fast and stays fast. The compiled code is vanilla JavaScript — you can use it with almost any framework.
|
|
45
|
-
- Small footprint: The bundle size is less than
|
|
45
|
+
- Small footprint: The bundle size is less than 350 KB when minified and gzipped, compared to 1.5 MB of Netlify/Decap CMS. And [no virtual DOM overhead](https://svelte.dev/blog/virtual-dom-is-pure-overhead).
|
|
46
46
|
- Uses the GraphQL API for GitHub/GitLab to quickly fetch content at once, so that entries and assets can be listed and searched instantly[^32]. It also avoids the slowness and potential API rate limit violations caused by hundreds of requests with Relation widgets[^14].
|
|
47
47
|
- Saving entries and assets is also much faster thanks to the [GraphQL mutation](https://github.blog/changelog/2021-09-13-a-simpler-api-for-authoring-commits/).
|
|
48
48
|
- Caches Git files locally to further speed up startup and reduce bandwidth.
|
|
@@ -130,6 +130,7 @@ We are working hard to create a **much better alternative to Netlify/Decap CMS**
|
|
|
130
130
|
- Upload multiple assets at once, including files in nested folders, by browsing or dragging and dropping them into the library[^5].
|
|
131
131
|
- Sort or filter assets by name or file type.
|
|
132
132
|
- View asset details, including size, dimensions, and a list of entries that use the selected asset.
|
|
133
|
+
- PDF documents are displayed with a thumbnail image in both the Asset Library and the Select File dialog, making it easier to find the file you’re looking for[^38].
|
|
133
134
|
- Assets stored in an entry-relative media folder are automatically deleted when the associated entry is deleted because these assets are not available for other entries[^22].
|
|
134
135
|
|
|
135
136
|
## Compatibility
|
|
@@ -495,3 +496,4 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
495
496
|
[^35]: Netlify/Decap CMS [#7086](https://github.com/decaporg/decap-cms/issues/7086)
|
|
496
497
|
[^36]: Netlify/Decap CMS [#6325](https://github.com/decaporg/decap-cms/issues/6325)
|
|
497
498
|
[^37]: Netlify/Decap CMS [#1481](https://github.com/decaporg/decap-cms/issues/1481)
|
|
499
|
+
[^38]: Netlify/Decap CMS [#1984](https://github.com/decaporg/decap-cms/issues/1984)
|