@supernovaio/cli 1.0.4 → 1.0.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.
@@ -34,8 +34,8 @@ class DescribeDesignSystem extends core_1.Command {
34
34
  let themes = await instance.tokens.getTokenThemes(id);
35
35
  this.log(`\n↳ Design system "${designSystem.name}", id: ${designSystem.id}`.cyan);
36
36
  for (let brand of brands) {
37
- this.log(` ↳ Brand: "${brand.name}", id: ${brand.idInVersion}`);
38
- let brandThemes = themes.filter((t) => t.brandId === brand.idInVersion);
37
+ this.log(` ↳ Brand: "${brand.name}", id: ${brand.id}`);
38
+ let brandThemes = themes.filter((t) => t.brandId === brand.id);
39
39
  if (brandThemes.length > 0) {
40
40
  for (let theme of brandThemes) {
41
41
  this.log(` ↳ Theme: "${theme.name}", id: ${theme.id}`);
@@ -44,8 +44,8 @@ class DescribeWorkspaces extends core_1.Command {
44
44
  let brands = await instance.brands.getBrands(id);
45
45
  let themes = await instance.tokens.getTokenThemes(id);
46
46
  for (let brand of brands) {
47
- this.log(` ↳ Brand: "${brand.name}", id: ${brand.idInVersion}`);
48
- let brandThemes = themes.filter((t) => t.brandId === brand.idInVersion);
47
+ this.log(` ↳ Brand: "${brand.name}", id: ${brand.id}`);
48
+ let brandThemes = themes.filter((t) => t.brandId === brand.id);
49
49
  if (brandThemes.length > 0) {
50
50
  for (let theme of brandThemes) {
51
51
  this.log(` ↳ Theme: "${theme.name}", id: ${theme.id}`.gray);
@@ -405,5 +405,5 @@
405
405
  ]
406
406
  }
407
407
  },
408
- "version": "1.0.4"
408
+ "version": "1.0.5"
409
409
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@supernovaio/cli",
3
3
  "description": "Supernova.io Command Line Interface",
4
- "version": "1.0.4",
4
+ "version": "1.0.5",
5
5
  "author": "Supernova.io",
6
6
  "homepage": "https://supernova.io/",
7
7
  "keywords": [