@teambit/harmony.content.cli-reference 2.0.923 → 2.0.925
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 +5 -0
- package/cli-reference.mdx +12 -11
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +5 -0
- package/dist/cli-reference.mdx.js +12 -10
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1771370107272.js → preview-1771539382741.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -506,6 +506,11 @@
|
|
|
506
506
|
"u",
|
|
507
507
|
"ui-root-name [type]",
|
|
508
508
|
"name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\""
|
|
509
|
+
],
|
|
510
|
+
[
|
|
511
|
+
"",
|
|
512
|
+
"use-root-modules",
|
|
513
|
+
"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"
|
|
509
514
|
]
|
|
510
515
|
],
|
|
511
516
|
"description": "launch the Bit development server",
|
package/cli-reference.mdx
CHANGED
|
@@ -2344,17 +2344,18 @@ includes hot module reloading for development.
|
|
|
2344
2344
|
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
2345
2345
|
| `component-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. |
|
|
2346
2346
|
|
|
2347
|
-
| **Option** | **Option alias** | **Description**
|
|
2348
|
-
| ----------------------- | :--------------: |
|
|
2349
|
-
| `--dev` | `-d` | start UI server in dev mode.
|
|
2350
|
-
| `--port [port-number]` | `-p` | port of the UI server.
|
|
2351
|
-
| `--rebuild` | `-r` | rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case)
|
|
2352
|
-
| `--skip-ui-build` | | skip building UI
|
|
2353
|
-
| `--verbose` | `-v` | show verbose output for inspection and prints stack trace
|
|
2354
|
-
| `--no-browser` | `-n` | do not automatically open browser when ready
|
|
2355
|
-
| `--show-internal-urls` | | show urls for all internal dev servers
|
|
2356
|
-
| `--skip-compilation` | | skip the auto-compilation before starting the web-server
|
|
2357
|
-
| `--ui-root-name [type]` | `-u` | name of the ui root to use, e.g. "teambit.scope/scope" or "teambit.workspace/workspace"
|
|
2347
|
+
| **Option** | **Option alias** | **Description** |
|
|
2348
|
+
| ----------------------- | :--------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
2349
|
+
| `--dev` | `-d` | start UI server in dev mode. |
|
|
2350
|
+
| `--port [port-number]` | `-p` | port of the UI server. |
|
|
2351
|
+
| `--rebuild` | `-r` | rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case) |
|
|
2352
|
+
| `--skip-ui-build` | | skip building UI |
|
|
2353
|
+
| `--verbose` | `-v` | show verbose output for inspection and prints stack trace |
|
|
2354
|
+
| `--no-browser` | `-n` | do not automatically open browser when ready |
|
|
2355
|
+
| `--show-internal-urls` | | show urls for all internal dev servers |
|
|
2356
|
+
| `--skip-compilation` | | skip the auto-compilation before starting the web-server |
|
|
2357
|
+
| `--ui-root-name [type]` | `-u` | name of the ui root to use, e.g. "teambit.scope/scope" or "teambit.workspace/workspace" |
|
|
2358
|
+
| `--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 |
|
|
2358
2359
|
|
|
2359
2360
|
---
|
|
2360
2361
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -506,6 +506,11 @@
|
|
|
506
506
|
"u",
|
|
507
507
|
"ui-root-name [type]",
|
|
508
508
|
"name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\""
|
|
509
|
+
],
|
|
510
|
+
[
|
|
511
|
+
"",
|
|
512
|
+
"use-root-modules",
|
|
513
|
+
"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"
|
|
509
514
|
]
|
|
510
515
|
],
|
|
511
516
|
"description": "launch the Bit development server",
|
|
@@ -4713,37 +4713,39 @@ function _createMdxContent(props) {
|
|
|
4713
4713
|
children: "Option alias"
|
|
4714
4714
|
}), " | ", (0, _jsxRuntime.jsx)(_components.strong, {
|
|
4715
4715
|
children: "Description"
|
|
4716
|
-
}), "
|
|
4716
|
+
}), " |\n| ----------------------- | :--------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4717
4717
|
children: "--dev"
|
|
4718
4718
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4719
4719
|
children: "-d"
|
|
4720
|
-
}), " | start UI server in dev mode.
|
|
4720
|
+
}), " | start UI server in dev mode. |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4721
4721
|
children: "--port [port-number]"
|
|
4722
4722
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4723
4723
|
children: "-p"
|
|
4724
|
-
}), " | port of the UI server.
|
|
4724
|
+
}), " | port of the UI server. |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4725
4725
|
children: "--rebuild"
|
|
4726
4726
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4727
4727
|
children: "-r"
|
|
4728
|
-
}), " | rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case)
|
|
4728
|
+
}), " | rebuild the UI (useful e.g. when updating the workspace UI - can use the dev flag for HMR in this case) |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4729
4729
|
children: "--skip-ui-build"
|
|
4730
|
-
}), " | | skip building UI
|
|
4730
|
+
}), " | | skip building UI |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4731
4731
|
children: "--verbose"
|
|
4732
4732
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4733
4733
|
children: "-v"
|
|
4734
|
-
}), " | show verbose output for inspection and prints stack trace
|
|
4734
|
+
}), " | show verbose output for inspection and prints stack trace |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4735
4735
|
children: "--no-browser"
|
|
4736
4736
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4737
4737
|
children: "-n"
|
|
4738
|
-
}), " | do not automatically open browser when ready
|
|
4738
|
+
}), " | do not automatically open browser when ready |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4739
4739
|
children: "--show-internal-urls"
|
|
4740
|
-
}), " | | show urls for all internal dev servers
|
|
4740
|
+
}), " | | show urls for all internal dev servers |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4741
4741
|
children: "--skip-compilation"
|
|
4742
|
-
}), " | | skip the auto-compilation before starting the web-server
|
|
4742
|
+
}), " | | skip the auto-compilation before starting the web-server |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4743
4743
|
children: "--ui-root-name [type]"
|
|
4744
4744
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4745
4745
|
children: "-u"
|
|
4746
|
-
}), " | name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\"
|
|
4746
|
+
}), " | name of the ui root to use, e.g. \"teambit.scope/scope\" or \"teambit.workspace/workspace\" |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
4747
|
+
children: "--use-root-modules"
|
|
4748
|
+
}), " | | 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 |"]
|
|
4747
4749
|
}), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
|
|
4748
4750
|
children: "stash"
|
|
4749
4751
|
}), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
|