@apso/cli 0.47.4 → 0.47.5

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.
@@ -88,7 +88,9 @@ const dedupeIndexes = (entity) => {
88
88
  };
89
89
  exports.dedupeIndexes = dedupeIndexes;
90
90
  const parseApsorcV2 = (apsorc) => {
91
- const { entities, relationships: apsoRelationships } = apsorc;
91
+ // A raw .apsorc may omit "relationships" (fresh scaffolds do); parseRc
92
+ // defaults it, but migrate and verify read the file directly.
93
+ const { entities, relationships: apsoRelationships = [] } = apsorc;
92
94
  (0, exports.assertCodegenSafeNames)(apsorc);
93
95
  const relationshipMap = (0, relationships_1.parseRelationships)(apsoRelationships);
94
96
  return {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.47.4",
3
+ "version": "0.47.5",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@apso/cli",
9
- "version": "0.47.4",
9
+ "version": "0.47.5",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@apso/schema-tools": "^0.2.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.47.4",
2
+ "version": "0.47.5",
3
3
  "commands": {
4
4
  "config": {
5
5
  "id": "config",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apso/cli",
3
- "version": "0.47.4",
3
+ "version": "0.47.5",
4
4
  "mcpName": "io.github.apsoai/apso",
5
5
  "description": "Apso CLI",
6
6
  "author": "Apso by Mavric - @mavric",