@teambit/harmony.content.cli-reference 2.0.450 → 2.0.452
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 +630 -615
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +630 -615
- package/dist/cli-reference.mdx.js +13 -0
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1729912813344.js → preview-1730330697064.js} +2 -2
- package/package.json +2 -2
package/dist/cli-reference.json
CHANGED
|
@@ -1269,6 +1269,48 @@
|
|
|
1269
1269
|
}
|
|
1270
1270
|
]
|
|
1271
1271
|
},
|
|
1272
|
+
{
|
|
1273
|
+
"name": "list [remote-scope]",
|
|
1274
|
+
"alias": "ls",
|
|
1275
|
+
"options": [
|
|
1276
|
+
[
|
|
1277
|
+
"i",
|
|
1278
|
+
"ids",
|
|
1279
|
+
"show only component ids, unformatted"
|
|
1280
|
+
],
|
|
1281
|
+
[
|
|
1282
|
+
"s",
|
|
1283
|
+
"scope",
|
|
1284
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
1285
|
+
],
|
|
1286
|
+
[
|
|
1287
|
+
"o",
|
|
1288
|
+
"outdated",
|
|
1289
|
+
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
"d",
|
|
1293
|
+
"include-deleted",
|
|
1294
|
+
"EXPERIMENTAL. show also deleted components"
|
|
1295
|
+
],
|
|
1296
|
+
[
|
|
1297
|
+
"j",
|
|
1298
|
+
"json",
|
|
1299
|
+
"show the output in JSON format"
|
|
1300
|
+
],
|
|
1301
|
+
[
|
|
1302
|
+
"n",
|
|
1303
|
+
"namespace <string>",
|
|
1304
|
+
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
1305
|
+
]
|
|
1306
|
+
],
|
|
1307
|
+
"description": "list components on a workspace or a remote scope (with flag).",
|
|
1308
|
+
"extendedDescription": "",
|
|
1309
|
+
"group": "discover",
|
|
1310
|
+
"private": false,
|
|
1311
|
+
"remoteOp": true,
|
|
1312
|
+
"skipWorkspace": true
|
|
1313
|
+
},
|
|
1272
1314
|
{
|
|
1273
1315
|
"name": "ws-config <sub-command>",
|
|
1274
1316
|
"alias": "workspace-config",
|
|
@@ -2111,664 +2153,734 @@
|
|
|
2111
2153
|
]
|
|
2112
2154
|
},
|
|
2113
2155
|
{
|
|
2114
|
-
"name": "
|
|
2156
|
+
"name": "move <current-component-dir> <new-component-dir>",
|
|
2157
|
+
"alias": "mv",
|
|
2158
|
+
"options": [],
|
|
2159
|
+
"description": "move a component to a different filesystem path",
|
|
2160
|
+
"extendedDescription": "(note: this does NOT affect the component's name or scope, just its location in the workspace)",
|
|
2161
|
+
"group": "development",
|
|
2162
|
+
"private": false,
|
|
2163
|
+
"arguments": [
|
|
2164
|
+
{
|
|
2165
|
+
"name": "current-component-dir",
|
|
2166
|
+
"description": "the component's current directory (relative to the workspace root)"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
"name": "new-component-dir",
|
|
2170
|
+
"description": "the new directory (relative to the workspace root) to create and move the component's files to"
|
|
2171
|
+
}
|
|
2172
|
+
]
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"name": "import [component-patterns...]",
|
|
2115
2176
|
"alias": "",
|
|
2116
2177
|
"options": [
|
|
2117
2178
|
[
|
|
2118
|
-
"
|
|
2119
|
-
"
|
|
2120
|
-
"directory
|
|
2179
|
+
"p",
|
|
2180
|
+
"path <path>",
|
|
2181
|
+
"import components into a specific directory (a relative path in the workspace)"
|
|
2121
2182
|
],
|
|
2122
2183
|
[
|
|
2123
2184
|
"o",
|
|
2124
|
-
"
|
|
2125
|
-
"
|
|
2185
|
+
"objects",
|
|
2186
|
+
"import components objects to the local scope without checkout (without writing them to the file system). This is the default behavior for import with no id argument"
|
|
2126
2187
|
],
|
|
2127
2188
|
[
|
|
2128
|
-
"
|
|
2129
|
-
"
|
|
2130
|
-
"
|
|
2189
|
+
"O",
|
|
2190
|
+
"override",
|
|
2191
|
+
"override local changes"
|
|
2131
2192
|
],
|
|
2132
2193
|
[
|
|
2133
|
-
"
|
|
2134
|
-
"
|
|
2135
|
-
"
|
|
2194
|
+
"v",
|
|
2195
|
+
"verbose",
|
|
2196
|
+
"show verbose output for inspection"
|
|
2136
2197
|
],
|
|
2137
2198
|
[
|
|
2138
2199
|
"j",
|
|
2139
2200
|
"json",
|
|
2140
2201
|
"return the output as JSON"
|
|
2141
|
-
]
|
|
2142
|
-
],
|
|
2143
|
-
"description": "create tar for npm publish",
|
|
2144
|
-
"extendedDescription": "",
|
|
2145
|
-
"group": "collaborate",
|
|
2146
|
-
"private": true
|
|
2147
|
-
},
|
|
2148
|
-
{
|
|
2149
|
-
"name": "publish <component-pattern>",
|
|
2150
|
-
"alias": "",
|
|
2151
|
-
"options": [
|
|
2202
|
+
],
|
|
2152
2203
|
[
|
|
2153
|
-
"
|
|
2154
|
-
"
|
|
2155
|
-
"
|
|
2204
|
+
"x",
|
|
2205
|
+
"skip-dependency-installation",
|
|
2206
|
+
"do not auto-install dependencies of the imported components"
|
|
2156
2207
|
],
|
|
2157
2208
|
[
|
|
2158
2209
|
"",
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2210
|
+
"skip-write-config-files",
|
|
2211
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2161
2212
|
],
|
|
2162
2213
|
[
|
|
2163
|
-
"
|
|
2164
|
-
"
|
|
2165
|
-
"
|
|
2166
|
-
]
|
|
2167
|
-
],
|
|
2168
|
-
"description": "publish components to npm (npm publish)",
|
|
2169
|
-
"extendedDescription": "",
|
|
2170
|
-
"group": "collaborate",
|
|
2171
|
-
"private": true,
|
|
2172
|
-
"arguments": [
|
|
2173
|
-
{
|
|
2174
|
-
"name": "component-pattern",
|
|
2175
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2176
|
-
}
|
|
2177
|
-
]
|
|
2178
|
-
},
|
|
2179
|
-
{
|
|
2180
|
-
"name": "refactor <sub-command>",
|
|
2181
|
-
"alias": "",
|
|
2182
|
-
"options": [],
|
|
2183
|
-
"description": "source code refactoring / codemod",
|
|
2184
|
-
"extendedDescription": "",
|
|
2185
|
-
"group": "development",
|
|
2186
|
-
"private": false,
|
|
2187
|
-
"commands": [
|
|
2188
|
-
{
|
|
2189
|
-
"name": "dependency-name <old-id> <new-id>",
|
|
2190
|
-
"alias": "",
|
|
2191
|
-
"options": [],
|
|
2192
|
-
"description": "replace the dependency's old package-name with a new one in the code",
|
|
2193
|
-
"extendedDescription": "the `<old-id>` and `<new-id>` arguments can be either a component-id or a package-name.",
|
|
2194
|
-
"group": "development",
|
|
2195
|
-
"private": false
|
|
2196
|
-
}
|
|
2197
|
-
]
|
|
2198
|
-
},
|
|
2199
|
-
{
|
|
2200
|
-
"name": "fork <source-component-id> [target-component-name]",
|
|
2201
|
-
"alias": "",
|
|
2202
|
-
"options": [
|
|
2214
|
+
"m",
|
|
2215
|
+
"merge [strategy]",
|
|
2216
|
+
"merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
2217
|
+
],
|
|
2203
2218
|
[
|
|
2204
|
-
"
|
|
2205
|
-
"
|
|
2206
|
-
"
|
|
2219
|
+
"",
|
|
2220
|
+
"dependencies",
|
|
2221
|
+
"import all dependencies (bit components only) of imported components and write them to the workspace"
|
|
2207
2222
|
],
|
|
2208
2223
|
[
|
|
2209
|
-
"
|
|
2210
|
-
"
|
|
2211
|
-
"
|
|
2224
|
+
"",
|
|
2225
|
+
"dependencies-head",
|
|
2226
|
+
"same as --dependencies, except it imports the dependencies with their head version"
|
|
2212
2227
|
],
|
|
2213
2228
|
[
|
|
2214
|
-
"
|
|
2215
|
-
"
|
|
2216
|
-
"
|
|
2229
|
+
"",
|
|
2230
|
+
"dependents",
|
|
2231
|
+
"import components found while traversing from the imported components upwards to the workspace components"
|
|
2217
2232
|
],
|
|
2218
2233
|
[
|
|
2219
|
-
"
|
|
2220
|
-
"
|
|
2221
|
-
"
|
|
2234
|
+
"",
|
|
2235
|
+
"dependents-via <string>",
|
|
2236
|
+
"same as --dependents except the traversal must go through the specified component. to specify multiple components, wrap with quotes and separate by a comma"
|
|
2222
2237
|
],
|
|
2223
2238
|
[
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2226
|
-
"
|
|
2239
|
+
"",
|
|
2240
|
+
"dependents-all",
|
|
2241
|
+
"same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing"
|
|
2227
2242
|
],
|
|
2228
2243
|
[
|
|
2229
2244
|
"",
|
|
2230
|
-
"
|
|
2231
|
-
"
|
|
2245
|
+
"dependents-dry-run",
|
|
2246
|
+
"DEPRECATED. (this is the default now). same as --dependents, except it prints the found dependents and wait for confirmation before importing them"
|
|
2232
2247
|
],
|
|
2233
2248
|
[
|
|
2234
2249
|
"",
|
|
2235
|
-
"
|
|
2236
|
-
"
|
|
2250
|
+
"silent",
|
|
2251
|
+
"no prompt for --dependents/--dependents-via flags"
|
|
2237
2252
|
],
|
|
2238
2253
|
[
|
|
2239
2254
|
"",
|
|
2240
|
-
"
|
|
2241
|
-
"
|
|
2255
|
+
"filter-envs <envs>",
|
|
2256
|
+
"only import components that have the specified environment (e.g., \"teambit.react/react-env\")"
|
|
2242
2257
|
],
|
|
2243
2258
|
[
|
|
2244
2259
|
"",
|
|
2245
|
-
"
|
|
2246
|
-
"
|
|
2260
|
+
"save-in-lane",
|
|
2261
|
+
"when checked out to a lane and the component is not on the remote-lane, save it in the lane (defaults to save on main)"
|
|
2262
|
+
],
|
|
2263
|
+
[
|
|
2264
|
+
"",
|
|
2265
|
+
"all-history",
|
|
2266
|
+
"relevant for fetching all components objects. avoid optimizations, fetch all history versions, always"
|
|
2267
|
+
],
|
|
2268
|
+
[
|
|
2269
|
+
"",
|
|
2270
|
+
"fetch-deps",
|
|
2271
|
+
"fetch dependencies (bit components) objects to the local scope, but dont add to the workspace. Useful to resolve errors about missing dependency data"
|
|
2272
|
+
],
|
|
2273
|
+
[
|
|
2274
|
+
"",
|
|
2275
|
+
"track-only",
|
|
2276
|
+
"do not write any component files, just create .bitmap entries of the imported components. Useful when the files already exist and just want to re-add the component to the bitmap"
|
|
2277
|
+
],
|
|
2278
|
+
[
|
|
2279
|
+
"",
|
|
2280
|
+
"include-deprecated",
|
|
2281
|
+
"when importing with patterns, include deprecated components (default to exclude them)"
|
|
2247
2282
|
]
|
|
2248
2283
|
],
|
|
2249
|
-
"description": "
|
|
2284
|
+
"description": "import components from their remote scopes to the local workspace",
|
|
2250
2285
|
"extendedDescription": "",
|
|
2251
2286
|
"group": "collaborate",
|
|
2252
2287
|
"private": false,
|
|
2253
2288
|
"remoteOp": true,
|
|
2254
|
-
"skipWorkspace": true,
|
|
2255
2289
|
"arguments": [
|
|
2256
2290
|
{
|
|
2257
|
-
"name": "
|
|
2258
|
-
"description": "
|
|
2259
|
-
},
|
|
2260
|
-
{
|
|
2261
|
-
"name": "target-component-name",
|
|
2262
|
-
"description": "the name for the new component (component name without scope, e.g. name/spaces/my-button). to set a different scope, use the '--scope' flag"
|
|
2291
|
+
"name": "component-patterns...",
|
|
2292
|
+
"description": "component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
2263
2293
|
}
|
|
2264
2294
|
]
|
|
2265
2295
|
},
|
|
2266
2296
|
{
|
|
2267
|
-
"name": "
|
|
2268
|
-
"alias": "dependencies",
|
|
2269
|
-
"options": [],
|
|
2270
|
-
"description": "manage dependencies",
|
|
2271
|
-
"extendedDescription": "",
|
|
2272
|
-
"group": "info",
|
|
2273
|
-
"private": false,
|
|
2274
|
-
"commands": [
|
|
2275
|
-
{
|
|
2276
|
-
"name": "get <component-name>",
|
|
2277
|
-
"alias": "",
|
|
2278
|
-
"options": [
|
|
2279
|
-
[
|
|
2280
|
-
"",
|
|
2281
|
-
"scope",
|
|
2282
|
-
"get the data from the scope instead of the workspace"
|
|
2283
|
-
],
|
|
2284
|
-
[
|
|
2285
|
-
"t",
|
|
2286
|
-
"tree",
|
|
2287
|
-
"render dependencies as a tree, similar to \"npm ls\""
|
|
2288
|
-
]
|
|
2289
|
-
],
|
|
2290
|
-
"description": "show direct and indirect dependencies of the given component",
|
|
2291
|
-
"extendedDescription": "",
|
|
2292
|
-
"group": "info",
|
|
2293
|
-
"private": false,
|
|
2294
|
-
"arguments": [
|
|
2295
|
-
{
|
|
2296
|
-
"name": "component-name",
|
|
2297
|
-
"description": "component name or component id"
|
|
2298
|
-
}
|
|
2299
|
-
]
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
"name": "remove <component-pattern> <package...>",
|
|
2303
|
-
"alias": "",
|
|
2304
|
-
"options": [
|
|
2305
|
-
[
|
|
2306
|
-
"d",
|
|
2307
|
-
"dev",
|
|
2308
|
-
"remove from devDependencies"
|
|
2309
|
-
],
|
|
2310
|
-
[
|
|
2311
|
-
"p",
|
|
2312
|
-
"peer",
|
|
2313
|
-
"remove from peerDependencies"
|
|
2314
|
-
]
|
|
2315
|
-
],
|
|
2316
|
-
"description": "remove a dependency to component(s)",
|
|
2317
|
-
"extendedDescription": "",
|
|
2318
|
-
"group": "info",
|
|
2319
|
-
"private": false,
|
|
2320
|
-
"arguments": [
|
|
2321
|
-
{
|
|
2322
|
-
"name": "component-pattern",
|
|
2323
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2324
|
-
},
|
|
2325
|
-
{
|
|
2326
|
-
"name": "package...",
|
|
2327
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
2328
|
-
}
|
|
2329
|
-
]
|
|
2330
|
-
},
|
|
2331
|
-
{
|
|
2332
|
-
"name": "unset <component-pattern> <package...>",
|
|
2333
|
-
"alias": "",
|
|
2334
|
-
"options": [
|
|
2335
|
-
[
|
|
2336
|
-
"d",
|
|
2337
|
-
"dev",
|
|
2338
|
-
"unset from devDependencies"
|
|
2339
|
-
],
|
|
2340
|
-
[
|
|
2341
|
-
"p",
|
|
2342
|
-
"peer",
|
|
2343
|
-
"unset from peerDependencies"
|
|
2344
|
-
]
|
|
2345
|
-
],
|
|
2346
|
-
"description": "unset a dependency to component(s) that was previously set by \"bit deps set\"",
|
|
2347
|
-
"extendedDescription": "",
|
|
2348
|
-
"group": "info",
|
|
2349
|
-
"private": false,
|
|
2350
|
-
"arguments": [
|
|
2351
|
-
{
|
|
2352
|
-
"name": "component-pattern",
|
|
2353
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"name": "package...",
|
|
2357
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
2358
|
-
}
|
|
2359
|
-
]
|
|
2360
|
-
},
|
|
2361
|
-
{
|
|
2362
|
-
"name": "debug <component-name>",
|
|
2363
|
-
"alias": "",
|
|
2364
|
-
"options": [],
|
|
2365
|
-
"description": "show the immediate dependencies and how their versions were determined",
|
|
2366
|
-
"extendedDescription": "",
|
|
2367
|
-
"group": "info",
|
|
2368
|
-
"private": false,
|
|
2369
|
-
"arguments": [
|
|
2370
|
-
{
|
|
2371
|
-
"name": "component-name",
|
|
2372
|
-
"description": "component name or component id"
|
|
2373
|
-
}
|
|
2374
|
-
]
|
|
2375
|
-
},
|
|
2376
|
-
{
|
|
2377
|
-
"name": "set <component-pattern> <package...>",
|
|
2378
|
-
"alias": "",
|
|
2379
|
-
"options": [
|
|
2380
|
-
[
|
|
2381
|
-
"d",
|
|
2382
|
-
"dev",
|
|
2383
|
-
"add to the devDependencies"
|
|
2384
|
-
],
|
|
2385
|
-
[
|
|
2386
|
-
"o",
|
|
2387
|
-
"optional",
|
|
2388
|
-
"add to the optionalDependencies"
|
|
2389
|
-
],
|
|
2390
|
-
[
|
|
2391
|
-
"p",
|
|
2392
|
-
"peer",
|
|
2393
|
-
"add to the peerDependencies"
|
|
2394
|
-
]
|
|
2395
|
-
],
|
|
2396
|
-
"description": "set a dependency to component(s)",
|
|
2397
|
-
"extendedDescription": "",
|
|
2398
|
-
"group": "info",
|
|
2399
|
-
"private": false,
|
|
2400
|
-
"arguments": [
|
|
2401
|
-
{
|
|
2402
|
-
"name": "component-pattern",
|
|
2403
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2404
|
-
},
|
|
2405
|
-
{
|
|
2406
|
-
"name": "package...",
|
|
2407
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
2408
|
-
}
|
|
2409
|
-
]
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"name": "reset <component-pattern>",
|
|
2413
|
-
"alias": "",
|
|
2414
|
-
"options": [],
|
|
2415
|
-
"description": "reset dependencies to the default values (revert any previously \"bit deps set\")",
|
|
2416
|
-
"extendedDescription": "",
|
|
2417
|
-
"group": "info",
|
|
2418
|
-
"private": false,
|
|
2419
|
-
"arguments": [
|
|
2420
|
-
{
|
|
2421
|
-
"name": "component-pattern",
|
|
2422
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2423
|
-
}
|
|
2424
|
-
]
|
|
2425
|
-
},
|
|
2426
|
-
{
|
|
2427
|
-
"name": "eject <component-pattern>",
|
|
2428
|
-
"alias": "",
|
|
2429
|
-
"options": [],
|
|
2430
|
-
"description": "write dependencies that were previously set via \"bit deps set\" into .bitmap",
|
|
2431
|
-
"extendedDescription": "",
|
|
2432
|
-
"group": "info",
|
|
2433
|
-
"private": false,
|
|
2434
|
-
"arguments": [
|
|
2435
|
-
{
|
|
2436
|
-
"name": "component-pattern",
|
|
2437
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2438
|
-
}
|
|
2439
|
-
]
|
|
2440
|
-
},
|
|
2441
|
-
{
|
|
2442
|
-
"name": "blame <component-name> <dependency-name>",
|
|
2443
|
-
"alias": "",
|
|
2444
|
-
"options": [],
|
|
2445
|
-
"description": "find out which snap/tag changed a dependency version",
|
|
2446
|
-
"extendedDescription": "",
|
|
2447
|
-
"group": "info",
|
|
2448
|
-
"private": false,
|
|
2449
|
-
"arguments": [
|
|
2450
|
-
{
|
|
2451
|
-
"name": "dependency-name",
|
|
2452
|
-
"description": "package-name. for components, you can use either component-id or package-name"
|
|
2453
|
-
}
|
|
2454
|
-
]
|
|
2455
|
-
},
|
|
2456
|
-
{
|
|
2457
|
-
"name": "usage <dependency-name>",
|
|
2458
|
-
"alias": "",
|
|
2459
|
-
"options": [
|
|
2460
|
-
[
|
|
2461
|
-
"",
|
|
2462
|
-
"depth <number>",
|
|
2463
|
-
"max display depth of the dependency graph"
|
|
2464
|
-
]
|
|
2465
|
-
],
|
|
2466
|
-
"description": "find components that use the specified dependency",
|
|
2467
|
-
"extendedDescription": "",
|
|
2468
|
-
"group": "info",
|
|
2469
|
-
"private": false,
|
|
2470
|
-
"arguments": [
|
|
2471
|
-
{
|
|
2472
|
-
"name": "dependency-name",
|
|
2473
|
-
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
2474
|
-
}
|
|
2475
|
-
]
|
|
2476
|
-
}
|
|
2477
|
-
]
|
|
2478
|
-
},
|
|
2479
|
-
{
|
|
2480
|
-
"name": "why <dependency-name>",
|
|
2297
|
+
"name": "fetch [ids...]",
|
|
2481
2298
|
"alias": "",
|
|
2482
2299
|
"options": [
|
|
2300
|
+
[
|
|
2301
|
+
"l",
|
|
2302
|
+
"lanes",
|
|
2303
|
+
"fetch component objects from lanes. note, it does not save the remote lanes objects locally, only the refs"
|
|
2304
|
+
],
|
|
2305
|
+
[
|
|
2306
|
+
"c",
|
|
2307
|
+
"components",
|
|
2308
|
+
"fetch components"
|
|
2309
|
+
],
|
|
2483
2310
|
[
|
|
2484
2311
|
"",
|
|
2485
|
-
"
|
|
2486
|
-
"
|
|
2312
|
+
"all-history",
|
|
2313
|
+
"for each component, fetch all its versions. by default, only the latest version is fetched"
|
|
2314
|
+
],
|
|
2315
|
+
[
|
|
2316
|
+
"j",
|
|
2317
|
+
"json",
|
|
2318
|
+
"return the output as JSON"
|
|
2319
|
+
],
|
|
2320
|
+
[
|
|
2321
|
+
"",
|
|
2322
|
+
"from-original-scopes",
|
|
2323
|
+
"fetch indirect dependencies from their original scope as opposed to from their dependents"
|
|
2487
2324
|
]
|
|
2488
2325
|
],
|
|
2489
|
-
"description": "
|
|
2490
|
-
"extendedDescription": "",
|
|
2491
|
-
"group": "
|
|
2492
|
-
"private":
|
|
2493
|
-
"arguments": [
|
|
2494
|
-
{
|
|
2495
|
-
"name": "dependency-name",
|
|
2496
|
-
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
2497
|
-
}
|
|
2498
|
-
]
|
|
2499
|
-
},
|
|
2500
|
-
{
|
|
2501
|
-
"name": "set-peer <component-id> <range>",
|
|
2502
|
-
"alias": "",
|
|
2503
|
-
"options": [],
|
|
2504
|
-
"description": "set a component as always peer",
|
|
2505
|
-
"extendedDescription": "",
|
|
2506
|
-
"group": "info",
|
|
2507
|
-
"private": false,
|
|
2508
|
-
"arguments": [
|
|
2509
|
-
{
|
|
2510
|
-
"name": "component-id",
|
|
2511
|
-
"description": "the component to set as always peer"
|
|
2512
|
-
},
|
|
2513
|
-
{
|
|
2514
|
-
"name": "range",
|
|
2515
|
-
"description": "the default range to use for the componnent, when added to peerDependencies"
|
|
2516
|
-
}
|
|
2517
|
-
]
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"name": "unset-peer <component-id>",
|
|
2521
|
-
"alias": "",
|
|
2522
|
-
"options": [],
|
|
2523
|
-
"description": "unset a component as always peer",
|
|
2524
|
-
"extendedDescription": "",
|
|
2525
|
-
"group": "info",
|
|
2526
|
-
"private": false,
|
|
2527
|
-
"arguments": [
|
|
2528
|
-
{
|
|
2529
|
-
"name": "component-id",
|
|
2530
|
-
"description": "the component to unset as always peer"
|
|
2531
|
-
}
|
|
2532
|
-
]
|
|
2326
|
+
"description": "fetch remote objects and store locally",
|
|
2327
|
+
"extendedDescription": "for lanes, use \"/\" as a separator between the remote and the lane name, e.g. teambit.ui/fix-button",
|
|
2328
|
+
"group": "ungrouped",
|
|
2329
|
+
"private": true
|
|
2533
2330
|
},
|
|
2534
2331
|
{
|
|
2535
|
-
"name": "
|
|
2536
|
-
"alias": "",
|
|
2332
|
+
"name": "remove <component-pattern>",
|
|
2333
|
+
"alias": "rm",
|
|
2537
2334
|
"options": [
|
|
2538
2335
|
[
|
|
2539
|
-
"
|
|
2540
|
-
"
|
|
2541
|
-
"
|
|
2336
|
+
"t",
|
|
2337
|
+
"track",
|
|
2338
|
+
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2339
|
+
],
|
|
2340
|
+
[
|
|
2341
|
+
"",
|
|
2342
|
+
"keep-files",
|
|
2343
|
+
"keep component files (just untrack the component)"
|
|
2344
|
+
],
|
|
2345
|
+
[
|
|
2346
|
+
"f",
|
|
2347
|
+
"force",
|
|
2348
|
+
"removes the component from the scope, even if used as a dependency. WARNING: you will need to fix the components that depend on this component"
|
|
2349
|
+
],
|
|
2350
|
+
[
|
|
2351
|
+
"s",
|
|
2352
|
+
"silent",
|
|
2353
|
+
"skip confirmation"
|
|
2542
2354
|
]
|
|
2543
2355
|
],
|
|
2544
|
-
"description": "
|
|
2545
|
-
"extendedDescription": "",
|
|
2546
|
-
"group": "
|
|
2356
|
+
"description": "remove component(s) from the local workspace",
|
|
2357
|
+
"extendedDescription": "to mark components as deleted on the remote scope, use \"bit delete\".",
|
|
2358
|
+
"group": "collaborate",
|
|
2547
2359
|
"private": false,
|
|
2360
|
+
"remoteOp": true,
|
|
2361
|
+
"skipWorkspace": true,
|
|
2548
2362
|
"arguments": [
|
|
2549
2363
|
{
|
|
2550
|
-
"name": "component-
|
|
2551
|
-
"description": "component name or component
|
|
2364
|
+
"name": "component-pattern",
|
|
2365
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2366
|
+
}
|
|
2367
|
+
],
|
|
2368
|
+
"examples": [
|
|
2369
|
+
{
|
|
2370
|
+
"cmd": "remove \"$deprecated\"",
|
|
2371
|
+
"description": "remove all components that are deprecated"
|
|
2552
2372
|
}
|
|
2553
2373
|
]
|
|
2554
2374
|
},
|
|
2555
2375
|
{
|
|
2556
|
-
"name": "
|
|
2557
|
-
"alias": "
|
|
2376
|
+
"name": "delete <component-pattern>",
|
|
2377
|
+
"alias": "",
|
|
2558
2378
|
"options": [
|
|
2559
2379
|
[
|
|
2560
|
-
"
|
|
2561
|
-
"
|
|
2562
|
-
"
|
|
2380
|
+
"",
|
|
2381
|
+
"lane",
|
|
2382
|
+
"when on a lane, delete the component from this lane only. avoid merging it to main or other lanes"
|
|
2563
2383
|
],
|
|
2564
2384
|
[
|
|
2565
|
-
"
|
|
2566
|
-
"
|
|
2567
|
-
"
|
|
2385
|
+
"",
|
|
2386
|
+
"update-main",
|
|
2387
|
+
"delete component/s on the main lane after merging this lane into main"
|
|
2568
2388
|
],
|
|
2569
2389
|
[
|
|
2570
|
-
"
|
|
2571
|
-
"
|
|
2572
|
-
"
|
|
2390
|
+
"",
|
|
2391
|
+
"range <string>",
|
|
2392
|
+
"EXPERIMENTAL. enter a Semver range to delete specific tags (cannot be used for snaps). see https://www.npmjs.com/package/semver#ranges for the range syntax"
|
|
2573
2393
|
],
|
|
2574
2394
|
[
|
|
2575
|
-
"
|
|
2576
|
-
"
|
|
2577
|
-
"
|
|
2395
|
+
"s",
|
|
2396
|
+
"silent",
|
|
2397
|
+
"skip confirmation"
|
|
2578
2398
|
],
|
|
2579
2399
|
[
|
|
2580
|
-
"
|
|
2581
|
-
"
|
|
2582
|
-
"
|
|
2400
|
+
"",
|
|
2401
|
+
"hard",
|
|
2402
|
+
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2583
2403
|
],
|
|
2584
2404
|
[
|
|
2585
|
-
"
|
|
2586
|
-
"
|
|
2587
|
-
"
|
|
2405
|
+
"f",
|
|
2406
|
+
"force",
|
|
2407
|
+
"relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2588
2408
|
]
|
|
2589
2409
|
],
|
|
2590
|
-
"description": "
|
|
2591
|
-
"extendedDescription": "",
|
|
2592
|
-
"group": "
|
|
2410
|
+
"description": "mark components as deleted on the remote",
|
|
2411
|
+
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\" command.\nthis command marks the components as deleted, and after snap/tag and export they will be marked as deleted from the remote scope as well.\n",
|
|
2412
|
+
"group": "collaborate",
|
|
2593
2413
|
"private": false,
|
|
2594
2414
|
"remoteOp": true,
|
|
2595
|
-
"skipWorkspace": true
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"name": "move <current-component-dir> <new-component-dir>",
|
|
2599
|
-
"alias": "mv",
|
|
2600
|
-
"options": [],
|
|
2601
|
-
"description": "move a component to a different filesystem path",
|
|
2602
|
-
"extendedDescription": "(note: this does NOT affect the component's name or scope, just its location in the workspace)",
|
|
2603
|
-
"group": "development",
|
|
2604
|
-
"private": false,
|
|
2415
|
+
"skipWorkspace": true,
|
|
2605
2416
|
"arguments": [
|
|
2606
2417
|
{
|
|
2607
|
-
"name": "
|
|
2608
|
-
"description": "
|
|
2609
|
-
},
|
|
2610
|
-
{
|
|
2611
|
-
"name": "new-component-dir",
|
|
2612
|
-
"description": "the new directory (relative to the workspace root) to create and move the component's files to"
|
|
2418
|
+
"name": "component-pattern",
|
|
2419
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2613
2420
|
}
|
|
2614
2421
|
]
|
|
2615
2422
|
},
|
|
2616
2423
|
{
|
|
2617
|
-
"name": "
|
|
2424
|
+
"name": "recover <component-name>",
|
|
2618
2425
|
"alias": "",
|
|
2619
2426
|
"options": [
|
|
2620
2427
|
[
|
|
2621
|
-
"
|
|
2622
|
-
"
|
|
2623
|
-
"
|
|
2428
|
+
"x",
|
|
2429
|
+
"skip-dependency-installation",
|
|
2430
|
+
"do not install packages in case of importing components"
|
|
2624
2431
|
],
|
|
2625
2432
|
[
|
|
2626
|
-
"
|
|
2627
|
-
"
|
|
2628
|
-
"
|
|
2433
|
+
"",
|
|
2434
|
+
"skip-write-config-files",
|
|
2435
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2436
|
+
]
|
|
2437
|
+
],
|
|
2438
|
+
"description": "recover component(s) soft-deleted from the workspace, or a remote scope",
|
|
2439
|
+
"extendedDescription": "",
|
|
2440
|
+
"group": "collaborate",
|
|
2441
|
+
"private": false
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "pack <componentId> [scopePath]",
|
|
2445
|
+
"alias": "",
|
|
2446
|
+
"options": [
|
|
2447
|
+
[
|
|
2448
|
+
"d",
|
|
2449
|
+
"out-dir <out-dir>",
|
|
2450
|
+
"directory to put the result tar file"
|
|
2629
2451
|
],
|
|
2630
2452
|
[
|
|
2631
|
-
"
|
|
2453
|
+
"o",
|
|
2632
2454
|
"override",
|
|
2633
|
-
"override
|
|
2455
|
+
"override existing pack file"
|
|
2634
2456
|
],
|
|
2635
2457
|
[
|
|
2636
|
-
"
|
|
2637
|
-
"
|
|
2638
|
-
"
|
|
2458
|
+
"k",
|
|
2459
|
+
"keep",
|
|
2460
|
+
"should keep isolated environment [default = false]"
|
|
2461
|
+
],
|
|
2462
|
+
[
|
|
2463
|
+
"p",
|
|
2464
|
+
"prefix",
|
|
2465
|
+
"keep custom (binding) prefix"
|
|
2639
2466
|
],
|
|
2640
2467
|
[
|
|
2641
2468
|
"j",
|
|
2642
2469
|
"json",
|
|
2643
2470
|
"return the output as JSON"
|
|
2644
|
-
]
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
[
|
|
2656
|
-
"m",
|
|
2657
|
-
"merge [strategy]",
|
|
2658
|
-
"merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
2659
|
-
],
|
|
2471
|
+
]
|
|
2472
|
+
],
|
|
2473
|
+
"description": "create tar for npm publish",
|
|
2474
|
+
"extendedDescription": "",
|
|
2475
|
+
"group": "collaborate",
|
|
2476
|
+
"private": true
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "publish <component-pattern>",
|
|
2480
|
+
"alias": "",
|
|
2481
|
+
"options": [
|
|
2660
2482
|
[
|
|
2661
|
-
"",
|
|
2662
|
-
"
|
|
2663
|
-
"
|
|
2483
|
+
"d",
|
|
2484
|
+
"dry-run",
|
|
2485
|
+
"npm publish --dry-run"
|
|
2664
2486
|
],
|
|
2665
2487
|
[
|
|
2666
2488
|
"",
|
|
2667
|
-
"
|
|
2668
|
-
"
|
|
2489
|
+
"allow-staged",
|
|
2490
|
+
"allow publishing components that were not exported yet (not recommended)"
|
|
2669
2491
|
],
|
|
2670
2492
|
[
|
|
2671
|
-
"",
|
|
2672
|
-
"
|
|
2673
|
-
"
|
|
2674
|
-
]
|
|
2493
|
+
"j",
|
|
2494
|
+
"json",
|
|
2495
|
+
"return the output as JSON"
|
|
2496
|
+
]
|
|
2497
|
+
],
|
|
2498
|
+
"description": "publish components to npm (npm publish)",
|
|
2499
|
+
"extendedDescription": "",
|
|
2500
|
+
"group": "collaborate",
|
|
2501
|
+
"private": true,
|
|
2502
|
+
"arguments": [
|
|
2503
|
+
{
|
|
2504
|
+
"name": "component-pattern",
|
|
2505
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2506
|
+
}
|
|
2507
|
+
]
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"name": "refactor <sub-command>",
|
|
2511
|
+
"alias": "",
|
|
2512
|
+
"options": [],
|
|
2513
|
+
"description": "source code refactoring / codemod",
|
|
2514
|
+
"extendedDescription": "",
|
|
2515
|
+
"group": "development",
|
|
2516
|
+
"private": false,
|
|
2517
|
+
"commands": [
|
|
2518
|
+
{
|
|
2519
|
+
"name": "dependency-name <old-id> <new-id>",
|
|
2520
|
+
"alias": "",
|
|
2521
|
+
"options": [],
|
|
2522
|
+
"description": "replace the dependency's old package-name with a new one in the code",
|
|
2523
|
+
"extendedDescription": "the `<old-id>` and `<new-id>` arguments can be either a component-id or a package-name.",
|
|
2524
|
+
"group": "development",
|
|
2525
|
+
"private": false
|
|
2526
|
+
}
|
|
2527
|
+
]
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"name": "fork <source-component-id> [target-component-name]",
|
|
2531
|
+
"alias": "",
|
|
2532
|
+
"options": [
|
|
2675
2533
|
[
|
|
2676
|
-
"",
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2534
|
+
"s",
|
|
2535
|
+
"scope <string>",
|
|
2536
|
+
"default scope for the new component"
|
|
2679
2537
|
],
|
|
2680
2538
|
[
|
|
2681
|
-
"",
|
|
2682
|
-
"
|
|
2683
|
-
"
|
|
2539
|
+
"p",
|
|
2540
|
+
"path <string>",
|
|
2541
|
+
"relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>`"
|
|
2684
2542
|
],
|
|
2685
2543
|
[
|
|
2686
|
-
"",
|
|
2687
|
-
"
|
|
2688
|
-
"
|
|
2544
|
+
"r",
|
|
2545
|
+
"refactor",
|
|
2546
|
+
"update the import/require statements in all dependent components (in the same workspace)"
|
|
2689
2547
|
],
|
|
2690
2548
|
[
|
|
2691
|
-
"",
|
|
2692
|
-
"
|
|
2693
|
-
"
|
|
2549
|
+
"x",
|
|
2550
|
+
"skip-dependency-installation",
|
|
2551
|
+
"do not install packages of the imported components"
|
|
2694
2552
|
],
|
|
2695
2553
|
[
|
|
2696
|
-
"",
|
|
2697
|
-
"
|
|
2698
|
-
"
|
|
2554
|
+
"e",
|
|
2555
|
+
"env <string>",
|
|
2556
|
+
"set the environment for the new component"
|
|
2699
2557
|
],
|
|
2700
2558
|
[
|
|
2701
2559
|
"",
|
|
2702
|
-
"
|
|
2703
|
-
"
|
|
2560
|
+
"skip-config",
|
|
2561
|
+
"do not copy the config (aspects-config, env, etc) to the new component. helpful when it fails during aspect loading"
|
|
2704
2562
|
],
|
|
2705
2563
|
[
|
|
2706
2564
|
"",
|
|
2707
|
-
"
|
|
2708
|
-
"
|
|
2565
|
+
"preserve",
|
|
2566
|
+
"avoid refactoring file and variable/class names according to the new component name"
|
|
2709
2567
|
],
|
|
2710
2568
|
[
|
|
2711
2569
|
"",
|
|
2712
|
-
"
|
|
2713
|
-
"
|
|
2570
|
+
"no-link",
|
|
2571
|
+
"avoid saving a reference to the original component"
|
|
2714
2572
|
],
|
|
2715
2573
|
[
|
|
2716
2574
|
"",
|
|
2717
|
-
"
|
|
2718
|
-
"
|
|
2719
|
-
]
|
|
2575
|
+
"ast",
|
|
2576
|
+
"use ast to transform files instead of regex"
|
|
2577
|
+
]
|
|
2578
|
+
],
|
|
2579
|
+
"description": "create a new component forked from an existing one (copies source files and configs)",
|
|
2580
|
+
"extendedDescription": "",
|
|
2581
|
+
"group": "collaborate",
|
|
2582
|
+
"private": false,
|
|
2583
|
+
"remoteOp": true,
|
|
2584
|
+
"skipWorkspace": true,
|
|
2585
|
+
"arguments": [
|
|
2586
|
+
{
|
|
2587
|
+
"name": "source-component-id",
|
|
2588
|
+
"description": "the component id of the source component"
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
"name": "target-component-name",
|
|
2592
|
+
"description": "the name for the new component (component name without scope, e.g. name/spaces/my-button). to set a different scope, use the '--scope' flag"
|
|
2593
|
+
}
|
|
2594
|
+
]
|
|
2595
|
+
},
|
|
2596
|
+
{
|
|
2597
|
+
"name": "deps <sub-command>",
|
|
2598
|
+
"alias": "dependencies",
|
|
2599
|
+
"options": [],
|
|
2600
|
+
"description": "manage dependencies",
|
|
2601
|
+
"extendedDescription": "",
|
|
2602
|
+
"group": "info",
|
|
2603
|
+
"private": false,
|
|
2604
|
+
"commands": [
|
|
2605
|
+
{
|
|
2606
|
+
"name": "get <component-name>",
|
|
2607
|
+
"alias": "",
|
|
2608
|
+
"options": [
|
|
2609
|
+
[
|
|
2610
|
+
"",
|
|
2611
|
+
"scope",
|
|
2612
|
+
"get the data from the scope instead of the workspace"
|
|
2613
|
+
],
|
|
2614
|
+
[
|
|
2615
|
+
"t",
|
|
2616
|
+
"tree",
|
|
2617
|
+
"render dependencies as a tree, similar to \"npm ls\""
|
|
2618
|
+
]
|
|
2619
|
+
],
|
|
2620
|
+
"description": "show direct and indirect dependencies of the given component",
|
|
2621
|
+
"extendedDescription": "",
|
|
2622
|
+
"group": "info",
|
|
2623
|
+
"private": false,
|
|
2624
|
+
"arguments": [
|
|
2625
|
+
{
|
|
2626
|
+
"name": "component-name",
|
|
2627
|
+
"description": "component name or component id"
|
|
2628
|
+
}
|
|
2629
|
+
]
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "remove <component-pattern> <package...>",
|
|
2633
|
+
"alias": "",
|
|
2634
|
+
"options": [
|
|
2635
|
+
[
|
|
2636
|
+
"d",
|
|
2637
|
+
"dev",
|
|
2638
|
+
"remove from devDependencies"
|
|
2639
|
+
],
|
|
2640
|
+
[
|
|
2641
|
+
"p",
|
|
2642
|
+
"peer",
|
|
2643
|
+
"remove from peerDependencies"
|
|
2644
|
+
]
|
|
2645
|
+
],
|
|
2646
|
+
"description": "remove a dependency to component(s)",
|
|
2647
|
+
"extendedDescription": "",
|
|
2648
|
+
"group": "info",
|
|
2649
|
+
"private": false,
|
|
2650
|
+
"arguments": [
|
|
2651
|
+
{
|
|
2652
|
+
"name": "component-pattern",
|
|
2653
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"name": "package...",
|
|
2657
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
2658
|
+
}
|
|
2659
|
+
]
|
|
2660
|
+
},
|
|
2661
|
+
{
|
|
2662
|
+
"name": "unset <component-pattern> <package...>",
|
|
2663
|
+
"alias": "",
|
|
2664
|
+
"options": [
|
|
2665
|
+
[
|
|
2666
|
+
"d",
|
|
2667
|
+
"dev",
|
|
2668
|
+
"unset from devDependencies"
|
|
2669
|
+
],
|
|
2670
|
+
[
|
|
2671
|
+
"p",
|
|
2672
|
+
"peer",
|
|
2673
|
+
"unset from peerDependencies"
|
|
2674
|
+
]
|
|
2675
|
+
],
|
|
2676
|
+
"description": "unset a dependency to component(s) that was previously set by \"bit deps set\"",
|
|
2677
|
+
"extendedDescription": "",
|
|
2678
|
+
"group": "info",
|
|
2679
|
+
"private": false,
|
|
2680
|
+
"arguments": [
|
|
2681
|
+
{
|
|
2682
|
+
"name": "component-pattern",
|
|
2683
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"name": "package...",
|
|
2687
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
2688
|
+
}
|
|
2689
|
+
]
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"name": "debug <component-name>",
|
|
2693
|
+
"alias": "",
|
|
2694
|
+
"options": [],
|
|
2695
|
+
"description": "show the immediate dependencies and how their versions were determined",
|
|
2696
|
+
"extendedDescription": "",
|
|
2697
|
+
"group": "info",
|
|
2698
|
+
"private": false,
|
|
2699
|
+
"arguments": [
|
|
2700
|
+
{
|
|
2701
|
+
"name": "component-name",
|
|
2702
|
+
"description": "component name or component id"
|
|
2703
|
+
}
|
|
2704
|
+
]
|
|
2705
|
+
},
|
|
2706
|
+
{
|
|
2707
|
+
"name": "set <component-pattern> <package...>",
|
|
2708
|
+
"alias": "",
|
|
2709
|
+
"options": [
|
|
2710
|
+
[
|
|
2711
|
+
"d",
|
|
2712
|
+
"dev",
|
|
2713
|
+
"add to the devDependencies"
|
|
2714
|
+
],
|
|
2715
|
+
[
|
|
2716
|
+
"o",
|
|
2717
|
+
"optional",
|
|
2718
|
+
"add to the optionalDependencies"
|
|
2719
|
+
],
|
|
2720
|
+
[
|
|
2721
|
+
"p",
|
|
2722
|
+
"peer",
|
|
2723
|
+
"add to the peerDependencies"
|
|
2724
|
+
]
|
|
2725
|
+
],
|
|
2726
|
+
"description": "set a dependency to component(s)",
|
|
2727
|
+
"extendedDescription": "",
|
|
2728
|
+
"group": "info",
|
|
2729
|
+
"private": false,
|
|
2730
|
+
"arguments": [
|
|
2731
|
+
{
|
|
2732
|
+
"name": "component-pattern",
|
|
2733
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "package...",
|
|
2737
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
2738
|
+
}
|
|
2739
|
+
]
|
|
2740
|
+
},
|
|
2741
|
+
{
|
|
2742
|
+
"name": "reset <component-pattern>",
|
|
2743
|
+
"alias": "",
|
|
2744
|
+
"options": [],
|
|
2745
|
+
"description": "reset dependencies to the default values (revert any previously \"bit deps set\")",
|
|
2746
|
+
"extendedDescription": "",
|
|
2747
|
+
"group": "info",
|
|
2748
|
+
"private": false,
|
|
2749
|
+
"arguments": [
|
|
2750
|
+
{
|
|
2751
|
+
"name": "component-pattern",
|
|
2752
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2753
|
+
}
|
|
2754
|
+
]
|
|
2755
|
+
},
|
|
2756
|
+
{
|
|
2757
|
+
"name": "eject <component-pattern>",
|
|
2758
|
+
"alias": "",
|
|
2759
|
+
"options": [],
|
|
2760
|
+
"description": "write dependencies that were previously set via \"bit deps set\" into .bitmap",
|
|
2761
|
+
"extendedDescription": "",
|
|
2762
|
+
"group": "info",
|
|
2763
|
+
"private": false,
|
|
2764
|
+
"arguments": [
|
|
2765
|
+
{
|
|
2766
|
+
"name": "component-pattern",
|
|
2767
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2768
|
+
}
|
|
2769
|
+
]
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"name": "blame <component-name> <dependency-name>",
|
|
2773
|
+
"alias": "",
|
|
2774
|
+
"options": [],
|
|
2775
|
+
"description": "find out which snap/tag changed a dependency version",
|
|
2776
|
+
"extendedDescription": "",
|
|
2777
|
+
"group": "info",
|
|
2778
|
+
"private": false,
|
|
2779
|
+
"arguments": [
|
|
2780
|
+
{
|
|
2781
|
+
"name": "dependency-name",
|
|
2782
|
+
"description": "package-name. for components, you can use either component-id or package-name"
|
|
2783
|
+
}
|
|
2784
|
+
]
|
|
2785
|
+
},
|
|
2786
|
+
{
|
|
2787
|
+
"name": "usage <dependency-name>",
|
|
2788
|
+
"alias": "",
|
|
2789
|
+
"options": [
|
|
2790
|
+
[
|
|
2791
|
+
"",
|
|
2792
|
+
"depth <number>",
|
|
2793
|
+
"max display depth of the dependency graph"
|
|
2794
|
+
]
|
|
2795
|
+
],
|
|
2796
|
+
"description": "find components that use the specified dependency",
|
|
2797
|
+
"extendedDescription": "",
|
|
2798
|
+
"group": "info",
|
|
2799
|
+
"private": false,
|
|
2800
|
+
"arguments": [
|
|
2801
|
+
{
|
|
2802
|
+
"name": "dependency-name",
|
|
2803
|
+
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
2804
|
+
}
|
|
2805
|
+
]
|
|
2806
|
+
}
|
|
2807
|
+
]
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"name": "why <dependency-name>",
|
|
2811
|
+
"alias": "",
|
|
2812
|
+
"options": [
|
|
2720
2813
|
[
|
|
2721
2814
|
"",
|
|
2722
|
-
"
|
|
2723
|
-
"
|
|
2815
|
+
"depth <number>",
|
|
2816
|
+
"max display depth of the dependency graph"
|
|
2724
2817
|
]
|
|
2725
2818
|
],
|
|
2726
|
-
"description": "
|
|
2819
|
+
"description": "find components that use the specified dependency",
|
|
2727
2820
|
"extendedDescription": "",
|
|
2728
|
-
"group": "
|
|
2821
|
+
"group": "info",
|
|
2729
2822
|
"private": false,
|
|
2730
|
-
"remoteOp": true,
|
|
2731
2823
|
"arguments": [
|
|
2732
2824
|
{
|
|
2733
|
-
"name": "
|
|
2734
|
-
"description": "
|
|
2825
|
+
"name": "dependency-name",
|
|
2826
|
+
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
2735
2827
|
}
|
|
2736
2828
|
]
|
|
2737
2829
|
},
|
|
2738
2830
|
{
|
|
2739
|
-
"name": "
|
|
2831
|
+
"name": "set-peer <component-id> <range>",
|
|
2832
|
+
"alias": "",
|
|
2833
|
+
"options": [],
|
|
2834
|
+
"description": "set a component as always peer",
|
|
2835
|
+
"extendedDescription": "",
|
|
2836
|
+
"group": "info",
|
|
2837
|
+
"private": false,
|
|
2838
|
+
"arguments": [
|
|
2839
|
+
{
|
|
2840
|
+
"name": "component-id",
|
|
2841
|
+
"description": "the component to set as always peer"
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "range",
|
|
2845
|
+
"description": "the default range to use for the componnent, when added to peerDependencies"
|
|
2846
|
+
}
|
|
2847
|
+
]
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"name": "unset-peer <component-id>",
|
|
2851
|
+
"alias": "",
|
|
2852
|
+
"options": [],
|
|
2853
|
+
"description": "unset a component as always peer",
|
|
2854
|
+
"extendedDescription": "",
|
|
2855
|
+
"group": "info",
|
|
2856
|
+
"private": false,
|
|
2857
|
+
"arguments": [
|
|
2858
|
+
{
|
|
2859
|
+
"name": "component-id",
|
|
2860
|
+
"description": "the component to unset as always peer"
|
|
2861
|
+
}
|
|
2862
|
+
]
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"name": "dependents <component-name>",
|
|
2740
2866
|
"alias": "",
|
|
2741
2867
|
"options": [
|
|
2742
|
-
[
|
|
2743
|
-
"l",
|
|
2744
|
-
"lanes",
|
|
2745
|
-
"fetch component objects from lanes. note, it does not save the remote lanes objects locally, only the refs"
|
|
2746
|
-
],
|
|
2747
|
-
[
|
|
2748
|
-
"c",
|
|
2749
|
-
"components",
|
|
2750
|
-
"fetch components"
|
|
2751
|
-
],
|
|
2752
|
-
[
|
|
2753
|
-
"",
|
|
2754
|
-
"all-history",
|
|
2755
|
-
"for each component, fetch all its versions. by default, only the latest version is fetched"
|
|
2756
|
-
],
|
|
2757
2868
|
[
|
|
2758
2869
|
"j",
|
|
2759
2870
|
"json",
|
|
2760
|
-
"return the
|
|
2761
|
-
],
|
|
2762
|
-
[
|
|
2763
|
-
"",
|
|
2764
|
-
"from-original-scopes",
|
|
2765
|
-
"fetch indirect dependencies from their original scope as opposed to from their dependents"
|
|
2871
|
+
"return the dependents in JSON format"
|
|
2766
2872
|
]
|
|
2767
2873
|
],
|
|
2768
|
-
"description": "
|
|
2769
|
-
"extendedDescription": "
|
|
2770
|
-
"group": "
|
|
2771
|
-
"private":
|
|
2874
|
+
"description": "show dependents of the given component",
|
|
2875
|
+
"extendedDescription": "",
|
|
2876
|
+
"group": "info",
|
|
2877
|
+
"private": false,
|
|
2878
|
+
"arguments": [
|
|
2879
|
+
{
|
|
2880
|
+
"name": "component-name",
|
|
2881
|
+
"description": "component name or component id"
|
|
2882
|
+
}
|
|
2883
|
+
]
|
|
2772
2884
|
},
|
|
2773
2885
|
{
|
|
2774
2886
|
"name": "eject <component-pattern>",
|
|
@@ -2806,118 +2918,6 @@
|
|
|
2806
2918
|
}
|
|
2807
2919
|
]
|
|
2808
2920
|
},
|
|
2809
|
-
{
|
|
2810
|
-
"name": "remove <component-pattern>",
|
|
2811
|
-
"alias": "rm",
|
|
2812
|
-
"options": [
|
|
2813
|
-
[
|
|
2814
|
-
"t",
|
|
2815
|
-
"track",
|
|
2816
|
-
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2817
|
-
],
|
|
2818
|
-
[
|
|
2819
|
-
"",
|
|
2820
|
-
"keep-files",
|
|
2821
|
-
"keep component files (just untrack the component)"
|
|
2822
|
-
],
|
|
2823
|
-
[
|
|
2824
|
-
"f",
|
|
2825
|
-
"force",
|
|
2826
|
-
"removes the component from the scope, even if used as a dependency. WARNING: you will need to fix the components that depend on this component"
|
|
2827
|
-
],
|
|
2828
|
-
[
|
|
2829
|
-
"s",
|
|
2830
|
-
"silent",
|
|
2831
|
-
"skip confirmation"
|
|
2832
|
-
]
|
|
2833
|
-
],
|
|
2834
|
-
"description": "remove component(s) from the local workspace",
|
|
2835
|
-
"extendedDescription": "to mark components as deleted on the remote scope, use \"bit delete\".",
|
|
2836
|
-
"group": "collaborate",
|
|
2837
|
-
"private": false,
|
|
2838
|
-
"remoteOp": true,
|
|
2839
|
-
"skipWorkspace": true,
|
|
2840
|
-
"arguments": [
|
|
2841
|
-
{
|
|
2842
|
-
"name": "component-pattern",
|
|
2843
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2844
|
-
}
|
|
2845
|
-
],
|
|
2846
|
-
"examples": [
|
|
2847
|
-
{
|
|
2848
|
-
"cmd": "remove \"$deprecated\"",
|
|
2849
|
-
"description": "remove all components that are deprecated"
|
|
2850
|
-
}
|
|
2851
|
-
]
|
|
2852
|
-
},
|
|
2853
|
-
{
|
|
2854
|
-
"name": "delete <component-pattern>",
|
|
2855
|
-
"alias": "",
|
|
2856
|
-
"options": [
|
|
2857
|
-
[
|
|
2858
|
-
"",
|
|
2859
|
-
"lane",
|
|
2860
|
-
"when on a lane, delete the component from this lane only. avoid merging it to main or other lanes"
|
|
2861
|
-
],
|
|
2862
|
-
[
|
|
2863
|
-
"",
|
|
2864
|
-
"update-main",
|
|
2865
|
-
"delete component/s on the main lane after merging this lane into main"
|
|
2866
|
-
],
|
|
2867
|
-
[
|
|
2868
|
-
"",
|
|
2869
|
-
"range <string>",
|
|
2870
|
-
"EXPERIMENTAL. enter a Semver range to delete specific tags (cannot be used for snaps). see https://www.npmjs.com/package/semver#ranges for the range syntax"
|
|
2871
|
-
],
|
|
2872
|
-
[
|
|
2873
|
-
"s",
|
|
2874
|
-
"silent",
|
|
2875
|
-
"skip confirmation"
|
|
2876
|
-
],
|
|
2877
|
-
[
|
|
2878
|
-
"",
|
|
2879
|
-
"hard",
|
|
2880
|
-
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2881
|
-
],
|
|
2882
|
-
[
|
|
2883
|
-
"f",
|
|
2884
|
-
"force",
|
|
2885
|
-
"relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2886
|
-
]
|
|
2887
|
-
],
|
|
2888
|
-
"description": "mark components as deleted on the remote",
|
|
2889
|
-
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\" command.\nthis command marks the components as deleted, and after snap/tag and export they will be marked as deleted from the remote scope as well.\n",
|
|
2890
|
-
"group": "collaborate",
|
|
2891
|
-
"private": false,
|
|
2892
|
-
"remoteOp": true,
|
|
2893
|
-
"skipWorkspace": true,
|
|
2894
|
-
"arguments": [
|
|
2895
|
-
{
|
|
2896
|
-
"name": "component-pattern",
|
|
2897
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
2898
|
-
}
|
|
2899
|
-
]
|
|
2900
|
-
},
|
|
2901
|
-
{
|
|
2902
|
-
"name": "recover <component-name>",
|
|
2903
|
-
"alias": "",
|
|
2904
|
-
"options": [
|
|
2905
|
-
[
|
|
2906
|
-
"x",
|
|
2907
|
-
"skip-dependency-installation",
|
|
2908
|
-
"do not install packages in case of importing components"
|
|
2909
|
-
],
|
|
2910
|
-
[
|
|
2911
|
-
"",
|
|
2912
|
-
"skip-write-config-files",
|
|
2913
|
-
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2914
|
-
]
|
|
2915
|
-
],
|
|
2916
|
-
"description": "recover component(s) soft-deleted from the workspace, or a remote scope",
|
|
2917
|
-
"extendedDescription": "",
|
|
2918
|
-
"group": "collaborate",
|
|
2919
|
-
"private": false
|
|
2920
|
-
},
|
|
2921
2921
|
{
|
|
2922
2922
|
"name": "resume-export <export-id> <remotes...>",
|
|
2923
2923
|
"alias": "",
|
|
@@ -3474,6 +3474,16 @@
|
|
|
3474
3474
|
"update-dependents",
|
|
3475
3475
|
"when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace"
|
|
3476
3476
|
],
|
|
3477
|
+
[
|
|
3478
|
+
"",
|
|
3479
|
+
"tag",
|
|
3480
|
+
"make a tag instead of a snap"
|
|
3481
|
+
],
|
|
3482
|
+
[
|
|
3483
|
+
"",
|
|
3484
|
+
"stream",
|
|
3485
|
+
"relevant for --json only. stream loader as json strings"
|
|
3486
|
+
],
|
|
3477
3487
|
[
|
|
3478
3488
|
"j",
|
|
3479
3489
|
"json",
|
|
@@ -3481,7 +3491,7 @@
|
|
|
3481
3491
|
]
|
|
3482
3492
|
],
|
|
3483
3493
|
"description": "snap components from a bare-scope",
|
|
3484
|
-
"extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the snap.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies?: string[]; // dependencies include versions. for components use component-id. e.g. [teambit.compilation/compiler@1.0.0, lodash@4.17.21]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n files?: Array<{path: string, content: string}>; // replace content of specified source-files. the content is base64 encoded.\n isNew?: boolean; // if it's new, it'll be generated from the given files. otherwise, it'll be fetched from the scope and updated.\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{ // new dependencies (components and packages) to add.\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[]; // component-id (for components) or package-name (for packages) to remove from the dependencies.\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'\n",
|
|
3494
|
+
"extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the snap.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies?: string[]; // dependencies include versions. for components use component-id. e.g. [teambit.compilation/compiler@1.0.0, lodash@4.17.21]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n files?: Array<{path: string, content: string}>; // replace content of specified source-files. the content is base64 encoded.\n isNew?: boolean; // if it's new, it'll be generated from the given files. otherwise, it'll be fetched from the scope and updated.\n mainFile?: string; // relevant when isNew is true. default to \"index.ts\".\n newDependencies?: Array<{ // new dependencies (components and packages) to add.\n id: string; // component-id or package-name. e.g. \"teambit.react/react\" or \"lodash\".\n version?: string; // version of the package. e.g. \"2.0.3\". for packages, it is mandatory.\n isComponent?: boolean; // default true. if false, it's a package dependency\n type?: 'runtime' | 'dev' | 'peer'; // default \"runtime\".\n }>;\n removeDependencies?: string[]; // component-id (for components) or package-name (for packages) to remove from the dependencies.\n forkFrom?: string; // origin id to fork from. the componentId is the new id. (no need to populate isNew prop).\n version?: string; // relevant when passing \"--tag\". optionally, specify the semver to tag. default to \"patch\".\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'\n",
|
|
3485
3495
|
"group": "ungrouped",
|
|
3486
3496
|
"private": true
|
|
3487
3497
|
},
|
|
@@ -3618,6 +3628,11 @@
|
|
|
3618
3628
|
"pattern",
|
|
3619
3629
|
"component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3620
3630
|
],
|
|
3631
|
+
[
|
|
3632
|
+
"",
|
|
3633
|
+
"include-new",
|
|
3634
|
+
"EXPERIMENTAL. by default, only modified components are stashed. use this flag to include new components"
|
|
3635
|
+
],
|
|
3621
3636
|
[
|
|
3622
3637
|
"m",
|
|
3623
3638
|
"message <string>",
|