@teambit/harmony.content.cli-reference 2.0.670 → 2.0.672
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 +1424 -1289
- package/cli-reference.mdx +62 -11
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +1424 -1289
- package/dist/cli-reference.mdx.js +341 -10
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1751976620735.js → preview-1753879258224.js} +2 -2
- package/package.json +2 -2
package/cli-reference.mdx
CHANGED
|
@@ -344,6 +344,53 @@ when on a lane, "checkout head" only checks out components on this lane. to upda
|
|
|
344
344
|
|
|
345
345
|
---
|
|
346
346
|
|
|
347
|
+
## ci
|
|
348
|
+
|
|
349
|
+
**Description**: CI commands
|
|
350
|
+
|
|
351
|
+
`bit ci <sub-command>`
|
|
352
|
+
|
|
353
|
+
### ci verify
|
|
354
|
+
|
|
355
|
+
**Usage**: `ci verify`
|
|
356
|
+
|
|
357
|
+
**Description**: CI commands
|
|
358
|
+
|
|
359
|
+
### ci pr
|
|
360
|
+
|
|
361
|
+
**Usage**: `ci pr`
|
|
362
|
+
|
|
363
|
+
**Description**: This command is meant to run when a PR was open/updated and meant to export a lane to bit-cloud.
|
|
364
|
+
|
|
365
|
+
| **Option** | **Option alias** | **Description** |
|
|
366
|
+
| --------------------- | :--------------: | --------------------------------------------------------------------------------------- |
|
|
367
|
+
| `--message <message>` | `-m` | If set, set it as the snap message, if not, try and grab from git-commit-message |
|
|
368
|
+
| `--lane <lane>` | `-l` | If set, use as the lane name, if not available, grab from git-branch name |
|
|
369
|
+
| `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
|
|
370
|
+
| `--strict` | `-s` | Set to true to fail on warnings as well as errors, false (default) only fails on errors |
|
|
371
|
+
|
|
372
|
+
### ci merge
|
|
373
|
+
|
|
374
|
+
**Usage**: `ci merge`
|
|
375
|
+
|
|
376
|
+
**Description**: Merges a PR
|
|
377
|
+
|
|
378
|
+
| **Option** | **Option alias** | **Description** |
|
|
379
|
+
| ---------------------------- | :--------------: | ---------------------------------------------------------------------------------------------------------- |
|
|
380
|
+
| `--message <message>` | `-m` | If set, use it as the tag message, if not, try and grab from git-commit-message |
|
|
381
|
+
| `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
|
|
382
|
+
| `--strict` | `-s` | Set to true to fail on warnings as well as errors, false (default) only fails on errors |
|
|
383
|
+
| `--increment <level>` | `-l` | options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch |
|
|
384
|
+
| `--prerelease-id <id>` | | prerelease identifier (e.g. "dev" to get "1.0.0-dev.1") |
|
|
385
|
+
| `--patch` | `-p` | syntactic sugar for "--increment patch" |
|
|
386
|
+
| `--minor` | | syntactic sugar for "--increment minor" |
|
|
387
|
+
| `--major` | | syntactic sugar for "--increment major" |
|
|
388
|
+
| `--pre-release [identifier]` | | syntactic sugar for "--increment prerelease" and `--prerelease-id <identifier>` |
|
|
389
|
+
| `--increment-by <number>` | | (default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3. |
|
|
390
|
+
| `--verbose` | | show verbose output |
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
347
394
|
## clear-cache
|
|
348
395
|
|
|
349
396
|
**Alias**: `cc`
|
|
@@ -1036,6 +1083,8 @@ if the current directory is already a workspace, it validates that bit files are
|
|
|
1036
1083
|
| `--force` | `-f` | force workspace initialization without clearing local objects |
|
|
1037
1084
|
| `--bare [name]` | `-b` | initialize an empty bit bare scope |
|
|
1038
1085
|
| `--shared <groupname>` | `-s` | add group write permissions to a scope properly |
|
|
1086
|
+
| `--external-package-manager` | | enable external package manager mode (npm/yarn/pnpm) |
|
|
1087
|
+
| `--skip-interactive` | | skip interactive mode for Git repositories |
|
|
1039
1088
|
|
|
1040
1089
|
---
|
|
1041
1090
|
|
|
@@ -1441,6 +1490,7 @@ this command does the following:
|
|
|
1441
1490
|
| `--target <dir>` | | link to an external directory (similar to npm-link) so other projects could use these components |
|
|
1442
1491
|
| `--skip-fetching-objects` | | skip fetch missing objects from remotes before linking |
|
|
1443
1492
|
| `--peers` | | link peer dependencies of the components too |
|
|
1493
|
+
| `--comp-summary` | | show only a summary of component links instead of listing all components |
|
|
1444
1494
|
|
|
1445
1495
|
---
|
|
1446
1496
|
|
|
@@ -1604,12 +1654,12 @@ Start the Model Context Protocol (MCP) server with the specified configuration
|
|
|
1604
1654
|
|
|
1605
1655
|
**Usage**: `mcp-server setup [editor]`
|
|
1606
1656
|
|
|
1607
|
-
**Description**: Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, or other editors
|
|
1608
|
-
Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, and
|
|
1657
|
+
**Description**: Setup MCP integration with VS Code, Cursor, Windsurf, Roo Code, Cline, Claude Code, or other editors
|
|
1658
|
+
Creates or updates configuration files to integrate Bit MCP server with supported editors. Currently supports VS Code, Cursor, Windsurf, Roo Code, Cline, and Claude Code.
|
|
1609
1659
|
|
|
1610
|
-
| **Arg** |
|
|
1611
|
-
| -------- |
|
|
1612
|
-
| `editor` | Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline |
|
|
1660
|
+
| **Arg** | **Description** |
|
|
1661
|
+
| -------- | :---------------------------------------------------------------------------------------------: |
|
|
1662
|
+
| `editor` | Editor to setup (default: vscode). Available: vscode, cursor, windsurf, roo, cline, claude-code |
|
|
1613
1663
|
|
|
1614
1664
|
| **Option** | **Option alias** | **Description** |
|
|
1615
1665
|
| --------------------------------- | :--------------: | -------------------------------------------------------------------------------------- |
|
|
@@ -1621,12 +1671,12 @@ Creates or updates configuration files to integrate Bit MCP server with supporte
|
|
|
1621
1671
|
|
|
1622
1672
|
**Usage**: `mcp-server rules [editor]`
|
|
1623
1673
|
|
|
1624
|
-
**Description**: Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, or print to screen
|
|
1625
|
-
Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, and
|
|
1674
|
+
**Description**: Write Bit MCP rules/instructions file for VS Code, Cursor, Roo Code, Cline, Claude Code, or print to screen
|
|
1675
|
+
Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code, Cursor, Roo Code, Cline, and Claude Code. For Claude Code, creates .claude/bit.md to avoid overwriting existing CLAUDE.md files. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.
|
|
1626
1676
|
|
|
1627
|
-
| **Arg** |
|
|
1628
|
-
| -------- |
|
|
1629
|
-
| `editor` | Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline |
|
|
1677
|
+
| **Arg** | **Description** |
|
|
1678
|
+
| -------- | :---------------------------------------------------------------------------------------------: |
|
|
1679
|
+
| `editor` | Editor to write rules for (default: vscode). Available: vscode, cursor, roo, cline, claude-code |
|
|
1630
1680
|
|
|
1631
1681
|
| **Option** | **Option alias** | **Description** |
|
|
1632
1682
|
| -------------------- | :--------------: | ----------------------------------------------------------------------------- |
|
|
@@ -2179,7 +2229,8 @@ optionally, provide [pattern] to limit the fork to specific components
|
|
|
2179
2229
|
| `--warnings` | `-w` | show warnings. by default, only issues that block tag/snap are shown |
|
|
2180
2230
|
| `--verbose` | | show extra data: full snap hashes for staged components, and divergence point for lanes |
|
|
2181
2231
|
| `--lanes` | `-l` | when on a lane, show updates from main and updates from forked lanes |
|
|
2182
|
-
| `--strict` | |
|
|
2232
|
+
| `--strict` | | exit with code 1 if any issues are found (both errors and warnings) |
|
|
2233
|
+
| `--fail-on-error` | | exit with code 1 only when tag/snap blocker issues are found (not warnings) |
|
|
2183
2234
|
| `--ignore-circular-dependencies` | `-c` | do not check for circular dependencies to get the results quicker |
|
|
2184
2235
|
|
|
2185
2236
|
---
|