@fabricorg/archetypes 2.1.15 → 2.2.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/CHANGELOG.md +12 -0
- package/dist/index.cjs +1 -2
- package/dist/index.d.cts +1 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.js +1 -2
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @fabricorg/archetypes
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9bee610: Require Node.js 22 or newer. `engines.node` moves from `>=20` to `>=22`, because Node 20 reached end-of-life on 2026-04-30 and has no release with the fix for CVE-2026-111497. No API changes. npm and pnpm only warn on an engines mismatch by default, so installs on Node 20 still proceed, but Node 20 is no longer tested or supported. In production, run Node 22.23.4, 24.22.1, or 26.12.1 or newer in the same release line.
|
|
8
|
+
|
|
9
|
+
## 2.1.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 81570f4: Refresh packed Fabric dependency and peer ranges for the additive event cause attribution releases.
|
|
14
|
+
|
|
3
15
|
## 2.1.15
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
let _fabricorg_platform = require("@fabricorg/platform");
|
|
3
|
-
|
|
3
|
+
// index.ts
|
|
4
4
|
const ARCHETYPE_SEMANTIC_KEY = "fabric.archetype";
|
|
5
5
|
/** `<namespace>.<PascalName>`, so a vertical's vocabulary cannot be mistaken for the reference set. */
|
|
6
6
|
const ARCHETYPE_ID = /^[a-z][a-z0-9-]*\.[A-Z][A-Za-z0-9]*$/;
|
|
@@ -445,7 +445,6 @@ const archetypeConformanceAdapter = {
|
|
|
445
445
|
id: "@fabricorg/archetypes",
|
|
446
446
|
evaluate: validateArchetypeConformance
|
|
447
447
|
};
|
|
448
|
-
//#endregion
|
|
449
448
|
exports.ARCHETYPES = ARCHETYPES;
|
|
450
449
|
exports.ARCHETYPE_ID = ARCHETYPE_ID;
|
|
451
450
|
exports.ARCHETYPE_SEMANTIC_KEY = ARCHETYPE_SEMANTIC_KEY;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FabricModule, JsonValue, ModuleManifest, ModuleManifestObjectType, StateClass } from "@fabricorg/platform";
|
|
2
|
-
//#region index.d.ts
|
|
3
2
|
export declare const ARCHETYPE_SEMANTIC_KEY: "fabric.archetype";
|
|
4
3
|
/** The six archetypes this package ships. A reference vocabulary, not the whole vocabulary. */
|
|
5
4
|
export type ArchetypeId = "fabric.Party" | "fabric.Offering" | "fabric.Agreement" | "fabric.Resource" | "fabric.Activity" | "fabric.Settlement";
|
|
@@ -90,5 +89,4 @@ export declare function archetypeSemantics(reference: ArchetypeReference): Recor
|
|
|
90
89
|
export declare function readArchetypeReference(objectType: ModuleManifestObjectType): ArchetypeReference | undefined;
|
|
91
90
|
export declare function validateArchetypeConformance(manifest: ModuleManifest, definitions?: Readonly<Record<string, ArchetypeDefinition>>): ArchetypeConformanceReport[];
|
|
92
91
|
export declare function assertArchetypeConformance(module: FabricModule<unknown>, definitions?: Readonly<Record<string, ArchetypeDefinition>>): void;
|
|
93
|
-
export declare const archetypeConformanceAdapter: ManifestConformanceAdapter;
|
|
94
|
-
//#endregion
|
|
92
|
+
export declare const archetypeConformanceAdapter: ManifestConformanceAdapter;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { FabricModule, JsonValue, ModuleManifest, ModuleManifestObjectType, StateClass } from "@fabricorg/platform";
|
|
2
|
-
//#region index.d.ts
|
|
3
2
|
export declare const ARCHETYPE_SEMANTIC_KEY: "fabric.archetype";
|
|
4
3
|
/** The six archetypes this package ships. A reference vocabulary, not the whole vocabulary. */
|
|
5
4
|
export type ArchetypeId = "fabric.Party" | "fabric.Offering" | "fabric.Agreement" | "fabric.Resource" | "fabric.Activity" | "fabric.Settlement";
|
|
@@ -90,5 +89,4 @@ export declare function archetypeSemantics(reference: ArchetypeReference): Recor
|
|
|
90
89
|
export declare function readArchetypeReference(objectType: ModuleManifestObjectType): ArchetypeReference | undefined;
|
|
91
90
|
export declare function validateArchetypeConformance(manifest: ModuleManifest, definitions?: Readonly<Record<string, ArchetypeDefinition>>): ArchetypeConformanceReport[];
|
|
92
91
|
export declare function assertArchetypeConformance(module: FabricModule<unknown>, definitions?: Readonly<Record<string, ArchetypeDefinition>>): void;
|
|
93
|
-
export declare const archetypeConformanceAdapter: ManifestConformanceAdapter;
|
|
94
|
-
//#endregion
|
|
92
|
+
export declare const archetypeConformanceAdapter: ManifestConformanceAdapter;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exportModuleManifest } from "@fabricorg/platform";
|
|
2
|
-
|
|
2
|
+
// index.ts
|
|
3
3
|
const ARCHETYPE_SEMANTIC_KEY = "fabric.archetype";
|
|
4
4
|
/** `<namespace>.<PascalName>`, so a vertical's vocabulary cannot be mistaken for the reference set. */
|
|
5
5
|
const ARCHETYPE_ID = /^[a-z][a-z0-9-]*\.[A-Z][A-Za-z0-9]*$/;
|
|
@@ -444,7 +444,6 @@ const archetypeConformanceAdapter = {
|
|
|
444
444
|
id: "@fabricorg/archetypes",
|
|
445
445
|
evaluate: validateArchetypeConformance
|
|
446
446
|
};
|
|
447
|
-
//#endregion
|
|
448
447
|
export { ARCHETYPES, ARCHETYPE_ID, ARCHETYPE_SEMANTIC_KEY, archetypeConformanceAdapter, archetypeSemantics, assertArchetypeConformance, createArchetypeConformance, defineArchetype, readArchetypeReference, validateArchetypeConformance };
|
|
449
448
|
|
|
450
449
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabricorg/archetypes",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Optional cross-industry archetype vocabulary and conformance tools for Fabric module manifests.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -32,18 +32,17 @@
|
|
|
32
32
|
"CHANGELOG.md"
|
|
33
33
|
],
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@fabricorg/platform": "^1.
|
|
35
|
+
"@fabricorg/platform": "^1.19.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "^22.10.0",
|
|
39
|
-
"tsdown": "^0.23.
|
|
39
|
+
"tsdown": "^0.23.7",
|
|
40
40
|
"typescript": "^5.7.3",
|
|
41
41
|
"vitest": "^4.1.5",
|
|
42
|
-
"@fabricorg/platform": "^1.
|
|
43
|
-
"@fabric-platform/bundling": "0.0.0"
|
|
42
|
+
"@fabricorg/platform": "^1.19.0"
|
|
44
43
|
},
|
|
45
44
|
"engines": {
|
|
46
|
-
"node": ">=
|
|
45
|
+
"node": ">=22"
|
|
47
46
|
},
|
|
48
47
|
"publishConfig": {
|
|
49
48
|
"access": "public"
|