Skip to content

remove "EXPERIMENTAL" from commands/flags that are not experimental anymore #9200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scopes/component/forking/fork.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class ForkCmd implements Command {
],
['', 'preserve', 'avoid refactoring file and variable/class names according to the new component name'],
['', 'no-link', 'avoid saving a reference to the original component'],
['', 'ast', 'EXPERIMENTAL. use ast to transform files instead of regex'],
['', 'ast', 'use ast to transform files instead of regex'],
] as CommandOptions;

example: [
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/forking/scope-fork.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class ScopeForkCmd implements Command {
description = 'fork all components of the original-scope and refactor the source-code to use the new scope name';
extendedDescription = 'optionally, provide [pattern] to limit the fork to specific components';
options = [
['', 'ast', 'EXPERIMENTAL. use ast to transform files instead of regex'],
['', 'ast', 'use ast to transform files instead of regex'],
['x', 'skip-dependency-installation', 'do not install packages of the imported components'],
] as CommandOptions;
group = 'development';
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/remove/recover-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type RecoverOptions = {

export class RecoverCmd implements Command {
name = 'recover <component-name>';
description = 'EXPERIMENTAL. recover component(s) soft-deleted from the workspace, or a remote scope';
description = 'recover component(s) soft-deleted from the workspace, or a remote scope';
group = 'collaborate';
options = [
['x', 'skip-dependency-installation', 'do not install packages in case of importing components'],
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/renaming/rename.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class RenameCmd implements Command {
['s', 'scope <scope-name>', 'define the scope for the new component'],
['r', 'refactor', 'update the import/require statements in all dependent components (in the same workspace)'],
['', 'preserve', 'avoid renaming files and variables/classes according to the new component name'],
['', 'ast', 'EXPERIMENTAL. use ast to transform files instead of regex'],
['', 'ast', 'use ast to transform files instead of regex'],
['', 'delete', 'DEPRECATED. this is now the default'],
['', 'deprecate', 'instead of deleting the original component, deprecating it'],
[
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/renaming/scope-rename-owner.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class ScopeRenameOwnerCmd implements Command {
'refactor',
'update the import statements in all dependent components to the new package name (that contains the new owner name)',
],
['', 'ast', 'EXPERIMENTAL. use ast to transform files instead of regex'],
['', 'ast', 'use ast to transform files instead of regex'],
] as CommandOptions;
group = 'development';

Expand Down
2 changes: 1 addition & 1 deletion scopes/component/snapping/snap-from-scope.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ to ignore multiple issues, separate them by a comma and wrap with quotes. to ign
[
'',
'update-dependents',
'EXPERIMENTAL. when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace',
'when snapped on a lane, mark it as update-dependents so it will be skipped from the workspace',
],
['j', 'json', 'output as json format'],
] as CommandOptions;
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/stash/stash.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class StashLoadCmd implements Command {

export class StashCmd implements Command {
name = 'stash <sub-command>';
description = 'EXPERIMENTAL. stash modified components';
description = 'stash modified components';
group = 'development';
options = [
['p', 'pattern', COMPONENT_PATTERN_HELP],
Expand Down
2 changes: 1 addition & 1 deletion scopes/component/status/mini-status-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type MiniStatusOpts = {

export class MiniStatusCmd implements Command {
name = 'mini-status [component-pattern]';
description = 'EXPERIMENTAL. basic status for fast execution';
description = 'basic status for fast execution';
extendedDescription = `shows only modified/new components with code changes. for the full status, use "bit status".
this command only checks source code changes, it doesn't check for config/aspect/dependency changes`;
arguments = [
Expand Down
6 changes: 3 additions & 3 deletions scopes/dependencies/dependencies/dependencies-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class DependenciesGetCmd implements Command {
alias = '';
options = [
['', 'scope', 'get the data from the scope instead of the workspace'],
['t', 'tree', 'EXPERIMENTAL. render dependencies as a tree, similar to "npm ls"'],
['t', 'tree', 'render dependencies as a tree, similar to "npm ls"'],
] as CommandOptions;

constructor(private deps: DependenciesMain) {}
Expand Down Expand Up @@ -228,7 +228,7 @@ export class DependenciesBlameCmd implements Command {
},
];
group = 'info';
description = 'EXPERIMENTAL. find out which snap/tag changed a dependency version';
description = 'find out which snap/tag changed a dependency version';
alias = '';
options = [] as CommandOptions;

Expand Down Expand Up @@ -283,7 +283,7 @@ export class DependenciesUsageCmd implements Command {
},
];
group = 'info';
description = 'EXPERIMENTAL. find components that use the specified dependency';
description = 'find components that use the specified dependency';
alias = '';
options = [['', 'depth <number>', 'max display depth of the dependency graph']] as CommandOptions;

Expand Down
2 changes: 1 addition & 1 deletion scopes/harmony/api-server/server.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ApiServerMain } from './api-server.main.runtime';

export class ServerCmd implements Command {
name = 'server';
description = 'EXPERIMENTAL. communicate with bit cli program via http requests';
description = 'communicate with bit cli program via http requests';
alias = '';
commands: Command[] = [];
group = 'general';
Expand Down
2 changes: 1 addition & 1 deletion scopes/lanes/lanes/lane.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export class LaneChangeScopeCmd implements Command {

export class LaneRenameCmd implements Command {
name = 'rename <new-name>';
description = `EXPERIMENTAL. change the lane-name locally`;
description = `change the lane-name locally`;
extendedDescription = 'the remote will be updated after the next "bit export" command';
alias = '';
options = [
Expand Down
6 changes: 1 addition & 5 deletions scopes/lanes/merge-lanes/merge-lane.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,7 @@ Component pattern format: ${COMPONENT_PATTERN_HELP}`,
['m', 'message <message>', 'override the default message for the auto snap'],
['', 'keep-readme', 'skip deleting the lane readme component after merging'],
['', 'no-squash', 'relevant for merging lanes into main, which by default squashes all lane snaps'],
[
'',
'squash',
'EXPERIMENTAL. relevant for merging a lane into another non-main lane, which by default does not squash',
],
['', 'squash', 'relevant for merging a lane into another non-main lane, which by default does not squash'],
[
'',
'ignore-config-changes',
Expand Down
12 changes: 2 additions & 10 deletions scopes/pipelines/builder/build.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,8 @@ specify the task-name (e.g. "TypescriptCompiler") or the task-aspect-id (e.g. te
'fail-fast',
'stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed)',
],
[
'',
'include-snap',
'EXPERIMENTAL. include snap pipeline tasks. Warning: this may deploy/publish if you have such tasks',
],
[
'',
'include-tag',
'EXPERIMENTAL. include tag pipeline tasks. Warning: this may deploy/publish if you have such tasks',
],
['', 'include-snap', 'include snap pipeline tasks. Warning: this may deploy/publish if you have such tasks'],
['', 'include-tag', 'include tag pipeline tasks. Warning: this may deploy/publish if you have such tasks'],
[
'i',
'ignore-issues <issues>',
Expand Down
6 changes: 3 additions & 3 deletions scopes/scope/export/export-cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class ExportCmd implements Command {
[
'',
'origin-directly',
'EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!',
'avoid export to the central hub, instead, export directly to the original scopes. not recommended!',
],
[
'',
Expand All @@ -46,12 +46,12 @@ export class ExportCmd implements Command {
[
'',
'head-only',
'EXPERIMENTAL. in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag',
'in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag',
],
[
'',
'ignore-missing-artifacts',
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote",
"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote",
],
['', 'fork-lane-new-scope', 'allow exporting a forked lane into a different scope than the original scope'],
['', 'open-browser', 'open a browser once the export is completed in the cloud job url'],
Expand Down
2 changes: 1 addition & 1 deletion scopes/workspace/watcher/watch.cmd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
[
't',
'check-types [string]',
'EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project',
'show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project',
],
[
'i',
Expand Down