@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.
- package/dist/lib/apsorc-parser.js +3 -1
- package/npm-shrinkwrap.json +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -88,7 +88,9 @@ const dedupeIndexes = (entity) => {
|
|
|
88
88
|
};
|
|
89
89
|
exports.dedupeIndexes = dedupeIndexes;
|
|
90
90
|
const parseApsorcV2 = (apsorc) => {
|
|
91
|
-
|
|
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 {
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apso/cli",
|
|
3
|
-
"version": "0.47.
|
|
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.
|
|
9
|
+
"version": "0.47.5",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@apso/schema-tools": "^0.2.0",
|
package/oclif.manifest.json
CHANGED