@aikdna/kdna-studio-core 1.3.0 → 1.3.1

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": "@aikdna/kdna-studio-core",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Studio-compatible authoring kernel for Human Lock, compile, and export of trusted .kdna assets.",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
@@ -399,11 +399,9 @@ function compileDomain(project) {
399
399
 
400
400
  // ── KDNA Card (governance metadata) ─────────────────────────────
401
401
  const provenance = require('../provenance').buildProvenance(project, files, identity);
402
- if (project.governance) {
403
- const { generateKdnaCard } = require('../governance');
404
- const kdnaCard = generateKdnaCard(project, {}, provenance);
405
- files['KDNA_CARD.json'] = JSON.stringify(kdnaCard, null, 2);
406
- }
402
+ const { generateKdnaCard } = require('../governance');
403
+ const kdnaCard = generateKdnaCard(project, {}, provenance);
404
+ files['KDNA_CARD.json'] = JSON.stringify(kdnaCard, null, 2);
407
405
 
408
406
  const excludedCount = cards.filter(c => !c.locked && !['deprecated'].includes(c.status)).length;
409
407
  const stats = {