@prezly/theme-kit-nextjs 10.13.0 → 10.14.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.
Files changed (1) hide show
  1. package/package.json +108 -109
package/package.json CHANGED
@@ -1,115 +1,114 @@
1
1
  {
2
- "name": "@prezly/theme-kit-nextjs",
3
- "version": "10.13.0",
4
- "description": "Data layer and utility library for developing Prezly themes with NextJS",
5
- "type": "module",
6
- "main": "build/index.mjs",
7
- "types": "build/index.d.ts",
8
- "files": [
9
- "build",
10
- "README.md"
11
- ],
12
- "exports": {
13
- ".": {
14
- "types": "./build/index.d.ts",
15
- "require": "./build/index.cjs",
16
- "default": "./build/index.mjs"
17
- },
18
- "./server": {
19
- "types": "./build/server.d.ts",
20
- "require": "./build/server.cjs",
21
- "default": "./build/server.mjs"
22
- },
23
- "./middleware": {
24
- "types": "./build/middleware/index.d.ts",
25
- "require": "./build/middleware/index.cjs",
26
- "default": "./build/middleware/index.mjs"
27
- },
28
- "./next-config": {
29
- "types": "./build/next-config/index.d.ts",
30
- "require": "./build/next-config/index.cjs",
31
- "default": "./build/next-config/index.mjs"
32
- },
33
- "./sentry": {
34
- "types": "./build/sentry/index.d.ts",
35
- "require": "./build/sentry/index.cjs",
36
- "default": "./build/sentry/index.mjs"
37
- },
38
- "./playwright": {
39
- "types": "./build/playwright/index.d.ts",
40
- "require": "./build/playwright/index.cjs",
41
- "default": "./build/playwright/index.mjs"
42
- }
2
+ "name": "@prezly/theme-kit-nextjs",
3
+ "version": "10.14.0",
4
+ "description": "Data layer and utility library for developing Prezly themes with NextJS",
5
+ "type": "module",
6
+ "main": "build/index.mjs",
7
+ "types": "build/index.d.ts",
8
+ "files": [
9
+ "build",
10
+ "README.md"
11
+ ],
12
+ "exports": {
13
+ ".": {
14
+ "types": "./build/index.d.ts",
15
+ "require": "./build/index.cjs",
16
+ "default": "./build/index.mjs"
43
17
  },
44
- "engines": {
45
- "node": ">= 18.18.0",
46
- "npm": ">= 8.x"
18
+ "./server": {
19
+ "types": "./build/server.d.ts",
20
+ "require": "./build/server.cjs",
21
+ "default": "./build/server.mjs"
47
22
  },
48
- "repository": {
49
- "type": "git",
50
- "url": "git+https://github.com/prezly/theme-kit-js.git",
51
- "directory": "packages/nextjs"
23
+ "./middleware": {
24
+ "types": "./build/middleware/index.d.ts",
25
+ "require": "./build/middleware/index.cjs",
26
+ "default": "./build/middleware/index.mjs"
52
27
  },
53
- "keywords": [
54
- "prezly",
55
- "nextjs"
56
- ],
57
- "author": "Prezly Team",
58
- "license": "MIT",
59
- "bugs": {
60
- "url": "https://github.com/prezly/theme-kit-js/issues"
28
+ "./next-config": {
29
+ "types": "./build/next-config/index.d.ts",
30
+ "require": "./build/next-config/index.cjs",
31
+ "default": "./build/next-config/index.mjs"
61
32
  },
62
- "homepage": "https://github.com/prezly/theme-kit-js/tree/main/packages/nextjs#readme",
63
- "scripts": {
64
- "prepack": "pnpm test:build",
65
- "prebuild": "rimraf --glob build/* *.tsbuildinfo",
66
- "build": "pnpm build:types && pnpm build:esm && pnpm build:cjs",
67
- "build:types": "tsc --project .",
68
- "build:esm": "babel --config-file=../../babel.esm.json src/ --extensions=.ts,.tsx --out-dir=build/ --out-file-extension=.mjs",
69
- "build:cjs": "babel --config-file=../../babel.cjs.json src/ --extensions=.ts,.tsx --out-dir=build/ --out-file-extension=.cjs",
70
- "dev": "tsc --watch --preserveWatchOutput --project .",
71
- "typecheck": "tsc --noEmit --emitDeclarationOnly false --incremental --project .",
72
- "lint": "biome lint src",
73
- "lint:fix": "biome lint --write src",
74
- "format": "biome format src",
75
- "format:fix": "biome format --write src",
76
- "test": "pnpm test:unit && pnpm test:build",
77
- "test:unit": "jest",
78
- "test:redis": "node tests/test-redis-resilience.cjs",
79
- "test:build": "pnpm test:build:cjs && pnpm test:build:esm && pnpm test:build:types",
80
- "test:build:types": "tsc --esModuleInterop --noEmit --target es2020 --moduleResolution node tests/test-build-types.ts",
81
- "test:build:esm": "node tests/test-build.mjs",
82
- "test:build:cjs": "node tests/test-build.cjs"
33
+ "./sentry": {
34
+ "types": "./build/sentry/index.d.ts",
35
+ "require": "./build/sentry/index.cjs",
36
+ "default": "./build/sentry/index.mjs"
83
37
  },
84
- "peerDependencies": {
85
- "@playwright/test": "1.x",
86
- "@prezly/sdk": "21.12.0 || ^23.0.1 || ^26.16.0",
87
- "next": "^14.x || ^15.x",
88
- "react": "^18.x || ^19.x",
89
- "react-dom": "^18.x || ^19.x"
90
- },
91
- "peerDependenciesMeta": {
92
- "@playwright/test": {
93
- "optional": true
94
- }
95
- },
96
- "dependencies": {
97
- "@noble/hashes": "1.8.0",
98
- "@prezly/theme-kit-core": "^10.13.0",
99
- "@prezly/theme-kit-intl": "^10.13.0",
100
- "@prezly/theme-kit-react": "^10.13.0",
101
- "@technically/is-not-undefined": "^1.0.0",
102
- "@technically/omit-undefined": "^1.0.4",
103
- "json-stable-stringify": "^1.2.1",
104
- "redis": "^4.7.0",
105
- "url-pattern": "^1.0.3"
106
- },
107
- "devDependencies": {
108
- "@sentry/nextjs": "7.120.4"
109
- },
110
- "publishConfig": {
111
- "access": "public"
112
- },
113
- "sideEffects": false,
114
- "gitHead": "455f8c5db29b21db0791ee7f6e9fd60a08bd840e"
115
- }
38
+ "./playwright": {
39
+ "types": "./build/playwright/index.d.ts",
40
+ "require": "./build/playwright/index.cjs",
41
+ "default": "./build/playwright/index.mjs"
42
+ }
43
+ },
44
+ "engines": {
45
+ "node": ">= 18.18.0",
46
+ "npm": ">= 8.x"
47
+ },
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "git+https://github.com/prezly/theme-kit-js.git",
51
+ "directory": "packages/nextjs"
52
+ },
53
+ "keywords": [
54
+ "prezly",
55
+ "nextjs"
56
+ ],
57
+ "author": "Prezly Team",
58
+ "license": "MIT",
59
+ "bugs": {
60
+ "url": "https://github.com/prezly/theme-kit-js/issues"
61
+ },
62
+ "homepage": "https://github.com/prezly/theme-kit-js/tree/main/packages/nextjs#readme",
63
+ "peerDependencies": {
64
+ "@playwright/test": "1.x",
65
+ "@prezly/sdk": "21.12.0 || ^23.0.1 || ^26.16.0",
66
+ "next": "^14.x || ^15.x",
67
+ "react": "^18.x || ^19.x",
68
+ "react-dom": "^18.x || ^19.x"
69
+ },
70
+ "peerDependenciesMeta": {
71
+ "@playwright/test": {
72
+ "optional": true
73
+ }
74
+ },
75
+ "dependencies": {
76
+ "@noble/hashes": "1.8.0",
77
+ "@technically/is-not-undefined": "^1.0.0",
78
+ "@technically/omit-undefined": "^1.0.4",
79
+ "json-stable-stringify": "^1.2.1",
80
+ "redis": "^4.7.0",
81
+ "url-pattern": "^1.0.3",
82
+ "@prezly/theme-kit-core": "^10.14.0",
83
+ "@prezly/theme-kit-intl": "^10.14.0",
84
+ "@prezly/theme-kit-react": "^10.14.0"
85
+ },
86
+ "devDependencies": {
87
+ "@sentry/nextjs": "7.120.4"
88
+ },
89
+ "publishConfig": {
90
+ "access": "public"
91
+ },
92
+ "sideEffects": false,
93
+ "gitHead": "51b1ce99cf8ce2c886001077bcaf95cb143f86ce",
94
+ "scripts": {
95
+ "prebuild": "rimraf --glob build/* *.tsbuildinfo",
96
+ "build": "pnpm build:types && pnpm build:esm && pnpm build:cjs",
97
+ "build:types": "tsc --project .",
98
+ "build:esm": "babel --config-file=../../babel.esm.json src/ --extensions=.ts,.tsx --out-dir=build/ --out-file-extension=.mjs",
99
+ "build:cjs": "babel --config-file=../../babel.cjs.json src/ --extensions=.ts,.tsx --out-dir=build/ --out-file-extension=.cjs",
100
+ "dev": "tsc --watch --preserveWatchOutput --project .",
101
+ "typecheck": "tsc --noEmit --emitDeclarationOnly false --incremental --project .",
102
+ "lint": "biome lint src",
103
+ "lint:fix": "biome lint --write src",
104
+ "format": "biome format src",
105
+ "format:fix": "biome format --write src",
106
+ "test": "pnpm test:unit && pnpm test:build",
107
+ "test:unit": "jest",
108
+ "test:redis": "node tests/test-redis-resilience.cjs",
109
+ "test:build": "pnpm test:build:cjs && pnpm test:build:esm && pnpm test:build:types",
110
+ "test:build:types": "tsc --esModuleInterop --noEmit --target es2020 --moduleResolution node tests/test-build-types.ts",
111
+ "test:build:esm": "node tests/test-build.mjs",
112
+ "test:build:cjs": "node tests/test-build.cjs"
113
+ }
114
+ }