@aikdna/kdna-studio-cli 0.8.10 → 0.8.11

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.
@@ -1168,10 +1168,11 @@ function importFromFolder(sourceDir, projectDir, projectName, creatorIdentity, o
1168
1168
  // NEW: import evolution stages
1169
1169
  if (evolution && Array.isArray(evolution.stages)) {
1170
1170
  for (const stage of evolution.stages) {
1171
- importedCards.push(cardApi.createCard('evolution_stage', {
1171
+ pushImportedCard(importedCards, 'evolution_stage', {
1172
1172
  name: stage.name || stage.id || '',
1173
- level: stage.level || '', description: stage.description || '',
1174
- }));
1173
+ level: stage.level != null ? stage.level : '',
1174
+ description: stage.description || '',
1175
+ }, stage.id || null);
1175
1176
  }
1176
1177
  }
1177
1178
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikdna/kdna-studio-cli",
3
- "version": "0.8.10",
3
+ "version": "0.8.11",
4
4
  "description": "Official KDNA Studio command-line authoring entry for creating, reviewing, compiling, and exporting .kdna judgment assets through the KDNA toolchain.",
5
5
  "type": "commonjs",
6
6
  "bin": {