Create an immutable and exportable component snapshot (non-release version)
$bit snap [component-pattern]
Copiedcopy

Arguments

ArgumentDescriptionRequired
component-patterncomponent name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/**, !ui/button". use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern.. By default, only new and modified components are snapped (add --unmodified to snap all components in the workspace).

Options

OptionOption AliasDescriptionValue Type
--message-msnap message describing the latest changes - will appear in component history logstring
--unmodified-uinclude unmodified components (by default, only new and modified components are snapped)boolean
--unmerged-complete a merge process by snapping the unmerged componentsboolean
--build-blocally run the build pipeline (i.e. not via rippleCI) and complete the snapboolean
--editor-open an editor to write a snap message per component. optionally specify the editor-name (defaults to vim).string
--skip-tests-skip running component tests during snap processboolean
--skip-auto-snap-skip auto snapping dependentsboolean
--disable-snap-pipeline-skip the snap pipeline. this will for instance skip packing and publishing component version for install, and app deploymentboolean
--force-deploy-DEPRECATED. use --ignore-build-error insteadboolean
--ignore-build-errors-proceed to snap pipeline even when build pipeline failsboolean
--rebuild-deps-graph-do not reuse the saved dependencies graph, instead build it from scratchboolean
--ignore-issues-iignore component issues (shown in "bit status" as "issues found"), issues to ignore: [MissingPackagesDependenciesOnFs, MissingManuallyConfiguredPackages, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage, MergeConfigHasConflict, NonLoadedEnv, ExternalEnvWithoutVersion, RemovedDependencies] to ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify "*".string
--all-aDEPRECATED (not needed anymore, now the default). snap all new and modified componentsboolean
--fail-fast-stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed)boolean
--force-fDEPRECATED (use "--skip-tests" or "--unmodified" instead). force-snap even if tests are failing and even when component has not changedboolean