@teambit/importer 1.0.928 → 1.0.930
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.
package/dist/import.cmd.js
CHANGED
|
@@ -4,6 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ImportCmd = void 0;
|
|
7
|
+
function _cli() {
|
|
8
|
+
const data = require("@teambit/cli");
|
|
9
|
+
_cli = function () {
|
|
10
|
+
return data;
|
|
11
|
+
};
|
|
12
|
+
return data;
|
|
13
|
+
}
|
|
7
14
|
function _chalk() {
|
|
8
15
|
const data = _interopRequireDefault(require("chalk"));
|
|
9
16
|
_chalk = function () {
|
|
@@ -39,13 +46,6 @@ function _bitError() {
|
|
|
39
46
|
};
|
|
40
47
|
return data;
|
|
41
48
|
}
|
|
42
|
-
function _legacy() {
|
|
43
|
-
const data = require("@teambit/legacy.utils");
|
|
44
|
-
_legacy = function () {
|
|
45
|
-
return data;
|
|
46
|
-
};
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
49
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
50
50
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
51
51
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
@@ -99,31 +99,27 @@ without arguments, fetches all workspace components' latest versions from their
|
|
|
99
99
|
upToDateCount += 1;
|
|
100
100
|
}
|
|
101
101
|
return formatPlainComponentItemWithVersions(bitId, details);
|
|
102
|
-
});
|
|
102
|
+
}).filter(Boolean);
|
|
103
103
|
const getWsConfigUpdateLogs = () => {
|
|
104
104
|
const logs = workspaceConfigUpdateResult?.logs;
|
|
105
105
|
if (!logs || !logs.length) return '';
|
|
106
106
|
const logsStr = logs.join('\n');
|
|
107
|
-
return `${
|
|
107
|
+
return `${(0, _cli().formatTitle)('verbose logs of workspace config update')}\n${logsStr}`;
|
|
108
108
|
};
|
|
109
109
|
const upToDateSuffix = lane ? ' on the lane' : '';
|
|
110
110
|
const upToDateStr = upToDateCount === 0 ? '' : `, ${upToDateCount} components are up to date${upToDateSuffix}`;
|
|
111
111
|
const summary = `${summaryPrefix}${upToDateStr}`;
|
|
112
|
-
const importOutput = (0,
|
|
113
|
-
const importedDepsOutput = importFlags.displayDependencies && importedDeps.length ? (0,
|
|
112
|
+
const importOutput = importedComponents.length ? (0, _cli().formatSection)('imported components', '', importedComponents) : '';
|
|
113
|
+
const importedDepsOutput = importFlags.displayDependencies && importedDeps.length ? (0, _cli().formatSection)('imported component dependencies', '', (0, _lodash().uniq)(importedDeps.map(formatPlainComponentItem))) : '';
|
|
114
114
|
const getRemovedWarning = () => {
|
|
115
115
|
const removedDetails = importDetails.filter(d => d.removed);
|
|
116
116
|
if (!removedDetails.length) return '';
|
|
117
|
-
const
|
|
118
|
-
const title = _chalk().default.yellow(`the following imported component(s) are marked as deleted and may not be up to date with the latest changes:`);
|
|
119
|
-
const body = removedIds.join('\n');
|
|
117
|
+
const removedItems = removedDetails.map(d => (0, _cli().formatItem)(_chalk().default.bold(d.id), _cli().errorSymbol));
|
|
120
118
|
const hintBase = `run "bit recover <component-id>" to restore`;
|
|
121
119
|
const hintSuffix = lane ? `, then "bit lane merge main" to get latest updates` : '';
|
|
122
|
-
|
|
123
|
-
return `${title}\n${body}\n${hint}`;
|
|
120
|
+
return (0, _cli().joinSections)([(0, _cli().formatSection)('deleted components', 'imported component(s) are marked as deleted and may not be up to date', removedItems), (0, _cli().formatHint)(`${hintBase}${hintSuffix}`)]);
|
|
124
121
|
};
|
|
125
|
-
|
|
126
|
-
return output;
|
|
122
|
+
return (0, _cli().joinSections)([getWsConfigUpdateLogs(), importOutput, importedDepsOutput, formatMissingComponents(missingIds), getRemovedWarning(), (0, _componentModules().getWorkspaceConfigUpdateOutput)(workspaceConfigUpdateResult), (0, _componentModules().installationErrorOutput)(installationError), (0, _componentModules().compilationErrorOutput)(compilationError), (0, _cli().formatSuccessSummary)(summary)]);
|
|
127
123
|
}
|
|
128
124
|
async json([ids], importFlags) {
|
|
129
125
|
const {
|
|
@@ -232,11 +228,9 @@ without arguments, fetches all workspace components' latest versions from their
|
|
|
232
228
|
exports.ImportCmd = ImportCmd;
|
|
233
229
|
function formatMissingComponents(missing) {
|
|
234
230
|
if (!missing?.length) return '';
|
|
235
|
-
const
|
|
236
|
-
const
|
|
237
|
-
|
|
238
|
-
const body = _chalk().default.red(missing.join('\n'));
|
|
239
|
-
return `${title}\n${subTitle}\n${body}`;
|
|
231
|
+
const desc = `the following components are missing from the remote in the requested version, try running "bit status" to re-sync your .bitmap file\nalso, check that the requested version exists on main or the checked out lane`;
|
|
232
|
+
const items = missing.map(id => (0, _cli().formatItem)(_chalk().default.red(id), _cli().errorSymbol));
|
|
233
|
+
return (0, _cli().formatSection)('missing components', desc, items);
|
|
240
234
|
}
|
|
241
235
|
function formatPlainComponentItem({
|
|
242
236
|
scope,
|
|
@@ -244,7 +238,9 @@ function formatPlainComponentItem({
|
|
|
244
238
|
version,
|
|
245
239
|
deprecated
|
|
246
240
|
}) {
|
|
247
|
-
|
|
241
|
+
const id = `${scope ? `${scope}/` : ''}${name}@${version ? version.toString() : 'latest'}`;
|
|
242
|
+
const suffix = deprecated ? ` ${_chalk().default.yellow('[deprecated]')}` : '';
|
|
243
|
+
return (0, _cli().formatItem)(_chalk().default.cyan(id) + suffix);
|
|
248
244
|
}
|
|
249
245
|
function formatPlainComponentItemWithVersions(bitId, importDetails) {
|
|
250
246
|
const status = importDetails.status;
|
|
@@ -278,12 +274,11 @@ function formatPlainComponentItemWithVersions(bitId, importDetails) {
|
|
|
278
274
|
if (status === 'up to date' && !missingDeps && !deprecated && !conflictMessage && !removed) {
|
|
279
275
|
return undefined;
|
|
280
276
|
}
|
|
281
|
-
const
|
|
282
|
-
const
|
|
283
|
-
const versionOutput = (0, _lodash().compact)([versions, usedVersion]).join(', ');
|
|
277
|
+
const symbol = removed ? _cli().errorSymbol : deprecated ? _cli().warnSymbol : undefined;
|
|
278
|
+
const versionOutput = [versions, usedVersion].filter(Boolean).join(', ');
|
|
284
279
|
const stateOutput = `${conflictMessage}${deprecated}${removed}`;
|
|
285
|
-
const
|
|
286
|
-
return _chalk().default.dim(
|
|
280
|
+
const details = [_chalk().default.green(status), _chalk().default.cyan(id), versionOutput, stateOutput, missingDeps].filter(Boolean).join(' ');
|
|
281
|
+
return (0, _cli().formatItem)(_chalk().default.dim(details), symbol);
|
|
287
282
|
}
|
|
288
283
|
|
|
289
284
|
//# sourceMappingURL=import.cmd.js.map
|
package/dist/import.cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_chalk","data","_interopRequireDefault","require","_lodash","_componentModules","_componentId","_bitError","_legacy","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ImportCmd","constructor","importer","name","description","report","ids","importFlags","importDetails","importedIds","importedDeps","installationError","compilationError","workspaceConfigUpdateResult","missingIds","cancellationMessage","lane","getImportResults","length","chalk","yellow","importedIdsUniqNoVersion","ComponentIdList","fromArray","toVersionLatest","summaryPrefix","upToDateCount","importedComponents","map","bitId","details","find","c","id","toStringWithoutVersion","Error","toString","status","formatPlainComponentItemWithVersions","getWsConfigUpdateLogs","logs","logsStr","join","underline","upToDateSuffix","upToDateStr","summary","importOutput","compact","importedDepsOutput","displayDependencies","immutableUnshift","uniq","formatPlainComponentItem","green","getRemovedWarning","removedDetails","filter","d","removed","removedIds","bold","title","body","hintBase","hintSuffix","hint","output","formatMissingComponents","getWorkspaceConfigUpdateOutput","installationErrorOutput","compilationErrorOutput","json","path","objects","override","verbose","conf","skipDependencyInstallation","skipWriteConfigFiles","merge","filterEnvs","saveInLane","dependencies","dependenciesHead","dependents","dependentsDryRun","silent","dependentsVia","dependentsAll","allHistory","fetchDeps","trackOnly","includeDeprecated","writeDeps","laneOnly","owner","logger","warn","BitError","mergeStrategy","options","keys","MergeOptions","includes","envsToFilter","split","p","trim","undefined","importOptions","Boolean","writeToPath","objectsOnly","writeConfig","installNpmPackages","writeConfigFiles","importDependenciesDirectly","importHeadDependenciesDirectly","importDependents","import","_packageManagerArgs","exports","missing","subTitle","red","scope","version","deprecated","cyan","usingLatest","getVersionsOutput","versions","latestVersion","usedVersion","getConflictMessage","filesStatus","conflictedFiles","file","FileStatus","manual","conflictMessage","missingDeps","statusOutput","idOutput","versionOutput","stateOutput","dim"],"sources":["import.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport chalk from 'chalk';\nimport { compact, uniq } from 'lodash';\nimport type { MergeStrategy } from '@teambit/component.modules.merge-helper';\nimport {\n installationErrorOutput,\n compilationErrorOutput,\n getWorkspaceConfigUpdateOutput,\n FileStatus,\n MergeOptions,\n} from '@teambit/component.modules.merge-helper';\nimport type { ComponentID } from '@teambit/component-id';\nimport { ComponentIdList } from '@teambit/component-id';\nimport { BitError } from '@teambit/bit-error';\nimport { immutableUnshift } from '@teambit/legacy.utils';\nimport type { ImporterMain } from './importer.main.runtime';\nimport type { ImportOptions, ImportDetails, ImportStatus, ImportResult } from './import-components';\n\ntype ImportFlags = {\n path?: string;\n objects?: boolean;\n displayDependencies?: boolean;\n override?: boolean;\n verbose?: boolean;\n json?: boolean;\n conf?: string;\n skipDependencyInstallation?: boolean;\n skipWriteConfigFiles?: boolean;\n merge?: MergeStrategy;\n filterEnvs?: string;\n saveInLane?: boolean;\n dependencies?: boolean;\n dependenciesHead?: boolean;\n dependents?: boolean;\n dependentsDryRun?: boolean;\n dependentsVia?: string;\n dependentsAll?: boolean;\n silent?: boolean;\n allHistory?: boolean;\n fetchDeps?: boolean;\n trackOnly?: boolean;\n includeDeprecated?: boolean;\n writeDeps?: 'package.json' | 'workspace.jsonc';\n laneOnly?: boolean;\n owner?: boolean;\n};\n\nexport class ImportCmd implements Command {\n name = 'import [component-patterns...]';\n description = 'bring components from remote scopes into your workspace';\n helpUrl = 'reference/components/importing-components';\n arguments = [\n {\n name: 'component-patterns...',\n description:\n 'component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)',\n },\n ];\n extendedDescription = `brings component source files from remote scopes into your workspace and installs their dependencies as packages.\nsupports pattern matching for bulk imports, merge strategies for handling conflicts, and various optimization options.\nwithout arguments, fetches all workspace components' latest versions from their remote scopes.`;\n group = 'collaborate';\n alias = '';\n options = [\n ['p', 'path <path>', 'import components into a specific directory (a relative path in the workspace)'],\n [\n 'o',\n 'objects',\n 'import components objects to the local scope without checkout (without writing them to the file system). This is the default behavior for import with no id argument',\n ],\n ['O', 'override', 'override local changes'],\n ['v', 'verbose', 'show verbose output for inspection'],\n ['j', 'json', 'return the output as JSON'],\n // ['', 'conf', 'write the configuration file (component.json) of the component'], // not working. need to fix once ComponentWriter is moved to Harmony\n ['x', 'skip-dependency-installation', 'do not auto-install dependencies of the imported components'],\n ['', 'skip-write-config-files', 'do not write config files (such as eslint, tsconfig, prettier, etc...)'],\n [\n 'm',\n 'merge [strategy]',\n 'merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\"',\n ],\n [\n '',\n 'dependencies',\n 'import all dependencies (bit components only) of imported components and write them to the workspace',\n ],\n ['', 'dependencies-head', 'same as --dependencies, except it imports the dependencies with their head version'],\n [\n '',\n 'dependents',\n 'import components found while traversing from the imported components upwards to the workspace components',\n ],\n [\n '',\n 'dependents-via <string>',\n 'same as --dependents except the traversal must go through the specified component. to specify multiple components, wrap with quotes and separate by a comma',\n ],\n [\n '',\n 'dependents-all',\n 'same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing',\n ],\n [\n '',\n 'dependents-dry-run',\n 'DEPRECATED. (this is the default now). same as --dependents, except it prints the found dependents and wait for confirmation before importing them',\n ],\n ['', 'silent', 'no prompt for --dependents/--dependents-via flags'],\n [\n '',\n 'filter-envs <envs>',\n 'only import components that have the specified environment (e.g., \"teambit.react/react-env\")',\n ],\n [\n '',\n 'save-in-lane',\n 'when checked out to a lane and the component is not on the remote-lane, save it in the lane (defaults to save on main)',\n ],\n [\n '',\n 'all-history',\n 'relevant for fetching all components objects. avoid optimizations, fetch all history versions, always',\n ],\n [\n '',\n 'fetch-deps',\n 'fetch dependencies (bit components) objects to the local scope, but dont add to the workspace. Useful to resolve errors about missing dependency data',\n ],\n [\n '',\n 'write-deps <target>',\n 'write all workspace component dependencies to the specified target (\"package.json\" or \"workspace.jsonc\"), resolving conflicts by picking the ranges that match the highest versions',\n ],\n [\n '',\n 'track-only',\n 'do not write any component files, just create .bitmap entries of the imported components. Useful when the files already exist and just want to re-add the component to the bitmap',\n ],\n ['', 'include-deprecated', 'when importing with patterns, include deprecated components (default to exclude them)'],\n [\n '',\n 'lane-only',\n 'when using wildcards on a lane, only import components that exist on the lane (never from main)',\n ],\n ['', 'owner', 'treat the argument as an owner name and import all components from all scopes of that owner'],\n ] as CommandOptions;\n loader = true;\n remoteOp = true;\n _packageManagerArgs: string[]; // gets populated by yargs-adapter.handler().\n\n constructor(private importer: ImporterMain) {}\n\n async report([ids = []]: [string[]], importFlags: ImportFlags): Promise<any> {\n const {\n importDetails,\n importedIds,\n importedDeps,\n installationError,\n compilationError,\n workspaceConfigUpdateResult,\n missingIds,\n cancellationMessage,\n lane,\n } = await this.getImportResults(ids, importFlags);\n if (!importedIds.length && !missingIds?.length) {\n return chalk.yellow(cancellationMessage || 'nothing to import');\n }\n const importedIdsUniqNoVersion = ComponentIdList.fromArray(importedIds).toVersionLatest();\n const summaryPrefix =\n importedIdsUniqNoVersion.length === 1\n ? 'successfully imported one component'\n : `successfully imported ${importedIdsUniqNoVersion.length} components`;\n\n let upToDateCount = 0;\n const importedComponents = importedIds.map((bitId) => {\n const details = importDetails.find((c) => c.id === bitId.toStringWithoutVersion());\n if (!details) throw new Error(`missing details for component ${bitId.toString()}`);\n if (details.status === 'up to date') {\n upToDateCount += 1;\n }\n return formatPlainComponentItemWithVersions(bitId, details);\n });\n const getWsConfigUpdateLogs = () => {\n const logs = workspaceConfigUpdateResult?.logs;\n if (!logs || !logs.length) return '';\n const logsStr = logs.join('\\n');\n return `${chalk.underline('verbose logs of workspace config update')}\\n${logsStr}`;\n };\n const upToDateSuffix = lane ? ' on the lane' : '';\n const upToDateStr = upToDateCount === 0 ? '' : `, ${upToDateCount} components are up to date${upToDateSuffix}`;\n const summary = `${summaryPrefix}${upToDateStr}`;\n const importOutput = compact(importedComponents).join('\\n');\n const importedDepsOutput =\n importFlags.displayDependencies && importedDeps.length\n ? immutableUnshift(\n uniq(importedDeps.map(formatPlainComponentItem)),\n chalk.green(`\\n\\nsuccessfully imported ${importedDeps.length} component dependencies`)\n ).join('\\n')\n : '';\n\n const getRemovedWarning = () => {\n const removedDetails = importDetails.filter((d) => d.removed);\n if (!removedDetails.length) return '';\n const removedIds = removedDetails.map((d) => chalk.bold(d.id));\n const title = chalk.yellow(\n `the following imported component(s) are marked as deleted and may not be up to date with the latest changes:`\n );\n const body = removedIds.join('\\n');\n const hintBase = `run \"bit recover <component-id>\" to restore`;\n const hintSuffix = lane ? `, then \"bit lane merge main\" to get latest updates` : '';\n const hint = chalk.yellow(`${hintBase}${hintSuffix}`);\n return `${title}\\n${body}\\n${hint}`;\n };\n\n const output = compact([\n getWsConfigUpdateLogs(),\n importOutput,\n importedDepsOutput,\n formatMissingComponents(missingIds),\n getRemovedWarning(),\n getWorkspaceConfigUpdateOutput(workspaceConfigUpdateResult),\n installationErrorOutput(installationError),\n compilationErrorOutput(compilationError),\n chalk.green(summary),\n ]).join('\\n\\n');\n\n return output;\n }\n\n async json([ids]: [string[]], importFlags: ImportFlags) {\n const { importDetails, installationError, missingIds } = await this.getImportResults(ids, importFlags);\n\n return { importDetails, installationError, missingIds };\n }\n\n private async getImportResults(\n ids: string[],\n {\n path,\n objects = false,\n override = false,\n verbose = false,\n conf,\n skipDependencyInstallation = false,\n skipWriteConfigFiles = false,\n merge,\n filterEnvs,\n saveInLane = false,\n dependencies = false,\n dependenciesHead = false,\n dependents = false,\n dependentsDryRun = false,\n silent,\n dependentsVia,\n dependentsAll,\n allHistory = false,\n fetchDeps = false,\n trackOnly = false,\n includeDeprecated = false,\n writeDeps,\n laneOnly = false,\n owner = false,\n }: ImportFlags\n ): Promise<ImportResult> {\n if (dependentsDryRun) {\n this.importer.logger.warn(`the \"--dependents-dry-run\" flag is deprecated and is now the default behavior`);\n }\n if (objects && merge) {\n throw new BitError(' --objects and --merge flags cannot be used together');\n }\n if (override && merge) {\n throw new BitError('--override and --merge cannot be used together');\n }\n if (!ids.length && dependencies) {\n throw new BitError('you have to specify ids to use \"--dependencies\" flag');\n }\n if (!ids.length && dependenciesHead) {\n throw new BitError('you have to specify ids to use \"--dependencies-head\" flag');\n }\n if (!ids.length && dependents) {\n throw new BitError('you have to specify ids to use \"--dependents\" flag');\n }\n if (!ids.length && dependentsVia) {\n throw new BitError('you have to specify ids to use \"--dependents-via\" flag');\n }\n if (!ids.length && trackOnly) {\n throw new BitError('you have to specify ids to use \"--track-only\" flag');\n }\n if (owner && ids.length !== 1) {\n throw new BitError('--owner flag requires exactly one argument (the owner name)');\n }\n let mergeStrategy;\n if (merge && typeof merge === 'string') {\n const options = Object.keys(MergeOptions);\n if (!options.includes(merge)) {\n throw new BitError(`merge must be one of the following: ${options.join(', ')}`);\n }\n mergeStrategy = merge;\n }\n\n const envsToFilter = filterEnvs ? filterEnvs.split(',').map((p) => p.trim()) : undefined;\n\n const importOptions: ImportOptions = {\n ids,\n verbose,\n merge: Boolean(merge),\n filterEnvs: envsToFilter,\n mergeStrategy,\n writeToPath: path,\n objectsOnly: objects,\n override,\n writeConfig: Boolean(conf),\n installNpmPackages: !skipDependencyInstallation,\n writeConfigFiles: !skipWriteConfigFiles,\n saveInLane,\n importDependenciesDirectly: dependencies,\n importHeadDependenciesDirectly: dependenciesHead,\n importDependents: dependents,\n dependentsVia,\n dependentsAll,\n silent,\n allHistory,\n fetchDeps,\n trackOnly,\n includeDeprecated,\n writeDeps,\n laneOnly,\n owner,\n };\n return this.importer.import(importOptions, this._packageManagerArgs);\n }\n}\n\nfunction formatMissingComponents(missing?: string[]) {\n if (!missing?.length) return '';\n const title = chalk.underline('Missing Components');\n const subTitle = `The following components are missing from the remote in the requested version, try running \"bit status\" to re-sync your .bitmap file\nAlso, check that the requested version exists on main or the checked out lane`;\n const body = chalk.red(missing.join('\\n'));\n return `${title}\\n${subTitle}\\n${body}`;\n}\n\nfunction formatPlainComponentItem({ scope, name, version, deprecated }: any) {\n return chalk.cyan(\n `- ${scope ? `${scope}/` : ''}${name}@${version ? version.toString() : 'latest'} ${\n deprecated ? chalk.yellow('[deprecated]') : ''\n }`\n );\n}\n\nfunction formatPlainComponentItemWithVersions(bitId: ComponentID, importDetails: ImportDetails) {\n const status: ImportStatus = importDetails.status;\n const id = bitId.toStringWithoutVersion();\n let usingLatest = '';\n const getVersionsOutput = () => {\n if (!importDetails.versions.length) return '';\n if (importDetails.latestVersion) {\n if (importDetails.latestVersion === bitId.version && status === 'added') {\n usingLatest = ' (latest)';\n return '';\n }\n return `${importDetails.versions.length} new version(s) available, latest ${importDetails.latestVersion}`;\n }\n return importDetails.versions.length > 5\n ? `${importDetails.versions.length} new versions`\n : `new versions: ${importDetails.versions.join(', ')}`;\n };\n const versions = getVersionsOutput();\n const usedVersion = status === 'added' ? `currently used version ${bitId.version}${usingLatest}` : '';\n const getConflictMessage = () => {\n if (!importDetails.filesStatus) return '';\n const conflictedFiles = Object.keys(importDetails.filesStatus)\n // @ts-ignore file is set\n .filter((file) => importDetails.filesStatus[file] === FileStatus.manual);\n if (!conflictedFiles.length) return '';\n return `(the following files were saved with conflicts ${conflictedFiles\n .map((file) => chalk.bold(file))\n .join(', ')}) `;\n };\n const conflictMessage = getConflictMessage();\n const deprecated = importDetails.deprecated && !importDetails.removed ? chalk.yellow('deprecated') : '';\n const removed = importDetails.removed ? chalk.red('deleted') : '';\n const missingDeps = importDetails.missingDeps.length\n ? chalk.red(`missing dependencies: ${importDetails.missingDeps.map((d) => d.toString()).join(', ')}`)\n : '';\n if (status === 'up to date' && !missingDeps && !deprecated && !conflictMessage && !removed) {\n return undefined;\n }\n\n const statusOutput = `- ${chalk.green(status)}`;\n const idOutput = chalk.cyan(id);\n const versionOutput = compact([versions, usedVersion]).join(', ');\n const stateOutput = `${conflictMessage}${deprecated}${removed}`;\n const output = compact([statusOutput, idOutput, versionOutput, stateOutput, missingDeps]).join(' ');\n return chalk.dim(output);\n}\n"],"mappings":";;;;;;AACA,SAAAA,OAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,MAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,QAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,OAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAI,kBAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,iBAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAQA,SAAAK,aAAA;EAAA,MAAAL,IAAA,GAAAE,OAAA;EAAAG,YAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,UAAA;EAAA,MAAAN,IAAA,GAAAE,OAAA;EAAAI,SAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,QAAA;EAAA,MAAAP,IAAA,GAAAE,OAAA;EAAAK,OAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAAyD,SAAAC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ACC,MAAM,CAAC,YAAY,CAAC,GAAG,EAAE;EACvG,MAAMuC,OAAO,GAAGnD,aAAa,CAACmD,OAAO,GAAGxC,gBAAK,CAAC0G,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE;EACjE,MAAMiB,WAAW,GAAGtI,aAAa,CAACsI,WAAW,CAAC5H,MAAM,GAChDC,gBAAK,CAAC0G,GAAG,CAAC,yBAAyBrH,aAAa,CAACsI,WAAW,CAAClH,GAAG,CAAE8B,CAAC,IAAKA,CAAC,CAACtB,QAAQ,CAAC,CAAC,CAAC,CAACM,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,GACnG,EAAE;EACN,IAAIL,MAAM,KAAK,YAAY,IAAI,CAACyG,WAAW,IAAI,CAACd,UAAU,IAAI,CAACa,eAAe,IAAI,CAAClF,OAAO,EAAE;IAC1F,OAAOkD,SAAS;EAClB;EAEA,MAAMkC,YAAY,GAAG,KAAK5H,gBAAK,CAACmC,KAAK,CAACjB,MAAM,CAAC,EAAE;EAC/C,MAAM2G,QAAQ,GAAG7H,gBAAK,CAAC8G,IAAI,CAAChG,EAAE,CAAC;EAC/B,MAAMgH,aAAa,GAAG,IAAAjG,iBAAO,EAAC,CAACoF,QAAQ,EAAEE,WAAW,CAAC,CAAC,CAAC5F,IAAI,CAAC,IAAI,CAAC;EACjE,MAAMwG,WAAW,GAAG,GAAGL,eAAe,GAAGb,UAAU,GAAGrE,OAAO,EAAE;EAC/D,MAAMQ,MAAM,GAAG,IAAAnB,iBAAO,EAAC,CAAC+F,YAAY,EAAEC,QAAQ,EAAEC,aAAa,EAAEC,WAAW,EAAEJ,WAAW,CAAC,CAAC,CAACpG,IAAI,CAAC,GAAG,CAAC;EACnG,OAAOvB,gBAAK,CAACgI,GAAG,CAAChF,MAAM,CAAC;AAC1B","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_cli","data","require","_chalk","_interopRequireDefault","_lodash","_componentModules","_componentId","_bitError","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ImportCmd","constructor","importer","name","description","report","ids","importFlags","importDetails","importedIds","importedDeps","installationError","compilationError","workspaceConfigUpdateResult","missingIds","cancellationMessage","lane","getImportResults","length","chalk","yellow","importedIdsUniqNoVersion","ComponentIdList","fromArray","toVersionLatest","summaryPrefix","upToDateCount","importedComponents","map","bitId","details","find","c","id","toStringWithoutVersion","Error","toString","status","formatPlainComponentItemWithVersions","filter","Boolean","getWsConfigUpdateLogs","logs","logsStr","join","formatTitle","upToDateSuffix","upToDateStr","summary","importOutput","formatSection","importedDepsOutput","displayDependencies","uniq","formatPlainComponentItem","getRemovedWarning","removedDetails","d","removed","removedItems","formatItem","bold","errorSymbol","hintBase","hintSuffix","joinSections","formatHint","formatMissingComponents","getWorkspaceConfigUpdateOutput","installationErrorOutput","compilationErrorOutput","formatSuccessSummary","json","path","objects","override","verbose","conf","skipDependencyInstallation","skipWriteConfigFiles","merge","filterEnvs","saveInLane","dependencies","dependenciesHead","dependents","dependentsDryRun","silent","dependentsVia","dependentsAll","allHistory","fetchDeps","trackOnly","includeDeprecated","writeDeps","laneOnly","owner","logger","warn","BitError","mergeStrategy","options","keys","MergeOptions","includes","envsToFilter","split","p","trim","undefined","importOptions","writeToPath","objectsOnly","writeConfig","installNpmPackages","writeConfigFiles","importDependenciesDirectly","importHeadDependenciesDirectly","importDependents","import","_packageManagerArgs","exports","missing","desc","items","red","scope","version","deprecated","suffix","cyan","usingLatest","getVersionsOutput","versions","latestVersion","usedVersion","getConflictMessage","filesStatus","conflictedFiles","file","FileStatus","manual","conflictMessage","missingDeps","symbol","warnSymbol","versionOutput","stateOutput","green","dim"],"sources":["import.cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport {\n formatSection,\n formatItem,\n formatTitle,\n formatHint,\n formatSuccessSummary,\n warnSymbol,\n errorSymbol,\n joinSections,\n} from '@teambit/cli';\nimport chalk from 'chalk';\nimport { uniq } from 'lodash';\nimport type { MergeStrategy } from '@teambit/component.modules.merge-helper';\nimport {\n installationErrorOutput,\n compilationErrorOutput,\n getWorkspaceConfigUpdateOutput,\n FileStatus,\n MergeOptions,\n} from '@teambit/component.modules.merge-helper';\nimport type { ComponentID } from '@teambit/component-id';\nimport { ComponentIdList } from '@teambit/component-id';\nimport { BitError } from '@teambit/bit-error';\n\nimport type { ImporterMain } from './importer.main.runtime';\nimport type { ImportOptions, ImportDetails, ImportStatus, ImportResult } from './import-components';\n\ntype ImportFlags = {\n path?: string;\n objects?: boolean;\n displayDependencies?: boolean;\n override?: boolean;\n verbose?: boolean;\n json?: boolean;\n conf?: string;\n skipDependencyInstallation?: boolean;\n skipWriteConfigFiles?: boolean;\n merge?: MergeStrategy;\n filterEnvs?: string;\n saveInLane?: boolean;\n dependencies?: boolean;\n dependenciesHead?: boolean;\n dependents?: boolean;\n dependentsDryRun?: boolean;\n dependentsVia?: string;\n dependentsAll?: boolean;\n silent?: boolean;\n allHistory?: boolean;\n fetchDeps?: boolean;\n trackOnly?: boolean;\n includeDeprecated?: boolean;\n writeDeps?: 'package.json' | 'workspace.jsonc';\n laneOnly?: boolean;\n owner?: boolean;\n};\n\nexport class ImportCmd implements Command {\n name = 'import [component-patterns...]';\n description = 'bring components from remote scopes into your workspace';\n helpUrl = 'reference/components/importing-components';\n arguments = [\n {\n name: 'component-patterns...',\n description:\n 'component IDs or component patterns (separated by space). Use patterns to import groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)',\n },\n ];\n extendedDescription = `brings component source files from remote scopes into your workspace and installs their dependencies as packages.\nsupports pattern matching for bulk imports, merge strategies for handling conflicts, and various optimization options.\nwithout arguments, fetches all workspace components' latest versions from their remote scopes.`;\n group = 'collaborate';\n alias = '';\n options = [\n ['p', 'path <path>', 'import components into a specific directory (a relative path in the workspace)'],\n [\n 'o',\n 'objects',\n 'import components objects to the local scope without checkout (without writing them to the file system). This is the default behavior for import with no id argument',\n ],\n ['O', 'override', 'override local changes'],\n ['v', 'verbose', 'show verbose output for inspection'],\n ['j', 'json', 'return the output as JSON'],\n // ['', 'conf', 'write the configuration file (component.json) of the component'], // not working. need to fix once ComponentWriter is moved to Harmony\n ['x', 'skip-dependency-installation', 'do not auto-install dependencies of the imported components'],\n ['', 'skip-write-config-files', 'do not write config files (such as eslint, tsconfig, prettier, etc...)'],\n [\n 'm',\n 'merge [strategy]',\n 'merge local changes with the imported version. strategy should be \"theirs\", \"ours\" or \"manual\"',\n ],\n [\n '',\n 'dependencies',\n 'import all dependencies (bit components only) of imported components and write them to the workspace',\n ],\n ['', 'dependencies-head', 'same as --dependencies, except it imports the dependencies with their head version'],\n [\n '',\n 'dependents',\n 'import components found while traversing from the imported components upwards to the workspace components',\n ],\n [\n '',\n 'dependents-via <string>',\n 'same as --dependents except the traversal must go through the specified component. to specify multiple components, wrap with quotes and separate by a comma',\n ],\n [\n '',\n 'dependents-all',\n 'same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing',\n ],\n [\n '',\n 'dependents-dry-run',\n 'DEPRECATED. (this is the default now). same as --dependents, except it prints the found dependents and wait for confirmation before importing them',\n ],\n ['', 'silent', 'no prompt for --dependents/--dependents-via flags'],\n [\n '',\n 'filter-envs <envs>',\n 'only import components that have the specified environment (e.g., \"teambit.react/react-env\")',\n ],\n [\n '',\n 'save-in-lane',\n 'when checked out to a lane and the component is not on the remote-lane, save it in the lane (defaults to save on main)',\n ],\n [\n '',\n 'all-history',\n 'relevant for fetching all components objects. avoid optimizations, fetch all history versions, always',\n ],\n [\n '',\n 'fetch-deps',\n 'fetch dependencies (bit components) objects to the local scope, but dont add to the workspace. Useful to resolve errors about missing dependency data',\n ],\n [\n '',\n 'write-deps <target>',\n 'write all workspace component dependencies to the specified target (\"package.json\" or \"workspace.jsonc\"), resolving conflicts by picking the ranges that match the highest versions',\n ],\n [\n '',\n 'track-only',\n 'do not write any component files, just create .bitmap entries of the imported components. Useful when the files already exist and just want to re-add the component to the bitmap',\n ],\n ['', 'include-deprecated', 'when importing with patterns, include deprecated components (default to exclude them)'],\n [\n '',\n 'lane-only',\n 'when using wildcards on a lane, only import components that exist on the lane (never from main)',\n ],\n ['', 'owner', 'treat the argument as an owner name and import all components from all scopes of that owner'],\n ] as CommandOptions;\n loader = true;\n remoteOp = true;\n _packageManagerArgs: string[]; // gets populated by yargs-adapter.handler().\n\n constructor(private importer: ImporterMain) {}\n\n async report([ids = []]: [string[]], importFlags: ImportFlags): Promise<any> {\n const {\n importDetails,\n importedIds,\n importedDeps,\n installationError,\n compilationError,\n workspaceConfigUpdateResult,\n missingIds,\n cancellationMessage,\n lane,\n } = await this.getImportResults(ids, importFlags);\n if (!importedIds.length && !missingIds?.length) {\n return chalk.yellow(cancellationMessage || 'nothing to import');\n }\n const importedIdsUniqNoVersion = ComponentIdList.fromArray(importedIds).toVersionLatest();\n const summaryPrefix =\n importedIdsUniqNoVersion.length === 1\n ? 'successfully imported one component'\n : `successfully imported ${importedIdsUniqNoVersion.length} components`;\n\n let upToDateCount = 0;\n const importedComponents = importedIds\n .map((bitId) => {\n const details = importDetails.find((c) => c.id === bitId.toStringWithoutVersion());\n if (!details) throw new Error(`missing details for component ${bitId.toString()}`);\n if (details.status === 'up to date') {\n upToDateCount += 1;\n }\n return formatPlainComponentItemWithVersions(bitId, details);\n })\n .filter(Boolean) as string[];\n\n const getWsConfigUpdateLogs = () => {\n const logs = workspaceConfigUpdateResult?.logs;\n if (!logs || !logs.length) return '';\n const logsStr = logs.join('\\n');\n return `${formatTitle('verbose logs of workspace config update')}\\n${logsStr}`;\n };\n const upToDateSuffix = lane ? ' on the lane' : '';\n const upToDateStr = upToDateCount === 0 ? '' : `, ${upToDateCount} components are up to date${upToDateSuffix}`;\n const summary = `${summaryPrefix}${upToDateStr}`;\n\n const importOutput = importedComponents.length ? formatSection('imported components', '', importedComponents) : '';\n\n const importedDepsOutput =\n importFlags.displayDependencies && importedDeps.length\n ? formatSection('imported component dependencies', '', uniq(importedDeps.map(formatPlainComponentItem)))\n : '';\n\n const getRemovedWarning = () => {\n const removedDetails = importDetails.filter((d) => d.removed);\n if (!removedDetails.length) return '';\n const removedItems = removedDetails.map((d) => formatItem(chalk.bold(d.id), errorSymbol));\n const hintBase = `run \"bit recover <component-id>\" to restore`;\n const hintSuffix = lane ? `, then \"bit lane merge main\" to get latest updates` : '';\n return joinSections([\n formatSection(\n 'deleted components',\n 'imported component(s) are marked as deleted and may not be up to date',\n removedItems\n ),\n formatHint(`${hintBase}${hintSuffix}`),\n ]);\n };\n\n return joinSections([\n getWsConfigUpdateLogs(),\n importOutput,\n importedDepsOutput,\n formatMissingComponents(missingIds),\n getRemovedWarning(),\n getWorkspaceConfigUpdateOutput(workspaceConfigUpdateResult),\n installationErrorOutput(installationError),\n compilationErrorOutput(compilationError),\n formatSuccessSummary(summary),\n ]);\n }\n\n async json([ids]: [string[]], importFlags: ImportFlags) {\n const { importDetails, installationError, missingIds } = await this.getImportResults(ids, importFlags);\n\n return { importDetails, installationError, missingIds };\n }\n\n private async getImportResults(\n ids: string[],\n {\n path,\n objects = false,\n override = false,\n verbose = false,\n conf,\n skipDependencyInstallation = false,\n skipWriteConfigFiles = false,\n merge,\n filterEnvs,\n saveInLane = false,\n dependencies = false,\n dependenciesHead = false,\n dependents = false,\n dependentsDryRun = false,\n silent,\n dependentsVia,\n dependentsAll,\n allHistory = false,\n fetchDeps = false,\n trackOnly = false,\n includeDeprecated = false,\n writeDeps,\n laneOnly = false,\n owner = false,\n }: ImportFlags\n ): Promise<ImportResult> {\n if (dependentsDryRun) {\n this.importer.logger.warn(`the \"--dependents-dry-run\" flag is deprecated and is now the default behavior`);\n }\n if (objects && merge) {\n throw new BitError(' --objects and --merge flags cannot be used together');\n }\n if (override && merge) {\n throw new BitError('--override and --merge cannot be used together');\n }\n if (!ids.length && dependencies) {\n throw new BitError('you have to specify ids to use \"--dependencies\" flag');\n }\n if (!ids.length && dependenciesHead) {\n throw new BitError('you have to specify ids to use \"--dependencies-head\" flag');\n }\n if (!ids.length && dependents) {\n throw new BitError('you have to specify ids to use \"--dependents\" flag');\n }\n if (!ids.length && dependentsVia) {\n throw new BitError('you have to specify ids to use \"--dependents-via\" flag');\n }\n if (!ids.length && trackOnly) {\n throw new BitError('you have to specify ids to use \"--track-only\" flag');\n }\n if (owner && ids.length !== 1) {\n throw new BitError('--owner flag requires exactly one argument (the owner name)');\n }\n let mergeStrategy;\n if (merge && typeof merge === 'string') {\n const options = Object.keys(MergeOptions);\n if (!options.includes(merge)) {\n throw new BitError(`merge must be one of the following: ${options.join(', ')}`);\n }\n mergeStrategy = merge;\n }\n\n const envsToFilter = filterEnvs ? filterEnvs.split(',').map((p) => p.trim()) : undefined;\n\n const importOptions: ImportOptions = {\n ids,\n verbose,\n merge: Boolean(merge),\n filterEnvs: envsToFilter,\n mergeStrategy,\n writeToPath: path,\n objectsOnly: objects,\n override,\n writeConfig: Boolean(conf),\n installNpmPackages: !skipDependencyInstallation,\n writeConfigFiles: !skipWriteConfigFiles,\n saveInLane,\n importDependenciesDirectly: dependencies,\n importHeadDependenciesDirectly: dependenciesHead,\n importDependents: dependents,\n dependentsVia,\n dependentsAll,\n silent,\n allHistory,\n fetchDeps,\n trackOnly,\n includeDeprecated,\n writeDeps,\n laneOnly,\n owner,\n };\n return this.importer.import(importOptions, this._packageManagerArgs);\n }\n}\n\nfunction formatMissingComponents(missing?: string[]) {\n if (!missing?.length) return '';\n const desc = `the following components are missing from the remote in the requested version, try running \"bit status\" to re-sync your .bitmap file\\nalso, check that the requested version exists on main or the checked out lane`;\n const items = missing.map((id) => formatItem(chalk.red(id), errorSymbol));\n return formatSection('missing components', desc, items);\n}\n\nfunction formatPlainComponentItem({ scope, name, version, deprecated }: any) {\n const id = `${scope ? `${scope}/` : ''}${name}@${version ? version.toString() : 'latest'}`;\n const suffix = deprecated ? ` ${chalk.yellow('[deprecated]')}` : '';\n return formatItem(chalk.cyan(id) + suffix);\n}\n\nfunction formatPlainComponentItemWithVersions(bitId: ComponentID, importDetails: ImportDetails): string | undefined {\n const status: ImportStatus = importDetails.status;\n const id = bitId.toStringWithoutVersion();\n let usingLatest = '';\n const getVersionsOutput = () => {\n if (!importDetails.versions.length) return '';\n if (importDetails.latestVersion) {\n if (importDetails.latestVersion === bitId.version && status === 'added') {\n usingLatest = ' (latest)';\n return '';\n }\n return `${importDetails.versions.length} new version(s) available, latest ${importDetails.latestVersion}`;\n }\n return importDetails.versions.length > 5\n ? `${importDetails.versions.length} new versions`\n : `new versions: ${importDetails.versions.join(', ')}`;\n };\n const versions = getVersionsOutput();\n const usedVersion = status === 'added' ? `currently used version ${bitId.version}${usingLatest}` : '';\n const getConflictMessage = () => {\n if (!importDetails.filesStatus) return '';\n const conflictedFiles = Object.keys(importDetails.filesStatus)\n // @ts-ignore file is set\n .filter((file) => importDetails.filesStatus[file] === FileStatus.manual);\n if (!conflictedFiles.length) return '';\n return `(the following files were saved with conflicts ${conflictedFiles\n .map((file) => chalk.bold(file))\n .join(', ')}) `;\n };\n const conflictMessage = getConflictMessage();\n const deprecated = importDetails.deprecated && !importDetails.removed ? chalk.yellow('deprecated') : '';\n const removed = importDetails.removed ? chalk.red('deleted') : '';\n const missingDeps = importDetails.missingDeps.length\n ? chalk.red(`missing dependencies: ${importDetails.missingDeps.map((d) => d.toString()).join(', ')}`)\n : '';\n if (status === 'up to date' && !missingDeps && !deprecated && !conflictMessage && !removed) {\n return undefined;\n }\n\n const symbol = removed ? errorSymbol : deprecated ? warnSymbol : undefined;\n const versionOutput = [versions, usedVersion].filter(Boolean).join(', ');\n const stateOutput = `${conflictMessage}${deprecated}${removed}`;\n const details = [chalk.green(status), chalk.cyan(id), versionOutput, stateOutput, missingDeps]\n .filter(Boolean)\n .join(' ');\n return formatItem(chalk.dim(details), symbol);\n}\n"],"mappings":";;;;;;AACA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,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AGtF,OAAO,GAAGI,kBAAW,GAAGkE,UAAU,GAAGiB,iBAAU,GAAGpC,SAAS;EAC1E,MAAMqC,aAAa,GAAG,CAACb,QAAQ,EAAEE,WAAW,CAAC,CAAChG,MAAM,CAACC,OAAO,CAAC,CAACI,IAAI,CAAC,IAAI,CAAC;EACxE,MAAMuG,WAAW,GAAG,GAAGL,eAAe,GAAGd,UAAU,GAAGtE,OAAO,EAAE;EAC/D,MAAM5B,OAAO,GAAG,CAACX,gBAAK,CAACiI,KAAK,CAAC/G,MAAM,CAAC,EAAElB,gBAAK,CAAC+G,IAAI,CAACjG,EAAE,CAAC,EAAEiH,aAAa,EAAEC,WAAW,EAAEJ,WAAW,CAAC,CAC3FxG,MAAM,CAACC,OAAO,CAAC,CACfI,IAAI,CAAC,GAAG,CAAC;EACZ,OAAO,IAAAgB,iBAAU,EAACzC,gBAAK,CAACkI,GAAG,CAACvH,OAAO,CAAC,EAAEkH,MAAM,CAAC;AAC/C","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_importer@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_importer@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_importer@1.0.930/dist/importer.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_importer@1.0.930/dist/importer.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/importer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.930",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/scope/importer",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.scope",
|
|
8
8
|
"name": "importer",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.930"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "4.1.2",
|
|
@@ -16,9 +16,7 @@
|
|
|
16
16
|
"p-map-series": "2.1.0",
|
|
17
17
|
"@teambit/bit-error": "0.0.404",
|
|
18
18
|
"@teambit/component-id": "1.2.4",
|
|
19
|
-
"@teambit/
|
|
20
|
-
"@teambit/cli": "0.0.1307",
|
|
21
|
-
"@teambit/component.modules.merge-helper": "0.0.45",
|
|
19
|
+
"@teambit/component.modules.merge-helper": "0.0.46",
|
|
22
20
|
"@teambit/component-version": "1.0.4",
|
|
23
21
|
"@teambit/lane-id": "0.0.312",
|
|
24
22
|
"@teambit/legacy.consumer-component": "0.0.104",
|
|
@@ -33,16 +31,18 @@
|
|
|
33
31
|
"@teambit/legacy.scope-api": "0.0.158",
|
|
34
32
|
"@teambit/pkg.modules.component-package-name": "0.0.110",
|
|
35
33
|
"@teambit/scope.remotes": "0.0.103",
|
|
36
|
-
"@teambit/graph": "1.0.
|
|
37
|
-
"@teambit/
|
|
38
|
-
"@teambit/
|
|
39
|
-
"@teambit/
|
|
40
|
-
"@teambit/
|
|
41
|
-
"@teambit/
|
|
42
|
-
"@teambit/
|
|
43
|
-
"@teambit/
|
|
44
|
-
"@teambit/
|
|
45
|
-
"@teambit/
|
|
34
|
+
"@teambit/graph": "1.0.930",
|
|
35
|
+
"@teambit/logger": "0.0.1402",
|
|
36
|
+
"@teambit/workspace": "1.0.930",
|
|
37
|
+
"@teambit/cli": "0.0.1309",
|
|
38
|
+
"@teambit/component-writer": "1.0.930",
|
|
39
|
+
"@teambit/config-merger": "0.0.797",
|
|
40
|
+
"@teambit/envs": "1.0.930",
|
|
41
|
+
"@teambit/lister": "1.0.930",
|
|
42
|
+
"@teambit/objects": "0.0.437",
|
|
43
|
+
"@teambit/dependency-resolver": "1.0.930",
|
|
44
|
+
"@teambit/install": "1.0.930",
|
|
45
|
+
"@teambit/scope": "1.0.930"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/lodash": "4.14.165",
|