@dforge-core/metadata 0.0.53 → 0.0.55
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/CHANGELOG.md +18 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/schemas/manifest.schema.json +6 -1
- package/schemas/test_scenario.schema.json +1 -3
- package/src/manifest.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,24 @@ All notable changes to `@dforge-core/metadata` are documented here.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this package adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.0.55] — 2026-11-14
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **`manifest.schema.json`:** `shortDescription` (at most 1000 characters), the marketplace card text. Optional; the card
|
|
13
|
+
shows it, else the start of `description` cut at a sentence. `ManifestDef` has the field.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **`manifest.schema.json`:** `description` says the marketplace module page shows it whole when the package has no README.
|
|
18
|
+
|
|
19
|
+
## [0.0.54] — 2026-11-12
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **`test_scenario.schema.json`:** a suite no longer accepts `fixture` or `isolation`. The runner never read them, so a
|
|
24
|
+
suite that named one ran without it; it is now refused until the runner supports them.
|
|
25
|
+
|
|
8
26
|
## [0.0.53] — 2026-11-10
|
|
9
27
|
|
|
10
28
|
### Changed
|
package/dist/index.d.ts
CHANGED
|
@@ -1291,6 +1291,8 @@ interface ManifestDef {
|
|
|
1291
1291
|
dbSchemaVersion: string;
|
|
1292
1292
|
displayName: string;
|
|
1293
1293
|
description?: string;
|
|
1294
|
+
/** Marketplace card text, at most 1000 characters; without it the card shows the start of `description`. */
|
|
1295
|
+
shortDescription?: string;
|
|
1294
1296
|
/** Schema name override (defaults to `code`; system modules use 'dForge'). */
|
|
1295
1297
|
schemaName?: string;
|
|
1296
1298
|
/** System module flag (cannot be uninstalled, admin-only). Omit for regular modules. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dforge-core/metadata",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55",
|
|
4
4
|
"description": "Canonical dForge authoring registries — field types, base datatypes, column types, traits, data-view kinds and chart types — with derivation helpers. Runtime-dependency-free; the single source of truth shared by editors, the web app and the CLI.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "dForge",
|
|
@@ -45,7 +45,12 @@
|
|
|
45
45
|
},
|
|
46
46
|
"description": {
|
|
47
47
|
"type": "string",
|
|
48
|
-
"description": "Module description"
|
|
48
|
+
"description": "Module description. The marketplace module page shows it whole when the package has no README; the catalog card shows shortDescription, else the start of this cut at a sentence."
|
|
49
|
+
},
|
|
50
|
+
"shortDescription": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"maxLength": 1000,
|
|
53
|
+
"description": "Marketplace card text (at most 1000 characters). Optional; refreshed on every publish."
|
|
49
54
|
},
|
|
50
55
|
"schemaName": {
|
|
51
56
|
"type": "string",
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "dForge Module Test Scenarios",
|
|
4
|
-
"description": "Scenarios for a dForge module (tests/*.test.json), run by `dforge-cli module test`. Covers the v0 subset described in docs/modules/module-tests.md: given / do / expect over the API as the signed-in user.",
|
|
4
|
+
"description": "Scenarios for a dForge module (tests/*.test.json), run by `dforge-cli module test`. Covers the v0 subset described in docs/modules/module-tests.md: given / do / expect over the API as the signed-in user. A suite has no fixture or isolation yet: the workspace must already hold the data the scenarios rely on.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"required": ["describe", "tests"],
|
|
7
7
|
"additionalProperties": false,
|
|
8
8
|
"properties": {
|
|
9
9
|
"$comment": { "type": "string" },
|
|
10
10
|
"describe": { "type": "string", "description": "Name of the suite." },
|
|
11
|
-
"fixture": { "type": "string", "description": "Named fixture from tests/test.json. Not read by v0: the workspace must already hold the data the scenarios rely on." },
|
|
12
|
-
"isolation": { "enum": ["rollback", "clone"], "description": "Not used by v0: tests commit and leave their records behind." },
|
|
13
11
|
"tests": { "type": "array", "items": { "$ref": "#/$defs/test" } }
|
|
14
12
|
},
|
|
15
13
|
"$defs": {
|
package/src/manifest.ts
CHANGED
|
@@ -35,6 +35,8 @@ export interface ManifestDef {
|
|
|
35
35
|
dbSchemaVersion: string;
|
|
36
36
|
displayName: string;
|
|
37
37
|
description?: string;
|
|
38
|
+
/** Marketplace card text, at most 1000 characters; without it the card shows the start of `description`. */
|
|
39
|
+
shortDescription?: string;
|
|
38
40
|
/** Schema name override (defaults to `code`; system modules use 'dForge'). */
|
|
39
41
|
schemaName?: string;
|
|
40
42
|
/** System module flag (cannot be uninstalled, admin-only). Omit for regular modules. */
|