@sveltia/cms 0.55.0 → 0.56.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 +18 -11
- package/dist/sveltia-cms.js +97 -97
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +92 -92
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -4,15 +4,15 @@ Sveltia CMS is a Git-based lightweight headless CMS under active development as
|
|
|
4
4
|
|
|
5
5
|
The free, open source alternative to Netlify/Decap CMS is now in public beta, turbocharged with great UX, performance, i18n support and so many more enhancements.
|
|
6
6
|
|
|
7
|
-
<br>
|
|
8
8
|
|
|
9
|
-
<br>
|
|
10
10
|
|
|
11
|
-
<br>
|
|
12
12
|
|
|
13
|
-
<br>
|
|
14
14
|
|
|
15
|
-
<br>
|
|
16
16
|
|
|
17
17
|
## Table of contents
|
|
18
18
|
|
|
@@ -116,7 +116,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
116
116
|
- Ensuring substantial [compatibility with Netlify/Decap CMS](#compatibility)
|
|
117
117
|
- Providing partial [compatibility with Static CMS](#compatibility-with-static-cms)
|
|
118
118
|
- Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
|
|
119
|
-
- So far,
|
|
119
|
+
- So far, 165+ of them, or 315+ including duplicates, have been effectively solved in Sveltia CMS
|
|
120
120
|
- Target: 300 or all relevant, fixable and worthwhile issues in the future; 500 including duplicates
|
|
121
121
|
- Note: Issues include feature requests, bug reports, [“closed as stale” issues](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+%22Closing+as+stale%22) and [discussions](https://github.com/decaporg/decap-cms/discussions)
|
|
122
122
|
- Many of their [top-voted features](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc) are on our table or already implemented in Sveltia CMS
|
|
@@ -125,7 +125,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
125
125
|
- Responding to requests from the maintainer’s clients
|
|
126
126
|
- Making the code clean and maintainable
|
|
127
127
|
|
|
128
|
-
<br>
|
|
129
129
|
|
|
130
130
|
## Differentiators
|
|
131
131
|
|
|
@@ -196,7 +196,8 @@ We hope Netlify/Decap CMS users will be pleased and surprised by the hundreds of
|
|
|
196
196
|
|
|
197
197
|
### Better installation
|
|
198
198
|
|
|
199
|
-
- Sveltia CMS
|
|
199
|
+
- Sveltia CMS won’t cause peer dependency conflicts due to legacy third-party React libraries.[^175] In fact, we build the app with [Svelte](https://svelte.dev/) and [our own UI library](https://github.com/sveltia/sveltia-ui) to reduce dependencies.
|
|
200
|
+
- The [robots `meta` tag](https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag) is automatically added to HTML to prevent the admin page from being indexed by search engines.[^174] Developers are still encouraged to manually add `<meta name="robots" content="noindex">` to `index.html`, as not all crawlers support dynamically added tags. However, our solution should at least work with Google in case you forget to do so.
|
|
200
201
|
- Some servers and frameworks are known to remove the trailing slash from the CMS URL (`/admin`) depending on the configuration. In such cases, the config file is loaded from a root-relative URL (`/admin/config.yml`) instead of a regular relative URL (`./config.yml` = `/config.yml`) that results in a 404 Not Found error.[^107]
|
|
201
202
|
- Supports a [JSON configuration file](#providing-a-json-configuration-file) that can be generated for bulk or complex collections.[^60]
|
|
202
203
|
|
|
@@ -267,6 +268,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
267
268
|
- The `summary` field option for the List and Object widgets
|
|
268
269
|
- Multiple transformations can be chained like `{{title | upper | truncate(20)}}`.
|
|
269
270
|
- The `date` transformation supports the time zone argument. The only available value is `utc`, which converts a date to UTC. This is useful if the specified DateTime field is local, but you want to force UTC in the entry slug, e.g. `{{date | date('YYYYMMDD-HHmm', 'utc')}}`. ([Discussion](https://github.com/sveltia/sveltia-cms/issues/278#issuecomment-2565313420))
|
|
271
|
+
- The `date` transformation returns an empty string if an invalid date is given.[^176]
|
|
270
272
|
- Nested fields (dot notation) can be used in the `path` option for a folder collection, e.g. `{{fields.state.name}}/{{slug}}`.[^62]
|
|
271
273
|
- Markdown is supported in the `description` collection option.[^79] Bold, italic, strikethrough, code and links are allowed.
|
|
272
274
|
- The collection `folder` can be an empty string (or `.` or `/`) if you want to store entries in the root folder. This supports a typical VitePress setup.
|
|
@@ -878,7 +880,7 @@ Note: The `root` option is ignored if the collection or collection file contains
|
|
|
878
880
|
|
|
879
881
|
### Controlling data output
|
|
880
882
|
|
|
881
|
-
Sveltia CMS supports some [data output](#better-data-output) options, including JSON/YAML formatting preferences,
|
|
883
|
+
Sveltia CMS supports some [data output](#better-data-output) options, including JSON/YAML formatting preferences, at the root level of the configuration file. The default options are listed below:
|
|
882
884
|
|
|
883
885
|
```yaml
|
|
884
886
|
output:
|
|
@@ -1061,8 +1063,7 @@ See [Contributing to Sveltia CMS](https://github.com/sveltia/sveltia-cms/blob/ma
|
|
|
1061
1063
|
- Developer documentation (implementation guide)
|
|
1062
1064
|
- Marketing site
|
|
1063
1065
|
- Live demo site
|
|
1064
|
-
-
|
|
1065
|
-
- Broad automation test coverage (Vitest + Playwright)
|
|
1066
|
+
- Automated unit test coverage (Vitest)
|
|
1066
1067
|
|
|
1067
1068
|
### After the 1.0 release
|
|
1068
1069
|
|
|
@@ -1078,6 +1079,8 @@ See [Contributing to Sveltia CMS](https://github.com/sveltia/sveltia-cms/blob/ma
|
|
|
1078
1079
|
- Contributor documentation
|
|
1079
1080
|
- Marketplace for custom widgets, etc.
|
|
1080
1081
|
- VS Code extension for `config.yml` schema validation
|
|
1082
|
+
- Official starter templates for the most popular frameworks, including SvelteKit and Next.js
|
|
1083
|
+
- Automated E2E test coverage (Playwright)
|
|
1081
1084
|
- and so much more!
|
|
1082
1085
|
|
|
1083
1086
|
## Related links
|
|
@@ -1442,3 +1445,7 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
1442
1445
|
[^173]: Netlify/Decap CMS [#3715](https://github.com/decaporg/decap-cms/issues/5317)
|
|
1443
1446
|
|
|
1444
1447
|
[^174]: Netlify/Decap CMS [#6616](https://github.com/decaporg/decap-cms/issues/6616)
|
|
1448
|
+
|
|
1449
|
+
[^175]: Netlify/Decap CMS [#7380](https://github.com/decaporg/decap-cms/issues/7380)
|
|
1450
|
+
|
|
1451
|
+
[^176]: Netlify/Decap CMS [#6427](https://github.com/decaporg/decap-cms/issues/6427)
|