@storyblok/vue 9.0.2 → 9.0.4-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/dist/index.d.ts CHANGED
@@ -6,9 +6,9 @@ export * from './composables/useStoryblokRichText';
6
6
  export * from './types';
7
7
  export { apiPlugin, BlockTypes, MarkTypes, renderRichText, richTextResolver, type StoryblokRichTextDocumentNode, type StoryblokRichTextImageOptimizationOptions, type StoryblokRichTextNode, type StoryblokRichTextNodeResolver, type StoryblokRichTextNodeTypes, type StoryblokRichTextOptions, type StoryblokRichTextResolvers, TextTypes, useStoryblokBridge, } from '@storyblok/js';
8
8
  export declare const useStoryblokApi: () => StoryblokClient;
9
- export declare const useStoryblok: (url: string, apiOptions?: ISbStoriesParams, bridgeOptions?: StoryblokBridgeConfigV2) => Promise<Ref<ISbStoryData<import('@storyblok/js').StoryblokComponentType<string> & {
9
+ export declare const useStoryblok: (url: string, apiOptions?: ISbStoriesParams, bridgeOptions?: StoryblokBridgeConfigV2) => Promise<Ref<ISbStoryData<import('storyblok-js-client').ISbComponentType<string> & {
10
10
  [index: string]: any;
11
- }> | null, ISbStoryData<import('@storyblok/js').StoryblokComponentType<string> & {
11
+ }> | null, ISbStoryData<import('storyblok-js-client').ISbComponentType<string> & {
12
12
  [index: string]: any;
13
13
  }> | null>>;
14
14
  export declare const StoryblokVue: Plugin;
@@ -785,6 +785,7 @@ class Ne {
785
785
  case "custom":
786
786
  if (this.cache.custom)
787
787
  return this.cache.custom;
788
+ // eslint-disable-next-line no-fallthrough
788
789
  default:
789
790
  return {
790
791
  get() {
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@storyblok/vue",
3
3
  "type": "module",
4
- "version": "9.0.2",
5
- "packageManager": "pnpm@10.2.0",
4
+ "version": "9.0.4-rc.0",
6
5
  "description": "SDK to integrate Storyblok into your project using Vue.",
7
6
  "author": "Storyblok",
8
7
  "license": "MIT",
@@ -26,70 +25,32 @@
26
25
  "files": [
27
26
  "dist"
28
27
  ],
29
- "scripts": {
30
- "dev": "vite build --watch",
31
- "playground": "pnpm run --filter ./playground/vue dev",
32
- "test": "pnpm run test:unit:ci && pnpm run test:e2e",
33
- "test:unit": "vitest",
34
- "test:unit:ci": "vitest run",
35
- "test:unit:ui": "vitest --ui",
36
- "test:e2e": "pnpm run cy:components",
37
- "build": "vite build",
38
- "lint": "eslint .",
39
- "lint:fix": "eslint . --fix",
40
- "cy:run": "cypress run",
41
- "cy:open": "cypress open",
42
- "cy:components": "cypress run-ct",
43
- "prepublishOnly": "pnpm build",
44
- "check-licenses": "node scripts/license-checker.mjs"
45
- },
46
28
  "peerDependencies": {
47
29
  "vue": ">=3.4"
48
30
  },
49
31
  "dependencies": {
50
- "@storyblok/js": "4.0.2"
32
+ "@storyblok/js": "4.0.4-rc.0"
51
33
  },
52
34
  "devDependencies": {
53
- "@commitlint/cli": "^19.7.1",
54
- "@commitlint/config-conventional": "^19.7.1",
55
35
  "@rollup/plugin-typescript": "^12.1.2",
56
36
  "@storyblok/eslint-config": "^0.3.0",
57
- "@types/node": "^22.13.1",
37
+ "@types/node": "^22.15.1",
58
38
  "@typescript-eslint/parser": "^8.23.0",
59
39
  "@vitejs/plugin-vue": "^5.2.1",
60
- "cypress": "^13.17.0",
61
- "eslint": "^9.19.0",
40
+ "cypress": "^14.3.3",
41
+ "eslint": "^9.26.0",
62
42
  "eslint-plugin-vue": "^9.32.0",
63
43
  "kolorist": "^1.8.0",
64
- "license-checker": "^25.0.1",
65
- "pathe": "^2.0.2",
66
- "simple-git-hooks": "^2.11.1",
67
- "typescript": "^5.7.3",
68
- "vite": "^6.1.0",
44
+ "pathe": "^2.0.3",
45
+ "typescript": "5.8.3",
46
+ "vite": "^6.3.5",
69
47
  "vite-plugin-banner": "^0.8.0",
70
- "vite-plugin-dts": "^4.5.0",
71
- "vitest": "^3.0.5",
48
+ "vite-plugin-dts": "^4.5.3",
49
+ "vitest": "^3.1.3",
72
50
  "vue": "^3.5.13",
73
51
  "vue-router": "^4.5.0",
74
52
  "vue-tsc": "^2.2.0"
75
53
  },
76
- "pnpm": {
77
- "onlyBuiltDependencies": [
78
- "cypress"
79
- ]
80
- },
81
- "commitlint": {
82
- "extends": [
83
- "@commitlint/config-conventional"
84
- ],
85
- "rules": {
86
- "body-max-line-length": [
87
- 2,
88
- "always",
89
- 200
90
- ]
91
- }
92
- },
93
54
  "release": {
94
55
  "branches": [
95
56
  "main"
@@ -98,8 +59,24 @@
98
59
  "publishConfig": {
99
60
  "access": "public"
100
61
  },
101
- "simple-git-hooks": {
102
- "pre-commit": "pnpm lint",
103
- "pre-push": "pnpm commitlint --last --verbose"
62
+ "nx": {
63
+ "implicitDependencies": [
64
+ "!@storyblok/playground-*"
65
+ ]
66
+ },
67
+ "scripts": {
68
+ "dev": "vite build --watch",
69
+ "playground": "pnpm run --filter ./playground/vue dev",
70
+ "test": "pnpm run test:unit:ci && pnpm run test:e2e",
71
+ "test:unit": "vitest",
72
+ "test:unit:ci": "vitest run",
73
+ "test:unit:ui": "vitest --ui",
74
+ "test:e2e": "pnpm run cy:components",
75
+ "build": "vite build",
76
+ "lint": "eslint .",
77
+ "lint:fix": "eslint . --fix",
78
+ "cy:run": "cypress run",
79
+ "cy:open": "cypress open",
80
+ "cy:components": "cypress run --component"
104
81
  }
105
- }
82
+ }