@teambit/status 0.0.403 → 0.0.405

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.
@@ -32,7 +32,7 @@ class MiniStatusCmd {
32
32
  constructor(status) {
33
33
  this.status = status;
34
34
  (0, _defineProperty2().default)(this, "name", 'mini-status [component-pattern]');
35
- (0, _defineProperty2().default)(this, "description", 'basic status for fast execution');
35
+ (0, _defineProperty2().default)(this, "description", 'EXPERIMENTAL. basic status for fast execution');
36
36
  (0, _defineProperty2().default)(this, "extendedDescription", `shows only modified/new components. for the full status, use "bit status".
37
37
  the modified are components that their source code have changed, it doesn't check for config/aspect changes`);
38
38
  (0, _defineProperty2().default)(this, "arguments", [{
@@ -1 +1 @@
1
- {"version":3,"names":["MiniStatusCmd","constructor","status","name","description","COMPONENT_PATTERN_HELP","report","pattern","modified","newComps","statusMini","outputSection","title","ids","titleStr","chalk","bold","idsStr","length","map","id","toStringWithoutVersion","join","modifiedOutput","newOutput"],"sources":["mini-status-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy/dist/constants';\nimport { ComponentID } from '@teambit/component-id';\nimport chalk from 'chalk';\nimport { StatusMain } from './status.main.runtime';\n\nexport default class MiniStatusCmd implements Command {\n name = 'mini-status [component-pattern]';\n description = 'basic status for fast execution';\n extendedDescription = `shows only modified/new components. for the full status, use \"bit status\".\nthe modified are components that their source code have changed, it doesn't check for config/aspect changes`;\n arguments = [\n {\n name: 'component-pattern',\n description: COMPONENT_PATTERN_HELP,\n },\n ];\n group = 'development';\n alias = 'ms';\n options = [] as CommandOptions;\n loader = true;\n\n constructor(private status: StatusMain) {}\n\n async report([pattern]: [string]) {\n const { modified, newComps } = await this.status.statusMini(pattern);\n const outputSection = (title: string, ids: ComponentID[]) => {\n const titleStr = chalk.bold(title);\n const idsStr = ids.length ? ids.map((id) => id.toStringWithoutVersion()).join('\\n') : '<none>';\n return `${titleStr}:\\n${idsStr}`;\n };\n const modifiedOutput = outputSection('modified components (files only)', modified);\n const newOutput = outputSection('new components', newComps);\n return `${modifiedOutput}\\n\\n${newOutput}`;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGe,MAAMA,aAAa,CAAoB;EAgBpDC,WAAW,CAASC,MAAkB,EAAE;IAAA,KAApBA,MAAkB,GAAlBA,MAAkB;IAAA,8CAf/B,iCAAiC;IAAA,qDAC1B,iCAAiC;IAAA,6DACxB;AACzB,4GAA4G;IAAA,mDAC9F,CACV;MACEC,IAAI,EAAE,mBAAmB;MACzBC,WAAW,EAAEC;IACf,CAAC,CACF;IAAA,+CACO,aAAa;IAAA,+CACb,IAAI;IAAA,iDACF,EAAE;IAAA,gDACH,IAAI;EAE4B;EAEzC,MAAMC,MAAM,CAAC,CAACC,OAAO,CAAW,EAAE;IAChC,MAAM;MAAEC,QAAQ;MAAEC;IAAS,CAAC,GAAG,MAAM,IAAI,CAACP,MAAM,CAACQ,UAAU,CAACH,OAAO,CAAC;IACpE,MAAMI,aAAa,GAAG,CAACC,KAAa,EAAEC,GAAkB,KAAK;MAC3D,MAAMC,QAAQ,GAAGC,gBAAK,CAACC,IAAI,CAACJ,KAAK,CAAC;MAClC,MAAMK,MAAM,GAAGJ,GAAG,CAACK,MAAM,GAAGL,GAAG,CAACM,GAAG,CAAEC,EAAE,IAAKA,EAAE,CAACC,sBAAsB,EAAE,CAAC,CAACC,IAAI,CAAC,IAAI,CAAC,GAAG,QAAQ;MAC9F,OAAQ,GAAER,QAAS,MAAKG,MAAO,EAAC;IAClC,CAAC;IACD,MAAMM,cAAc,GAAGZ,aAAa,CAAC,kCAAkC,EAAEH,QAAQ,CAAC;IAClF,MAAMgB,SAAS,GAAGb,aAAa,CAAC,gBAAgB,EAAEF,QAAQ,CAAC;IAC3D,OAAQ,GAAEc,cAAe,OAAMC,SAAU,EAAC;EAC5C;AACF;AAAC"}
1
+ {"version":3,"names":["MiniStatusCmd","constructor","status","name","description","COMPONENT_PATTERN_HELP","report","pattern","modified","newComps","statusMini","outputSection","title","ids","titleStr","chalk","bold","idsStr","length","map","id","toStringWithoutVersion","join","modifiedOutput","newOutput"],"sources":["mini-status-cmd.ts"],"sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\nimport { COMPONENT_PATTERN_HELP } from '@teambit/legacy/dist/constants';\nimport { ComponentID } from '@teambit/component-id';\nimport chalk from 'chalk';\nimport { StatusMain } from './status.main.runtime';\n\nexport default class MiniStatusCmd implements Command {\n name = 'mini-status [component-pattern]';\n description = 'EXPERIMENTAL. basic status for fast execution';\n extendedDescription = `shows only modified/new components. for the full status, use \"bit status\".\nthe modified are components that their source code have changed, it doesn't check for config/aspect changes`;\n arguments = [\n {\n name: 'component-pattern',\n description: COMPONENT_PATTERN_HELP,\n },\n ];\n group = 'development';\n alias = 'ms';\n options = [] as CommandOptions;\n loader = true;\n\n constructor(private status: StatusMain) {}\n\n async report([pattern]: [string]) {\n const { modified, newComps } = await this.status.statusMini(pattern);\n const outputSection = (title: string, ids: ComponentID[]) => {\n const titleStr = chalk.bold(title);\n const idsStr = ids.length ? ids.map((id) => id.toStringWithoutVersion()).join('\\n') : '<none>';\n return `${titleStr}:\\n${idsStr}`;\n };\n const modifiedOutput = outputSection('modified components (files only)', modified);\n const newOutput = outputSection('new components', newComps);\n return `${modifiedOutput}\\n\\n${newOutput}`;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAGe,MAAMA,aAAa,CAAoB;EAgBpDC,WAAW,CAASC,MAAkB,EAAE;IAAA,KAApBA,MAAkB,GAAlBA,MAAkB;IAAA,8CAf/B,iCAAiC;IAAA,qDAC1B,+CAA+C;IAAA,6DACtC;AACzB,4GAA4G;IAAA,mDAC9F,CACV;MACEC,IAAI,EAAE,mBAAmB;MACzBC,WAAW,EAAEC;IACf,CAAC,CACF;IAAA,+CACO,aAAa;IAAA,+CACb,IAAI;IAAA,iDACF,EAAE;IAAA,gDACH,IAAI;EAE4B;EAEzC,MAAMC,MAAM,CAAC,CAACC,OAAO,CAAW,EAAE;IAChC,MAAM;MAAEC,QAAQ;MAAEC;IAAS,CAAC,GAAG,MAAM,IAAI,CAACP,MAAM,CAACQ,UAAU,CAACH,OAAO,CAAC;IACpE,MAAMI,aAAa,GAAG,CAACC,KAAa,EAAEC,GAAkB,KAAK;MAC3D,MAAMC,QAAQ,GAAGC,gBAAK,CAACC,IAAI,CAACJ,KAAK,CAAC;MAClC,MAAMK,MAAM,GAAGJ,GAAG,CAACK,MAAM,GAAGL,GAAG,CAACM,GAAG,CAAEC,EAAE,IAAKA,EAAE,CAACC,sBAAsB,EAAE,CAAC,CAACC,IAAI,CAAC,IAAI,CAAC,GAAG,QAAQ;MAC9F,OAAQ,GAAER,QAAS,MAAKG,MAAO,EAAC;IAClC,CAAC;IACD,MAAMM,cAAc,GAAGZ,aAAa,CAAC,kCAAkC,EAAEH,QAAQ,CAAC;IAClF,MAAMgB,SAAS,GAAGb,aAAa,CAAC,gBAAgB,EAAEF,QAAQ,CAAC;IAC3D,OAAQ,GAAEc,cAAe,OAAMC,SAAU,EAAC;EAC5C;AACF;AAAC"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/status",
3
- "version": "0.0.403",
3
+ "version": "0.0.405",
4
4
  "homepage": "https://bit.cloud/teambit/component/status",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "status",
9
- "version": "0.0.403"
9
+ "version": "0.0.405"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -18,15 +18,15 @@
18
18
  "@teambit/component-id": "0.0.427",
19
19
  "@teambit/harmony": "0.4.6",
20
20
  "@teambit/legacy-bit-id": "0.0.423",
21
- "@teambit/cli": "0.0.732",
21
+ "@teambit/cli": "0.0.734",
22
22
  "@teambit/component-issues": "0.0.92",
23
23
  "@teambit/component-version": "0.0.409",
24
- "@teambit/insights": "0.0.1091",
25
- "@teambit/issues": "0.0.399",
26
- "@teambit/lane-id": "0.0.249",
27
- "@teambit/lanes": "0.0.663",
28
- "@teambit/remove": "0.0.268",
29
- "@teambit/workspace": "0.0.1091"
24
+ "@teambit/insights": "0.0.1093",
25
+ "@teambit/issues": "0.0.401",
26
+ "@teambit/lane-id": "0.0.251",
27
+ "@teambit/lanes": "0.0.665",
28
+ "@teambit/remove": "0.0.270",
29
+ "@teambit/workspace": "0.0.1093"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/lodash": "4.14.165",
@@ -38,7 +38,7 @@
38
38
  "@types/testing-library__jest-dom": "5.9.5"
39
39
  },
40
40
  "peerDependencies": {
41
- "@teambit/legacy": "1.0.513",
41
+ "@teambit/legacy": "1.0.515",
42
42
  "react": "^16.8.0 || ^17.0.0",
43
43
  "react-dom": "^16.8.0 || ^17.0.0"
44
44
  },