@teambit/cli 0.0.988 → 0.0.990

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.988" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/cli@0.0.990" 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={55432:(e,t,o)=>{var n={id:"teambit.harmony/cli@0.0.988",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(55432);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})()));
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={42347:(e,t,o)=>{var n={id:"teambit.harmony/cli@0.0.990",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(42347);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})()));
@@ -1454,13 +1454,14 @@
1454
1454
  "signature": "export { Command };\n\nCommand",
1455
1455
  "name": "Command",
1456
1456
  "exportNode": {
1457
- "__schema": "UnresolvedSchema",
1457
+ "__schema": "TypeRefSchema",
1458
1458
  "location": {
1459
1459
  "filePath": "index.ts",
1460
1460
  "line": 5,
1461
1461
  "character": 15
1462
1462
  },
1463
- "name": "Command"
1463
+ "name": "Command",
1464
+ "packageName": "@teambit/legacy/dist/cli/command"
1464
1465
  }
1465
1466
  },
1466
1467
  {
@@ -1473,13 +1474,14 @@
1473
1474
  "signature": "export { CLIArgs };\n\nCLIArgs",
1474
1475
  "name": "CLIArgs",
1475
1476
  "exportNode": {
1476
- "__schema": "UnresolvedSchema",
1477
+ "__schema": "TypeRefSchema",
1477
1478
  "location": {
1478
1479
  "filePath": "index.ts",
1479
1480
  "line": 5,
1480
1481
  "character": 24
1481
1482
  },
1482
- "name": "CLIArgs"
1483
+ "name": "CLIArgs",
1484
+ "packageName": "@teambit/legacy/dist/cli/command"
1483
1485
  }
1484
1486
  },
1485
1487
  {
@@ -1492,13 +1494,14 @@
1492
1494
  "signature": "export { Flags };\n\nFlags",
1493
1495
  "name": "Flags",
1494
1496
  "exportNode": {
1495
- "__schema": "UnresolvedSchema",
1497
+ "__schema": "TypeRefSchema",
1496
1498
  "location": {
1497
1499
  "filePath": "index.ts",
1498
1500
  "line": 5,
1499
1501
  "character": 33
1500
1502
  },
1501
- "name": "Flags"
1503
+ "name": "Flags",
1504
+ "packageName": "@teambit/legacy/dist/cli/command"
1502
1505
  }
1503
1506
  },
1504
1507
  {
@@ -1511,13 +1514,14 @@
1511
1514
  "signature": "export { GenericObject };\n\nGenericObject",
1512
1515
  "name": "GenericObject",
1513
1516
  "exportNode": {
1514
- "__schema": "UnresolvedSchema",
1517
+ "__schema": "TypeRefSchema",
1515
1518
  "location": {
1516
1519
  "filePath": "index.ts",
1517
1520
  "line": 5,
1518
1521
  "character": 40
1519
1522
  },
1520
- "name": "GenericObject"
1523
+ "name": "GenericObject",
1524
+ "packageName": "@teambit/legacy/dist/cli/command"
1521
1525
  }
1522
1526
  },
1523
1527
  {
@@ -1530,13 +1534,14 @@
1530
1534
  "signature": "export { CommandOptions };\n\nCommandOptions",
1531
1535
  "name": "CommandOptions",
1532
1536
  "exportNode": {
1533
- "__schema": "UnresolvedSchema",
1537
+ "__schema": "TypeRefSchema",
1534
1538
  "location": {
1535
1539
  "filePath": "index.ts",
1536
1540
  "line": 5,
1537
1541
  "character": 55
1538
1542
  },
1539
- "name": "CommandOptions"
1543
+ "name": "CommandOptions",
1544
+ "packageName": "@teambit/legacy/dist/cli/command"
1540
1545
  }
1541
1546
  },
1542
1547
  {
@@ -1643,7 +1648,7 @@
1643
1648
  "_legacy": {
1644
1649
  "scope": "teambit.harmony",
1645
1650
  "name": "cli",
1646
- "version": "0.0.988"
1651
+ "version": "0.0.990"
1647
1652
  },
1648
1653
  "_scope": "teambit.harmony"
1649
1654
  }
@@ -1757,7 +1762,7 @@
1757
1762
  "_legacy": {
1758
1763
  "scope": "teambit.harmony",
1759
1764
  "name": "cli",
1760
- "version": "0.0.988"
1765
+ "version": "0.0.990"
1761
1766
  },
1762
1767
  "_scope": "teambit.harmony"
1763
1768
  }
@@ -3635,7 +3640,7 @@
3635
3640
  "componentId": {
3636
3641
  "scope": "teambit.harmony",
3637
3642
  "name": "cli",
3638
- "version": "0.0.988"
3643
+ "version": "0.0.990"
3639
3644
  },
3640
3645
  "taggedModuleExports": []
3641
3646
  }
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.988/dist/cli.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.988/dist/cli.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.990/dist/cli.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_cli@0.0.990/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.988",
3
+ "version": "0.0.990",
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.988"
9
+ "version": "0.0.990"
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.124",
22
- "@teambit/logger": "0.0.1081",
23
- "@teambit/legacy.analytics": "0.0.36"
21
+ "@teambit/host-initializer": "0.0.126",
22
+ "@teambit/logger": "0.0.1083",
23
+ "@teambit/legacy.analytics": "0.0.37"
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
- "chai": "4.3.0",
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",