@contrail/cli 2.2.5 → 2.2.6

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/README.md CHANGED
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
17
17
  $ contrail COMMAND
18
18
  running command...
19
19
  $ contrail (--version)
20
- @contrail/cli/2.2.5 darwin-arm64 node-v18.13.0
20
+ @contrail/cli/2.2.6 darwin-arm64 node-v18.13.0
21
21
  $ contrail --help [COMMAND]
22
22
  USAGE
23
23
  $ contrail COMMAND
@@ -178,7 +178,7 @@ async function uploadOSHLinks(reducedOSHLinks) {
178
178
  if (!foundType ||
179
179
  !foundOSH ||
180
180
  foundTPSlugs.length !== currentLink.hierarchyTypePropertyIds.length) {
181
- logger_1.default.info(`skipping unhashable, invalid type option set hierarchy link: ${currentLink}`);
181
+ logger_1.default.info(`skipping unhashable, invalid type option set hierarchy link: ${JSON.stringify(currentLink, null, 2)}`);
182
182
  }
183
183
  // don't mutate original array
184
184
  const sortedFoundTPSlugs = [...foundTPSlugs].sort();
@@ -165,7 +165,7 @@ async function uploadTypePolicyLinks(reducedTypePolicyLinks) {
165
165
  const foundType = types.find((type) => type.id === currentLink.typeId);
166
166
  const foundTypePolicy = currentTypePolicies.find((tp) => tp.id === currentLink.typePolicyId);
167
167
  if (!foundType || !foundTypePolicy) {
168
- logger_1.default.info(`skipping unhashable, invalid policy link: ${currentLink}`);
168
+ logger_1.default.info(`skipping unhashable, invalid policy link: ${JSON.stringify(currentLink, null, 2)}`);
169
169
  }
170
170
  const hash = `${foundType.slug}|${foundTypePolicy.identifier}`;
171
171
  currentLinksHashes[hash] = currentLink;
@@ -177,7 +177,7 @@ async function uploadTypePropertyPolicyLinks(reducedTypePropertyPolicyLinks) {
177
177
  const foundTypeProperty = typeProperties.find((tp) => tp.id === currentLink.typePropertyId);
178
178
  const foundTPP = currentTPPs.find((tpp) => tpp.id === currentLink.typePropertyPolicyId);
179
179
  if (!foundTypeProperty || !foundTPP) {
180
- logger_1.default.info(`skipping unhashable, invalid policy link: ${currentLink}`);
180
+ logger_1.default.info(`skipping unhashable, invalid policy link: ${JSON.stringify(currentLink, null, 2)}`);
181
181
  continue;
182
182
  }
183
183
  const hash = `${foundTypeProperty.typeSlug}${foundTypeProperty.slug}|${foundTPP.identifier}`;
@@ -70,7 +70,7 @@ async function uploadUsageInfoObjects(loadedUsageInfo) {
70
70
  const foundType = typesWithProperties.find((t) => t.id === currentUI.typeId);
71
71
  const foundTypeProperty = typeProperties.find((tp) => tp.id === currentUI.typePropertyId);
72
72
  if (!foundType || !foundTypeProperty) {
73
- logger_1.default.info(`skipping unhashable, invalid usage info: ${currentUI}`);
73
+ logger_1.default.info(`skipping unhashable, invalid usage info: ${JSON.stringify(currentUI, null, 2)}`);
74
74
  continue;
75
75
  }
76
76
  const hash = `${foundType.slug}|${foundTypeProperty.slug}`;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.5",
2
+ "version": "2.2.6",
3
3
  "commands": {
4
4
  "app:create": {
5
5
  "id": "app:create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrail/cli",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "VibeIQ's Contrail Platform CLI.",
5
5
  "bin": {
6
6
  "contrail-cli": "./bin/run",