@sveltia/cms 0.3.0 → 0.3.2
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 +17 -18
- package/dist/sveltia-cms.js +144 -144
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Sveltia CMS
|
|
2
2
|
|
|
3
|
-
Sveltia CMS is a Git-based lightweight headless CMS partially compatible with [Netlify/Decap CMS](https://decapcms.org/). You can use it with any static site generator, such as SvelteKit, Next.js and Hugo, to manage the content as static files on a Git repository.
|
|
3
|
+
Sveltia CMS is a Git-based lightweight headless CMS partially compatible with [Netlify/Decap CMS](https://decapcms.org/). You can use it with any static site generator, such as SvelteKit, Next.js and Hugo, to manage the content as static files on a Git repository. Our open source Netlify/Decap CMS alternative is now in public beta, with more features to come.
|
|
4
4
|
|
|
5
5
|
<br>
|
|
6
6
|
|
|
@@ -49,7 +49,7 @@ Here are some highlights mainly compared to Netlify/Decap CMS:
|
|
|
49
49
|
|
|
50
50
|
### Better i18n support
|
|
51
51
|
|
|
52
|
-
- Making it easier to switch between locales while editing.
|
|
52
|
+
- Making it easier to switch between locales while editing with just a click on a button.
|
|
53
53
|
- Integrating DeepL to allow translating text fields from another locale with one click. [See below](#use-deepl-to-translate-entry-fields) for details.
|
|
54
54
|
- You can now use a random UUID for an entry slug, which is a good option for locales writing in non-Latin characters[^12]. [See below](#use-a-random-id-for-an-entry-slug) for details.
|
|
55
55
|
- Solving limitations in Netlify/Decap CMS’s [list and object widgets](https://decapcms.org/docs/beta-features/#i18n-support) so that changes made with these widgets will be duplicated between locales as expected[^7].
|
|
@@ -57,7 +57,7 @@ Here are some highlights mainly compared to Netlify/Decap CMS:
|
|
|
57
57
|
|
|
58
58
|
### Collection enhancements
|
|
59
59
|
|
|
60
|
-
- You can
|
|
60
|
+
- You can choose a custom icon for each collection[^3]. [See below](#use-a-custom-icon-for-a-collection) for details.
|
|
61
61
|
- A per-collection media folder will now appear aside of entries. [See below](#use-a-custom-media-folder-for-a-collection) for details.
|
|
62
62
|
|
|
63
63
|
### Media library enhancements
|
|
@@ -68,11 +68,11 @@ Here are some highlights mainly compared to Netlify/Decap CMS:
|
|
|
68
68
|
|
|
69
69
|
## Compatibility
|
|
70
70
|
|
|
71
|
-
While
|
|
71
|
+
While recreating all the features found in Netlify/Decap CMS is not our goal, we plan to maximize the compatibility before reaching the 1.0 release so that more users can migrate to our modern alternative.
|
|
72
72
|
|
|
73
73
|
| Feature | Status in Sveltia CMS |
|
|
74
74
|
| --- | --- |
|
|
75
|
-
| UI locales | Only English and Japanese are available at this time. No registration is needed.
|
|
75
|
+
| UI locales | Only English and Japanese are available at this time. No registration is needed. While the UI locale is automatically selected depending on the browser’s language settings, it can be changed in Preferences. (Click on the Account button at the top right corner of the CMS.) |
|
|
76
76
|
| Account | Only the [GitHub backend](https://decapcms.org/docs/github-backend/) is available at this time. You can keep using Netlify or a [3rd party OAuth client](https://decapcms.org/docs/external-oauth-clients/) (or [our own client](https://github.com/sveltia/sveltia-cms-auth)) to sign in with GitHub, just like Netlify/Decap CMS. GitLab could also be supported, but the Azure, Bitbucket and Git Gateway backends are unlikely to be added, mainly due to the lack of an API method fetching contents in bulk. We plan to add support for the [Test backend](https://decapcms.org/docs/test-backend/) for our demo site and perhaps implement a performant Git Gateway alternative using GraphQL. |
|
|
77
77
|
| Configuration | Supported. |
|
|
78
78
|
| Media | External media storage services are not yet supported. |
|
|
@@ -88,9 +88,8 @@ While we’re not recreating all the features found in Netlify/Decap CMS, our pl
|
|
|
88
88
|
| --- | --- |
|
|
89
89
|
| Code | Not yet supported. |
|
|
90
90
|
| Color | It’s a native `<input>` element at this time. The `enableAlpha` option is not yet supported. |
|
|
91
|
-
| Date/DateTime |
|
|
91
|
+
| Date/DateTime | These are also native `<input>` elements. The `date_format` and `time_format` options with Moment.js tokens are not yet supported. We may deprecate the Moment.js format support anyway. |
|
|
92
92
|
| File/Image | The `media_library` options are not yet supported other than `max_file_size` and `choose_url`. |
|
|
93
|
-
| List/Object | We haven’t tested with deeply nested fields. |
|
|
94
93
|
| Map | Not yet supported. |
|
|
95
94
|
| Markdown | It’s a plain text editor at this time. We’ll soon implement a rich text editor with i18n issues addressed. |
|
|
96
95
|
| Relation | The `search_fields` and `file` options are not yet supported. The `options_length` option will be ignored because it confuses users and Sveltia CMS doesn’t have the search performance issue. |
|
|
@@ -102,7 +101,7 @@ While we’re not recreating all the features found in Netlify/Decap CMS, our pl
|
|
|
102
101
|
| Working with a Local Git Repository | Supported. [See below](#work-with-a-local-git-repository) for details. |
|
|
103
102
|
| GitLab and BitBucket Editorial Workflow Support | The GitLab backend is not yet supported. No plan to support BitBucket. |
|
|
104
103
|
| i18n Support | Supported. In fact, i18n is at the core of Sveltia CMS! |
|
|
105
|
-
| GitHub GraphQL API | Sveltia CMS uses GraphQL
|
|
104
|
+
| GitHub GraphQL API | Supported. Sveltia CMS uses GraphQL by default for a better performance. It cannot be disabled. |
|
|
106
105
|
| GitLab GraphQL API | The GitLab backend is not yet supported. |
|
|
107
106
|
| Open Authoring | Not yet supported. |
|
|
108
107
|
| Folder Collections Path | Supported. |
|
|
@@ -170,7 +169,7 @@ You can host your Sveltia CMS-managed site anywhere, such as [Cloudflare Pages](
|
|
|
170
169
|
|
|
171
170
|
### Work with a local Git repository
|
|
172
171
|
|
|
173
|
-
You can use Sveltia CMS with a local Git repository, just like the [beta feature](https://decapcms.org/docs/beta-features/#working-with-a-local-git-repository) in Netlify/Decap CMS, but Sveltia CMS has simplified the workflow by removing the necessity of the additional configuration and proxy server, thanks to the [File System Access API](https://developer.chrome.com/articles/file-system-access/).
|
|
172
|
+
You can use Sveltia CMS with a local Git repository, just like the [beta feature](https://decapcms.org/docs/beta-features/#working-with-a-local-git-repository) in Netlify/Decap CMS, but Sveltia CMS has simplified the workflow by removing the necessity of the additional configuration (the `local_backend` property) and proxy server, thanks to the [File System Access API](https://developer.chrome.com/articles/file-system-access/) available in some modern browsers.
|
|
174
173
|
|
|
175
174
|
1. Launch the local development server for your frontend framework, typically with `npm run dev`.
|
|
176
175
|
1. Visit `http://localhost:[port]/admin/index.html` with [Chrome, Edge or other Chromium-based browser](https://developer.mozilla.org/en-US/docs/web/api/window/showopenfilepicker#browser_compatibility). The port number depends on your framework.
|
|
@@ -318,13 +317,13 @@ Feel free to [file an issue](https://github.com/sveltia/sveltia-cms/issues/new)
|
|
|
318
317
|
|
|
319
318
|
This software is provided “as is” without any express or implied warranty. This product is not affiliated with or endorsed by Netlify, Decap CMS or any other integrated services. All product names, logos, and brands are the property of their respective owners.
|
|
320
319
|
|
|
321
|
-
[^1]: [Netlify/Decap CMS #2557](https://github.com/
|
|
322
|
-
[^2]: [Netlify/Decap CMS #3267](https://github.com/
|
|
323
|
-
[^3]: [Netlify/Decap CMS #1040](https://github.com/
|
|
324
|
-
[^4]: [Netlify/Decap CMS #3671](https://github.com/
|
|
325
|
-
[^5]: [Netlify/Decap CMS #1032](https://github.com/
|
|
326
|
-
[^6]: [Netlify/Decap CMS #3240](https://github.com/
|
|
327
|
-
[^7]: [Netlify/Decap CMS #4386](https://github.com/
|
|
328
|
-
[^10]: [Netlify/Decap CMS #341](https://github.com/
|
|
329
|
-
[^11]: [Netlify/Decap CMS #1382](https://github.com/
|
|
320
|
+
[^1]: [Netlify/Decap CMS #2557](https://github.com/decaporg/decap-cms/issues/2557)
|
|
321
|
+
[^2]: [Netlify/Decap CMS #3267](https://github.com/decaporg/decap-cms/issues/3267)
|
|
322
|
+
[^3]: [Netlify/Decap CMS #1040](https://github.com/decaporg/decap-cms/issues/1040)
|
|
323
|
+
[^4]: [Netlify/Decap CMS #3671](https://github.com/decaporg/decap-cms/issues/3671)
|
|
324
|
+
[^5]: [Netlify/Decap CMS #1032](https://github.com/decaporg/decap-cms/issues/1032)
|
|
325
|
+
[^6]: [Netlify/Decap CMS #3240](https://github.com/decaporg/decap-cms/issues/3240)
|
|
326
|
+
[^7]: [Netlify/Decap CMS #4386](https://github.com/decaporg/decap-cms/issues/4386)
|
|
327
|
+
[^10]: [Netlify/Decap CMS #341](https://github.com/decaporg/decap-cms/issues/341)
|
|
328
|
+
[^11]: [Netlify/Decap CMS #1382](https://github.com/decaporg/decap-cms/issues/1382) and many more. We’ll be updating this list after reviewing their issue list.
|
|
330
329
|
[^12]: [Netlify/Decap CMS #1975](https://github.com/decaporg/decap-cms/issues/1975)
|