MCPcopy
hub / github.com/teambit/bit / IsolateOptions

Interface IsolateOptions

src/environment/isolator.ts:29–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27import { PackageManagerResults } from '../npm-client/npm-client';
28
29export interface IsolateOptions {
30 writeToPath?: PathOsBased; // Path to write the component to
31 override?: boolean; // Override existing files in the folder
32 writePackageJson?: boolean; // write the package.json
33 writeConfig?: boolean; // Write bit.json file
34 writeBitDependencies?: boolean; // Write bit dependencies as package dependencies in package.json
35 createNpmLinkFiles?: boolean; // Fix the links to dependencies to be links to the package
36 saveDependenciesAsComponents?: boolean; // import the dependencies as bit components instead of as npm packages
37 writeDists?: boolean; // Write dist files
38 shouldBuildDependencies?: boolean; // Build all depedencies before the isolation (used by tools like ts compiler)
39 installNpmPackages?: boolean; // Install the package dependencies
40 keepExistingCapsule?: boolean; // Do not delete the capsule after using it (useful for incremental builds)
41 installPeerDependencies?: boolean; // Install the peer package dependencies
42 installProdPackagesOnly?: boolean;
43 verbose?: boolean; // Print more logs
44 excludeRegistryPrefix?: boolean; // exclude the registry prefix from the component's name in the package.json
45 silentPackageManagerResult?: boolean; // Print environment install result
46 applyExtensionsAddedConfig?: boolean; // apply configs added by extension in the package.json
47}
48
49export default class Isolator {
50 capsule: Capsule;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected