@pmeweb/content 2.1.0 → 2.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pmeweb/content",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "PmeWeb content contract: content.schema.json types, zodFrom, field checks, scheduling. Read by every site's build and by the client portal.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -9,7 +9,9 @@
9
9
  },
10
10
  "files": [
11
11
  "dist",
12
- "prose.css"
12
+ "prose.css",
13
+ "assets",
14
+ "astro"
13
15
  ],
14
16
  "exports": {
15
17
  "./types": {
@@ -36,6 +38,15 @@
36
38
  "types": "./dist/published.d.ts",
37
39
  "default": "./dist/published.js"
38
40
  },
41
+ "./embeds": {
42
+ "types": "./dist/embeds/index.d.ts",
43
+ "default": "./dist/embeds/index.js"
44
+ },
45
+ "./embeds/astro": {
46
+ "types": "./dist/embeds/astro.d.ts",
47
+ "default": "./dist/embeds/astro.js"
48
+ },
49
+ "./EmbedPrivacy.astro": "./astro/EmbedPrivacy.astro",
39
50
  "./prose.css": "./prose.css"
40
51
  },
41
52
  "scripts": {
@@ -46,6 +57,8 @@
46
57
  },
47
58
  "devDependencies": {
48
59
  "astro": "7.2.9",
60
+ "happy-dom": "^20.14.5",
61
+ "sharp": "0.35.5",
49
62
  "typescript": "6.0.3",
50
63
  "vite": "8.3.0",
51
64
  "vitest": "4.1.11"
@@ -54,11 +67,15 @@
54
67
  "node": ">=22.12"
55
68
  },
56
69
  "peerDependencies": {
57
- "astro": ">=7"
70
+ "astro": ">=7",
71
+ "sharp": ">=0.33"
58
72
  },
59
73
  "peerDependenciesMeta": {
60
74
  "astro": {
61
75
  "optional": true
76
+ },
77
+ "sharp": {
78
+ "optional": true
62
79
  }
63
80
  }
64
81
  }