@storyblok/nuxt 7.0.1 → 7.0.3-rc.0

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 CHANGED
File without changes
package/dist/module.d.mts CHANGED
@@ -11,4 +11,5 @@ interface ModuleOptions {
11
11
  }
12
12
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
13
13
 
14
- export { type ModuleOptions, _default as default };
14
+ export { _default as default };
15
+ export type { ModuleOptions };
package/dist/module.d.ts CHANGED
@@ -11,4 +11,5 @@ interface ModuleOptions {
11
11
  }
12
12
  declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
13
13
 
14
- export { type ModuleOptions, _default as default };
14
+ export { _default as default };
15
+ export type { ModuleOptions };
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@storyblok/nuxt",
3
3
  "configKey": "storyblok",
4
- "version": "7.0.1",
4
+ "version": "7.0.3-rc.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
- "unbuild": "2.0.0"
7
+ "unbuild": "unknown"
8
8
  }
9
9
  }
@@ -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("@storyblok/vue").StoryblokComponentType<string> & {
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("@storyblok/vue").StoryblokComponentType<string> & {
4
+ }>, ISbStoryData<import("storyblok-js-client").ISbComponentType<string> & {
5
5
  [index: string]: any;
6
6
  }>>>;
@@ -1,2 +1,2 @@
1
- declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
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
- export { type ModuleOptions, default } from './module.js'
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
- export { type ModuleOptions, default } from './module'
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.1",
5
- "packageManager": "pnpm@10.2.0",
4
+ "version": "7.0.3-rc.0",
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": "^9.0.0"
26
+ "@storyblok/vue": "9.0.4-rc.0"
46
27
  },
47
28
  "devDependencies": {
48
- "@commitlint/cli": "^19.7.1",
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": "^20.17.24",
60
- "cypress": "^13.15.0",
61
- "eslint": "^8.57.1",
62
- "eslint-config-prettier": "^9.1.0",
63
- "eslint-plugin-cypress": "^3.5.0",
64
- "eslint-plugin-vue": "^9.28.0",
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
- "simple-git-hooks": "^2.11.1",
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
- "simple-git-hooks": {
101
- "pre-commit": "pnpm lint",
102
- "pre-push": "pnpm commitlint --last --verbose"
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
+ }