@teambit/cli 0.0.1308 → 0.0.1310

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.
@@ -4,16 +4,16 @@ All CLI command output should use the shared formatting toolkit from `@teambit/c
4
4
 
5
5
  ## Toolkit Functions
6
6
 
7
- | Function | Purpose | Example output |
8
- | ----------------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
9
- | `formatTitle(text)` | Bold white section title | **modified components** |
10
- | `formatSection(title, desc, items)` | Full section: title with count, dim description, item list. Returns `''` if items is empty | **modified components (3)**<br>&nbsp;&nbsp;_(use "bit diff" to compare)_<br><br>&nbsp;&nbsp;&nbsp;› comp-a<br>&nbsp;&nbsp;&nbsp;› comp-b |
11
- | `formatItem(text, symbol?)` | Indented item line (3-space + symbol + text). Defaults to `bulletSymbol` | &nbsp;&nbsp;&nbsp;› comp-a |
12
- | `formatHint(text)` | Dim text for hints/timing | _Finished. (1.2s)_ |
13
- | `formatSuccessSummary(msg)` | Green checkmark + green text | ✔ 5/5 compiled successfully |
14
- | `formatWarningSummary(msg)` | Warning symbol + yellow text | ⚠ 2/5 failed |
15
- | `joinSections(sections)` | Filter empty strings, join with `\n\n` | — |
16
- | `renderSections(sections, expand?)` | Render with collapsible section support | — |
7
+ | Function | Purpose | Example output |
8
+ | ----------------------------------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
9
+ | `formatTitle(text)` | Bold white section title | **modified components** |
10
+ | `formatSection(title, desc, items)` | Full section: title with count, dim description, item list. Returns `''` if items is empty | **modified components (3)**<br/>&nbsp;&nbsp;_(use "bit diff" to compare)_<br/><br/>&nbsp;&nbsp;&nbsp;› comp-a<br/>&nbsp;&nbsp;&nbsp;› comp-b |
11
+ | `formatItem(text, symbol?)` | Indented item line (3-space + symbol + text). Defaults to `bulletSymbol` | &nbsp;&nbsp;&nbsp;› comp-a |
12
+ | `formatHint(text)` | Dim text for hints/timing | _Finished. (1.2s)_ |
13
+ | `formatSuccessSummary(msg)` | Green checkmark + green text | ✔ 5/5 compiled successfully |
14
+ | `formatWarningSummary(msg)` | Warning symbol + yellow text | ⚠ 2/5 failed |
15
+ | `joinSections(sections)` | Filter empty strings, join with `\n\n` | — |
16
+ | `renderSections(sections, expand?)` | Render with collapsible section support | — |
17
17
 
18
18
  ## Symbols
19
19
 
@@ -4,16 +4,16 @@ All CLI command output should use the shared formatting toolkit from `@teambit/c
4
4
 
5
5
  ## Toolkit Functions
6
6
 
7
- | Function | Purpose | Example output |
8
- | ----------------------------------- | ------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------- |
9
- | `formatTitle(text)` | Bold white section title | **modified components** |
10
- | `formatSection(title, desc, items)` | Full section: title with count, dim description, item list. Returns `''` if items is empty | **modified components (3)**<br>&nbsp;&nbsp;_(use "bit diff" to compare)_<br><br>&nbsp;&nbsp;&nbsp;› comp-a<br>&nbsp;&nbsp;&nbsp;› comp-b |
11
- | `formatItem(text, symbol?)` | Indented item line (3-space + symbol + text). Defaults to `bulletSymbol` | &nbsp;&nbsp;&nbsp;› comp-a |
12
- | `formatHint(text)` | Dim text for hints/timing | _Finished. (1.2s)_ |
13
- | `formatSuccessSummary(msg)` | Green checkmark + green text | ✔ 5/5 compiled successfully |
14
- | `formatWarningSummary(msg)` | Warning symbol + yellow text | ⚠ 2/5 failed |
15
- | `joinSections(sections)` | Filter empty strings, join with `\n\n` | — |
16
- | `renderSections(sections, expand?)` | Render with collapsible section support | — |
7
+ | Function | Purpose | Example output |
8
+ | ----------------------------------- | ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
9
+ | `formatTitle(text)` | Bold white section title | **modified components** |
10
+ | `formatSection(title, desc, items)` | Full section: title with count, dim description, item list. Returns `''` if items is empty | **modified components (3)**<br/>&nbsp;&nbsp;_(use "bit diff" to compare)_<br/><br/>&nbsp;&nbsp;&nbsp;› comp-a<br/>&nbsp;&nbsp;&nbsp;› comp-b |
11
+ | `formatItem(text, symbol?)` | Indented item line (3-space + symbol + text). Defaults to `bulletSymbol` | &nbsp;&nbsp;&nbsp;› comp-a |
12
+ | `formatHint(text)` | Dim text for hints/timing | _Finished. (1.2s)_ |
13
+ | `formatSuccessSummary(msg)` | Green checkmark + green text | ✔ 5/5 compiled successfully |
14
+ | `formatWarningSummary(msg)` | Warning symbol + yellow text | ⚠ 2/5 failed |
15
+ | `joinSections(sections)` | Filter empty strings, join with `\n\n` | — |
16
+ | `renderSections(sections, expand?)` | Render with collapsible section support | — |
17
17
 
18
18
  ## Symbols
19
19
 
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.1308/dist/cli.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.1308/dist/cli.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.1310/dist/cli.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.1310/dist/cli.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/cli",
3
- "version": "0.0.1308",
3
+ "version": "0.0.1310",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/cli",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "cli",
9
- "version": "0.0.1308"
9
+ "version": "0.0.1310"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "4.1.2",
@@ -15,7 +15,6 @@
15
15
  "yargs": "17.0.1",
16
16
  "p-map-series": "2.1.0",
17
17
  "pad-right": "0.2.2",
18
- "@teambit/legacy.consumer": "0.0.103",
19
18
  "@teambit/legacy.loader": "0.0.18",
20
19
  "@teambit/legacy.logger": "0.0.36",
21
20
  "@teambit/harmony": "0.4.7",
@@ -24,7 +23,8 @@
24
23
  "@teambit/legacy.constants": "0.0.24",
25
24
  "@teambit/bit-error": "0.0.404",
26
25
  "@teambit/legacy.cli.error": "0.0.36",
27
- "@teambit/logger": "0.0.1401"
26
+ "@teambit/legacy.consumer": "0.0.104",
27
+ "@teambit/logger": "0.0.1403"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/didyoumean": "1.2.0",