@teambit/component-compare 0.0.380 → 0.0.382
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/diff-cmd.js
CHANGED
|
@@ -33,15 +33,15 @@ class DiffCmd {
|
|
|
33
33
|
this.componentCompareMain = componentCompareMain;
|
|
34
34
|
(0, _defineProperty2().default)(this, "name", 'diff [values...]');
|
|
35
35
|
(0, _defineProperty2().default)(this, "group", 'development');
|
|
36
|
-
(0, _defineProperty2().default)(this, "description", "show the diff between the components' source files and config");
|
|
36
|
+
(0, _defineProperty2().default)(this, "description", "show the diff between the components' current source files and config, and their latest snapshot or tag");
|
|
37
37
|
(0, _defineProperty2().default)(this, "helpUrl", 'docs/components/merging-changes#compare-component-snaps');
|
|
38
38
|
(0, _defineProperty2().default)(this, "extendedDescription", `bit diff => compare all modified components to their model version
|
|
39
39
|
bit diff [ids...] => compare the specified components against their modified states
|
|
40
|
-
bit diff [id] [version] => compare the specified version
|
|
41
|
-
bit diff [id] [version] [to_version] => compare the specified version
|
|
40
|
+
bit diff [id] [version] => compare component's current files and configs to the specified version of the component
|
|
41
|
+
bit diff [id] [version] [to_version] => compare component's files and configs between the specified version and the to_version provided
|
|
42
42
|
${(0, _constants().WILDCARD_HELP)('diff')}`);
|
|
43
43
|
(0, _defineProperty2().default)(this, "alias", '');
|
|
44
|
-
(0, _defineProperty2().default)(this, "options", [['v', 'verbose', 'show a more verbose output
|
|
44
|
+
(0, _defineProperty2().default)(this, "options", [['v', 'verbose', 'show a more verbose output where possible'], ['t', 'table', 'show tables instead of plain text for dependencies diff']]);
|
|
45
45
|
(0, _defineProperty2().default)(this, "loader", true);
|
|
46
46
|
}
|
|
47
47
|
async report([values = []], {
|
package/dist/diff-cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_constants","data","require","_componentsDiff","DiffCmd","constructor","componentCompareMain","_defineProperty2","default","WILDCARD_HELP","report","values","verbose","table","diffResults","diffByCLIValues","outputDiffResults","exports"],"sources":["diff-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { WILDCARD_HELP } from '@teambit/legacy/dist/constants';\nimport { DiffResults, outputDiffResults } from '@teambit/legacy/dist/consumer/component-ops/components-diff';\nimport { ComponentCompareMain } from './component-compare.main.runtime';\n\nexport class DiffCmd implements Command {\n name = 'diff [values...]';\n group = 'development';\n description
|
|
1
|
+
{"version":3,"names":["_constants","data","require","_componentsDiff","DiffCmd","constructor","componentCompareMain","_defineProperty2","default","WILDCARD_HELP","report","values","verbose","table","diffResults","diffByCLIValues","outputDiffResults","exports"],"sources":["diff-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { WILDCARD_HELP } from '@teambit/legacy/dist/constants';\nimport { DiffResults, outputDiffResults } from '@teambit/legacy/dist/consumer/component-ops/components-diff';\nimport { ComponentCompareMain } from './component-compare.main.runtime';\n\nexport class DiffCmd implements Command {\n name = 'diff [values...]';\n group = 'development';\n description =\n \"show the diff between the components' current source files and config, and their latest snapshot or tag\";\n helpUrl = 'docs/components/merging-changes#compare-component-snaps';\n extendedDescription = `bit diff => compare all modified components to their model version\nbit diff [ids...] => compare the specified components against their modified states\nbit diff [id] [version] => compare component's current files and configs to the specified version of the component\nbit diff [id] [version] [to_version] => compare component's files and configs between the specified version and the to_version provided\n${WILDCARD_HELP('diff')}`;\n alias = '';\n options = [\n ['v', 'verbose', 'show a more verbose output where possible'],\n ['t', 'table', 'show tables instead of plain text for dependencies diff'],\n ] as CommandOptions;\n loader = true;\n\n constructor(private componentCompareMain: ComponentCompareMain) {}\n\n async report([values = []]: [string[]], { verbose = false, table = false }: { verbose?: boolean; table: boolean }) {\n const diffResults: DiffResults[] = await this.componentCompareMain.diffByCLIValues(values, verbose, table);\n return outputDiffResults(diffResults);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AACA,SAAAA,WAAA;EAAA,MAAAC,IAAA,GAAAC,OAA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1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@0.0.382/dist/component-compare.compositions.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component-compare@0.0.382/dist/component-compare.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/component-compare",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.382",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/component/component-compare",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.component",
|
|
8
8
|
"name": "component-compare",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.382"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"graphql-tag": "2.12.1",
|
|
@@ -16,21 +16,21 @@
|
|
|
16
16
|
"@teambit/harmony": "0.4.6",
|
|
17
17
|
"@teambit/legacy-bit-id": "1.0.0",
|
|
18
18
|
"@teambit/component.ui.component-compare.models.component-compare-change-type": "0.0.2",
|
|
19
|
-
"@teambit/component.ui.component-compare.models.component-compare-props": "0.0.
|
|
20
|
-
"@teambit/component": "0.0.
|
|
19
|
+
"@teambit/component.ui.component-compare.models.component-compare-props": "0.0.68",
|
|
20
|
+
"@teambit/component": "0.0.1134",
|
|
21
21
|
"@teambit/ui-foundation.ui.menu-widget-icon": "0.0.497",
|
|
22
22
|
"@teambit/bit-error": "0.0.402",
|
|
23
|
-
"@teambit/cli": "0.0.
|
|
24
|
-
"@teambit/graphql": "0.0.
|
|
25
|
-
"@teambit/logger": "0.0.
|
|
26
|
-
"@teambit/scope": "0.0.
|
|
27
|
-
"@teambit/tester": "0.0.
|
|
28
|
-
"@teambit/workspace": "0.0.
|
|
29
|
-
"@teambit/component.ui.component-compare.changelog": "0.0.
|
|
30
|
-
"@teambit/component.ui.component-compare.compare-aspects.compare-aspects": "0.0.
|
|
31
|
-
"@teambit/component.ui.component-compare.component-compare": "0.0.
|
|
23
|
+
"@teambit/cli": "0.0.760",
|
|
24
|
+
"@teambit/graphql": "0.0.1134",
|
|
25
|
+
"@teambit/logger": "0.0.853",
|
|
26
|
+
"@teambit/scope": "0.0.1134",
|
|
27
|
+
"@teambit/tester": "0.0.1134",
|
|
28
|
+
"@teambit/workspace": "0.0.1134",
|
|
29
|
+
"@teambit/component.ui.component-compare.changelog": "0.0.137",
|
|
30
|
+
"@teambit/component.ui.component-compare.compare-aspects.compare-aspects": "0.0.111",
|
|
31
|
+
"@teambit/component.ui.component-compare.component-compare": "0.0.136",
|
|
32
32
|
"@teambit/ui-foundation.ui.react-router.slot-router": "0.0.501",
|
|
33
|
-
"@teambit/ui": "0.0.
|
|
33
|
+
"@teambit/ui": "0.0.1134"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/react": "^17.0.8",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react-router-dom": "^6.0.0",
|
|
46
|
-
"@teambit/legacy": "1.0.
|
|
46
|
+
"@teambit/legacy": "1.0.544",
|
|
47
47
|
"react": "^16.8.0 || ^17.0.0",
|
|
48
48
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
49
49
|
},
|
|
Binary file
|