@teambit/export 0.0.678 → 0.0.679
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.d.ts +2 -0
- package/dist/export-cmd.js +11 -7
- package/dist/export-cmd.js.map +1 -1
- package/dist/export.main.runtime.d.ts +2 -1
- package/dist/export.main.runtime.js +13 -3
- package/dist/export.main.runtime.js.map +1 -1
- package/package-tar/teambit-export-0.0.679.tgz +0 -0
- package/package.json +7 -6
- /package/{preview-1647487436311.js → preview-1647509820722.js} +0 -0
- package/package-tar/teambit-export-0.0.678.tgz +0 -0
package/dist/export-cmd.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
2
|
export declare class ExportCmd implements Command {
|
|
3
|
+
private docsDomain;
|
|
3
4
|
name: string;
|
|
4
5
|
description: string;
|
|
5
6
|
alias: string;
|
|
@@ -9,5 +10,6 @@ export declare class ExportCmd implements Command {
|
|
|
9
10
|
group: string;
|
|
10
11
|
shortDescription: string;
|
|
11
12
|
remoteOp: boolean;
|
|
13
|
+
constructor(docsDomain: string);
|
|
12
14
|
report([remote, ids]: [string, string[]], { eject, includeDependencies, setCurrentScope, all, allVersions, originDirectly, force, rewire, ignoreMissingArtifacts, resume, }: any): Promise<string>;
|
|
13
15
|
}
|
package/dist/export-cmd.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
4
|
|
|
5
|
+
require("core-js/modules/es.symbol.description.js");
|
|
6
|
+
|
|
5
7
|
require("core-js/modules/es.array.iterator.js");
|
|
6
8
|
|
|
7
9
|
require("core-js/modules/es.promise.js");
|
|
@@ -82,14 +84,10 @@ function _lodash() {
|
|
|
82
84
|
}
|
|
83
85
|
|
|
84
86
|
class ExportCmd {
|
|
85
|
-
constructor() {
|
|
87
|
+
constructor(docsDomain) {
|
|
88
|
+
this.docsDomain = docsDomain;
|
|
86
89
|
(0, _defineProperty2().default)(this, "name", 'export [remote] [id...]');
|
|
87
|
-
(0, _defineProperty2().default)(this, "description",
|
|
88
|
-
bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well
|
|
89
|
-
\`bit export [id...]\` => export the given ids to their current scope
|
|
90
|
-
|
|
91
|
-
https://${_constants().BASE_DOCS_DOMAIN}/docs/export
|
|
92
|
-
${(0, _constants().WILDCARD_HELP)('export remote-scope')}`);
|
|
90
|
+
(0, _defineProperty2().default)(this, "description", void 0);
|
|
93
91
|
(0, _defineProperty2().default)(this, "alias", 'e');
|
|
94
92
|
(0, _defineProperty2().default)(this, "options", [['e', 'eject', 'replaces the exported components from the local scope with the corresponding packages'], ['a', 'all', 'export all components include non-staged'], ['d', 'include-dependencies', "LEGACY ONLY. include the component's dependencies as part of the export to the remote scope"], ['s', 'set-current-scope', "LEGACY ONLY. ensure the component's remote scope is set according to the target location"], ['r', 'rewire', 'LEGACY ONLY. when exporting to a different or new scope, replace import/require statements in the source code to match the new scope'], ['f', 'force', 'force changing a component remote without asking for a confirmation'], ['', 'all-versions', 'export not only staged versions but all of them'], ['', 'origin-directly', 'HARMONY ONLY. 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'], ['', 'ignore-missing-artifacts', "EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"]]);
|
|
95
93
|
(0, _defineProperty2().default)(this, "loader", true);
|
|
@@ -97,6 +95,12 @@ ${(0, _constants().WILDCARD_HELP)('export remote-scope')}`);
|
|
|
97
95
|
(0, _defineProperty2().default)(this, "group", 'collaborate');
|
|
98
96
|
(0, _defineProperty2().default)(this, "shortDescription", 'Export components to a remote scope');
|
|
99
97
|
(0, _defineProperty2().default)(this, "remoteOp", true);
|
|
98
|
+
this.description = `export components to a remote scope.
|
|
99
|
+
bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well
|
|
100
|
+
\`bit export [id...]\` => export the given ids to their current scope
|
|
101
|
+
|
|
102
|
+
https://${docsDomain}/components/exporting-components
|
|
103
|
+
${(0, _constants().WILDCARD_HELP)('export remote-scope')}`;
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
async report([remote, ids = []], {
|
package/dist/export-cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["export-cmd.ts"],"names":["ExportCmd","
|
|
1
|
+
{"version":3,"sources":["export-cmd.ts"],"names":["ExportCmd","constructor","docsDomain","description","report","remote","ids","eject","includeDependencies","setCurrentScope","all","allVersions","originDirectly","force","rewire","ignoreMissingArtifacts","resume","currentScope","CURRENT_UPSTREAM","GeneralError","componentsIds","nonExistOnBitMap","missingScope","exportedLanes","ejectResults","includeNonStaged","codemod","resumeExportId","chalk","yellow","exportOutput","lanesOutput","length","bold","name","green","join","nonExistOnBitMapOutput","idsStr","map","id","toString","missingScopeOutput","ejectOutput","output"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,SAAN,CAAmC;AA8CxCC,EAAAA,WAAW,CAASC,UAAT,EAA6B;AAAA,SAApBA,UAAoB,GAApBA,UAAoB;AAAA,kDA7CjC,yBA6CiC;AAAA;AAAA,mDA3ChC,GA2CgC;AAAA,qDA1C9B,CACR,CAAC,GAAD,EAAM,OAAN,EAAe,uFAAf,CADQ,EAER,CAAC,GAAD,EAAM,KAAN,EAAa,0CAAb,CAFQ,EAGR,CACE,GADF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AAP;AAKD,KAVD;;AAWA,UAAMC,sBAAsB,GAAG,MAAM;AACnC;AACA,UAAI,uBAAQhB,gBAAR,KAA6Bb,mBAAjC,EAAsD,OAAO,EAAP;AACtD,YAAM8B,MAAM,GAAGjB,gBAAgB,CAACkB,GAAjB,CAAsBC,EAAD,IAAQA,EAAE,CAACC,QAAH,EAA7B,EAA4CL,IAA5C,CAAiD,IAAjD,CAAf;AACA,aAAOR,iBAAMC,MAAN,CACJ,GAAES,MAAO,mXADL,CAAP;AAGD,KAPD;;AAQA,UAAMI,kBAAkB,GAAG,MAAM;AAC/B,UAAI,uBAAQpB,YAAR,CAAJ,EAA2B,OAAO,EAAP;AAC3B,YAAMgB,MAAM,GAAGhB,YAAY,CAACiB,GAAb,CAAkBC,EAAD,IAAQA,EAAE,CAACC,QAAH,EAAzB,EAAwCL,IAAxC,CAA6C,IAA7C,CAAf;AACA,aAAOR,iBAAMC,MAAN,CACJ,iDAAgDD,iBAAMK,IAAN,CAC/CK,MAD+C,CAE/C,iGAHG,CAAP;AAKD,KARD;;AASA,UAAMK,WAAW,GAAG,MAAM;AACxB,UAAI,CAACnB,YAAL,EAAmB,OAAO,EAAP;AACnB,YAAMoB,MAAM,GAAG,8BAAcpB,YAAd,CAAf;AACA,aAAQ,KAAIoB,MAAO,EAAnB;AACD,KAJD;;AAMA,WAAOP,sBAAsB,KAAKK,kBAAkB,EAA7C,GAAkDZ,YAAY,EAA9D,GAAmEa,WAAW,EAArF;AACD;;AAnIuC","sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\n\nimport { exportAction } from '@teambit/legacy/dist/api/consumer';\nimport ejectTemplate from '@teambit/legacy/dist/cli/templates/eject-template';\nimport { CURRENT_UPSTREAM, WILDCARD_HELP } from '@teambit/legacy/dist/constants';\nimport GeneralError from '@teambit/legacy/dist/error/general-error';\nimport chalk from 'chalk';\nimport { isEmpty } from 'lodash';\n\nexport class ExportCmd implements Command {\n name = 'export [remote] [id...]';\n description: string;\n alias = 'e';\n options = [\n ['e', 'eject', 'replaces the exported components from the local scope with the corresponding packages'],\n ['a', 'all', 'export all components include non-staged'],\n [\n 'd',\n 'include-dependencies',\n \"LEGACY ONLY. include the component's dependencies as part of the export to the remote scope\",\n ],\n [\n 's',\n 'set-current-scope',\n \"LEGACY ONLY. ensure the component's remote scope is set according to the target location\",\n ],\n [\n 'r',\n 'rewire',\n 'LEGACY ONLY. when exporting to a different or new scope, replace import/require statements in the source code to match the new scope',\n ],\n ['f', 'force', 'force changing a component remote without asking for a confirmation'],\n ['', 'all-versions', 'export not only staged versions but all of them'],\n [\n '',\n 'origin-directly',\n 'HARMONY ONLY. 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 '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 ] as CommandOptions;\n loader = true;\n migration = true;\n group = 'collaborate';\n shortDescription = 'Export components to a remote scope';\n remoteOp = true;\n\n constructor(private docsDomain: string) {\n this.description = `export components to a remote scope.\nbit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n\\`bit export [id...]\\` => export the given ids to their current scope\n\nhttps://${docsDomain}/components/exporting-components\n${WILDCARD_HELP('export remote-scope')}`;\n }\n\n async report(\n [remote, ids = []]: [string, string[]],\n {\n eject = false,\n includeDependencies = false,\n setCurrentScope = false,\n all = false,\n allVersions = false,\n originDirectly = false,\n force = false,\n rewire = false,\n ignoreMissingArtifacts = false,\n resume,\n }: any\n ): Promise<string> {\n const currentScope = !remote || remote === CURRENT_UPSTREAM;\n if (currentScope && remote) {\n remote = '';\n }\n if (includeDependencies && !remote) {\n throw new GeneralError(\n 'to use --includeDependencies, please specify a remote (the default remote gets already the dependencies)'\n );\n }\n const { componentsIds, nonExistOnBitMap, missingScope, exportedLanes, ejectResults } = await exportAction({\n ids,\n remote,\n eject,\n includeDependencies,\n setCurrentScope,\n includeNonStaged: all || allVersions,\n allVersions: allVersions || all,\n originDirectly,\n codemod: rewire,\n force,\n resumeExportId: resume,\n ignoreMissingArtifacts,\n });\n if (isEmpty(componentsIds) && isEmpty(nonExistOnBitMap) && isEmpty(missingScope)) {\n return chalk.yellow('nothing to export');\n }\n const exportOutput = () => {\n if (isEmpty(componentsIds)) return '';\n const lanesOutput = exportedLanes.length ? ` from lane ${chalk.bold(exportedLanes[0].name)}` : '';\n if (remote)\n return chalk.green(`exported ${componentsIds.length} components${lanesOutput} to scope ${chalk.bold(remote)}`);\n return chalk.green(\n `exported the following ${componentsIds.length} component(s)${lanesOutput}:\\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) || includeDependencies) 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 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: ${chalk.bold(\n idsStr\n )}.\\nplease specify <remote> to export them, 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\n return nonExistOnBitMapOutput() + missingScopeOutput() + exportOutput() + ejectOutput();\n }\n}\n"]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { CLIMain } from '@teambit/cli';
|
|
2
2
|
import { ScopeMain } from '@teambit/scope';
|
|
3
|
+
import type { CommunityMain } from '@teambit/community';
|
|
3
4
|
export declare class ExportMain {
|
|
4
5
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
5
6
|
static dependencies: import("@teambit/harmony").Aspect[];
|
|
6
|
-
static provider([cli, scope]: [CLIMain, ScopeMain]): Promise<ExportMain>;
|
|
7
|
+
static provider([cli, scope, community]: [CLIMain, ScopeMain, CommunityMain]): Promise<ExportMain>;
|
|
7
8
|
}
|
|
@@ -41,6 +41,16 @@ function _scope() {
|
|
|
41
41
|
return data;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
function _community() {
|
|
45
|
+
const data = require("@teambit/community");
|
|
46
|
+
|
|
47
|
+
_community = function () {
|
|
48
|
+
return data;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
return data;
|
|
52
|
+
}
|
|
53
|
+
|
|
44
54
|
function _export() {
|
|
45
55
|
const data = require("./export.aspect");
|
|
46
56
|
|
|
@@ -72,8 +82,8 @@ function _resumeExportCmd() {
|
|
|
72
82
|
}
|
|
73
83
|
|
|
74
84
|
class ExportMain {
|
|
75
|
-
static async provider([cli, scope]) {
|
|
76
|
-
cli.register(new (_resumeExportCmd().ResumeExportCmd)(scope), new (_exportCmd().ExportCmd)());
|
|
85
|
+
static async provider([cli, scope, community]) {
|
|
86
|
+
cli.register(new (_resumeExportCmd().ResumeExportCmd)(scope), new (_exportCmd().ExportCmd)(community.getDocsDomain()));
|
|
77
87
|
return new ExportMain();
|
|
78
88
|
}
|
|
79
89
|
|
|
@@ -81,7 +91,7 @@ class ExportMain {
|
|
|
81
91
|
|
|
82
92
|
exports.ExportMain = ExportMain;
|
|
83
93
|
(0, _defineProperty2().default)(ExportMain, "runtime", _cli().MainRuntime);
|
|
84
|
-
(0, _defineProperty2().default)(ExportMain, "dependencies", [_cli().CLIAspect, _scope().default]);
|
|
94
|
+
(0, _defineProperty2().default)(ExportMain, "dependencies", [_cli().CLIAspect, _scope().default, _community().CommunityAspect]);
|
|
85
95
|
|
|
86
96
|
_export().ExportAspect.addRuntime(ExportMain);
|
|
87
97
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["export.main.runtime.ts"],"names":["ExportMain","provider","cli","scope","register","ResumeExportCmd","ExportCmd","MainRuntime","CLIAspect","ScopeAspect","ExportAspect","addRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,UAAN,CAAiB;AAKD,eAARC,QAAQ,CAAC,CAACC,GAAD,EAAMC,KAAN,CAAD,
|
|
1
|
+
{"version":3,"sources":["export.main.runtime.ts"],"names":["ExportMain","provider","cli","scope","community","register","ResumeExportCmd","ExportCmd","getDocsDomain","MainRuntime","CLIAspect","ScopeAspect","CommunityAspect","ExportAspect","addRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAGA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEO,MAAMA,UAAN,CAAiB;AAKD,eAARC,QAAQ,CAAC,CAACC,GAAD,EAAMC,KAAN,EAAaC,SAAb,CAAD,EAA+D;AAClFF,IAAAA,GAAG,CAACG,QAAJ,CAAa,KAAIC,kCAAJ,EAAoBH,KAApB,CAAb,EAAyC,KAAII,sBAAJ,EAAcH,SAAS,CAACI,aAAV,EAAd,CAAzC;AAEA,WAAO,IAAIR,UAAJ,EAAP;AACD;;AATqB;;;gCAAXA,U,aACMS,kB;gCADNT,U,kBAGW,CAACU,gBAAD,EAAYC,gBAAZ,EAAyBC,4BAAzB,C;;AASxBC,uBAAaC,UAAb,CAAwBd,UAAxB","sourcesContent":["import { CLIAspect, CLIMain, MainRuntime } from '@teambit/cli';\nimport ScopeAspect, { ScopeMain } from '@teambit/scope';\nimport { CommunityAspect } from '@teambit/community';\nimport type { CommunityMain } from '@teambit/community';\n\nimport { ExportAspect } from './export.aspect';\nimport { ExportCmd } from './export-cmd';\nimport { ResumeExportCmd } from './resume-export-cmd';\n\nexport class ExportMain {\n static runtime = MainRuntime;\n\n static dependencies = [CLIAspect, ScopeAspect, CommunityAspect];\n\n static async provider([cli, scope, community]: [CLIMain, ScopeMain, CommunityMain]) {\n cli.register(new ResumeExportCmd(scope), new ExportCmd(community.getDocsDomain()));\n\n return new ExportMain();\n }\n}\n\nExportAspect.addRuntime(ExportMain);\n"]}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/export",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.679",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/scope/export",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.scope",
|
|
8
8
|
"name": "export",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.679"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
"@teambit/harmony": "0.2.11",
|
|
15
15
|
"@babel/runtime": "7.12.18",
|
|
16
16
|
"core-js": "^3.0.0",
|
|
17
|
-
"@teambit/cli": "0.0.
|
|
18
|
-
"@teambit/
|
|
17
|
+
"@teambit/cli": "0.0.454",
|
|
18
|
+
"@teambit/community": "0.0.2",
|
|
19
|
+
"@teambit/scope": "0.0.679"
|
|
19
20
|
},
|
|
20
21
|
"devDependencies": {
|
|
21
22
|
"@types/lodash": "4.14.165",
|
|
@@ -27,7 +28,7 @@
|
|
|
27
28
|
"@types/node": "12.20.4"
|
|
28
29
|
},
|
|
29
30
|
"peerDependencies": {
|
|
30
|
-
"@teambit/legacy": "1.0.
|
|
31
|
+
"@teambit/legacy": "1.0.233",
|
|
31
32
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
32
33
|
"react": "^16.8.0 || ^17.0.0"
|
|
33
34
|
},
|
|
@@ -55,7 +56,7 @@
|
|
|
55
56
|
"react": "-"
|
|
56
57
|
},
|
|
57
58
|
"peerDependencies": {
|
|
58
|
-
"@teambit/legacy": "1.0.
|
|
59
|
+
"@teambit/legacy": "1.0.233",
|
|
59
60
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
60
61
|
"react": "^16.8.0 || ^17.0.0"
|
|
61
62
|
}
|
|
File without changes
|
|
Binary file
|