@teambit/export 1.0.408 → 1.0.409
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_scope_export-preview.js +1 -1
- package/artifacts/schema.json +1 -1
- package/dist/export-cmd.js +1 -1
- package/dist/export-cmd.js.map +1 -1
- package/dist/{preview-1726543267663.js → preview-1726584693847.js} +2 -2
- package/package.json +9 -9
@@ -1,4 +1,4 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<testsuites tests="0" failures="0" errors="0" skipped="0">
|
3
|
-
<testsuite name="teambit.scope/export@1.0.
|
3
|
+
<testsuite name="teambit.scope/export@1.0.409" tests="0" failures="0" errors="0" skipped="0"/>
|
4
4
|
</testsuites>
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.scope/export-preview"]=t():e["teambit.scope/export-preview"]=t()}(self,(()=>(()=>{"use strict";var e={
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.scope/export-preview"]=t():e["teambit.scope/export-preview"]=t()}(self,(()=>(()=>{"use strict";var e={86383:(e,t,o)=>{var r={id:"teambit.scope/export@1.0.409",homepage:"https://bit.cloud/teambit/scope/export",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const p=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/export.svg"}));p.__bit_component=r,t.Logo=p},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>v,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>d});var i=o(86383);o(41594);const p=MdxJsReact,c=TeambitMdxUiMdxScopeContext;var s=["components"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},a.apply(null,arguments)}var u={},l="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,s);return(0,p.mdx)(l,a({},u,o,{components:t,mdxType:"MDXLayout"}),(0,p.mdx)(c.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[n],v={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
|
package/artifacts/schema.json
CHANGED
package/dist/export-cmd.js
CHANGED
@@ -58,7 +58,7 @@ class ExportCmd {
|
|
58
58
|
${(0, _constants().WILDCARD_HELP)('export')}`);
|
59
59
|
_defineProperty(this, "alias", 'e');
|
60
60
|
_defineProperty(this, "helpUrl", 'reference/components/exporting-components');
|
61
|
-
_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', '
|
61
|
+
_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'], ['j', 'json', 'show output in json format']]);
|
62
62
|
_defineProperty(this, "loader", true);
|
63
63
|
_defineProperty(this, "group", 'collaborate');
|
64
64
|
_defineProperty(this, "remoteOp", true);
|
package/dist/export-cmd.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_open","data","_interopRequireDefault","require","_eject","_constants","_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","componentsIds","nonExistOnBitMap","removedIds","missingScope","exportedLanes","ejectResults","rippleJobs","export","includeNonStaged","resumeExportId","isEmpty","length","chalk","yellow","exportedLane","id","exportOutput","bold","lanesOutput","green","join","nonExistOnBitMapOutput","idsStr","map","toString","removedOutput","remoteLaneStr","title","missingScopeOutput","ejectOutput","output","ejectTemplate","rippleJobsOutput","shouldOpenBrowser","process","env","CI","prefix","msg","lane","undefined","fullUrls","job","getCloudDomain","scope","replace","open","url","catch","urlsColored","underline","json","results","exports"],"sources":["export-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport open from 'open';\nimport { ejectTemplate } from '@teambit/eject';\nimport { WILDCARD_HELP, COMPONENT_PATTERN_HELP, getCloudDomain } from '@teambit/legacy/dist/constants';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\nimport { 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 'EXPERIMENTAL. 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 'EXPERIMENTAL. 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 \"EXPERIMENTAL. 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 ['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 }: any\n ): Promise<string> {\n const { componentsIds, nonExistOnBitMap, removedIds, missingScope, exportedLanes, ejectResults, rippleJobs } =\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 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 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(\n componentsIds.join('\\n')\n )}`\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 (!rippleJobs.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 const lane = exportedLanes.length ? exportedLanes?.[0] : undefined;\n const fullUrls = lane\n ? rippleJobs.map(\n (job) =>\n `https://${getCloudDomain()}/${lane.scope.replace('.', '/')}/~lane/${lane.name}/~ripple-ci/job/${job}`\n )\n : rippleJobs.map((job) => `https://${getCloudDomain()}/ripple-ci/job/${job}`);\n if (shouldOpenBrowser) {\n open(fullUrls[0], { url: true }).catch(() => {\n /** it's ok, the user is instructed to open the browser manually */\n });\n }\n const urlsColored = fullUrls.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,SAA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H,GAAG,CAAC,CAAC;MACpE,OAAOT,GAAG,GAAGW,WAAW,CAAC7B,IAAI,CAAC,IAAI,CAAC;IACrC,CAAC;IAED,OACEC,sBAAsB,CAAC,CAAC,GACxBO,kBAAkB,CAAC,CAAC,GACpBZ,YAAY,CAAC,CAAC,GACda,WAAW,CAAC,CAAC,GACbJ,aAAa,CAAC,CAAC,GACfO,gBAAgB,CAAC,CAAC;EAEtB;EAEA,MAAMmB,IAAIA,CACR,CAAC7D,GAAG,GAAG,EAAE,CAAa,EACtB;IACEC,KAAK,GAAG,KAAK;IACbC,GAAG,GAAG,KAAK;IACXC,WAAW,GAAG,KAAK;IACnBC,cAAc,GAAG,KAAK;IACtBC,sBAAsB,GAAG,KAAK;IAC9BC;EACG,CAAC,EACiB;IACvB,MAAMwD,OAAO,GAAG,MAAM,IAAI,CAACpE,UAAU,CAACuB,MAAM,CAAC;MAC3CjB,GAAG;MACHC,KAAK;MACLiB,gBAAgB,EAAEhB,GAAG,IAAIC,WAAW;MACpCA,WAAW,EAAEA,WAAW,IAAID,GAAG;MAC/BE,cAAc;MACde,cAAc,EAAEb,MAAM;MACtBD;IACF,CAAC,CAAC;IAEF,OAAOyD,OAAO;EAChB;AACF;AAACC,OAAA,CAAAvE,SAAA,GAAAA,SAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_open","data","_interopRequireDefault","require","_eject","_constants","_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","componentsIds","nonExistOnBitMap","removedIds","missingScope","exportedLanes","ejectResults","rippleJobs","export","includeNonStaged","resumeExportId","isEmpty","length","chalk","yellow","exportedLane","id","exportOutput","bold","lanesOutput","green","join","nonExistOnBitMapOutput","idsStr","map","toString","removedOutput","remoteLaneStr","title","missingScopeOutput","ejectOutput","output","ejectTemplate","rippleJobsOutput","shouldOpenBrowser","process","env","CI","prefix","msg","lane","undefined","fullUrls","job","getCloudDomain","scope","replace","open","url","catch","urlsColored","underline","json","results","exports"],"sources":["export-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport open from 'open';\nimport { ejectTemplate } from '@teambit/eject';\nimport { WILDCARD_HELP, COMPONENT_PATTERN_HELP, getCloudDomain } from '@teambit/legacy/dist/constants';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\nimport { 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 ['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 }: any\n ): Promise<string> {\n const { componentsIds, nonExistOnBitMap, removedIds, missingScope, exportedLanes, ejectResults, rippleJobs } =\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 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 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(\n componentsIds.join('\\n')\n )}`\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 (!rippleJobs.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 const lane = exportedLanes.length ? exportedLanes?.[0] : undefined;\n const fullUrls = lane\n ? rippleJobs.map(\n (job) =>\n `https://${getCloudDomain()}/${lane.scope.replace('.', '/')}/~lane/${lane.name}/~ripple-ci/job/${job}`\n )\n : rippleJobs.map((job) => `https://${getCloudDomain()}/ripple-ci/job/${job}`);\n if (shouldOpenBrowser) {\n open(fullUrls[0], { url: true }).catch(() => {\n /** it's ok, the user is instructed to open the browser manually */\n });\n }\n const urlsColored = fullUrls.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 });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AKnC,gBAAK,CAACK,IAAI,CAACiC,SAAS,CAACH,GAAG,CAAC,CAAC;MACpE,OAAOT,GAAG,GAAGW,WAAW,CAAC7B,IAAI,CAAC,IAAI,CAAC;IACrC,CAAC;IAED,OACEC,sBAAsB,CAAC,CAAC,GACxBO,kBAAkB,CAAC,CAAC,GACpBZ,YAAY,CAAC,CAAC,GACda,WAAW,CAAC,CAAC,GACbJ,aAAa,CAAC,CAAC,GACfO,gBAAgB,CAAC,CAAC;EAEtB;EAEA,MAAMmB,IAAIA,CACR,CAAC7D,GAAG,GAAG,EAAE,CAAa,EACtB;IACEC,KAAK,GAAG,KAAK;IACbC,GAAG,GAAG,KAAK;IACXC,WAAW,GAAG,KAAK;IACnBC,cAAc,GAAG,KAAK;IACtBC,sBAAsB,GAAG,KAAK;IAC9BC;EACG,CAAC,EACiB;IACvB,MAAMwD,OAAO,GAAG,MAAM,IAAI,CAACpE,UAAU,CAACuB,MAAM,CAAC;MAC3CjB,GAAG;MACHC,KAAK;MACLiB,gBAAgB,EAAEhB,GAAG,IAAIC,WAAW;MACpCA,WAAW,EAAEA,WAAW,IAAID,GAAG;MAC/BE,cAAc;MACde,cAAc,EAAEb,MAAM;MACtBD;IACF,CAAC,CAAC;IAEF,OAAOyD,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.409/dist/export.composition.js';
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.scope_export@1.0.409/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.409",
|
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.409"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "2.4.2",
|
@@ -18,18 +18,18 @@
|
|
18
18
|
"@teambit/bit-error": "0.0.404",
|
19
19
|
"@teambit/component-id": "1.2.0",
|
20
20
|
"@teambit/lane-id": "0.0.311",
|
21
|
-
"@teambit/cli": "0.0.
|
22
|
-
"@teambit/eject": "1.0.
|
23
|
-
"@teambit/dependency-resolver": "1.0.
|
21
|
+
"@teambit/cli": "0.0.986",
|
22
|
+
"@teambit/eject": "1.0.409",
|
23
|
+
"@teambit/dependency-resolver": "1.0.409",
|
24
24
|
"@teambit/legacy.analytics": "0.0.35",
|
25
25
|
"@teambit/legacy.bit-map": "0.0.33",
|
26
26
|
"@teambit/legacy.component-list": "0.0.30",
|
27
27
|
"@teambit/legacy.utils": "0.0.5",
|
28
|
-
"@teambit/logger": "0.0.
|
29
|
-
"@teambit/remove": "1.0.
|
30
|
-
"@teambit/scope": "1.0.
|
28
|
+
"@teambit/logger": "0.0.1079",
|
29
|
+
"@teambit/remove": "1.0.409",
|
30
|
+
"@teambit/scope": "1.0.409",
|
31
31
|
"@teambit/workspace.modules.node-modules-linker": "0.0.204",
|
32
|
-
"@teambit/workspace": "1.0.
|
32
|
+
"@teambit/workspace": "1.0.409",
|
33
33
|
"@teambit/legacy.scope-api": "0.0.32"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|