@teambit/cli 0.0.987 → 0.0.989
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.
|
@@ -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.harmony/cli@0.0.
|
|
3
|
+
<testsuite name="teambit.harmony/cli@0.0.989" 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.harmony/cli-preview"]=t():e["teambit.harmony/cli-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.harmony/cli-preview"]=t():e["teambit.harmony/cli-preview"]=t()}(self,(()=>(()=>{"use strict";var e={15557:(e,t,o)=>{var n={id:"teambit.harmony/cli@0.0.989",homepage:"https://bit.cloud/teambit/harmony/cli",exported:!0};function r(){const e=a(o(41594));return r=function(){return e},e}function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,r.__bit_component=n,a.__bit_component=n;const i=()=>r().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},r().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/extensions-icons/cli.svg"}));i.__bit_component=n,t.Logo=i},41594:e=>{e.exports=React}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,o),a.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},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 n={};o.r(n),o.d(n,{compositions:()=>u,compositions_metadata:()=>y,overview:()=>f});var r={};o.r(r),o.d(r,{default:()=>p});var a=o(15557);o(41594);const i=MdxJsReact,s=TeambitMdxUiMdxScopeContext;var c=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)({}).hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e},l.apply(null,arguments)}var d={},m="wrapper";function p(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;o[n]=e[n]}return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)o=a[n],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(e,c);return(0,i.mdx)(m,l({},d,o,{components:t,mdxType:"MDXLayout"}),(0,i.mdx)(s.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"},(0,i.mdx)("p",null,"CLI Aspect manages the commands in the CLI. New commands are registered to this aspect with the necessary data such as, command-name, description and flags. Parsing the args from the CLI is done by Commander package."),(0,i.mdx)("h2",null,"Features"),(0,i.mdx)("ul",null,(0,i.mdx)("li",{parentName:"ul"},"Allow to register new commands"),(0,i.mdx)("li",{parentName:"ul"},"Use commander commands."),(0,i.mdx)("li",{parentName:"ul"},"Render to stdout as string or as a React component by Ink."))))}p.isMDXComponent=!0;const u=[a],f=[r],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return n})()));
|
package/artifacts/schema.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"line": 2,
|
|
21
21
|
"character": 10
|
|
22
22
|
},
|
|
23
|
+
"signature": "class CLIParser",
|
|
23
24
|
"name": "CLIParser",
|
|
24
25
|
"exportNode": {
|
|
25
26
|
"__schema": "ClassSchema",
|
|
@@ -210,6 +211,7 @@
|
|
|
210
211
|
"line": 3,
|
|
211
212
|
"character": 15
|
|
212
213
|
},
|
|
214
|
+
"signature": "class CLIMain",
|
|
213
215
|
"name": "CLIMain",
|
|
214
216
|
"exportNode": {
|
|
215
217
|
"__schema": "ClassSchema",
|
|
@@ -1137,6 +1139,7 @@
|
|
|
1137
1139
|
"line": 3,
|
|
1138
1140
|
"character": 24
|
|
1139
1141
|
},
|
|
1142
|
+
"signature": "type CommandList = Command[]",
|
|
1140
1143
|
"name": "CommandList",
|
|
1141
1144
|
"exportNode": {
|
|
1142
1145
|
"__schema": "TypeSchema",
|
|
@@ -1176,6 +1179,7 @@
|
|
|
1176
1179
|
"line": 3,
|
|
1177
1180
|
"character": 37
|
|
1178
1181
|
},
|
|
1182
|
+
"signature": "type CommandsSlot = SlotRegistry<CommandList>",
|
|
1179
1183
|
"name": "CommandsSlot",
|
|
1180
1184
|
"exportNode": {
|
|
1181
1185
|
"__schema": "TypeSchema",
|
|
@@ -1215,6 +1219,7 @@
|
|
|
1215
1219
|
"line": 4,
|
|
1216
1220
|
"character": 10
|
|
1217
1221
|
},
|
|
1222
|
+
"signature": "function handleUnhandledRejection(err: Error | null | undefined | {}): Promise<void>",
|
|
1218
1223
|
"name": "handleUnhandledRejection",
|
|
1219
1224
|
"exportNode": {
|
|
1220
1225
|
"__schema": "FunctionLikeSchema",
|
|
@@ -1306,6 +1311,7 @@
|
|
|
1306
1311
|
"line": 4,
|
|
1307
1312
|
"character": 36
|
|
1308
1313
|
},
|
|
1314
|
+
"signature": "function handleErrorAndExit(err: Error, commandName: string): Promise<void>",
|
|
1309
1315
|
"name": "handleErrorAndExit",
|
|
1310
1316
|
"exportNode": {
|
|
1311
1317
|
"__schema": "FunctionLikeSchema",
|
|
@@ -1391,6 +1397,7 @@
|
|
|
1391
1397
|
"line": 4,
|
|
1392
1398
|
"character": 56
|
|
1393
1399
|
},
|
|
1400
|
+
"signature": "function setExitOnUnhandledRejection(exit: boolean): void",
|
|
1394
1401
|
"name": "setExitOnUnhandledRejection",
|
|
1395
1402
|
"exportNode": {
|
|
1396
1403
|
"__schema": "FunctionLikeSchema",
|
|
@@ -1444,6 +1451,7 @@
|
|
|
1444
1451
|
"line": 5,
|
|
1445
1452
|
"character": 15
|
|
1446
1453
|
},
|
|
1454
|
+
"signature": "export { Command };\n\nCommand",
|
|
1447
1455
|
"name": "Command",
|
|
1448
1456
|
"exportNode": {
|
|
1449
1457
|
"__schema": "TypeRefSchema",
|
|
@@ -1463,6 +1471,7 @@
|
|
|
1463
1471
|
"line": 5,
|
|
1464
1472
|
"character": 24
|
|
1465
1473
|
},
|
|
1474
|
+
"signature": "export { CLIArgs };\n\nCLIArgs",
|
|
1466
1475
|
"name": "CLIArgs",
|
|
1467
1476
|
"exportNode": {
|
|
1468
1477
|
"__schema": "TypeRefSchema",
|
|
@@ -1482,6 +1491,7 @@
|
|
|
1482
1491
|
"line": 5,
|
|
1483
1492
|
"character": 33
|
|
1484
1493
|
},
|
|
1494
|
+
"signature": "export { Flags };\n\nFlags",
|
|
1485
1495
|
"name": "Flags",
|
|
1486
1496
|
"exportNode": {
|
|
1487
1497
|
"__schema": "TypeRefSchema",
|
|
@@ -1501,6 +1511,7 @@
|
|
|
1501
1511
|
"line": 5,
|
|
1502
1512
|
"character": 40
|
|
1503
1513
|
},
|
|
1514
|
+
"signature": "export { GenericObject };\n\nGenericObject",
|
|
1504
1515
|
"name": "GenericObject",
|
|
1505
1516
|
"exportNode": {
|
|
1506
1517
|
"__schema": "TypeRefSchema",
|
|
@@ -1520,6 +1531,7 @@
|
|
|
1520
1531
|
"line": 5,
|
|
1521
1532
|
"character": 55
|
|
1522
1533
|
},
|
|
1534
|
+
"signature": "export { CommandOptions };\n\nCommandOptions",
|
|
1523
1535
|
"name": "CommandOptions",
|
|
1524
1536
|
"exportNode": {
|
|
1525
1537
|
"__schema": "TypeRefSchema",
|
|
@@ -1539,6 +1551,7 @@
|
|
|
1539
1551
|
"line": 1,
|
|
1540
1552
|
"character": 10
|
|
1541
1553
|
},
|
|
1554
|
+
"signature": "class AlreadyExistsError",
|
|
1542
1555
|
"name": "AlreadyExistsError",
|
|
1543
1556
|
"exportNode": {
|
|
1544
1557
|
"__schema": "ClassSchema",
|
|
@@ -1635,7 +1648,7 @@
|
|
|
1635
1648
|
"_legacy": {
|
|
1636
1649
|
"scope": "teambit.harmony",
|
|
1637
1650
|
"name": "cli",
|
|
1638
|
-
"version": "0.0.
|
|
1651
|
+
"version": "0.0.989"
|
|
1639
1652
|
},
|
|
1640
1653
|
"_scope": "teambit.harmony"
|
|
1641
1654
|
}
|
|
@@ -1652,6 +1665,7 @@
|
|
|
1652
1665
|
"line": 2,
|
|
1653
1666
|
"character": 10
|
|
1654
1667
|
},
|
|
1668
|
+
"signature": "class YargsExitWorkaround",
|
|
1655
1669
|
"name": "YargsExitWorkaround",
|
|
1656
1670
|
"exportNode": {
|
|
1657
1671
|
"__schema": "ClassSchema",
|
|
@@ -1748,7 +1762,7 @@
|
|
|
1748
1762
|
"_legacy": {
|
|
1749
1763
|
"scope": "teambit.harmony",
|
|
1750
1764
|
"name": "cli",
|
|
1751
|
-
"version": "0.0.
|
|
1765
|
+
"version": "0.0.989"
|
|
1752
1766
|
},
|
|
1753
1767
|
"_scope": "teambit.harmony"
|
|
1754
1768
|
}
|
|
@@ -1765,6 +1779,7 @@
|
|
|
1765
1779
|
"line": 8,
|
|
1766
1780
|
"character": 23
|
|
1767
1781
|
},
|
|
1782
|
+
"signature": "const CLIAspect: Aspect",
|
|
1768
1783
|
"name": "CLIAspect",
|
|
1769
1784
|
"exportNode": {
|
|
1770
1785
|
"__schema": "VariableLikeSchema",
|
|
@@ -1801,6 +1816,7 @@
|
|
|
1801
1816
|
"line": 8,
|
|
1802
1817
|
"character": 32
|
|
1803
1818
|
},
|
|
1819
|
+
"signature": "const MainRuntime: RuntimeDefinition",
|
|
1804
1820
|
"name": "MainRuntime",
|
|
1805
1821
|
"exportNode": {
|
|
1806
1822
|
"__schema": "VariableLikeSchema",
|
|
@@ -1836,6 +1852,7 @@
|
|
|
1836
1852
|
"line": 8,
|
|
1837
1853
|
"character": 45
|
|
1838
1854
|
},
|
|
1855
|
+
"signature": "const CLIAspect: Aspect",
|
|
1839
1856
|
"name": "CLIAspect",
|
|
1840
1857
|
"exportNode": {
|
|
1841
1858
|
"__schema": "VariableLikeSchema",
|
|
@@ -3623,7 +3640,7 @@
|
|
|
3623
3640
|
"componentId": {
|
|
3624
3641
|
"scope": "teambit.harmony",
|
|
3625
3642
|
"name": "cli",
|
|
3626
|
-
"version": "0.0.
|
|
3643
|
+
"version": "0.0.989"
|
|
3627
3644
|
},
|
|
3628
3645
|
"taggedModuleExports": []
|
|
3629
3646
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.989/dist/cli.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.989/dist/cli.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/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.989",
|
|
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.989"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -18,17 +18,16 @@
|
|
|
18
18
|
"@teambit/harmony": "0.4.6",
|
|
19
19
|
"@teambit/bit-error": "0.0.404",
|
|
20
20
|
"@teambit/bit.get-bit-version": "0.0.1",
|
|
21
|
-
"@teambit/host-initializer": "0.0.
|
|
22
|
-
"@teambit/logger": "0.0.
|
|
23
|
-
"@teambit/legacy.analytics": "0.0.
|
|
21
|
+
"@teambit/host-initializer": "0.0.125",
|
|
22
|
+
"@teambit/logger": "0.0.1082",
|
|
23
|
+
"@teambit/legacy.analytics": "0.0.36"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/didyoumean": "1.2.0",
|
|
27
27
|
"@types/lodash": "4.14.165",
|
|
28
28
|
"@types/yargs": "17.0.0",
|
|
29
29
|
"@types/mocha": "9.1.0",
|
|
30
|
-
"
|
|
31
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.47"
|
|
30
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.59"
|
|
32
31
|
},
|
|
33
32
|
"peerDependencies": {
|
|
34
33
|
"react": "^17.0.0 || ^18.0.0",
|