@storyblok/js 4.0.2 → 4.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.
@@ -784,6 +784,7 @@ class we {
784
784
  case "custom":
785
785
  if (this.cache.custom)
786
786
  return this.cache.custom;
787
+ // eslint-disable-next-line no-fallthrough
787
788
  default:
788
789
  return {
789
790
  get() {
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@storyblok/js",
3
3
  "type": "module",
4
- "version": "4.0.2",
4
+ "version": "4.0.3-rc.0",
5
5
  "private": false,
6
- "packageManager": "pnpm@10.2.0",
7
6
  "description": "SDK to integrate Storyblok into your project using JavaScript.",
8
7
  "license": "MIT",
9
8
  "repository": {
@@ -26,73 +25,53 @@
26
25
  "files": [
27
26
  "dist"
28
27
  ],
29
- "scripts": {
30
- "dev": "vite",
31
- "build": "vite build",
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": "start-server-and-test cy:playground http://localhost:5173/ cy:run",
37
- "test:e2e-watch": "start-server-and-test cy:playground http://localhost:5173/ cy:open",
38
- "cy:playground": "pnpm --filter='./playground/vanilla' dev",
39
- "lint": "eslint .",
40
- "lint:fix": "eslint . --fix",
41
- "cy:run": "cypress run",
42
- "cy:open": "cypress open",
43
- "check-licenses": "node scripts/license-checker.mjs"
44
- },
45
28
  "dependencies": {
46
- "@storyblok/richtext": "3.3.0",
47
- "storyblok-js-client": "7.0.0"
29
+ "@storyblok/richtext": "3.3.1-rc.0",
30
+ "storyblok-js-client": "npm:@storyblok/js-client@7.0.1-rc.0"
48
31
  },
49
32
  "devDependencies": {
50
- "@commitlint/cli": "^19.7.1",
51
- "@commitlint/config-conventional": "^19.7.1",
52
33
  "@storyblok/eslint-config": "^0.3.0",
53
34
  "@tsconfig/recommended": "^1.0.8",
54
- "@types/node": "^22.13.1",
55
- "@vitest/ui": "3.2.1",
56
- "cypress": "^13.17.0",
57
- "eslint": "^9.19.0",
58
- "eslint-plugin-cypress": "^4.1.0",
35
+ "@types/node": "^22.15.1",
36
+ "@vitest/ui": "3.1.3",
37
+ "cypress": "^14.3.3",
38
+ "eslint": "^9.26.0",
39
+ "eslint-plugin-cypress": "^4.3.0",
59
40
  "jsdom": "^26.0.0",
60
41
  "kolorist": "^1.8.0",
61
- "license-checker": "^25.0.1",
62
- "pathe": "^2.0.2",
63
- "simple-git-hooks": "^2.11.1",
64
- "start-server-and-test": "^2.0.10",
65
- "typescript": "^5.7.3",
66
- "vite": "^6.1.0",
42
+ "pathe": "^2.0.3",
43
+ "start-server-and-test": "^2.0.11",
44
+ "typescript": "5.8.3",
45
+ "vite": "^6.3.5",
67
46
  "vite-plugin-banner": "^0.8.0",
68
- "vite-plugin-dts": "^4.5.0",
47
+ "vite-plugin-dts": "^4.5.3",
69
48
  "vite-plugin-qrcode": "^0.2.4",
70
- "vitest": "^3.0.5"
71
- },
72
- "pnpm": {
73
- "onlyBuiltDependencies": [
74
- "cypress"
75
- ]
76
- },
77
- "commitlint": {
78
- "extends": [
79
- "@commitlint/config-conventional"
80
- ],
81
- "rules": {
82
- "body-max-line-length": [
83
- 2,
84
- "always",
85
- 200
86
- ]
87
- }
49
+ "vitest": "^3.1.3"
88
50
  },
89
51
  "release": {
90
52
  "branches": [
91
53
  "main"
92
54
  ]
93
55
  },
94
- "simple-git-hooks": {
95
- "pre-commit": "pnpm lint",
96
- "pre-push": "pnpm commitlint --last --verbose"
56
+ "nx": {
57
+ "implicitDependencies": [
58
+ "!@storyblok/playground-*",
59
+ "@storyblok/js-client"
60
+ ]
61
+ },
62
+ "scripts": {
63
+ "dev": "vite",
64
+ "build": "vite build",
65
+ "test": "pnpm run test:unit:ci && pnpm run test:e2e",
66
+ "test:unit": "vitest",
67
+ "test:unit:ci": "vitest run",
68
+ "test:unit:ui": "vitest --ui",
69
+ "test:e2e": "start-server-and-test cy:playground http://localhost:5173/ cy:run",
70
+ "test:e2e-watch": "start-server-and-test cy:playground http://localhost:5173/ cy:open",
71
+ "cy:playground": "pnpm --filter='./playground/vanilla' dev",
72
+ "lint": "eslint .",
73
+ "lint:fix": "eslint . --fix",
74
+ "cy:run": "cypress run",
75
+ "cy:open": "cypress open"
97
76
  }
98
- }
77
+ }