@teambit/harmony.content.cli-reference 1.95.90 → 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.
@@ -2071,9 +2071,9 @@
2071
2071
  "EXPERIMENTAL. complete a merge process by snapping the unmerged components"
2072
2072
  ],
2073
2073
  [
2074
- "",
2074
+ "b",
2075
2075
  "build",
2076
- "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"
2077
2077
  ],
2078
2078
  [
2079
2079
  "",
@@ -2093,7 +2093,7 @@
2093
2093
  [
2094
2094
  "",
2095
2095
  "force-deploy",
2096
- "Harmony only. run the deploy pipeline although the build failed"
2096
+ "run the deploy pipeline although the build failed"
2097
2097
  ],
2098
2098
  [
2099
2099
  "i",
@@ -2242,12 +2242,57 @@
2242
2242
  "ignore existing of newer versions (default = false)"
2243
2243
  ]
2244
2244
  ],
2245
- "description": "create an immutable and exportable component snapshot, tagged with a release version.",
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",
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",
2247
2247
  "group": "development",
2248
2248
  "private": true,
2249
2249
  "remoteOp": true
2250
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
+ },
2251
2296
  {
2252
2297
  "name": "merge [values...]",
2253
2298
  "alias": "",
@@ -2071,9 +2071,9 @@
2071
2071
  "EXPERIMENTAL. complete a merge process by snapping the unmerged components"
2072
2072
  ],
2073
2073
  [
2074
- "",
2074
+ "b",
2075
2075
  "build",
2076
- "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"
2077
2077
  ],
2078
2078
  [
2079
2079
  "",
@@ -2093,7 +2093,7 @@
2093
2093
  [
2094
2094
  "",
2095
2095
  "force-deploy",
2096
- "Harmony only. run the deploy pipeline although the build failed"
2096
+ "run the deploy pipeline although the build failed"
2097
2097
  ],
2098
2098
  [
2099
2099
  "i",
@@ -2242,12 +2242,57 @@
2242
2242
  "ignore existing of newer versions (default = false)"
2243
2243
  ]
2244
2244
  ],
2245
- "description": "create an immutable and exportable component snapshot, tagged with a release version.",
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",
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",
2247
2247
  "group": "development",
2248
2248
  "private": true,
2249
2249
  "remoteOp": true
2250
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
+ },
2251
2296
  {
2252
2297
  "name": "merge [values...]",
2253
2298
  "alias": "",