@jxsuite/schema 0.32.0 → 0.34.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/defs/project-config.schema.ts +6 -0
- package/package.json +5 -3
- package/project-schema.json +5 -0
- package/types.ts +1 -1
|
@@ -82,6 +82,12 @@ export const projectConfigSchema = {
|
|
|
82
82
|
description: "Output directory for compiled site.",
|
|
83
83
|
type: "string",
|
|
84
84
|
},
|
|
85
|
+
sitemap: {
|
|
86
|
+
default: true,
|
|
87
|
+
description:
|
|
88
|
+
"Generate sitemap.xml from the route table (requires `url`). Set false to disable.",
|
|
89
|
+
type: "boolean",
|
|
90
|
+
},
|
|
85
91
|
trailingSlash: {
|
|
86
92
|
default: "always",
|
|
87
93
|
description: "Trailing slash behavior for generated URLs.",
|
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@webref/css": "^8.6.
|
|
3
|
+
"@webref/css": "^8.6.1",
|
|
4
4
|
"@webref/elements": "^2.7.1",
|
|
5
|
-
"@webref/idl": "^3.81.
|
|
5
|
+
"@webref/idl": "^3.81.2",
|
|
6
|
+
"ajv": "^8.20.0",
|
|
7
|
+
"ajv-formats": "^3.0.1"
|
|
6
8
|
},
|
|
7
9
|
"description": "JSON Schema 2020-12 meta-schema generator for Jx documents",
|
|
8
10
|
"exports": {
|
|
@@ -39,7 +41,7 @@
|
|
|
39
41
|
"upgrade": "bunx npm-check-updates -u && bun install"
|
|
40
42
|
},
|
|
41
43
|
"type": "module",
|
|
42
|
-
"version": "0.
|
|
44
|
+
"version": "0.34.0",
|
|
43
45
|
"devDependencies": {
|
|
44
46
|
"json-schema-to-ts": "^3.1.1"
|
|
45
47
|
}
|
package/project-schema.json
CHANGED
|
@@ -212,6 +212,11 @@
|
|
|
212
212
|
"description": "Output directory for compiled site.",
|
|
213
213
|
"type": "string"
|
|
214
214
|
},
|
|
215
|
+
"sitemap": {
|
|
216
|
+
"default": true,
|
|
217
|
+
"description": "Generate sitemap.xml from the route table (requires `url`). Set false to disable.",
|
|
218
|
+
"type": "boolean"
|
|
219
|
+
},
|
|
215
220
|
"trailingSlash": {
|
|
216
221
|
"default": "always",
|
|
217
222
|
"description": "Trailing slash behavior for generated URLs.",
|
package/types.ts
CHANGED
|
@@ -437,7 +437,7 @@ export interface ProjectConfig {
|
|
|
437
437
|
$elements?: (string | JxElement)[];
|
|
438
438
|
$head?: JxHeadEntry[];
|
|
439
439
|
$defs?: Record<string, unknown>;
|
|
440
|
-
build?: { adapter?: string; [key: string]: unknown };
|
|
440
|
+
build?: { adapter?: string; sitemap?: boolean; [key: string]: unknown };
|
|
441
441
|
images?: ImageConfig;
|
|
442
442
|
imports?: Record<string, string>;
|
|
443
443
|
contentTypes?: Record<string, ContentTypeDef>;
|