@storyblok/nuxt 5.3.0 → 5.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 +2 -2
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -206,9 +206,9 @@ You can also set a **custom Schema and component resolver** by passing the optio
|
|
|
206
206
|
|
|
207
207
|
### 3. Working with preview and/or production environments
|
|
208
208
|
|
|
209
|
-
Remember that the bridge only works using `version:
|
|
209
|
+
Remember that the bridge only works using `version: 'draft'` and the _Preview Access Token_.
|
|
210
210
|
|
|
211
|
-
For the production site, NOT used as a preview for content editors, `version:
|
|
211
|
+
For the production site, NOT used as a preview for content editors, `version: 'published'` and _Public Access Token_ should be used.
|
|
212
212
|
|
|
213
213
|
> If you're using production as a preview for marketeers and your public site, you will need a plugin to handle different .env variables, or versions using the _Preview Access Token_, checking if you are inside Storyblok or not. For example, something like `if (window.location.search.includes(_storyblok_tk[token]=<YOUR_TOKEN>)`.
|
|
214
214
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyblok/nuxt",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.2",
|
|
4
4
|
"description": "Storyblok Nuxt module",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -27,18 +27,19 @@
|
|
|
27
27
|
"test:e2e-watch": "start-server-and-test playground:run http://localhost:3000 cy:open"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
30
|
+
"@nuxt/kit": "^3.3.2",
|
|
31
|
+
"@storyblok/vue": "^7.1.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/core": "^7.
|
|
34
|
+
"@babel/core": "^7.21.0",
|
|
35
|
+
"@cypress/vite-dev-server": "^5.0.4",
|
|
35
36
|
"@nuxt/module-builder": "latest",
|
|
36
|
-
"babel-jest": "^
|
|
37
|
-
"cypress": "^8.
|
|
37
|
+
"babel-jest": "^29.4.3",
|
|
38
|
+
"cypress": "^12.8.1",
|
|
38
39
|
"eslint-plugin-cypress": "^2.12.1",
|
|
39
|
-
"jest": "^29.3
|
|
40
|
-
"start-server-and-test": "^
|
|
41
|
-
"vite": "^2.
|
|
40
|
+
"jest": "^29.4.3",
|
|
41
|
+
"start-server-and-test": "^2.0.0",
|
|
42
|
+
"vite": "^4.2.1"
|
|
42
43
|
},
|
|
43
44
|
"release": {
|
|
44
45
|
"branches": [
|