@teambit/version-history 0.0.415 → 0.0.416
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/cat-version-history-cmd.d.ts +1 -0
- package/dist/cat-version-history-cmd.js +1 -0
- package/dist/cat-version-history-cmd.js.map +1 -1
- package/dist/version-history-cmd.js +4 -4
- package/dist/version-history-cmd.js.map +1 -1
- package/package.json +6 -6
- /package/dist/{preview-1748402373944.js → preview-1748488802133.js} +0 -0
@@ -24,6 +24,7 @@ class CatVersionHistoryCmd {
|
|
24
24
|
_defineProperty(this, "options", [
|
25
25
|
// json is also the default for this command. it's only needed to suppress the logger.console
|
26
26
|
['j', 'json', 'json format']]);
|
27
|
+
_defineProperty(this, "group", 'advanced');
|
27
28
|
}
|
28
29
|
async report([id]) {
|
29
30
|
const result = await (0, _catVersionHistory().catVersionHistory)(id);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_catVersionHistory","data","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","CatVersionHistoryCmd","constructor","report","id","result","catVersionHistory","JSON","stringify","json","exports"],"sources":["cat-version-history-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { catVersionHistory } from './cat-version-history';\n\nexport class CatVersionHistoryCmd implements Command {\n name = 'cat-version-history <id>';\n description = 'cat version-history object by component-id';\n private = true;\n alias = 'cvh';\n loadAspects = false;\n options = [\n // json is also the default for this command. it's only needed to suppress the logger.console\n ['j', 'json', 'json format'],\n ] as CommandOptions;\n\n async report([id]: [string]) {\n const result = await catVersionHistory(id);\n return JSON.stringify(result, null, 4);\n }\n\n async json([id]: [string]) {\n return catVersionHistory(id);\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,mBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,kBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0D,SAAAE,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEnD,MAAMgB,oBAAoB,CAAoB;EAAAC,YAAA;IAAApB,eAAA,eAC5C,0BAA0B;IAAAA,eAAA,sBACnB,4CAA4C;IAAAA,eAAA,kBAChD,IAAI;IAAAA,eAAA,gBACN,KAAK;IAAAA,eAAA,sBACC,KAAK;IAAAA,eAAA,kBACT;IACR;IACA,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAC7B;EAAA;
|
1
|
+
{"version":3,"names":["_catVersionHistory","data","require","_defineProperty","e","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","CatVersionHistoryCmd","constructor","report","id","result","catVersionHistory","JSON","stringify","json","exports"],"sources":["cat-version-history-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { catVersionHistory } from './cat-version-history';\n\nexport class CatVersionHistoryCmd implements Command {\n name = 'cat-version-history <id>';\n description = 'cat version-history object by component-id';\n private = true;\n alias = 'cvh';\n loadAspects = false;\n options = [\n // json is also the default for this command. it's only needed to suppress the logger.console\n ['j', 'json', 'json format'],\n ] as CommandOptions;\n group = 'advanced';\n\n async report([id]: [string]) {\n const result = await catVersionHistory(id);\n return JSON.stringify(result, null, 4);\n }\n\n async json([id]: [string]) {\n return catVersionHistory(id);\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,mBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,kBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0D,SAAAE,gBAAAC,CAAA,EAAAC,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAAA,CAAAF,CAAA,MAAAD,CAAA,GAAAI,MAAA,CAAAC,cAAA,CAAAL,CAAA,EAAAC,CAAA,IAAAK,KAAA,EAAAJ,CAAA,EAAAK,UAAA,MAAAC,YAAA,MAAAC,QAAA,UAAAT,CAAA,CAAAC,CAAA,IAAAC,CAAA,EAAAF,CAAA;AAAA,SAAAG,eAAAD,CAAA,QAAAQ,CAAA,GAAAC,YAAA,CAAAT,CAAA,uCAAAQ,CAAA,GAAAA,CAAA,GAAAA,CAAA;AAAA,SAAAC,aAAAT,CAAA,EAAAD,CAAA,2BAAAC,CAAA,KAAAA,CAAA,SAAAA,CAAA,MAAAF,CAAA,GAAAE,CAAA,CAAAU,MAAA,CAAAC,WAAA,kBAAAb,CAAA,QAAAU,CAAA,GAAAV,CAAA,CAAAc,IAAA,CAAAZ,CAAA,EAAAD,CAAA,uCAAAS,CAAA,SAAAA,CAAA,YAAAK,SAAA,yEAAAd,CAAA,GAAAe,MAAA,GAAAC,MAAA,EAAAf,CAAA;AAEnD,MAAMgB,oBAAoB,CAAoB;EAAAC,YAAA;IAAApB,eAAA,eAC5C,0BAA0B;IAAAA,eAAA,sBACnB,4CAA4C;IAAAA,eAAA,kBAChD,IAAI;IAAAA,eAAA,gBACN,KAAK;IAAAA,eAAA,sBACC,KAAK;IAAAA,eAAA,kBACT;IACR;IACA,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAC7B;IAAAA,eAAA,gBACO,UAAU;EAAA;EAElB,MAAMqB,MAAMA,CAAC,CAACC,EAAE,CAAW,EAAE;IAC3B,MAAMC,MAAM,GAAG,MAAM,IAAAC,sCAAiB,EAACF,EAAE,CAAC;IAC1C,OAAOG,IAAI,CAACC,SAAS,CAACH,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;EACxC;EAEA,MAAMI,IAAIA,CAAC,CAACL,EAAE,CAAW,EAAE;IACzB,OAAO,IAAAE,sCAAiB,EAACF,EAAE,CAAC;EAC9B;AACF;AAACM,OAAA,CAAAT,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
@@ -42,7 +42,7 @@ class VersionHistoryCmd {
|
|
42
42
|
_defineProperty(this, "alias", 'vh');
|
43
43
|
_defineProperty(this, "description", 'manage the version-history of components');
|
44
44
|
_defineProperty(this, "options", []);
|
45
|
-
_defineProperty(this, "group", '
|
45
|
+
_defineProperty(this, "group", 'version-control');
|
46
46
|
_defineProperty(this, "commands", []);
|
47
47
|
}
|
48
48
|
async report([unrecognizedSubcommand]) {
|
@@ -60,7 +60,7 @@ class VersionHistoryBuildCmd {
|
|
60
60
|
description: _legacy().COMPONENT_PATTERN_HELP
|
61
61
|
}]);
|
62
62
|
_defineProperty(this, "options", [['', 'from-snap <snap>', 'build the version history from a specific snap. the pattern must be a single component-id'], ['', 'from-all-lanes', 'build the version history from the heads of all lanes that include this component'], ['', 'delete-existing', 'delete the existing version history before building it'], ['', 'remote <scope>', 'make the change on the remote scope']]);
|
63
|
-
_defineProperty(this, "group", 'info');
|
63
|
+
_defineProperty(this, "group", 'info-analysis');
|
64
64
|
}
|
65
65
|
async report([pattern], opts) {
|
66
66
|
const results = await this.versionHistoryMain.buildByPattern(pattern, opts);
|
@@ -89,7 +89,7 @@ class VersionHistoryGraphCmd {
|
|
89
89
|
_defineProperty(this, "alias", '');
|
90
90
|
_defineProperty(this, "description", 'generate a graph of the version history of a component and save as an SVG file');
|
91
91
|
_defineProperty(this, "options", [['s', 'short-hash', 'show only 9 chars of the hash'], ['m', 'mark <string>', 'paint the given node-ids in the graph in red color, for multiple, separate by commas'], ['', 'png', 'save the graph as a png file instead of svg. requires "graphviz" to be installed'], ['l', 'layout <name>', 'GraphVis layout. default to "dot". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]'], ['', 'limit <number>', 'limit the number of nodes in the graph (starting from the heads)']]);
|
92
|
-
_defineProperty(this, "group", 'info');
|
92
|
+
_defineProperty(this, "group", 'info-analysis');
|
93
93
|
_defineProperty(this, "commands", []);
|
94
94
|
}
|
95
95
|
async report([id], {
|
@@ -124,7 +124,7 @@ class VersionHistoryShowCmd {
|
|
124
124
|
_defineProperty(this, "alias", 'vh');
|
125
125
|
_defineProperty(this, "description", 'show the version-history of a component');
|
126
126
|
_defineProperty(this, "options", [['s', 'short-hash', 'show only 9 chars of the hash'], ['j', 'json', 'json format']]);
|
127
|
-
_defineProperty(this, "group", 'info');
|
127
|
+
_defineProperty(this, "group", 'info-analysis');
|
128
128
|
_defineProperty(this, "commands", []);
|
129
129
|
}
|
130
130
|
async report([id], {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_legacy","data","require","_legacy2","_chalk","_interopRequireDefault","_catVersionHistory","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","VersionHistoryCmd","constructor","report","unrecognizedSubcommand","chalk","red","exports","VersionHistoryBuildCmd","versionHistoryMain","name","description","COMPONENT_PATTERN_HELP","pattern","opts","results","buildByPattern","resultsStr","keys","map","idStr","result","getMsg","err","message","added","length","msg","bold","join","green","colorPerEdgeType","unrelated","squashed","VersionHistoryGraphCmd","id","shortHash","mark","png","layout","limit","graphHistory","generateGraph","markIds","split","node","trim","undefined","config","visualDependencyGraph","VisualDependencyGraph","loadFromClearGraph","render","RangeError","Error","VersionHistoryShowCmd","versionHistory","show","output","item","pointers","cyan","edges","edge","hash","type","json","catVersionHistory"],"sources":["version-history-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy.constants';\nimport { VisualDependencyGraph, GraphConfig } from '@teambit/legacy.dependency-graph';\nimport chalk from 'chalk';\nimport { VersionHistoryMain } from './version-history.main.runtime';\nimport { catVersionHistory } from './cat-version-history';\n\nexport class VersionHistoryCmd implements Command {\n name = 'version-history <sub-command>';\n alias = 'vh';\n description = 'manage the version-history of components';\n options = [];\n group = 'info';\n commands: Command[] = [];\n\n async report([unrecognizedSubcommand]: [string]) {\n return chalk.red(\n `\"${unrecognizedSubcommand}\" is not a subcommand of \"version-history\", please run \"bit version-history --help\" to list the subcommands`\n );\n }\n}\n\nexport type BuildOptions = {\n fromSnap?: string;\n deleteExisting?: boolean;\n remote?: string;\n pattern?: string;\n fromAllLanes?: boolean;\n};\n\nexport class VersionHistoryBuildCmd implements Command {\n name = 'build <component-pattern>';\n description = 'rebuild the version history of a component. helpful when it got corrupted for some reason';\n arguments = [\n {\n name: 'component-pattern',\n description: COMPONENT_PATTERN_HELP,\n },\n ];\n options = [\n [\n '',\n 'from-snap <snap>',\n 'build the version history from a specific snap. the pattern must be a single component-id',\n ],\n ['', 'from-all-lanes', 'build the version history from the heads of all lanes that include this component'],\n ['', 'delete-existing', 'delete the existing version history before building it'],\n ['', 'remote <scope>', 'make the change on the remote scope'],\n ] as CommandOptions;\n group = 'info';\n\n constructor(private versionHistoryMain: VersionHistoryMain) {}\n\n async report([pattern]: [string], opts: BuildOptions) {\n const results = await this.versionHistoryMain.buildByPattern(pattern, opts);\n const resultsStr = Object.keys(results)\n .map((idStr) => {\n const result = results[idStr];\n const getMsg = () => {\n if (result.err) return `failed with an error: ${chalk.red(result.err.message)}`;\n if (!result.added) return 'no changes';\n return `successfully added ${result.added.length} hashes`;\n };\n const msg = getMsg();\n return `${chalk.bold(idStr)}: ${msg}`;\n })\n .join('\\n');\n\n return `${chalk.green('completed building version history for the following component(s)')}:\\n${resultsStr}`;\n }\n}\n\nconst colorPerEdgeType = {\n unrelated: 'red',\n squashed: 'blue',\n};\n\nexport class VersionHistoryGraphCmd implements Command {\n name = 'graph <component-id>';\n alias = '';\n description = 'generate a graph of the version history of a component and save as an SVG file';\n options = [\n ['s', 'short-hash', 'show only 9 chars of the hash'],\n ['m', 'mark <string>', 'paint the given node-ids in the graph in red color, for multiple, separate by commas'],\n ['', 'png', 'save the graph as a png file instead of svg. requires \"graphviz\" to be installed'],\n [\n 'l',\n 'layout <name>',\n 'GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]',\n ],\n ['', 'limit <number>', 'limit the number of nodes in the graph (starting from the heads)'],\n ] as CommandOptions;\n group = 'info';\n commands: Command[] = [];\n\n constructor(private versionHistoryMain: VersionHistoryMain) {}\n\n async report(\n [id]: [string],\n {\n shortHash,\n mark,\n png,\n layout,\n limit,\n }: {\n shortHash?: boolean;\n mark?: string;\n png?: boolean;\n layout?: string;\n limit?: number;\n }\n ) {\n const graphHistory = await this.versionHistoryMain.generateGraph(id, shortHash, limit);\n const markIds = mark ? mark.split(',').map((node) => node.trim()) : undefined;\n const config: GraphConfig = { colorPerEdgeType };\n if (layout) config.layout = layout;\n const visualDependencyGraph = await VisualDependencyGraph.loadFromClearGraph(graphHistory, config, markIds);\n\n try {\n return await visualDependencyGraph.render(png ? 'png' : 'svg');\n } catch(err) {\n if (err instanceof RangeError) {\n throw new Error('failed to render the graph, the graph is too big. try to limit the number of nodes by using \"--limit\" flag');\n }\n throw err;\n }\n }\n}\n\nexport type ShowOptions = { shortHash?: boolean };\n\nexport class VersionHistoryShowCmd implements Command {\n name = 'show <component-id>';\n alias = 'vh';\n description = 'show the version-history of a component';\n options = [\n ['s', 'short-hash', 'show only 9 chars of the hash'],\n ['j', 'json', 'json format'],\n ] as CommandOptions;\n group = 'info';\n commands: Command[] = [];\n\n constructor(private versionHistoryMain: VersionHistoryMain) {}\n\n async report([id]: [string], { shortHash }: ShowOptions) {\n const versionHistory = await this.versionHistoryMain.show(id, { shortHash });\n const output = versionHistory\n .map((item) => {\n const pointers = item.pointers.length ? ` (${chalk.cyan(item.pointers.join(', '))})` : '';\n const edges = item.edges.map((edge) => `${edge.hash} (${edge.type})`).join(', ');\n return `${chalk.bold(item.node)}${pointers} ${edges}`;\n })\n .join('\\n');\n return output;\n }\n\n async json([id]: [string]) {\n return catVersionHistory(id);\n }\n}\n"],"mappings":";;;;;;AACA,SAAAA,QAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,OAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,SAAA;EAAA,MAAAF,IAAA,GAAAC,OAAA;EAAAC,QAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAG,OAAA;EAAA,MAAAH,IAAA,GAAAI,sBAAA,CAAAH,OAAA;EAAAE,MAAA,YAAAA,CAAA;IAAA,OAAAH,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAK,mBAAA;EAAA,MAAAL,IAAA,GAAAC,OAAA;EAAAI,kBAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA0D,SAAAI,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,gBAAAH,CAAA,EAAAI,CAAA,EAAAC,CAAA,YAAAD,CAAA,GAAAE,cAA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AAI,CAAC,IAAI,CAAC;MAChF,OAAO,GAAGxB,gBAAK,CAACuB,IAAI,CAAC+B,IAAI,CAACd,IAAI,CAAC,GAAGe,QAAQ,IAAIE,KAAK,EAAE;IACvD,CAAC,CAAC,CACDjC,IAAI,CAAC,IAAI,CAAC;IACb,OAAO6B,MAAM;EACf;EAEA,MAAMQ,IAAIA,CAAC,CAAC/B,EAAE,CAAW,EAAE;IACzB,OAAO,IAAAgC,sCAAiB,EAAChC,EAAE,CAAC;EAC9B;AACF;AAAC5B,OAAA,CAAAgD,qBAAA,GAAAA,qBAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":["_legacy","data","require","_legacy2","_chalk","_interopRequireDefault","_catVersionHistory","e","__esModule","default","_defineProperty","r","t","_toPropertyKey","Object","defineProperty","value","enumerable","configurable","writable","i","_toPrimitive","Symbol","toPrimitive","call","TypeError","String","Number","VersionHistoryCmd","constructor","report","unrecognizedSubcommand","chalk","red","exports","VersionHistoryBuildCmd","versionHistoryMain","name","description","COMPONENT_PATTERN_HELP","pattern","opts","results","buildByPattern","resultsStr","keys","map","idStr","result","getMsg","err","message","added","length","msg","bold","join","green","colorPerEdgeType","unrelated","squashed","VersionHistoryGraphCmd","id","shortHash","mark","png","layout","limit","graphHistory","generateGraph","markIds","split","node","trim","undefined","config","visualDependencyGraph","VisualDependencyGraph","loadFromClearGraph","render","RangeError","Error","VersionHistoryShowCmd","versionHistory","show","output","item","pointers","cyan","edges","edge","hash","type","json","catVersionHistory"],"sources":["version-history-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy.constants';\nimport { VisualDependencyGraph, GraphConfig } from '@teambit/legacy.dependency-graph';\nimport chalk from 'chalk';\nimport { VersionHistoryMain } from './version-history.main.runtime';\nimport { catVersionHistory } from './cat-version-history';\n\nexport class VersionHistoryCmd implements Command {\n name = 'version-history <sub-command>';\n alias = 'vh';\n description = 'manage the version-history of components';\n options = [];\n group = 'version-control';\n commands: Command[] = [];\n\n async report([unrecognizedSubcommand]: [string]) {\n return chalk.red(\n `\"${unrecognizedSubcommand}\" is not a subcommand of \"version-history\", please run \"bit version-history --help\" to list the subcommands`\n );\n }\n}\n\nexport type BuildOptions = {\n fromSnap?: string;\n deleteExisting?: boolean;\n remote?: string;\n pattern?: string;\n fromAllLanes?: boolean;\n};\n\nexport class VersionHistoryBuildCmd implements Command {\n name = 'build <component-pattern>';\n description = 'rebuild the version history of a component. helpful when it got corrupted for some reason';\n arguments = [\n {\n name: 'component-pattern',\n description: COMPONENT_PATTERN_HELP,\n },\n ];\n options = [\n [\n '',\n 'from-snap <snap>',\n 'build the version history from a specific snap. the pattern must be a single component-id',\n ],\n ['', 'from-all-lanes', 'build the version history from the heads of all lanes that include this component'],\n ['', 'delete-existing', 'delete the existing version history before building it'],\n ['', 'remote <scope>', 'make the change on the remote scope'],\n ] as CommandOptions;\n group = 'info-analysis';\n\n constructor(private versionHistoryMain: VersionHistoryMain) {}\n\n async report([pattern]: [string], opts: BuildOptions) {\n const results = await this.versionHistoryMain.buildByPattern(pattern, opts);\n const resultsStr = Object.keys(results)\n .map((idStr) => {\n const result = results[idStr];\n const getMsg = () => {\n if (result.err) return `failed with an error: ${chalk.red(result.err.message)}`;\n if (!result.added) return 'no changes';\n return `successfully added ${result.added.length} hashes`;\n };\n const msg = getMsg();\n return `${chalk.bold(idStr)}: ${msg}`;\n })\n .join('\\n');\n\n return `${chalk.green('completed building version history for the following component(s)')}:\\n${resultsStr}`;\n }\n}\n\nconst colorPerEdgeType = {\n unrelated: 'red',\n squashed: 'blue',\n};\n\nexport class VersionHistoryGraphCmd implements Command {\n name = 'graph <component-id>';\n alias = '';\n description = 'generate a graph of the version history of a component and save as an SVG file';\n options = [\n ['s', 'short-hash', 'show only 9 chars of the hash'],\n ['m', 'mark <string>', 'paint the given node-ids in the graph in red color, for multiple, separate by commas'],\n ['', 'png', 'save the graph as a png file instead of svg. requires \"graphviz\" to be installed'],\n [\n 'l',\n 'layout <name>',\n 'GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]',\n ],\n ['', 'limit <number>', 'limit the number of nodes in the graph (starting from the heads)'],\n ] as CommandOptions;\n group = 'info-analysis';\n commands: Command[] = [];\n\n constructor(private versionHistoryMain: VersionHistoryMain) {}\n\n async report(\n [id]: [string],\n {\n shortHash,\n mark,\n png,\n layout,\n limit,\n }: {\n shortHash?: boolean;\n mark?: string;\n png?: boolean;\n layout?: string;\n limit?: number;\n }\n ) {\n const graphHistory = await this.versionHistoryMain.generateGraph(id, shortHash, limit);\n const markIds = mark ? mark.split(',').map((node) => node.trim()) : undefined;\n const config: GraphConfig = { colorPerEdgeType };\n if (layout) config.layout = layout;\n const visualDependencyGraph = await VisualDependencyGraph.loadFromClearGraph(graphHistory, config, markIds);\n\n try {\n return await visualDependencyGraph.render(png ? 'png' : 'svg');\n } catch (err) {\n if (err instanceof RangeError) {\n throw new Error(\n 'failed to render the graph, the graph is too big. try to limit the number of nodes by using \"--limit\" flag'\n );\n }\n throw err;\n }\n }\n}\n\nexport type ShowOptions = { shortHash?: boolean };\n\nexport class VersionHistoryShowCmd implements Command {\n name = 'show <component-id>';\n alias = 'vh';\n description = 'show the version-history of a component';\n options = [\n ['s', 'short-hash', 'show only 9 chars of the hash'],\n ['j', 'json', 'json format'],\n ] as CommandOptions;\n group = 'info-analysis';\n commands: Command[] = [];\n\n constructor(private versionHistoryMain: VersionHistoryMain) {}\n\n async report([id]: [string], { shortHash }: ShowOptions) {\n const versionHistory = await this.versionHistoryMain.show(id, { shortHash });\n const output = versionHistory\n .map((item) => {\n const pointers = item.pointers.length ? ` (${chalk.cyan(item.pointers.join(', '))})` : '';\n const edges = item.edges.map((edge) => `${edge.hash} (${edge.type})`).join(', ');\n return `${chalk.bold(item.node)}${pointers} ${edges}`;\n })\n .join('\\n');\n return output;\n }\n\n async json([id]: [string]) {\n return catVersionHistory(id);\n }\n}\n"],"mappings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AA+B,CAAC,EACpD,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,CAAC,CAC7B;IAAAA,eAAA,gBACO,eAAe;IAAAA,eAAA,mBACD,EAAE;EAEqC;EAE7D,MAAMoB,MAAMA,CAAC,CAACgC,EAAE,CAAW,EAAE;IAAEC;EAAuB,CAAC,EAAE;IACvD,MAAMoB,cAAc,GAAG,MAAM,IAAI,CAAC/C,kBAAkB,CAACgD,IAAI,CAACtB,EAAE,EAAE;MAAEC;IAAU,CAAC,CAAC;IAC5E,MAAMsB,MAAM,GAAGF,cAAc,CAC1BrC,GAAG,CAAEwC,IAAI,IAAK;MACb,MAAMC,QAAQ,GAAGD,IAAI,CAACC,QAAQ,CAAClC,MAAM,GAAG,KAAKrB,gBAAK,CAACwD,IAAI,CAACF,IAAI,CAACC,QAAQ,CAAC/B,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE;MACzF,MAAMiC,KAAK,GAAGH,IAAI,CAACG,KAAK,CAAC3C,GAAG,CAAE4C,IAAI,IAAK,GAAGA,IAAI,CAACC,IAAI,KAAKD,IAAI,CAACE,IAAI,GAAG,CAAC,CAACpC,IAAI,CAAC,IAAI,CAAC;MAChF,OAAO,GAAGxB,gBAAK,CAACuB,IAAI,CAAC+B,IAAI,CAACd,IAAI,CAAC,GAAGe,QAAQ,IAAIE,KAAK,EAAE;IACvD,CAAC,CAAC,CACDjC,IAAI,CAAC,IAAI,CAAC;IACb,OAAO6B,MAAM;EACf;EAEA,MAAMQ,IAAIA,CAAC,CAAC/B,EAAE,CAAW,EAAE;IACzB,OAAO,IAAAgC,sCAAiB,EAAChC,EAAE,CAAC;EAC9B;AACF;AAAC5B,OAAA,CAAAgD,qBAAA,GAAAA,qBAAA","ignoreList":[]}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@teambit/version-history",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.416",
|
4
4
|
"homepage": "https://bit.cloud/teambit/scope/version-history",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"componentId": {
|
7
7
|
"scope": "teambit.scope",
|
8
8
|
"name": "version-history",
|
9
|
-
"version": "0.0.
|
9
|
+
"version": "0.0.416"
|
10
10
|
},
|
11
11
|
"dependencies": {
|
12
12
|
"chalk": "4.1.2",
|
@@ -14,16 +14,16 @@
|
|
14
14
|
"@teambit/harmony": "0.4.7",
|
15
15
|
"@teambit/bit-error": "0.0.404",
|
16
16
|
"@teambit/component-id": "1.2.4",
|
17
|
-
"@teambit/cli": "0.0.
|
17
|
+
"@teambit/cli": "0.0.1201",
|
18
18
|
"@teambit/legacy.scope": "0.0.50",
|
19
|
-
"@teambit/objects": "0.0.
|
19
|
+
"@teambit/objects": "0.0.131",
|
20
20
|
"@teambit/legacy.constants": "0.0.11",
|
21
21
|
"@teambit/legacy.dependency-graph": "0.0.53",
|
22
22
|
"@teambit/legacy.consumer": "0.0.50",
|
23
23
|
"@teambit/legacy.scope-api": "0.0.105",
|
24
|
-
"@teambit/logger": "0.0.
|
24
|
+
"@teambit/logger": "0.0.1294",
|
25
25
|
"@teambit/scope.remotes": "0.0.50",
|
26
|
-
"@teambit/scope": "1.0.
|
26
|
+
"@teambit/scope": "1.0.624"
|
27
27
|
},
|
28
28
|
"devDependencies": {
|
29
29
|
"@types/lodash": "4.14.165",
|
File without changes
|