@storyblok/svelte 4.0.6 → 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.
Files changed (2) hide show
  1. package/README.md +16 -13
  2. package/package.json +10 -9
package/README.md CHANGED
@@ -29,7 +29,13 @@
29
29
  </a>
30
30
  </p>
31
31
 
32
- #### Compatibility
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
- ## 🚀 Usage
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
  ![A visual representation of the Storyblok JavaScript SDK Ecosystem](https://a.storyblok.com/f/88751/2400x1350/be4a4a4180/sdk-ecosystem.png/m/1200x0)
360
366
 
361
- ## â„šī¸ More Resources
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
- - Part 1: [Add a headless CMS to SvelteKit in 5 minutes](https://www.storyblok.com/tp/add-a-headless-cms-to-svelte-in-5-minutes) - [Source Code](https://github.com/storyblok/sveltekit-ultimate-tutorial-series/tree/part-1-sveltekit-ut)
367
- - Part 2: [Render Storyblok Stories Dynamically in SvelteKit](https://www.storyblok.com/tp/render-storyblok-stories-dynamically-in-sveltekit) - [Source Code](https://github.com/storyblok/sveltekit-ultimate-tutorial-series/tree/part-2-sveltekit-ut)
368
- - Part 3: [Create Dynamic Menus in Storyblok and SvelteKit](https://www.storyblok.com/tp/create-dynamic-menus-in-storyblok-and-sveltekit) - [Source Code](https://github.com/storyblok/sveltekit-ultimate-tutorial-series/tree/part-3-sveltekit-ut)
369
- - Part 4: [Create Custom Components in Storyblok and SvelteKit](https://www.storyblok.com/tp/create-custom-components-in-storyblok-and-sveltekit) - [Source Code](https://github.com/storyblok/sveltekit-ultimate-tutorial-series/tree/part-4-sveltekit-ut)
370
- - Part 5: [Create and Render Blog Articles in Storyblok and SvelteKit](https://www.storyblok.com/tp/create-and-render-blog-articles-in-storyblok-and-sveltekit) - [Source Code](https://github.com/storyblok/sveltekit-ultimate-tutorial-series/tree/part-5-sveltekit-ut)
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
- ### Support
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
- ### Contributing
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.6",
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.8"
30
+ "@storyblok/js": "^3.0.9"
30
31
  },
31
32
  "devDependencies": {
32
- "@babel/core": "^7.24.4",
33
- "@sveltejs/package": "^2.3.1",
33
+ "@babel/core": "^7.25.2",
34
+ "@sveltejs/package": "^2.3.4",
34
35
  "@tsconfig/svelte": "^5.0.4",
35
36
  "babel-jest": "^29",
36
- "eslint-plugin-jest": "^28.2.0",
37
+ "eslint-plugin-jest": "^28.8.0",
37
38
  "jest": "^29.7.0",
38
- "svelte": "^4.2.9",
39
- "svelte-preprocess": "^5.1.2",
40
- "typescript": "^5.4.5",
41
- "vite": "^5.2.8"
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"