@storyblok/nuxt 7.0.0 → 7.0.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 +0 -0
- package/dist/module.d.mts +2 -1
- package/dist/module.d.ts +2 -1
- package/dist/module.json +2 -2
- package/dist/module.mjs +8 -1
- package/dist/runtime/composables/useAsyncStoryblok.d.ts +2 -2
- package/dist/runtime/plugin.d.ts +1 -1
- package/dist/types.d.mts +7 -1
- package/dist/types.d.ts +7 -1
- package/package.json +31 -54
package/README.md
CHANGED
|
File without changes
|
package/dist/module.d.mts
CHANGED
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -44,7 +44,14 @@ const module = defineNuxtModule({
|
|
|
44
44
|
"MarkTypes",
|
|
45
45
|
"BlockTypes",
|
|
46
46
|
"LinkTypes",
|
|
47
|
-
"AssetTypes"
|
|
47
|
+
"AssetTypes",
|
|
48
|
+
"StoryblokRichTextResolvers",
|
|
49
|
+
"StoryblokRichTextDocumentNode",
|
|
50
|
+
"StoryblokRichTextImageOptimizationOptions",
|
|
51
|
+
"StoryblokRichTextNode",
|
|
52
|
+
"StoryblokRichTextNodeResolver",
|
|
53
|
+
"StoryblokRichTextNodeTypes",
|
|
54
|
+
"StoryblokRichTextOptions"
|
|
48
55
|
];
|
|
49
56
|
for (const name of names) {
|
|
50
57
|
addImports({ name, as: name, from: "@storyblok/vue" });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ISbStoriesParams, ISbStoryData, StoryblokBridgeConfigV2 } from '@storyblok/vue';
|
|
2
|
-
export declare const useAsyncStoryblok: (url: string, apiOptions?: ISbStoriesParams, bridgeOptions?: StoryblokBridgeConfigV2) => Promise<import("vue").Ref<ISbStoryData<import("
|
|
2
|
+
export declare const useAsyncStoryblok: (url: string, apiOptions?: ISbStoriesParams, bridgeOptions?: StoryblokBridgeConfigV2) => Promise<import("vue").Ref<ISbStoryData<import("storyblok-js-client").ISbComponentType<string> & {
|
|
3
3
|
[index: string]: any;
|
|
4
|
-
}>, ISbStoryData<import("
|
|
4
|
+
}>, ISbStoryData<import("storyblok-js-client").ISbComponentType<string> & {
|
|
5
5
|
[index: string]: any;
|
|
6
6
|
}>>>;
|
package/dist/runtime/plugin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("
|
|
1
|
+
declare const _default: import("#app").Plugin<Record<string, unknown>> & import("#app").ObjectPlugin<Record<string, unknown>>;
|
|
2
2
|
export default _default;
|
package/dist/types.d.mts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module.js'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NuxtModule } from '@nuxt/schema'
|
|
2
|
+
|
|
3
|
+
import type { default as Module } from './module'
|
|
4
|
+
|
|
5
|
+
export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
|
|
6
|
+
|
|
7
|
+
export { default } from './module'
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storyblok/nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.
|
|
5
|
-
"packageManager": "pnpm@10.2.0",
|
|
4
|
+
"version": "7.0.2",
|
|
6
5
|
"description": "Storyblok Nuxt module",
|
|
7
6
|
"repository": {
|
|
8
7
|
"type": "git",
|
|
@@ -23,31 +22,11 @@
|
|
|
23
22
|
"files": [
|
|
24
23
|
"dist"
|
|
25
24
|
],
|
|
26
|
-
"scripts": {
|
|
27
|
-
"prepack": "nuxt-module-build build",
|
|
28
|
-
"build": "nuxt-module-build prepare && nuxt-module-build build",
|
|
29
|
-
"dev": "nuxi dev playground",
|
|
30
|
-
"dev:build": "nuxi build playground",
|
|
31
|
-
"dev:preview": "nuxi preview playground",
|
|
32
|
-
"prepare:playground": "nuxi prepare playground",
|
|
33
|
-
"dev:prepare": "nuxt-module-build build --stub && nuxi prepare playground",
|
|
34
|
-
"cy:open": "cypress open",
|
|
35
|
-
"cy:run": "cypress run",
|
|
36
|
-
"test:e2e": "start-server-and-test dev http://localhost:3000 cy:run",
|
|
37
|
-
"test:e2e-watch": "start-server-and-test dev http://localhost:3000 cy:open",
|
|
38
|
-
"pretest:e2e-static": "nuxi generate playground",
|
|
39
|
-
"test:e2e-static": "start-server-and-test dev:preview http://localhost:3000 cy:run",
|
|
40
|
-
"lint": "eslint .",
|
|
41
|
-
"lint:fix": "eslint . --fix",
|
|
42
|
-
"check-licenses": "node scripts/license-checker.mjs"
|
|
43
|
-
},
|
|
44
25
|
"dependencies": {
|
|
45
|
-
"@storyblok/vue": "
|
|
26
|
+
"@storyblok/vue": "9.0.3"
|
|
46
27
|
},
|
|
47
28
|
"devDependencies": {
|
|
48
|
-
"@
|
|
49
|
-
"@commitlint/config-conventional": "^19.7.1",
|
|
50
|
-
"@cypress/vite-dev-server": "^6.0.2",
|
|
29
|
+
"@cypress/vite-dev-server": "^6.0.3",
|
|
51
30
|
"@nuxt/eslint": "^1.0.0",
|
|
52
31
|
"@nuxt/eslint-config": "^1.0.0",
|
|
53
32
|
"@nuxt/kit": "^3.15.4",
|
|
@@ -56,34 +35,15 @@
|
|
|
56
35
|
"@nuxt/test-utils": "^3.15.4",
|
|
57
36
|
"@nuxtjs/eslint-config-typescript": "^12.1.0",
|
|
58
37
|
"@storyblok/eslint-config": "^0.3.0",
|
|
59
|
-
"@types/node": "^
|
|
60
|
-
"cypress": "^
|
|
61
|
-
"eslint": "^
|
|
62
|
-
"eslint-config-prettier": "^
|
|
63
|
-
"eslint-plugin-cypress": "^3.
|
|
64
|
-
"eslint-plugin-vue": "^9.
|
|
65
|
-
"license-checker": "^25.0.1",
|
|
38
|
+
"@types/node": "^22.15.1",
|
|
39
|
+
"cypress": "^14.3.3",
|
|
40
|
+
"eslint": "^9.26.0",
|
|
41
|
+
"eslint-config-prettier": "^10.0.1",
|
|
42
|
+
"eslint-plugin-cypress": "^4.3.0",
|
|
43
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
66
44
|
"nuxt": "^3.15.4",
|
|
67
45
|
"prettier": "^3.4.2",
|
|
68
|
-
"
|
|
69
|
-
"start-server-and-test": "^2.0.10"
|
|
70
|
-
},
|
|
71
|
-
"pnpm": {
|
|
72
|
-
"onlyBuiltDependencies": [
|
|
73
|
-
"cypress"
|
|
74
|
-
]
|
|
75
|
-
},
|
|
76
|
-
"commitlint": {
|
|
77
|
-
"extends": [
|
|
78
|
-
"@commitlint/config-conventional"
|
|
79
|
-
],
|
|
80
|
-
"rules": {
|
|
81
|
-
"body-max-line-length": [
|
|
82
|
-
2,
|
|
83
|
-
"always",
|
|
84
|
-
200
|
|
85
|
-
]
|
|
86
|
-
}
|
|
46
|
+
"start-server-and-test": "^2.0.11"
|
|
87
47
|
},
|
|
88
48
|
"release": {
|
|
89
49
|
"branches": [
|
|
@@ -97,8 +57,25 @@
|
|
|
97
57
|
"publishConfig": {
|
|
98
58
|
"access": "public"
|
|
99
59
|
},
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
60
|
+
"nx": {
|
|
61
|
+
"implicitDependencies": [
|
|
62
|
+
"!@storyblok/playground-*"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"build": "nuxt-module-build prepare && nuxt-module-build build",
|
|
67
|
+
"dev": "nuxi dev playground",
|
|
68
|
+
"dev:build": "nuxi build playground",
|
|
69
|
+
"dev:preview": "nuxi preview playground",
|
|
70
|
+
"prepare:playground": "nuxi prepare playground",
|
|
71
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxi prepare playground",
|
|
72
|
+
"cy:open": "cypress open",
|
|
73
|
+
"cy:run": "cypress run",
|
|
74
|
+
"test:e2e": "start-server-and-test dev http://localhost:3000 cy:run",
|
|
75
|
+
"test:e2e-watch": "start-server-and-test dev http://localhost:3000 cy:open",
|
|
76
|
+
"pretest:e2e-static": "nuxi generate playground",
|
|
77
|
+
"test:e2e-static": "start-server-and-test dev:preview http://localhost:3000 cy:run",
|
|
78
|
+
"lint": "eslint .",
|
|
79
|
+
"lint:fix": "eslint . --fix"
|
|
103
80
|
}
|
|
104
|
-
}
|
|
81
|
+
}
|