@teambit/cli 0.0.822 → 0.0.824
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/esm.d.mts +3 -0
- package/dist/esm.mjs +6 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -50
- package/dist/index.js.map +1 -1
- package/dist/{preview-1700709510910.js → preview-1701228028835.js} +2 -2
- package/esm.mjs +6 -0
- package/package.json +11 -4
package/dist/esm.d.mts
ADDED
package/dist/esm.mjs
ADDED
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CLIAspect, MainRuntime } from './cli.aspect';
|
|
2
2
|
export type { CLIMain, CommandList, CommandsSlot } from './cli.main.runtime';
|
|
3
|
-
export { Command, CLIArgs, Flags, GenericObject } from '@teambit/legacy/dist/cli/command';
|
|
4
|
-
export { CommandOptions } from '@teambit/legacy/dist/cli/legacy-command';
|
|
3
|
+
export type { Command, CLIArgs, Flags, GenericObject } from '@teambit/legacy/dist/cli/command';
|
|
4
|
+
export type { CommandOptions } from '@teambit/legacy/dist/cli/legacy-command';
|
|
5
5
|
export * from './exceptions';
|
|
6
6
|
export { CLIAspect as default, MainRuntime, CLIAspect };
|
package/dist/index.js
CHANGED
|
@@ -5,49 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
var _exportNames = {
|
|
7
7
|
CLIAspect: true,
|
|
8
|
-
MainRuntime: true
|
|
9
|
-
Command: true,
|
|
10
|
-
CLIArgs: true,
|
|
11
|
-
Flags: true,
|
|
12
|
-
GenericObject: true,
|
|
13
|
-
CommandOptions: true
|
|
8
|
+
MainRuntime: true
|
|
14
9
|
};
|
|
15
|
-
Object.defineProperty(exports, "CLIArgs", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () {
|
|
18
|
-
return _command().CLIArgs;
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
10
|
Object.defineProperty(exports, "CLIAspect", {
|
|
22
11
|
enumerable: true,
|
|
23
12
|
get: function () {
|
|
24
13
|
return _cli().CLIAspect;
|
|
25
14
|
}
|
|
26
15
|
});
|
|
27
|
-
Object.defineProperty(exports, "Command", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () {
|
|
30
|
-
return _command().Command;
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
Object.defineProperty(exports, "CommandOptions", {
|
|
34
|
-
enumerable: true,
|
|
35
|
-
get: function () {
|
|
36
|
-
return _legacyCommand().CommandOptions;
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
Object.defineProperty(exports, "Flags", {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
get: function () {
|
|
42
|
-
return _command().Flags;
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
Object.defineProperty(exports, "GenericObject", {
|
|
46
|
-
enumerable: true,
|
|
47
|
-
get: function () {
|
|
48
|
-
return _command().GenericObject;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
16
|
Object.defineProperty(exports, "MainRuntime", {
|
|
52
17
|
enumerable: true,
|
|
53
18
|
get: function () {
|
|
@@ -67,20 +32,6 @@ function _cli() {
|
|
|
67
32
|
};
|
|
68
33
|
return data;
|
|
69
34
|
}
|
|
70
|
-
function _command() {
|
|
71
|
-
const data = require("@teambit/legacy/dist/cli/command");
|
|
72
|
-
_command = function () {
|
|
73
|
-
return data;
|
|
74
|
-
};
|
|
75
|
-
return data;
|
|
76
|
-
}
|
|
77
|
-
function _legacyCommand() {
|
|
78
|
-
const data = require("@teambit/legacy/dist/cli/legacy-command");
|
|
79
|
-
_legacyCommand = function () {
|
|
80
|
-
return data;
|
|
81
|
-
};
|
|
82
|
-
return data;
|
|
83
|
-
}
|
|
84
35
|
var _exceptions = require("./exceptions");
|
|
85
36
|
Object.keys(_exceptions).forEach(function (key) {
|
|
86
37
|
if (key === "default" || key === "__esModule") return;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_cli","data","require","
|
|
1
|
+
{"version":3,"names":["_cli","data","require","_exceptions","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get"],"sources":["index.ts"],"sourcesContent":["import { CLIAspect, MainRuntime } from './cli.aspect';\n\nexport type { CLIMain, CommandList, CommandsSlot } from './cli.main.runtime';\nexport type { Command, CLIArgs, Flags, GenericObject } from '@teambit/legacy/dist/cli/command';\nexport type { CommandOptions } from '@teambit/legacy/dist/cli/legacy-command';\nexport * from './exceptions';\n\nexport { CLIAspect as default, MainRuntime, CLIAspect };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAAA,KAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,IAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAKA,IAAAE,WAAA,GAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,WAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,WAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,WAAA,CAAAI,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.824/dist/cli.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.824/dist/cli.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
package/esm.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.824",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/cli",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "cli",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.824"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@babel/runtime": "7.20.0",
|
|
21
21
|
"@teambit/harmony": "0.4.6",
|
|
22
22
|
"@teambit/bit-error": "0.0.404",
|
|
23
|
-
"@teambit/logger": "0.0.
|
|
23
|
+
"@teambit/logger": "0.0.917"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/didyoumean": "1.2.0",
|
|
@@ -34,11 +34,18 @@
|
|
|
34
34
|
"@types/testing-library__jest-dom": "5.9.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@teambit/legacy": "1.0.
|
|
37
|
+
"@teambit/legacy": "1.0.607",
|
|
38
38
|
"react": "^16.8.0 || ^17.0.0",
|
|
39
39
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
40
40
|
},
|
|
41
41
|
"license": "Apache-2.0",
|
|
42
|
+
"exports": {
|
|
43
|
+
"node": {
|
|
44
|
+
"require": "./dist/index.js",
|
|
45
|
+
"import": "./dist/esm.mjs"
|
|
46
|
+
},
|
|
47
|
+
"default": "./dist/index.js"
|
|
48
|
+
},
|
|
42
49
|
"private": false,
|
|
43
50
|
"engines": {
|
|
44
51
|
"node": ">=12.22.0"
|