@teambit/export 1.0.749 → 1.0.751
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/export-cmd.js
CHANGED
@@ -47,15 +47,14 @@ class ExportCmd {
|
|
47
47
|
constructor(exportMain) {
|
48
48
|
this.exportMain = exportMain;
|
49
49
|
_defineProperty(this, "name", 'export [component-patterns...]');
|
50
|
-
_defineProperty(this, "description", '
|
50
|
+
_defineProperty(this, "description", 'upload components to remote scopes');
|
51
51
|
_defineProperty(this, "arguments", [{
|
52
52
|
name: 'component-patterns...',
|
53
53
|
description: `(not recommended) ${_legacy().COMPONENT_PATTERN_HELP}`
|
54
54
|
}]);
|
55
|
-
_defineProperty(this, "extendedDescription", `
|
56
|
-
|
57
|
-
|
58
|
-
${(0, _legacy().WILDCARD_HELP)('export')}`);
|
55
|
+
_defineProperty(this, "extendedDescription", `uploads staged versions (snaps/tags) to remote scopes, making them available for consumption by other workspaces.
|
56
|
+
without arguments, exports all staged components. when on a lane, exports the lane as well.
|
57
|
+
exporting is the final step after development and versioning to share components with your team.`);
|
59
58
|
_defineProperty(this, "alias", 'e');
|
60
59
|
_defineProperty(this, "helpUrl", 'reference/components/exporting-components');
|
61
60
|
_defineProperty(this, "options", [['e', 'eject', 'after export, remove the components from the workspace and install them as packages'], ['a', 'all', 'export all components, including non-staged (useful when components in the remote scope are corrupted or missing)'], ['', 'all-versions', 'export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)'], ['', 'origin-directly', 'avoid export to the central hub, instead, export directly to the original scopes. not recommended!'], ['', 'resume <string>', 'in case the previous export failed and suggested to resume with an export-id, enter the id'], ['', 'head-only', 'in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag'], ['', 'ignore-missing-artifacts', "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'], ['', 'verbose', 'per exported component, show the versions being exported'], ['j', 'json', 'show output in json format']]);
|
package/dist/export-cmd.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_open","data","_interopRequireDefault","require","_eject","_legacy","_chalk","_lodash","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ExportCmd","constructor","exportMain","name","description","COMPONENT_PATTERN_HELP","WILDCARD_HELP","report","ids","eject","all","allVersions","originDirectly","ignoreMissingArtifacts","resume","headOnly","forkLaneNewScope","openBrowser","verbose","componentsIds","newIdsOnRemote","nonExistOnBitMap","removedIds","missingScope","exportedLanes","ejectResults","rippleJobUrls","export","includeNonStaged","resumeExportId","isEmpty","length","chalk","yellow","exportedLane","id","getExportedIds","join","map","versions","filter","newId","isEqualWithoutVersion","version","toString","exportOutput","bold","lanesOutput","green","nonExistOnBitMapOutput","idsStr","removedOutput","remoteLaneStr","title","missingScopeOutput","ejectOutput","output","ejectTemplate","rippleJobsOutput","shouldOpenBrowser","process","env","CI","prefix","msg","open","catch","urlsColored","url","underline","json","results","exports"],"sources":["export-cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport open from 'open';\nimport { ejectTemplate } from '@teambit/eject';\nimport { WILDCARD_HELP, COMPONENT_PATTERN_HELP } from '@teambit/legacy.constants';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\nimport type { ExportMain, ExportResult } from './export.main.runtime';\n\nexport class ExportCmd implements Command {\n name = 'export [component-patterns...]';\n description = 'export components from the workspace to remote scopes';\n arguments = [\n {\n name: 'component-patterns...',\n description: `(not recommended) ${COMPONENT_PATTERN_HELP}`,\n },\n ];\n extendedDescription = `bit export => export all staged snaps/tags of components to their remote scope. if checked out to a lane, export the lane as well\n \\`bit export [pattern...]\\` => export components included by the pattern to their remote scope (we recommend not using a pattern in\n most scenarios so that all changes are exported simultaneously)\n ${WILDCARD_HELP('export')}`;\n alias = 'e';\n helpUrl = 'reference/components/exporting-components';\n options = [\n ['e', 'eject', 'after export, remove the components from the workspace and install them as packages'],\n [\n 'a',\n 'all',\n 'export all components, including non-staged (useful when components in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'all-versions',\n 'export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'origin-directly',\n 'avoid export to the central hub, instead, export directly to the original scopes. not recommended!',\n ],\n [\n '',\n 'resume <string>',\n 'in case the previous export failed and suggested to resume with an export-id, enter the id',\n ],\n [\n '',\n 'head-only',\n 'in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag',\n ],\n [\n '',\n 'ignore-missing-artifacts',\n \"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote\",\n ],\n ['', 'fork-lane-new-scope', 'allow exporting a forked lane into a different scope than the original scope'],\n ['', 'open-browser', 'open a browser once the export is completed in the cloud job url'],\n ['', 'verbose', 'per exported component, show the versions being exported'],\n ['j', 'json', 'show output in json format'],\n ] as CommandOptions;\n loader = true;\n group = 'collaborate';\n remoteOp = true;\n\n constructor(private exportMain: ExportMain) {}\n\n async report(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n headOnly,\n forkLaneNewScope = false,\n openBrowser = false,\n verbose = false,\n }: any\n ): Promise<string> {\n const {\n componentsIds,\n newIdsOnRemote,\n nonExistOnBitMap,\n removedIds,\n missingScope,\n exportedLanes,\n ejectResults,\n rippleJobUrls,\n } = await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n headOnly,\n ignoreMissingArtifacts,\n forkLaneNewScope,\n });\n\n if (isEmpty(componentsIds) && isEmpty(nonExistOnBitMap) && isEmpty(missingScope) && !exportedLanes.length) {\n return chalk.yellow('nothing to export');\n }\n const exportedLane = exportedLanes[0]?.id();\n const getExportedIds = () => {\n if (!verbose) return componentsIds.join('\\n');\n return componentsIds\n .map((id) => {\n const versions = newIdsOnRemote\n .filter((newId) => newId.isEqualWithoutVersion(id))\n .map((newId) => newId.version);\n return `${id.toString()} - ${versions.join(', ') || 'n/a'}`;\n })\n .join('\\n');\n };\n const exportOutput = () => {\n if (isEmpty(componentsIds)) return exportedLane ? `exported the lane ${chalk.bold(exportedLane)}` : '';\n const lanesOutput = exportedLanes.length ? ` the lane ${chalk.bold(exportedLanes[0].id())} and` : '';\n return chalk.green(\n `exported${lanesOutput} the following ${componentsIds.length} component(s):\\n${chalk.bold(getExportedIds())}`\n );\n };\n const nonExistOnBitMapOutput = () => {\n // if includeDependencies is true, the nonExistOnBitMap might be the dependencies\n if (isEmpty(nonExistOnBitMap)) return '';\n const idsStr = nonExistOnBitMap.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `${idsStr}\\nexported successfully. bit did not update the workspace as the component files are not tracked. this might happen when a component was tracked in a different git branch. to fix it check if they where tracked in a different git branch, checkout to that branch and resync by running 'bit import'. or stay on your branch and track the components again using 'bit add'.\\n`\n );\n };\n const removedOutput = () => {\n if (!removedIds.length) return '';\n const remoteLaneStr = exportedLanes.length ? ' lane' : '';\n const title = chalk.bold(\n `\\n\\nthe following component(s) have been marked as removed on the remote${remoteLaneStr}\\n`\n );\n const idsStr = removedIds.join('\\n');\n return title + idsStr;\n };\n const missingScopeOutput = () => {\n if (isEmpty(missingScope)) return '';\n const idsStr = missingScope.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `the following component(s) were not exported as no remote scope is configured for them: ${chalk.bold(\n idsStr\n )}.\\nplease specify <remote> to export them, run 'bit scope set <scope> <component>, or set a \"defaultScope\" in your workspace config\\n\\n`\n );\n };\n const ejectOutput = () => {\n if (!ejectResults) return '';\n const output = ejectTemplate(ejectResults);\n return `\\n${output}`;\n };\n const rippleJobsOutput = () => {\n if (!rippleJobUrls.length) return '';\n const shouldOpenBrowser = openBrowser && !process.env.CI;\n const prefix = shouldOpenBrowser ? 'Your browser has been opened to the following link' : 'Visit the link below';\n const msg = `\\n\\n${prefix} to track the progress of building the components in the cloud\\n`;\n if (shouldOpenBrowser) {\n open(rippleJobUrls[0]).catch(() => {\n /** it's ok, the user is instructed to open the browser manually */\n });\n }\n const urlsColored = rippleJobUrls.map((url) => chalk.bold.underline(url));\n return msg + urlsColored.join('\\n');\n };\n\n return (\n nonExistOnBitMapOutput() +\n missingScopeOutput() +\n exportOutput() +\n ejectOutput() +\n removedOutput() +\n rippleJobsOutput()\n );\n }\n\n async json(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ): Promise<ExportResult> {\n const results = await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n\n return results;\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,QAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,OAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,OAAA;EAAA,MAAAL,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAG,MAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,QAAA;EAAA,MAAAN,IAAA,GAAAE,OAAA;EAAAI,OAAA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ACvB,MAAMyD,OAAO,GAAG,MAAM,IAAI,CAACrE,UAAU,CAACyB,MAAM,CAAC;MAC3CnB,GAAG;MACHC,KAAK;MACLmB,gBAAgB,EAAElB,GAAG,IAAIC,WAAW;MACpCA,WAAW,EAAEA,WAAW,IAAID,GAAG;MAC/BE,cAAc;MACdiB,cAAc,EAAEf,MAAM;MACtBD;IACF,CAAC,CAAC;IAEF,OAAO0D,OAAO;EAChB;AACF;AAACC,OAAA,CAAAxE,SAAA,GAAAA,SAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_open","data","_interopRequireDefault","require","_eject","_legacy","_chalk","_lodash","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","ExportCmd","constructor","exportMain","name","description","COMPONENT_PATTERN_HELP","report","ids","eject","all","allVersions","originDirectly","ignoreMissingArtifacts","resume","headOnly","forkLaneNewScope","openBrowser","verbose","componentsIds","newIdsOnRemote","nonExistOnBitMap","removedIds","missingScope","exportedLanes","ejectResults","rippleJobUrls","export","includeNonStaged","resumeExportId","isEmpty","length","chalk","yellow","exportedLane","id","getExportedIds","join","map","versions","filter","newId","isEqualWithoutVersion","version","toString","exportOutput","bold","lanesOutput","green","nonExistOnBitMapOutput","idsStr","removedOutput","remoteLaneStr","title","missingScopeOutput","ejectOutput","output","ejectTemplate","rippleJobsOutput","shouldOpenBrowser","process","env","CI","prefix","msg","open","catch","urlsColored","url","underline","json","results","exports"],"sources":["export-cmd.ts"],"sourcesContent":["import type { Command, CommandOptions } from '@teambit/cli';\nimport open from 'open';\nimport { ejectTemplate } from '@teambit/eject';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy.constants';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\nimport type { ExportMain, ExportResult } from './export.main.runtime';\n\nexport class ExportCmd implements Command {\n name = 'export [component-patterns...]';\n description = 'upload components to remote scopes';\n arguments = [\n {\n name: 'component-patterns...',\n description: `(not recommended) ${COMPONENT_PATTERN_HELP}`,\n },\n ];\n extendedDescription = `uploads staged versions (snaps/tags) to remote scopes, making them available for consumption by other workspaces.\nwithout arguments, exports all staged components. when on a lane, exports the lane as well.\nexporting is the final step after development and versioning to share components with your team.`;\n alias = 'e';\n helpUrl = 'reference/components/exporting-components';\n options = [\n ['e', 'eject', 'after export, remove the components from the workspace and install them as packages'],\n [\n 'a',\n 'all',\n 'export all components, including non-staged (useful when components in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'all-versions',\n 'export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)',\n ],\n [\n '',\n 'origin-directly',\n 'avoid export to the central hub, instead, export directly to the original scopes. not recommended!',\n ],\n [\n '',\n 'resume <string>',\n 'in case the previous export failed and suggested to resume with an export-id, enter the id',\n ],\n [\n '',\n 'head-only',\n 'in case previous export failed and locally it shows exported and only one snap/tag was created, try using this flag',\n ],\n [\n '',\n 'ignore-missing-artifacts',\n \"don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote\",\n ],\n ['', 'fork-lane-new-scope', 'allow exporting a forked lane into a different scope than the original scope'],\n ['', 'open-browser', 'open a browser once the export is completed in the cloud job url'],\n ['', 'verbose', 'per exported component, show the versions being exported'],\n ['j', 'json', 'show output in json format'],\n ] as CommandOptions;\n loader = true;\n group = 'collaborate';\n remoteOp = true;\n\n constructor(private exportMain: ExportMain) {}\n\n async report(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n headOnly,\n forkLaneNewScope = false,\n openBrowser = false,\n verbose = false,\n }: any\n ): Promise<string> {\n const {\n componentsIds,\n newIdsOnRemote,\n nonExistOnBitMap,\n removedIds,\n missingScope,\n exportedLanes,\n ejectResults,\n rippleJobUrls,\n } = await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n headOnly,\n ignoreMissingArtifacts,\n forkLaneNewScope,\n });\n\n if (isEmpty(componentsIds) && isEmpty(nonExistOnBitMap) && isEmpty(missingScope) && !exportedLanes.length) {\n return chalk.yellow('nothing to export');\n }\n const exportedLane = exportedLanes[0]?.id();\n const getExportedIds = () => {\n if (!verbose) return componentsIds.join('\\n');\n return componentsIds\n .map((id) => {\n const versions = newIdsOnRemote\n .filter((newId) => newId.isEqualWithoutVersion(id))\n .map((newId) => newId.version);\n return `${id.toString()} - ${versions.join(', ') || 'n/a'}`;\n })\n .join('\\n');\n };\n const exportOutput = () => {\n if (isEmpty(componentsIds)) return exportedLane ? `exported the lane ${chalk.bold(exportedLane)}` : '';\n const lanesOutput = exportedLanes.length ? ` the lane ${chalk.bold(exportedLanes[0].id())} and` : '';\n return chalk.green(\n `exported${lanesOutput} the following ${componentsIds.length} component(s):\\n${chalk.bold(getExportedIds())}`\n );\n };\n const nonExistOnBitMapOutput = () => {\n // if includeDependencies is true, the nonExistOnBitMap might be the dependencies\n if (isEmpty(nonExistOnBitMap)) return '';\n const idsStr = nonExistOnBitMap.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `${idsStr}\\nexported successfully. bit did not update the workspace as the component files are not tracked. this might happen when a component was tracked in a different git branch. to fix it check if they where tracked in a different git branch, checkout to that branch and resync by running 'bit import'. or stay on your branch and track the components again using 'bit add'.\\n`\n );\n };\n const removedOutput = () => {\n if (!removedIds.length) return '';\n const remoteLaneStr = exportedLanes.length ? ' lane' : '';\n const title = chalk.bold(\n `\\n\\nthe following component(s) have been marked as removed on the remote${remoteLaneStr}\\n`\n );\n const idsStr = removedIds.join('\\n');\n return title + idsStr;\n };\n const missingScopeOutput = () => {\n if (isEmpty(missingScope)) return '';\n const idsStr = missingScope.map((id) => id.toString()).join(', ');\n return chalk.yellow(\n `the following component(s) were not exported as no remote scope is configured for them: ${chalk.bold(\n idsStr\n )}.\\nplease specify <remote> to export them, run 'bit scope set <scope> <component>, or set a \"defaultScope\" in your workspace config\\n\\n`\n );\n };\n const ejectOutput = () => {\n if (!ejectResults) return '';\n const output = ejectTemplate(ejectResults);\n return `\\n${output}`;\n };\n const rippleJobsOutput = () => {\n if (!rippleJobUrls.length) return '';\n const shouldOpenBrowser = openBrowser && !process.env.CI;\n const prefix = shouldOpenBrowser ? 'Your browser has been opened to the following link' : 'Visit the link below';\n const msg = `\\n\\n${prefix} to track the progress of building the components in the cloud\\n`;\n if (shouldOpenBrowser) {\n open(rippleJobUrls[0]).catch(() => {\n /** it's ok, the user is instructed to open the browser manually */\n });\n }\n const urlsColored = rippleJobUrls.map((url) => chalk.bold.underline(url));\n return msg + urlsColored.join('\\n');\n };\n\n return (\n nonExistOnBitMapOutput() +\n missingScopeOutput() +\n exportOutput() +\n ejectOutput() +\n removedOutput() +\n rippleJobsOutput()\n );\n }\n\n async json(\n [ids = []]: [string[]],\n {\n eject = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ): Promise<ExportResult> {\n const results = await this.exportMain.export({\n ids,\n eject,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n\n return results;\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,MAAA;EAAA,MAAAC,IAAA,GAAAC,sBAAA,CAAAC,OAAA;EAAAH,KAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAE,OAAA;EAAAC,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,QAAA;EAAA,MAAAJ,IAAA,GAAAE,OAAA;EAAAE,OAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,OAAA;EAAA,MAAAL,IAAA,GAAAC,sBAAA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KAAK;IACXC,WAAW,GAAG,KAAK;IACnBC,cAAc,GAAG,KAAK;IACtBC,sBAAsB,GAAG,KAAK;IAC9BC;EACG,CAAC,EACiB;IACvB,MAAMyD,OAAO,GAAG,MAAM,IAAI,CAACpE,UAAU,CAACwB,MAAM,CAAC;MAC3CnB,GAAG;MACHC,KAAK;MACLmB,gBAAgB,EAAElB,GAAG,IAAIC,WAAW;MACpCA,WAAW,EAAEA,WAAW,IAAID,GAAG;MAC/BE,cAAc;MACdiB,cAAc,EAAEf,MAAM;MACtBD;IACF,CAAC,CAAC;IAEF,OAAO0D,OAAO;EAChB;AACF;AAACC,OAAA,CAAAvE,SAAA,GAAAA,SAAA","ignoreList":[]}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_export@1.0.
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_export@1.0.
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_export@1.0.751/dist/export.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_export@1.0.751/dist/export.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/export",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.751",
|
4
4
|
"homepage": "https://bit.cloud/teambit/scope/export",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.scope",
|
8
8
|
"name": "export",
|
9
|
-
"version": "1.0.
|
9
|
+
"version": "1.0.751"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "4.1.2",
|
@@ -14,35 +14,35 @@
|
|
14
14
|
"open": "8.4.2",
|
15
15
|
"p-map-series": "2.1.0",
|
16
16
|
"fs-extra": "10.0.0",
|
17
|
-
"@teambit/cli": "0.0.1272",
|
18
|
-
"@teambit/legacy.constants": "0.0.17",
|
19
17
|
"@teambit/component-id": "1.2.4",
|
20
|
-
"@teambit/harmony.modules.concurrency": "0.0.18",
|
21
|
-
"@teambit/legacy.loader": "0.0.11",
|
22
|
-
"@teambit/legacy.logger": "0.0.27",
|
23
|
-
"@teambit/legacy.scope": "0.0.73",
|
24
|
-
"@teambit/scope.remote-actions": "0.0.73",
|
25
|
-
"@teambit/scope.remotes": "0.0.73",
|
26
18
|
"@teambit/toolbox.promise.map-pool": "0.0.8",
|
27
19
|
"@teambit/harmony": "0.4.7",
|
28
20
|
"@teambit/bit-error": "0.0.404",
|
29
|
-
"@teambit/component.snap-distance": "0.0.74",
|
30
21
|
"@teambit/lane-id": "0.0.312",
|
31
|
-
"@teambit/
|
32
|
-
"@teambit/
|
33
|
-
"@teambit/legacy.
|
34
|
-
"@teambit/
|
35
|
-
"@teambit/legacy.
|
36
|
-
"@teambit/logger": "0.0.
|
37
|
-
"@teambit/scope
|
38
|
-
"@teambit/
|
39
|
-
"@teambit/
|
40
|
-
"@teambit/
|
41
|
-
"@teambit/
|
42
|
-
"@teambit/dependency-resolver": "1.0.
|
43
|
-
"@teambit/
|
44
|
-
"@teambit/
|
45
|
-
"@teambit/
|
22
|
+
"@teambit/cli": "0.0.1273",
|
23
|
+
"@teambit/eject": "1.0.751",
|
24
|
+
"@teambit/legacy.constants": "0.0.18",
|
25
|
+
"@teambit/harmony.modules.concurrency": "0.0.19",
|
26
|
+
"@teambit/legacy.loader": "0.0.12",
|
27
|
+
"@teambit/legacy.logger": "0.0.28",
|
28
|
+
"@teambit/legacy.scope": "0.0.74",
|
29
|
+
"@teambit/objects": "0.0.258",
|
30
|
+
"@teambit/scope.remote-actions": "0.0.74",
|
31
|
+
"@teambit/scope.remotes": "0.0.74",
|
32
|
+
"@teambit/component.snap-distance": "0.0.75",
|
33
|
+
"@teambit/dependency-resolver": "1.0.751",
|
34
|
+
"@teambit/legacy.analytics": "0.0.81",
|
35
|
+
"@teambit/legacy.bit-map": "0.0.131",
|
36
|
+
"@teambit/legacy.component-list": "0.0.128",
|
37
|
+
"@teambit/legacy.consumer": "0.0.74",
|
38
|
+
"@teambit/legacy.utils": "0.0.27",
|
39
|
+
"@teambit/logger": "0.0.1366",
|
40
|
+
"@teambit/remove": "1.0.751",
|
41
|
+
"@teambit/scope.network": "0.0.74",
|
42
|
+
"@teambit/scope": "1.0.751",
|
43
|
+
"@teambit/workspace.modules.node-modules-linker": "0.0.302",
|
44
|
+
"@teambit/workspace": "1.0.751",
|
45
|
+
"@teambit/legacy.scope-api": "0.0.129"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
48
|
"@types/lodash": "4.14.165",
|