@teambit/harmony.content.cli-reference 1.95.89 → 1.95.92

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.
@@ -1213,6 +1213,11 @@
1213
1213
  "all",
1214
1214
  "all components"
1215
1215
  ],
1216
+ [
1217
+ "e",
1218
+ "entire-lane",
1219
+ "write also new components that were introduced on the remote lane and do not exist locally"
1220
+ ],
1216
1221
  [
1217
1222
  "v",
1218
1223
  "verbose",
@@ -2066,9 +2071,9 @@
2066
2071
  "EXPERIMENTAL. complete a merge process by snapping the unmerged components"
2067
2072
  ],
2068
2073
  [
2069
- "",
2074
+ "b",
2070
2075
  "build",
2071
- "Harmony only. run the pipeline build and complete the tag"
2076
+ "EXPERIMENTAL. not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled"
2072
2077
  ],
2073
2078
  [
2074
2079
  "",
@@ -2088,7 +2093,7 @@
2088
2093
  [
2089
2094
  "",
2090
2095
  "force-deploy",
2091
- "Harmony only. run the deploy pipeline although the build failed"
2096
+ "run the deploy pipeline although the build failed"
2092
2097
  ],
2093
2098
  [
2094
2099
  "i",
@@ -2237,12 +2242,57 @@
2237
2242
  "ignore existing of newer versions (default = false)"
2238
2243
  ]
2239
2244
  ],
2240
- "description": "create an immutable and exportable component snapshot, tagged with a release version.",
2241
- "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the tag.\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[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n prereleaseId?: string; // applicable when versionToTag is a pre-release. (e.g. \"dev\", for 1.0.0-dev.1)\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
2245
+ "description": "tag components from a bare-scope by using build artifacts from previous snap and running the deploy-pipeline only",
2246
+ "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the tag.\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[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n prereleaseId?: string; // applicable when versionToTag is a pre-release. (e.g. \"dev\", for 1.0.0-dev.1)\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
2242
2247
  "group": "development",
2243
2248
  "private": true,
2244
2249
  "remoteOp": true
2245
2250
  },
2251
+ {
2252
+ "name": "_snap <data>",
2253
+ "alias": "",
2254
+ "options": [
2255
+ [
2256
+ "",
2257
+ "push",
2258
+ "export the updated objects to the original scopes once done"
2259
+ ],
2260
+ [
2261
+ "m",
2262
+ "message <message>",
2263
+ "log message describing the latest changes"
2264
+ ],
2265
+ [
2266
+ "",
2267
+ "build",
2268
+ "run the build pipeline"
2269
+ ],
2270
+ [
2271
+ "",
2272
+ "skip-tests",
2273
+ "skip running component tests during snap process"
2274
+ ],
2275
+ [
2276
+ "",
2277
+ "disable-snap-pipeline",
2278
+ "skip the snap pipeline"
2279
+ ],
2280
+ [
2281
+ "",
2282
+ "force-deploy",
2283
+ "run the deploy pipeline although the build failed"
2284
+ ],
2285
+ [
2286
+ "i",
2287
+ "ignore-issues [issues]",
2288
+ "ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingComponents, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, CustomModuleResolutionUsed, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
2289
+ ]
2290
+ ],
2291
+ "description": "snap components from a bare-scope",
2292
+ "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[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'\n",
2293
+ "group": "ungrouped",
2294
+ "private": true
2295
+ },
2246
2296
  {
2247
2297
  "name": "merge [values...]",
2248
2298
  "alias": "",
@@ -2746,6 +2796,11 @@
2746
2796
  "",
2747
2797
  "include-deps",
2748
2798
  "EXPERIMENTAL. relevant for \"--pattern\". merge also dependencies of the given components"
2799
+ ],
2800
+ [
2801
+ "j",
2802
+ "json",
2803
+ "output as json format"
2749
2804
  ]
2750
2805
  ],
2751
2806
  "description": "merge a remote lane into main via a bare-scope (not workspace)",
package/cli-reference.mdx CHANGED
@@ -233,6 +233,7 @@ with no args, only workspace's capsules are deleted
233
233
  | `--manual` | `-m` | in case of a conflict, leave the files with a conflict state to resolve them manually later |
234
234
  | `--reset` | `-r` | revert changes that were not snapped/tagged |
235
235
  | `--all` | `-a` | all components |
236
+ | `--entire-lane` | `-e` | write also new components that were introduced on the remote lane and do not exist locally |
236
237
  | `--verbose` | `-v` | showing verbose output for inspection |
237
238
  | `--reset` | | DEPRECATED. run "bit checkout reset" instead |
238
239
  | `--skip-npm-install` | | DEPRECATED. use "--skip-dependency-installation" instead |
@@ -1213,6 +1213,11 @@
1213
1213
  "all",
1214
1214
  "all components"
1215
1215
  ],
1216
+ [
1217
+ "e",
1218
+ "entire-lane",
1219
+ "write also new components that were introduced on the remote lane and do not exist locally"
1220
+ ],
1216
1221
  [
1217
1222
  "v",
1218
1223
  "verbose",
@@ -2066,9 +2071,9 @@
2066
2071
  "EXPERIMENTAL. complete a merge process by snapping the unmerged components"
2067
2072
  ],
2068
2073
  [
2069
- "",
2074
+ "b",
2070
2075
  "build",
2071
- "Harmony only. run the pipeline build and complete the tag"
2076
+ "EXPERIMENTAL. not needed for now. run the build pipeline in case the feature-flag build-on-ci is enabled"
2072
2077
  ],
2073
2078
  [
2074
2079
  "",
@@ -2088,7 +2093,7 @@
2088
2093
  [
2089
2094
  "",
2090
2095
  "force-deploy",
2091
- "Harmony only. run the deploy pipeline although the build failed"
2096
+ "run the deploy pipeline although the build failed"
2092
2097
  ],
2093
2098
  [
2094
2099
  "i",
@@ -2237,12 +2242,57 @@
2237
2242
  "ignore existing of newer versions (default = false)"
2238
2243
  ]
2239
2244
  ],
2240
- "description": "create an immutable and exportable component snapshot, tagged with a release version.",
2241
- "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the tag.\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[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n prereleaseId?: string; // applicable when versionToTag is a pre-release. (e.g. \"dev\", for 1.0.0-dev.1)\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
2245
+ "description": "tag components from a bare-scope by using build artifacts from previous snap and running the deploy-pipeline only",
2246
+ "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the tag.\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[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n prereleaseId?: string; // applicable when versionToTag is a pre-release. (e.g. \"dev\", for 1.0.0-dev.1)\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
2242
2247
  "group": "development",
2243
2248
  "private": true,
2244
2249
  "remoteOp": true
2245
2250
  },
2251
+ {
2252
+ "name": "_snap <data>",
2253
+ "alias": "",
2254
+ "options": [
2255
+ [
2256
+ "",
2257
+ "push",
2258
+ "export the updated objects to the original scopes once done"
2259
+ ],
2260
+ [
2261
+ "m",
2262
+ "message <message>",
2263
+ "log message describing the latest changes"
2264
+ ],
2265
+ [
2266
+ "",
2267
+ "build",
2268
+ "run the build pipeline"
2269
+ ],
2270
+ [
2271
+ "",
2272
+ "skip-tests",
2273
+ "skip running component tests during snap process"
2274
+ ],
2275
+ [
2276
+ "",
2277
+ "disable-snap-pipeline",
2278
+ "skip the snap pipeline"
2279
+ ],
2280
+ [
2281
+ "",
2282
+ "force-deploy",
2283
+ "run the deploy pipeline although the build failed"
2284
+ ],
2285
+ [
2286
+ "i",
2287
+ "ignore-issues [issues]",
2288
+ "ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingComponents, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, CustomModuleResolutionUsed, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
2289
+ ]
2290
+ ],
2291
+ "description": "snap components from a bare-scope",
2292
+ "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[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n aspects?: Record<string,any> // e.g. { \"teambit.react/react\": {}, \"teambit.envs/envs\": { \"env\": \"teambit.react/react\" } }\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"message\": \"first snap\"}]'\n",
2293
+ "group": "ungrouped",
2294
+ "private": true
2295
+ },
2246
2296
  {
2247
2297
  "name": "merge [values...]",
2248
2298
  "alias": "",
@@ -2746,6 +2796,11 @@
2746
2796
  "",
2747
2797
  "include-deps",
2748
2798
  "EXPERIMENTAL. relevant for \"--pattern\". merge also dependencies of the given components"
2799
+ ],
2800
+ [
2801
+ "j",
2802
+ "json",
2803
+ "output as json format"
2749
2804
  ]
2750
2805
  ],
2751
2806
  "description": "merge a remote lane into main via a bare-scope (not workspace)",
@@ -1143,6 +1143,21 @@ function MDXContent(_ref) {
1143
1143
  "align": null
1144
1144
  }, (0, _react2.mdx)("inlineCode", {
1145
1145
  parentName: "td"
1146
+ }, "--entire-lane")), (0, _react2.mdx)("td", {
1147
+ parentName: "tr",
1148
+ "align": "center"
1149
+ }, (0, _react2.mdx)("inlineCode", {
1150
+ parentName: "td"
1151
+ }, "-e")), (0, _react2.mdx)("td", {
1152
+ parentName: "tr",
1153
+ "align": null
1154
+ }, "write also new components that were introduced on the remote lane and do not exist locally")), (0, _react2.mdx)("tr", {
1155
+ parentName: "tbody"
1156
+ }, (0, _react2.mdx)("td", {
1157
+ parentName: "tr",
1158
+ "align": null
1159
+ }, (0, _react2.mdx)("inlineCode", {
1160
+ parentName: "td"
1146
1161
  }, "--verbose")), (0, _react2.mdx)("td", {
1147
1162
  parentName: "tr",
1148
1163
  "align": "center"