@storyblok/svelte 4.0.5 â 4.0.7
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 +16 -13
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -29,7 +29,13 @@
|
|
|
29
29
|
</a>
|
|
30
30
|
</p>
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
## Kickstart a new project
|
|
33
|
+
Are you eager to dive into coding? **[Follow these steps to kickstart a new project with Storyblok and Svelte](https://www.storyblok.com/technologies#sveltekit?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)**, and get started in just a few minutes!
|
|
34
|
+
|
|
35
|
+
## Ultimate Tutorial
|
|
36
|
+
Are you looking for a hands-on, step-by-step tutorial? The **[SvelteKit Ultimate Tutorial](https://www.storyblok.com/tp/the-storyblok-sveltekit-ultimate-tutorial?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)** has you covered! It provides comprehensive instructions on building a complete, multilingual website using Storyblok and SvelteKit from start to finish.
|
|
37
|
+
|
|
38
|
+
## Compatibility
|
|
33
39
|
|
|
34
40
|
| Version to install | Support |
|
|
35
41
|
| --------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
|
|
@@ -37,7 +43,7 @@
|
|
|
37
43
|
| Latest (from v3) `@storyblok/svelte` <br> + Fetch polyfill like [isomorphic-fetch](https://github.com/matthew-andrews/isomorphic-fetch) | Browsers and Node versions with no Fetch API support |
|
|
38
44
|
| [Version 2](https://github.com/storyblok/@storyblok/svelte/tree/v2.5.0) `@storyblok/svelte@2` | Internet Explorer support |
|
|
39
45
|
|
|
40
|
-
##
|
|
46
|
+
## Usage
|
|
41
47
|
|
|
42
48
|
`@storyblok/svelte` helps you connect your Svelte project to Storyblok by:
|
|
43
49
|
|
|
@@ -358,23 +364,20 @@ Another option might also be using npm / yarn workspaces.
|
|
|
358
364
|
|
|
359
365
|

|
|
360
366
|
|
|
361
|
-
##
|
|
362
|
-
|
|
363
|
-
Please follow the step-by-step instructions available in [Ultimate Tutorial Series](https://www.storyblok.com/tp/the-storyblok-sveltekit-ultimate-tutorial). You can find all the different parts on this overview page and take it from here.
|
|
364
|
-
The parts are:
|
|
367
|
+
## Further Resources
|
|
365
368
|
|
|
366
|
-
-
|
|
367
|
-
-
|
|
368
|
-
-
|
|
369
|
-
-
|
|
370
|
-
-
|
|
369
|
+
- [Quick Start](https://www.storyblok.com/technologies?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)
|
|
370
|
+
- [API Documentation](https://www.storyblok.com/docs/api?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)
|
|
371
|
+
- [Developer Tutorials](https://www.storyblok.com/tutorials?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)
|
|
372
|
+
- [Developer Guides](https://www.storyblok.com/docs/guide/introduction?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)
|
|
373
|
+
- [FAQs](https://www.storyblok.com/faqs?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte)
|
|
371
374
|
|
|
372
|
-
|
|
375
|
+
## Support
|
|
373
376
|
|
|
374
377
|
- Bugs or Feature Requests? [Submit an issue](/../../issues/new).
|
|
375
378
|
- Do you have questions about Storyblok or do you need help? [Join our Discord Community](https://discord.gg/jKrbAMz).
|
|
376
379
|
|
|
377
|
-
|
|
380
|
+
## Contributing
|
|
378
381
|
|
|
379
382
|
Please see our [contributing guidelines](https://github.com/storyblok/.github/blob/master/contributing.md) and our [code of conduct](https://www.storyblok.com/trust-center#code-of-conduct?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-svelte).
|
|
380
383
|
This project uses [semantic-release](https://semantic-release.gitbook.io/semantic-release/) for generating new versions by using commit messages and we use the [Angular Convention](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#) to name the commits. Check [this question](https://semantic-release.gitbook.io/semantic-release/support/faq#how-can-i-change-the-type-of-commits-that-trigger-a-release) about it in semantic-release FAQ.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyblok/svelte",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Storyblok SDK to connect Storyblok with Svelte",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"exports": {
|
|
15
15
|
".": {
|
|
16
|
+
"svelte": "./dist/index.js",
|
|
16
17
|
"types": "./dist/index.d.ts",
|
|
17
18
|
"import": "./dist/index.js",
|
|
18
19
|
"require": "./dist/index.js"
|
|
@@ -26,19 +27,19 @@
|
|
|
26
27
|
"prepublishOnly": "npm run build && cp ../README.md ."
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@storyblok/js": "^3.0.
|
|
30
|
+
"@storyblok/js": "^3.0.9"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "^7.
|
|
33
|
-
"@sveltejs/package": "^2.
|
|
34
|
-
"@tsconfig/svelte": "^5.0.
|
|
33
|
+
"@babel/core": "^7.25.2",
|
|
34
|
+
"@sveltejs/package": "^2.3.4",
|
|
35
|
+
"@tsconfig/svelte": "^5.0.4",
|
|
35
36
|
"babel-jest": "^29",
|
|
36
|
-
"eslint-plugin-jest": "^
|
|
37
|
+
"eslint-plugin-jest": "^28.8.0",
|
|
37
38
|
"jest": "^29.7.0",
|
|
38
|
-
"svelte": "^4.2.
|
|
39
|
-
"svelte-preprocess": "^5.1.
|
|
40
|
-
"typescript": "^5.
|
|
41
|
-
"vite": "^5.1
|
|
39
|
+
"svelte": "^4.2.16",
|
|
40
|
+
"svelte-preprocess": "^5.1.4",
|
|
41
|
+
"typescript": "^5.5.4",
|
|
42
|
+
"vite": "^5.4.1"
|
|
42
43
|
},
|
|
43
44
|
"peerDependencies": {
|
|
44
45
|
"svelte": "^3.0.0 || ^4.0.0"
|