@paroicms/site-generator-plugin 0.30.12 → 0.31.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.
@@ -211,7 +211,7 @@ function reorderSiteSchemaNodeTypes(siteSchema) {
211
211
  "documentKind",
212
212
  "route",
213
213
  "redirectTo",
214
- "ogType",
214
+ "jsonLdType",
215
215
  "withFeaturedImage",
216
216
  "fields",
217
217
  "lists",
@@ -234,7 +234,7 @@ function toRoutingDocumentNodeType(typeName, saType) {
234
234
  typeName,
235
235
  kind: "document",
236
236
  documentKind: "routing",
237
- ogType: saType.ogType,
237
+ jsonLdType: saType.jsonLdType,
238
238
  route: generateSlug(saType.label),
239
239
  withFeaturedImage: typeName !== "home" && !!saType.entryPage,
240
240
  };
@@ -255,7 +255,7 @@ function toRegularDocumentNodeType(typeName, saType) {
255
255
  typeName,
256
256
  kind: "document",
257
257
  documentKind: "regular",
258
- ogType: saType.ogType,
258
+ jsonLdType: saType.jsonLdType,
259
259
  route: saType.temporal ? ":yyyy/:mm/:dd/:relativeId-:slug" : ":relativeId-:slug",
260
260
  withFeaturedImage: true,
261
261
  };
@@ -134,7 +134,7 @@ Guidelines for creating the dictionnary YAML:
134
134
  - entryPage: A Boolean indicating whether this is one of the very few first pages the visitor lands on (optional, routing document only).
135
135
  - taxonomy: A boolean to indicate if this is a taxonomy (optional, routing document only).
136
136
  - temporal: A boolean to indicate if there is a temporal nature for this type of node (optional, regular document only).
137
- - ogType: (optional, and document only) If you think of a particular Open-Graph type for this document, give it here.
137
+ - jsonLdType (optional, document only): The schema.org type for JSON-LD structured data. Use PascalCase values. Allowed values: `"Article"` for blog posts or news articles, `"BlogPosting"` for blog posts specifically, `"AboutPage"` for about pages, `"ContactPage"` for contact pages, `"ProfilePage"` for author/profile pages, `"CollectionPage"` for category/tag pages etc., `"SearchResultsPage"` for search pages. Omit for other or generic pages.
138
138
  - label: A label of the node type, in the _website language_.
139
139
  - description: A description (5-40 words) for describing the purpose and theme of the node type. Write it in the _website language_.
140
140
  - prompt: This is an optional property. If there is an information to process later about this node type (a description of fields), then write it here. Keep is short, and in English.
@@ -199,7 +199,7 @@ post:
199
199
  confidence: 0.8
200
200
  kind: regularDocument
201
201
  temporal: true
202
- ogType: article
202
+ jsonLdType: Article
203
203
  label: Post
204
204
  description: A topical post about the subject of the website whatever it is.
205
205
  prompt: Add a labeling field using the tags taxonomy (allow multiple tags)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/site-generator-plugin",
3
- "version": "0.30.12",
3
+ "version": "0.31.0",
4
4
  "description": "ParoiCMS Site Generator Plugin",
5
5
  "keywords": [
6
6
  "paroicms",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@anthropic-ai/sdk": "~0.71.2",
32
32
  "@mistralai/mistralai": "~1.12.0",
33
- "@paroicms/script-lib": "0.3.15",
33
+ "@paroicms/script-lib": "0.3.16",
34
34
  "arktype": "~2.1.29",
35
35
  "jsonwebtoken": "~9.0.3",
36
36
  "knex": "~3.1.0",
@@ -43,9 +43,9 @@
43
43
  "@paroicms/public-server-lib": "0"
44
44
  },
45
45
  "devDependencies": {
46
- "@paroicms/internal-anywhere-lib": "1.37.3",
47
- "@paroicms/internal-server-lib": "1.23.7",
48
- "@paroicms/public-server-lib": "0.51.0",
46
+ "@paroicms/internal-anywhere-lib": "1.37.4",
47
+ "@paroicms/internal-server-lib": "1.23.8",
48
+ "@paroicms/public-server-lib": "0.52.0",
49
49
  "@types/node": "~24.10.7",
50
50
  "marked": "~17.0.1",
51
51
  "nodemon": "~3.1.11",