@teambit/harmony.content.cli-reference 2.0.1004 → 2.0.1006
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 +15 -0
- package/cli-reference.mdx +3 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +15 -0
- package/dist/cli-reference.mdx.js +9 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1776432715724.js → preview-1776590287251.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -558,6 +558,11 @@
|
|
|
558
558
|
"",
|
|
559
559
|
"use-root-modules",
|
|
560
560
|
"EXPERIMENTAL. resolve component previews from root node_modules instead of .bit_roots. mainly for internal usage, use with caution only if you understand the implications"
|
|
561
|
+
],
|
|
562
|
+
[
|
|
563
|
+
"",
|
|
564
|
+
"use-source",
|
|
565
|
+
"EXPERIMENTAL. resolve local workspace component previews from source files instead of .bit_roots or package artifacts. intended for debugging and HMR investigations"
|
|
561
566
|
]
|
|
562
567
|
],
|
|
563
568
|
"description": "launch the Bit development server",
|
|
@@ -1857,6 +1862,11 @@
|
|
|
1857
1862
|
"c",
|
|
1858
1863
|
"current-dir",
|
|
1859
1864
|
"create the new workspace in current directory (default is to create a new directory, inside the current dir)"
|
|
1865
|
+
],
|
|
1866
|
+
[
|
|
1867
|
+
"",
|
|
1868
|
+
"agent [type]",
|
|
1869
|
+
"create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md)"
|
|
1860
1870
|
]
|
|
1861
1871
|
],
|
|
1862
1872
|
"description": "create a new Bit workspace from a template",
|
|
@@ -5188,6 +5198,11 @@
|
|
|
5188
5198
|
"",
|
|
5189
5199
|
"skip-interactive",
|
|
5190
5200
|
"skip interactive mode for Git repositories"
|
|
5201
|
+
],
|
|
5202
|
+
[
|
|
5203
|
+
"",
|
|
5204
|
+
"agent [type]",
|
|
5205
|
+
"create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md)"
|
|
5191
5206
|
]
|
|
5192
5207
|
],
|
|
5193
5208
|
"description": "initialize a Bit workspace in an existing project",
|
package/cli-reference.mdx
CHANGED
|
@@ -1210,6 +1210,7 @@ supports various reset options to recover from corrupted state or restart from s
|
|
|
1210
1210
|
| `--shared <groupname>` | `-s` | add group write permissions to a scope properly |
|
|
1211
1211
|
| `--external-package-manager` | | enable external package manager mode (npm/yarn/pnpm) |
|
|
1212
1212
|
| `--skip-interactive` | | skip interactive mode for Git repositories |
|
|
1213
|
+
| `--agent [type]` | | create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md) |
|
|
1213
1214
|
|
|
1214
1215
|
---
|
|
1215
1216
|
|
|
@@ -1942,6 +1943,7 @@ installs dependencies and configures the workspace for immediate development.
|
|
|
1942
1943
|
| `--empty` | `-e` | skip template's default component creation (relevant for templates that add components by default) |
|
|
1943
1944
|
| `--load-from <path-to-template>` | | local path to the workspace containing the template. Helpful during a development of a workspace-template |
|
|
1944
1945
|
| `--current-dir` | `-c` | create the new workspace in current directory (default is to create a new directory, inside the current dir) |
|
|
1946
|
+
| `--agent [type]` | | create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md) |
|
|
1945
1947
|
|
|
1946
1948
|
---
|
|
1947
1949
|
|
|
@@ -2541,6 +2543,7 @@ includes hot module reloading for development.
|
|
|
2541
2543
|
| `--skip-compilation` | | skip the auto-compilation before starting the web-server |
|
|
2542
2544
|
| `--ui-root-name [type]` | `-u` | name of the ui root to use, e.g. "teambit.scope/scope" or "teambit.workspace/workspace" |
|
|
2543
2545
|
| `--use-root-modules` | | EXPERIMENTAL. resolve component previews from root node_modules instead of .bit_roots. mainly for internal usage, use with caution only if you understand the implications |
|
|
2546
|
+
| `--use-source` | | EXPERIMENTAL. resolve local workspace component previews from source files instead of .bit_roots or package artifacts. intended for debugging and HMR investigations |
|
|
2544
2547
|
|
|
2545
2548
|
---
|
|
2546
2549
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -558,6 +558,11 @@
|
|
|
558
558
|
"",
|
|
559
559
|
"use-root-modules",
|
|
560
560
|
"EXPERIMENTAL. resolve component previews from root node_modules instead of .bit_roots. mainly for internal usage, use with caution only if you understand the implications"
|
|
561
|
+
],
|
|
562
|
+
[
|
|
563
|
+
"",
|
|
564
|
+
"use-source",
|
|
565
|
+
"EXPERIMENTAL. resolve local workspace component previews from source files instead of .bit_roots or package artifacts. intended for debugging and HMR investigations"
|
|
561
566
|
]
|
|
562
567
|
],
|
|
563
568
|
"description": "launch the Bit development server",
|
|
@@ -1857,6 +1862,11 @@
|
|
|
1857
1862
|
"c",
|
|
1858
1863
|
"current-dir",
|
|
1859
1864
|
"create the new workspace in current directory (default is to create a new directory, inside the current dir)"
|
|
1865
|
+
],
|
|
1866
|
+
[
|
|
1867
|
+
"",
|
|
1868
|
+
"agent [type]",
|
|
1869
|
+
"create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md)"
|
|
1860
1870
|
]
|
|
1861
1871
|
],
|
|
1862
1872
|
"description": "create a new Bit workspace from a template",
|
|
@@ -5188,6 +5198,11 @@
|
|
|
5188
5198
|
"",
|
|
5189
5199
|
"skip-interactive",
|
|
5190
5200
|
"skip interactive mode for Git repositories"
|
|
5201
|
+
],
|
|
5202
|
+
[
|
|
5203
|
+
"",
|
|
5204
|
+
"agent [type]",
|
|
5205
|
+
"create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md)"
|
|
5191
5206
|
]
|
|
5192
5207
|
],
|
|
5193
5208
|
"description": "initialize a Bit workspace in an existing project",
|
|
@@ -2509,7 +2509,9 @@ function _createMdxContent(props) {
|
|
|
2509
2509
|
children: "--external-package-manager"
|
|
2510
2510
|
}), " | | enable external package manager mode (npm/yarn/pnpm) |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
2511
2511
|
children: "--skip-interactive"
|
|
2512
|
-
}), " | | skip interactive mode for Git repositories |"
|
|
2512
|
+
}), " | | skip interactive mode for Git repositories |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
2513
|
+
children: "--agent [type]"
|
|
2514
|
+
}), " | | create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md) |"]
|
|
2513
2515
|
}), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
|
|
2514
2516
|
children: "install"
|
|
2515
2517
|
}), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
|
|
@@ -3979,7 +3981,9 @@ function _createMdxContent(props) {
|
|
|
3979
3981
|
children: "--current-dir"
|
|
3980
3982
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
3981
3983
|
children: "-c"
|
|
3982
|
-
}), " | create the new workspace in current directory (default is to create a new directory, inside the current dir) |"
|
|
3984
|
+
}), " | create the new workspace in current directory (default is to create a new directory, inside the current dir) |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
3985
|
+
children: "--agent [type]"
|
|
3986
|
+
}), " | | create an AI agent instructions file. options: claude, cursor, copilot (default: AGENTS.md) |"]
|
|
3983
3987
|
}), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
|
|
3984
3988
|
children: "npmrc"
|
|
3985
3989
|
}), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
|
|
@@ -5141,7 +5145,9 @@ function _createMdxContent(props) {
|
|
|
5141
5145
|
children: "-u"
|
|
5142
5146
|
}), " | name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\" |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5143
5147
|
children: "--use-root-modules"
|
|
5144
|
-
}), " | | EXPERIMENTAL. resolve component previews from root node_modules instead of .bit_roots. mainly for internal usage, use with caution only if you understand the implications |"
|
|
5148
|
+
}), " | | EXPERIMENTAL. resolve component previews from root node_modules instead of .bit_roots. mainly for internal usage, use with caution only if you understand the implications |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5149
|
+
children: "--use-source"
|
|
5150
|
+
}), " | | EXPERIMENTAL. resolve local workspace component previews from source files instead of .bit_roots or package artifacts. intended for debugging and HMR investigations |"]
|
|
5145
5151
|
}), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
|
|
5146
5152
|
children: "stash"
|
|
5147
5153
|
}), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
|