@teambit/harmony.content.cli-reference 2.0.412 → 2.0.414
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/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +21 -21
- package/cli-reference.mdx +41 -41
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +21 -21
- package/dist/cli-reference.mdx.js +20 -20
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1726543267663.js → preview-1726629511697.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
[
|
|
703
703
|
"",
|
|
704
704
|
"ast",
|
|
705
|
-
"
|
|
705
|
+
"use ast to transform files instead of regex"
|
|
706
706
|
]
|
|
707
707
|
],
|
|
708
708
|
"description": "Renames the owner part of the scope-name for all components with the specified 'current owner name'",
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
[
|
|
725
725
|
"",
|
|
726
726
|
"ast",
|
|
727
|
-
"
|
|
727
|
+
"use ast to transform files instead of regex"
|
|
728
728
|
],
|
|
729
729
|
[
|
|
730
730
|
"x",
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
[
|
|
1287
1287
|
"t",
|
|
1288
1288
|
"check-types [string]",
|
|
1289
|
-
"
|
|
1289
|
+
"show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1290
1290
|
],
|
|
1291
1291
|
[
|
|
1292
1292
|
"i",
|
|
@@ -1719,12 +1719,12 @@
|
|
|
1719
1719
|
[
|
|
1720
1720
|
"",
|
|
1721
1721
|
"include-snap",
|
|
1722
|
-
"
|
|
1722
|
+
"include snap pipeline tasks. Warning: this may deploy/publish if you have such tasks"
|
|
1723
1723
|
],
|
|
1724
1724
|
[
|
|
1725
1725
|
"",
|
|
1726
1726
|
"include-tag",
|
|
1727
|
-
"
|
|
1727
|
+
"include tag pipeline tasks. Warning: this may deploy/publish if you have such tasks"
|
|
1728
1728
|
],
|
|
1729
1729
|
[
|
|
1730
1730
|
"i",
|
|
@@ -1908,7 +1908,7 @@
|
|
|
1908
1908
|
[
|
|
1909
1909
|
"t",
|
|
1910
1910
|
"tree",
|
|
1911
|
-
"
|
|
1911
|
+
"render dependencies as a tree, similar to \"npm ls\""
|
|
1912
1912
|
]
|
|
1913
1913
|
],
|
|
1914
1914
|
"description": "show direct and indirect dependencies of the given component",
|
|
@@ -2066,7 +2066,7 @@
|
|
|
2066
2066
|
"name": "blame <component-name> <dependency-name>",
|
|
2067
2067
|
"alias": "",
|
|
2068
2068
|
"options": [],
|
|
2069
|
-
"description": "
|
|
2069
|
+
"description": "find out which snap/tag changed a dependency version",
|
|
2070
2070
|
"extendedDescription": "",
|
|
2071
2071
|
"group": "info",
|
|
2072
2072
|
"private": false,
|
|
@@ -2087,7 +2087,7 @@
|
|
|
2087
2087
|
"max display depth of the dependency graph"
|
|
2088
2088
|
]
|
|
2089
2089
|
],
|
|
2090
|
-
"description": "
|
|
2090
|
+
"description": "find components that use the specified dependency",
|
|
2091
2091
|
"extendedDescription": "",
|
|
2092
2092
|
"group": "info",
|
|
2093
2093
|
"private": false,
|
|
@@ -2110,7 +2110,7 @@
|
|
|
2110
2110
|
"max display depth of the dependency graph"
|
|
2111
2111
|
]
|
|
2112
2112
|
],
|
|
2113
|
-
"description": "
|
|
2113
|
+
"description": "find components that use the specified dependency",
|
|
2114
2114
|
"extendedDescription": "",
|
|
2115
2115
|
"group": "info",
|
|
2116
2116
|
"private": false,
|
|
@@ -2744,7 +2744,7 @@
|
|
|
2744
2744
|
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2745
2745
|
]
|
|
2746
2746
|
],
|
|
2747
|
-
"description": "
|
|
2747
|
+
"description": "recover component(s) soft-deleted from the workspace, or a remote scope",
|
|
2748
2748
|
"extendedDescription": "",
|
|
2749
2749
|
"group": "collaborate",
|
|
2750
2750
|
"private": false
|
|
@@ -2781,7 +2781,7 @@
|
|
|
2781
2781
|
[
|
|
2782
2782
|
"",
|
|
2783
2783
|
"origin-directly",
|
|
2784
|
-
"
|
|
2784
|
+
"avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2785
2785
|
],
|
|
2786
2786
|
[
|
|
2787
2787
|
"",
|
|
@@ -2791,12 +2791,12 @@
|
|
|
2791
2791
|
[
|
|
2792
2792
|
"",
|
|
2793
2793
|
"head-only",
|
|
2794
|
-
"
|
|
2794
|
+
"in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag"
|
|
2795
2795
|
],
|
|
2796
2796
|
[
|
|
2797
2797
|
"",
|
|
2798
2798
|
"ignore-missing-artifacts",
|
|
2799
|
-
"
|
|
2799
|
+
"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2800
2800
|
],
|
|
2801
2801
|
[
|
|
2802
2802
|
"",
|
|
@@ -3293,7 +3293,7 @@
|
|
|
3293
3293
|
[
|
|
3294
3294
|
"",
|
|
3295
3295
|
"update-dependents",
|
|
3296
|
-
"
|
|
3296
|
+
"when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace"
|
|
3297
3297
|
],
|
|
3298
3298
|
[
|
|
3299
3299
|
"j",
|
|
@@ -3425,7 +3425,7 @@
|
|
|
3425
3425
|
"message to be attached to the stashed components"
|
|
3426
3426
|
]
|
|
3427
3427
|
],
|
|
3428
|
-
"description": "
|
|
3428
|
+
"description": "stash modified components",
|
|
3429
3429
|
"extendedDescription": "",
|
|
3430
3430
|
"group": "development",
|
|
3431
3431
|
"private": false,
|
|
@@ -4011,7 +4011,7 @@
|
|
|
4011
4011
|
"the name of the lane to rename. if not specified, the current lane is used"
|
|
4012
4012
|
]
|
|
4013
4013
|
],
|
|
4014
|
-
"description": "
|
|
4014
|
+
"description": "change the lane-name locally",
|
|
4015
4015
|
"extendedDescription": "the remote will be updated after the next \"bit export\" command",
|
|
4016
4016
|
"group": "ungrouped",
|
|
4017
4017
|
"private": false
|
|
@@ -4259,7 +4259,7 @@
|
|
|
4259
4259
|
[
|
|
4260
4260
|
"",
|
|
4261
4261
|
"squash",
|
|
4262
|
-
"
|
|
4262
|
+
"relevant for merging a lane into another non-main lane, which by default does not squash"
|
|
4263
4263
|
],
|
|
4264
4264
|
[
|
|
4265
4265
|
"",
|
|
@@ -4448,7 +4448,7 @@
|
|
|
4448
4448
|
"compile components during the watch process"
|
|
4449
4449
|
]
|
|
4450
4450
|
],
|
|
4451
|
-
"description": "
|
|
4451
|
+
"description": "communicate with bit cli program via http requests",
|
|
4452
4452
|
"extendedDescription": "",
|
|
4453
4453
|
"group": "general",
|
|
4454
4454
|
"private": false
|
|
@@ -4770,7 +4770,7 @@
|
|
|
4770
4770
|
"json format"
|
|
4771
4771
|
]
|
|
4772
4772
|
],
|
|
4773
|
-
"description": "
|
|
4773
|
+
"description": "basic status for fast execution",
|
|
4774
4774
|
"extendedDescription": "shows only modified/new components with code changes. for the full status, use \"bit status\".\nthis command only checks source code changes, it doesn't check for config/aspect/dependency changes",
|
|
4775
4775
|
"group": "development",
|
|
4776
4776
|
"private": false,
|
|
@@ -4819,7 +4819,7 @@
|
|
|
4819
4819
|
[
|
|
4820
4820
|
"",
|
|
4821
4821
|
"ast",
|
|
4822
|
-
"
|
|
4822
|
+
"use ast to transform files instead of regex"
|
|
4823
4823
|
],
|
|
4824
4824
|
[
|
|
4825
4825
|
"",
|
|
@@ -4901,7 +4901,7 @@
|
|
|
4901
4901
|
[
|
|
4902
4902
|
"",
|
|
4903
4903
|
"ast",
|
|
4904
|
-
"
|
|
4904
|
+
"use ast to transform files instead of regex"
|
|
4905
4905
|
]
|
|
4906
4906
|
],
|
|
4907
4907
|
"description": "create a new component forked from an existing one (copies source files and configs)",
|
package/cli-reference.mdx
CHANGED
|
@@ -199,8 +199,8 @@ because this process can take a while on a large workspace, some flags are avail
|
|
|
199
199
|
| `--skip-tests` | | skip running component tests during build process |
|
|
200
200
|
| `--skip-tasks <string>` | | skip the given tasks. for multiple tasks, separate by a comma and wrap with quotes. specify the task-name (e.g. "TypescriptCompiler") or the task-aspect-id (e.g. teambit.compilation/compiler) |
|
|
201
201
|
| `--fail-fast` | | stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed) |
|
|
202
|
-
| `--include-snap` | |
|
|
203
|
-
| `--include-tag` | |
|
|
202
|
+
| `--include-snap` | | include snap pipeline tasks. Warning: this may deploy/publish if you have such tasks |
|
|
203
|
+
| `--include-tag` | | include tag pipeline tasks. Warning: this may deploy/publish if you have such tasks |
|
|
204
204
|
| `--ignore-issues <issues>` | `-i` | ignore component issues (shown in "bit status" as "issues found"), issues to ignore: [MissingPackagesDependenciesOnFs, MissingManuallyConfiguredPackages, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage, MergeConfigHasConflict, NonLoadedEnv, ExternalEnvWithoutVersion, RemovedDependencies, RemovedEnv, DeprecatedDependencies, SelfReference, ImportFromDirectory] to ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify "\*". |
|
|
205
205
|
|
|
206
206
|
---
|
|
@@ -504,10 +504,10 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
504
504
|
| ---------------- | :----------------------------: |
|
|
505
505
|
| `component-name` | component name or component id |
|
|
506
506
|
|
|
507
|
-
| **Option** | **Option alias** | **Description**
|
|
508
|
-
| ---------- | :--------------: |
|
|
509
|
-
| `--scope` | | get the data from the scope instead of the workspace
|
|
510
|
-
| `--tree` | `-t` |
|
|
507
|
+
| **Option** | **Option alias** | **Description** |
|
|
508
|
+
| ---------- | :--------------: | ---------------------------------------------------- |
|
|
509
|
+
| `--scope` | | get the data from the scope instead of the workspace |
|
|
510
|
+
| `--tree` | `-t` | render dependencies as a tree, similar to "npm ls" |
|
|
511
511
|
|
|
512
512
|
### deps remove
|
|
513
513
|
|
|
@@ -592,7 +592,7 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
592
592
|
|
|
593
593
|
**Usage**: `deps blame <component-name> <dependency-name>`
|
|
594
594
|
|
|
595
|
-
**Description**:
|
|
595
|
+
**Description**: find out which snap/tag changed a dependency version
|
|
596
596
|
|
|
597
597
|
| **Arg** | **Description** |
|
|
598
598
|
| ----------------- | :---------------------------------------------------------------------------: |
|
|
@@ -602,7 +602,7 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
602
602
|
|
|
603
603
|
**Usage**: `deps usage <dependency-name>`
|
|
604
604
|
|
|
605
|
-
**Description**:
|
|
605
|
+
**Description**: find components that use the specified dependency
|
|
606
606
|
|
|
607
607
|
| **Arg** | **Description** |
|
|
608
608
|
| ----------------- | :------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
@@ -786,18 +786,18 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
786
786
|
| ----------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
787
787
|
| `component-patterns...` | (not recommended) component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
788
788
|
|
|
789
|
-
| **Option** | **Option alias** | **Description**
|
|
790
|
-
| ---------------------------- | :--------------: |
|
|
791
|
-
| `--eject` | `-e` | after export, remove the components from the workspace and install them as packages
|
|
792
|
-
| `--all` | `-a` | export all components, including non-staged (useful when components in the remote scope are corrupted or missing)
|
|
793
|
-
| `--all-versions` | | export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)
|
|
794
|
-
| `--origin-directly` | |
|
|
795
|
-
| `--resume <string>` | | in case the previous export failed and suggested to resume with an export-id, enter the id
|
|
796
|
-
| `--head-only` | |
|
|
797
|
-
| `--ignore-missing-artifacts` | |
|
|
798
|
-
| `--fork-lane-new-scope` | | allow exporting a forked lane into a different scope than the original scope
|
|
799
|
-
| `--open-browser` | | open a browser once the export is completed in the cloud job url
|
|
800
|
-
| `--json` | `-j` | show output in json format
|
|
789
|
+
| **Option** | **Option alias** | **Description** |
|
|
790
|
+
| ---------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------- |
|
|
791
|
+
| `--eject` | `-e` | after export, remove the components from the workspace and install them as packages |
|
|
792
|
+
| `--all` | `-a` | export all components, including non-staged (useful when components in the remote scope are corrupted or missing) |
|
|
793
|
+
| `--all-versions` | | export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing) |
|
|
794
|
+
| `--origin-directly` | | avoid export to the central hub, instead, export directly to the original scopes. not recommended! |
|
|
795
|
+
| `--resume <string>` | | in case the previous export failed and suggested to resume with an export-id, enter the id |
|
|
796
|
+
| `--head-only` | | in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag |
|
|
797
|
+
| `--ignore-missing-artifacts` | | don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote |
|
|
798
|
+
| `--fork-lane-new-scope` | | allow exporting a forked lane into a different scope than the original scope |
|
|
799
|
+
| `--open-browser` | | open a browser once the export is completed in the cloud job url |
|
|
800
|
+
| `--json` | `-j` | show output in json format |
|
|
801
801
|
|
|
802
802
|
---
|
|
803
803
|
|
|
@@ -822,7 +822,7 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
822
822
|
| `--skip-config` | | do not copy the config (aspects-config, env, etc) to the new component. helpful when it fails during aspect loading |
|
|
823
823
|
| `--preserve` | | avoid refactoring file and variable/class names according to the new component name |
|
|
824
824
|
| `--no-link` | | avoid saving a reference to the original component |
|
|
825
|
-
| `--ast` | |
|
|
825
|
+
| `--ast` | | use ast to transform files instead of regex |
|
|
826
826
|
|
|
827
827
|
---
|
|
828
828
|
|
|
@@ -1114,7 +1114,7 @@ it is useful e.g. when having multiple lanes with the same name, but with differ
|
|
|
1114
1114
|
|
|
1115
1115
|
**Usage**: `lane rename <new-name>`
|
|
1116
1116
|
|
|
1117
|
-
**Description**:
|
|
1117
|
+
**Description**: change the lane-name locally
|
|
1118
1118
|
the remote will be updated after the next "bit export" command
|
|
1119
1119
|
|
|
1120
1120
|
| **Option** | **Option alias** | **Description** |
|
|
@@ -1284,7 +1284,7 @@ this flag keeps the history of one end and saves a reference to the other end. t
|
|
|
1284
1284
|
| `--message <message>` | `-m` | override the default message for the auto snap |
|
|
1285
1285
|
| `--keep-readme` | | skip deleting the lane readme component after merging |
|
|
1286
1286
|
| `--no-squash` | | relevant for merging lanes into main, which by default squashes all lane snaps |
|
|
1287
|
-
| `--squash` | |
|
|
1287
|
+
| `--squash` | | relevant for merging a lane into another non-main lane, which by default does not squash |
|
|
1288
1288
|
| `--ignore-config-changes` | | allow merging when components are modified due to config changes (such as dependencies) only and not files |
|
|
1289
1289
|
| `--verbose` | | show details of components that were not merged successfully |
|
|
1290
1290
|
| `--skip-dependency-installation` | `-x` | do not install dependencies of the imported components |
|
|
@@ -1523,7 +1523,7 @@ optionally use '--abort' to revert the last merge. to revert a lane merge, use "
|
|
|
1523
1523
|
## mini-status
|
|
1524
1524
|
|
|
1525
1525
|
**Alias**: `ms`
|
|
1526
|
-
**Description**:
|
|
1526
|
+
**Description**: basic status for fast execution
|
|
1527
1527
|
shows only modified/new components with code changes. for the full status, use "bit status".
|
|
1528
1528
|
this command only checks source code changes, it doesn't check for config/aspect/dependency changes
|
|
1529
1529
|
|
|
@@ -1627,7 +1627,7 @@ to match a state and another criteria, use " AND " keyword. e.g. '$modified AND
|
|
|
1627
1627
|
|
|
1628
1628
|
## recover
|
|
1629
1629
|
|
|
1630
|
-
**Description**:
|
|
1630
|
+
**Description**: recover component(s) soft-deleted from the workspace, or a remote scope
|
|
1631
1631
|
|
|
1632
1632
|
`bit recover <component-name>`
|
|
1633
1633
|
|
|
@@ -1724,7 +1724,7 @@ to mark components as deleted on the remote scope, use "bit delete".
|
|
|
1724
1724
|
| `--scope <scope-name>` | `-s` | define the scope for the new component |
|
|
1725
1725
|
| `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
|
|
1726
1726
|
| `--preserve` | | avoid renaming files and variables/classes according to the new component name |
|
|
1727
|
-
| `--ast` | |
|
|
1727
|
+
| `--ast` | | use ast to transform files instead of regex |
|
|
1728
1728
|
| `--delete` | | DEPRECATED. this is now the default |
|
|
1729
1729
|
| `--deprecate` | | instead of deleting the original component, deprecating it |
|
|
1730
1730
|
| `--path <relative-path>` | `-p` | relative path in the workspace to place new component in. by default, the directory of the new component is from your workspace's "defaultScope" value |
|
|
@@ -1867,7 +1867,7 @@ as a result of this change
|
|
|
1867
1867
|
| **Option** | **Option alias** | **Description** |
|
|
1868
1868
|
| ------------ | :--------------: | ------------------------------------------------------------------------------------------------------------------- |
|
|
1869
1869
|
| `--refactor` | `-r` | update the import statements in all dependent components to the new package name (that contains the new owner name) |
|
|
1870
|
-
| `--ast` | |
|
|
1870
|
+
| `--ast` | | use ast to transform files instead of regex |
|
|
1871
1871
|
|
|
1872
1872
|
### scope fork
|
|
1873
1873
|
|
|
@@ -1882,16 +1882,16 @@ optionally, provide [pattern] to limit the fork to specific components
|
|
|
1882
1882
|
| `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
|
|
1883
1883
|
| `pattern` | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
1884
1884
|
|
|
1885
|
-
| **Option** | **Option alias** | **Description**
|
|
1886
|
-
| -------------------------------- | :--------------: |
|
|
1887
|
-
| `--ast` | |
|
|
1888
|
-
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components
|
|
1885
|
+
| **Option** | **Option alias** | **Description** |
|
|
1886
|
+
| -------------------------------- | :--------------: | -------------------------------------------------- |
|
|
1887
|
+
| `--ast` | | use ast to transform files instead of regex |
|
|
1888
|
+
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
1889
1889
|
|
|
1890
1890
|
---
|
|
1891
1891
|
|
|
1892
1892
|
## server
|
|
1893
1893
|
|
|
1894
|
-
**Description**:
|
|
1894
|
+
**Description**: communicate with bit cli program via http requests
|
|
1895
1895
|
|
|
1896
1896
|
`bit server`
|
|
1897
1897
|
|
|
@@ -1989,7 +1989,7 @@ optionally, provide [pattern] to limit the fork to specific components
|
|
|
1989
1989
|
|
|
1990
1990
|
## stash
|
|
1991
1991
|
|
|
1992
|
-
**Description**:
|
|
1992
|
+
**Description**: stash modified components
|
|
1993
1993
|
|
|
1994
1994
|
`bit stash <sub-command>`
|
|
1995
1995
|
|
|
@@ -2295,13 +2295,13 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
|
|
|
2295
2295
|
|
|
2296
2296
|
`bit watch`
|
|
2297
2297
|
|
|
2298
|
-
| **Option** | **Option alias** | **Description**
|
|
2299
|
-
| ------------------------ | :--------------: |
|
|
2300
|
-
| `--verbose` | `-v` | show all watch events and compiler verbose output
|
|
2301
|
-
| `--skip-pre-compilation` | | skip compilation step before starting to watch
|
|
2302
|
-
| `--check-types [string]` | `-t` |
|
|
2303
|
-
| `--import` | `-i` | DEPRECATED. it is now the default. helpful when using git. import component objects if .bitmap changed not by bit
|
|
2304
|
-
| `--skip-import` | | do not import component objects if .bitmap changed not by bit
|
|
2298
|
+
| **Option** | **Option alias** | **Description** |
|
|
2299
|
+
| ------------------------ | :--------------: | ----------------------------------------------------------------------------------------------------------------------------------- |
|
|
2300
|
+
| `--verbose` | `-v` | show all watch events and compiler verbose output |
|
|
2301
|
+
| `--skip-pre-compilation` | | skip compilation step before starting to watch |
|
|
2302
|
+
| `--check-types [string]` | `-t` | show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project |
|
|
2303
|
+
| `--import` | `-i` | DEPRECATED. it is now the default. helpful when using git. import component objects if .bitmap changed not by bit |
|
|
2304
|
+
| `--skip-import` | | do not import component objects if .bitmap changed not by bit |
|
|
2305
2305
|
|
|
2306
2306
|
---
|
|
2307
2307
|
|
|
@@ -2315,7 +2315,7 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
|
|
|
2315
2315
|
|
|
2316
2316
|
## why
|
|
2317
2317
|
|
|
2318
|
-
**Description**:
|
|
2318
|
+
**Description**: find components that use the specified dependency
|
|
2319
2319
|
|
|
2320
2320
|
`bit why <dependency-name>`
|
|
2321
2321
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -702,7 +702,7 @@
|
|
|
702
702
|
[
|
|
703
703
|
"",
|
|
704
704
|
"ast",
|
|
705
|
-
"
|
|
705
|
+
"use ast to transform files instead of regex"
|
|
706
706
|
]
|
|
707
707
|
],
|
|
708
708
|
"description": "Renames the owner part of the scope-name for all components with the specified 'current owner name'",
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
[
|
|
725
725
|
"",
|
|
726
726
|
"ast",
|
|
727
|
-
"
|
|
727
|
+
"use ast to transform files instead of regex"
|
|
728
728
|
],
|
|
729
729
|
[
|
|
730
730
|
"x",
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
[
|
|
1287
1287
|
"t",
|
|
1288
1288
|
"check-types [string]",
|
|
1289
|
-
"
|
|
1289
|
+
"show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1290
1290
|
],
|
|
1291
1291
|
[
|
|
1292
1292
|
"i",
|
|
@@ -1719,12 +1719,12 @@
|
|
|
1719
1719
|
[
|
|
1720
1720
|
"",
|
|
1721
1721
|
"include-snap",
|
|
1722
|
-
"
|
|
1722
|
+
"include snap pipeline tasks. Warning: this may deploy/publish if you have such tasks"
|
|
1723
1723
|
],
|
|
1724
1724
|
[
|
|
1725
1725
|
"",
|
|
1726
1726
|
"include-tag",
|
|
1727
|
-
"
|
|
1727
|
+
"include tag pipeline tasks. Warning: this may deploy/publish if you have such tasks"
|
|
1728
1728
|
],
|
|
1729
1729
|
[
|
|
1730
1730
|
"i",
|
|
@@ -1908,7 +1908,7 @@
|
|
|
1908
1908
|
[
|
|
1909
1909
|
"t",
|
|
1910
1910
|
"tree",
|
|
1911
|
-
"
|
|
1911
|
+
"render dependencies as a tree, similar to \"npm ls\""
|
|
1912
1912
|
]
|
|
1913
1913
|
],
|
|
1914
1914
|
"description": "show direct and indirect dependencies of the given component",
|
|
@@ -2066,7 +2066,7 @@
|
|
|
2066
2066
|
"name": "blame <component-name> <dependency-name>",
|
|
2067
2067
|
"alias": "",
|
|
2068
2068
|
"options": [],
|
|
2069
|
-
"description": "
|
|
2069
|
+
"description": "find out which snap/tag changed a dependency version",
|
|
2070
2070
|
"extendedDescription": "",
|
|
2071
2071
|
"group": "info",
|
|
2072
2072
|
"private": false,
|
|
@@ -2087,7 +2087,7 @@
|
|
|
2087
2087
|
"max display depth of the dependency graph"
|
|
2088
2088
|
]
|
|
2089
2089
|
],
|
|
2090
|
-
"description": "
|
|
2090
|
+
"description": "find components that use the specified dependency",
|
|
2091
2091
|
"extendedDescription": "",
|
|
2092
2092
|
"group": "info",
|
|
2093
2093
|
"private": false,
|
|
@@ -2110,7 +2110,7 @@
|
|
|
2110
2110
|
"max display depth of the dependency graph"
|
|
2111
2111
|
]
|
|
2112
2112
|
],
|
|
2113
|
-
"description": "
|
|
2113
|
+
"description": "find components that use the specified dependency",
|
|
2114
2114
|
"extendedDescription": "",
|
|
2115
2115
|
"group": "info",
|
|
2116
2116
|
"private": false,
|
|
@@ -2744,7 +2744,7 @@
|
|
|
2744
2744
|
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2745
2745
|
]
|
|
2746
2746
|
],
|
|
2747
|
-
"description": "
|
|
2747
|
+
"description": "recover component(s) soft-deleted from the workspace, or a remote scope",
|
|
2748
2748
|
"extendedDescription": "",
|
|
2749
2749
|
"group": "collaborate",
|
|
2750
2750
|
"private": false
|
|
@@ -2781,7 +2781,7 @@
|
|
|
2781
2781
|
[
|
|
2782
2782
|
"",
|
|
2783
2783
|
"origin-directly",
|
|
2784
|
-
"
|
|
2784
|
+
"avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2785
2785
|
],
|
|
2786
2786
|
[
|
|
2787
2787
|
"",
|
|
@@ -2791,12 +2791,12 @@
|
|
|
2791
2791
|
[
|
|
2792
2792
|
"",
|
|
2793
2793
|
"head-only",
|
|
2794
|
-
"
|
|
2794
|
+
"in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag"
|
|
2795
2795
|
],
|
|
2796
2796
|
[
|
|
2797
2797
|
"",
|
|
2798
2798
|
"ignore-missing-artifacts",
|
|
2799
|
-
"
|
|
2799
|
+
"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2800
2800
|
],
|
|
2801
2801
|
[
|
|
2802
2802
|
"",
|
|
@@ -3293,7 +3293,7 @@
|
|
|
3293
3293
|
[
|
|
3294
3294
|
"",
|
|
3295
3295
|
"update-dependents",
|
|
3296
|
-
"
|
|
3296
|
+
"when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace"
|
|
3297
3297
|
],
|
|
3298
3298
|
[
|
|
3299
3299
|
"j",
|
|
@@ -3425,7 +3425,7 @@
|
|
|
3425
3425
|
"message to be attached to the stashed components"
|
|
3426
3426
|
]
|
|
3427
3427
|
],
|
|
3428
|
-
"description": "
|
|
3428
|
+
"description": "stash modified components",
|
|
3429
3429
|
"extendedDescription": "",
|
|
3430
3430
|
"group": "development",
|
|
3431
3431
|
"private": false,
|
|
@@ -4011,7 +4011,7 @@
|
|
|
4011
4011
|
"the name of the lane to rename. if not specified, the current lane is used"
|
|
4012
4012
|
]
|
|
4013
4013
|
],
|
|
4014
|
-
"description": "
|
|
4014
|
+
"description": "change the lane-name locally",
|
|
4015
4015
|
"extendedDescription": "the remote will be updated after the next \"bit export\" command",
|
|
4016
4016
|
"group": "ungrouped",
|
|
4017
4017
|
"private": false
|
|
@@ -4259,7 +4259,7 @@
|
|
|
4259
4259
|
[
|
|
4260
4260
|
"",
|
|
4261
4261
|
"squash",
|
|
4262
|
-
"
|
|
4262
|
+
"relevant for merging a lane into another non-main lane, which by default does not squash"
|
|
4263
4263
|
],
|
|
4264
4264
|
[
|
|
4265
4265
|
"",
|
|
@@ -4448,7 +4448,7 @@
|
|
|
4448
4448
|
"compile components during the watch process"
|
|
4449
4449
|
]
|
|
4450
4450
|
],
|
|
4451
|
-
"description": "
|
|
4451
|
+
"description": "communicate with bit cli program via http requests",
|
|
4452
4452
|
"extendedDescription": "",
|
|
4453
4453
|
"group": "general",
|
|
4454
4454
|
"private": false
|
|
@@ -4770,7 +4770,7 @@
|
|
|
4770
4770
|
"json format"
|
|
4771
4771
|
]
|
|
4772
4772
|
],
|
|
4773
|
-
"description": "
|
|
4773
|
+
"description": "basic status for fast execution",
|
|
4774
4774
|
"extendedDescription": "shows only modified/new components with code changes. for the full status, use \"bit status\".\nthis command only checks source code changes, it doesn't check for config/aspect/dependency changes",
|
|
4775
4775
|
"group": "development",
|
|
4776
4776
|
"private": false,
|
|
@@ -4819,7 +4819,7 @@
|
|
|
4819
4819
|
[
|
|
4820
4820
|
"",
|
|
4821
4821
|
"ast",
|
|
4822
|
-
"
|
|
4822
|
+
"use ast to transform files instead of regex"
|
|
4823
4823
|
],
|
|
4824
4824
|
[
|
|
4825
4825
|
"",
|
|
@@ -4901,7 +4901,7 @@
|
|
|
4901
4901
|
[
|
|
4902
4902
|
"",
|
|
4903
4903
|
"ast",
|
|
4904
|
-
"
|
|
4904
|
+
"use ast to transform files instead of regex"
|
|
4905
4905
|
]
|
|
4906
4906
|
],
|
|
4907
4907
|
"description": "create a new component forked from an existing one (copies source files and configs)",
|