@teambit/application 0.0.350 → 0.0.351
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/app-list.cmd.tsx +1 -0
- package/dist/app-list.cmd.d.ts +1 -0
- package/dist/app-list.cmd.js +1 -0
- package/dist/app-list.cmd.js.map +1 -1
- package/package-tar/teambit-application-0.0.351.tgz +0 -0
- package/package.json +12 -12
- package/{preview-1649820303295.js → preview-1650243425150.js} +2 -2
- package/package-tar/teambit-application-0.0.350.tgz +0 -0
package/app-list.cmd.tsx
CHANGED
|
@@ -11,6 +11,7 @@ export class AppListCmdDeprecated implements Command {
|
|
|
11
11
|
name = 'app-list';
|
|
12
12
|
description = 'DEPRECATED. use "bit app list"';
|
|
13
13
|
alias = '';
|
|
14
|
+
private = true;
|
|
14
15
|
group = 'apps';
|
|
15
16
|
options = [['j', 'json', 'return the component data in json format']] as CommandOptions;
|
|
16
17
|
|
package/dist/app-list.cmd.d.ts
CHANGED
package/dist/app-list.cmd.js
CHANGED
|
@@ -50,6 +50,7 @@ class AppListCmdDeprecated {
|
|
|
50
50
|
(0, _defineProperty2().default)(this, "name", 'app-list');
|
|
51
51
|
(0, _defineProperty2().default)(this, "description", 'DEPRECATED. use "bit app list"');
|
|
52
52
|
(0, _defineProperty2().default)(this, "alias", '');
|
|
53
|
+
(0, _defineProperty2().default)(this, "private", true);
|
|
53
54
|
(0, _defineProperty2().default)(this, "group", 'apps');
|
|
54
55
|
(0, _defineProperty2().default)(this, "options", [['j', 'json', 'return the component data in json format']]);
|
|
55
56
|
}
|
package/dist/app-list.cmd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["app-list.cmd.tsx"],"names":["AppListCmdDeprecated","constructor","applicationAspect","report","args","json","apps","listApps","JSON","stringify","deprecationStr","console","log","chalk","red","length","yellow","rows","map","app","name","table","CLITable","render"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAFA;;AAKA;AACA;AACA;AACO,MAAMA,oBAAN,CAA8C;
|
|
1
|
+
{"version":3,"sources":["app-list.cmd.tsx"],"names":["AppListCmdDeprecated","constructor","applicationAspect","report","args","json","apps","listApps","JSON","stringify","deprecationStr","console","log","chalk","red","length","yellow","rows","map","app","name","table","CLITable","render"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAFA;;AAKA;AACA;AACA;AACO,MAAMA,oBAAN,CAA8C;AAQnDC,EAAAA,WAAW,CAASC,iBAAT,EAA6C;AAAA,SAApCA,iBAAoC,GAApCA,iBAAoC;AAAA,kDAPjD,UAOiD;AAAA,yDAN1C,gCAM0C;AAAA,mDALhD,EAKgD;AAAA,qDAJ9C,IAI8C;AAAA,mDAHhD,MAGgD;AAAA,qDAF9C,CAAC,CAAC,GAAD,EAAM,MAAN,EAAc,0CAAd,CAAD,CAE8C;AAAE;;AAE9C,QAANC,MAAM,CAACC,IAAD,EAAiB;AAAEC,IAAAA;AAAF,GAAjB,EAA8C;AACxD,UAAMC,IAAI,GAAG,KAAKJ,iBAAL,CAAuBK,QAAvB,EAAb;AACA,QAAIF,IAAJ,EAAU,OAAOG,IAAI,CAACC,SAAL,CAAeH,IAAf,EAAqB,IAArB,EAA2B,CAA3B,CAAP;AACV,UAAMI,cAAc,GAAI,iEAAxB,CAHwD,CAIxD;;AACAC,IAAAA,OAAO,CAACC,GAAR,CAAYC,iBAAMC,GAAN,EAAZ;AACA,QAAI,CAACR,IAAI,CAACS,MAAV,EAAkB,OAAOF,iBAAMG,MAAN,CAAc,GAAEN,cAAe,eAA/B,CAAP;AAElB,UAAMO,IAAI,GAAGX,IAAI,CAACY,GAAL,CAAUC,GAAD,IAAS;AAC7B,aAAO,CAACA,GAAG,CAACC,IAAL,CAAP;AACD,KAFY,CAAb;AAIA,UAAMC,KAAK,GAAG,KAAIC,oBAAJ,EAAa,EAAb,EAAiBL,IAAjB,CAAd;AACA,WAAOP,cAAc,GAAGW,KAAK,CAACE,MAAN,EAAxB;AACD;;AAxBkD","sourcesContent":["import { Command, CommandOptions } from '@teambit/cli';\n// import { Logger } from '@teambit/logger';\nimport chalk from 'chalk';\nimport { CLITable } from '@teambit/cli-table';\nimport { ApplicationMain } from './application.main.runtime';\n\n/**\n * @deprecated use AppListCmd class\n */\nexport class AppListCmdDeprecated implements Command {\n name = 'app-list';\n description = 'DEPRECATED. use \"bit app list\"';\n alias = '';\n private = true;\n group = 'apps';\n options = [['j', 'json', 'return the component data in json format']] as CommandOptions;\n\n constructor(private applicationAspect: ApplicationMain) {}\n\n async report(args: [string], { json }: { json: boolean }) {\n const apps = this.applicationAspect.listApps();\n if (json) return JSON.stringify(apps, null, 2);\n const deprecationStr = `this command is deprecated. please use \"bit app list\" instead\\n`;\n // eslint-disable-next-line no-console\n console.log(chalk.red());\n if (!apps.length) return chalk.yellow(`${deprecationStr}no apps found`);\n\n const rows = apps.map((app) => {\n return [app.name];\n });\n\n const table = new CLITable([], rows);\n return deprecationStr + table.render();\n }\n}\n"]}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/application",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.351",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/harmony/application",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "application",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.351"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -16,15 +16,15 @@
|
|
|
16
16
|
"@babel/runtime": "7.12.18",
|
|
17
17
|
"core-js": "^3.0.0",
|
|
18
18
|
"@teambit/harmony": "0.3.3",
|
|
19
|
-
"@teambit/builder": "0.0.
|
|
20
|
-
"@teambit/component": "0.0.
|
|
21
|
-
"@teambit/isolator": "0.0.
|
|
22
|
-
"@teambit/envs": "0.0.
|
|
19
|
+
"@teambit/builder": "0.0.709",
|
|
20
|
+
"@teambit/component": "0.0.709",
|
|
21
|
+
"@teambit/isolator": "0.0.709",
|
|
22
|
+
"@teambit/envs": "0.0.709",
|
|
23
23
|
"@teambit/cli-table": "0.0.34",
|
|
24
|
-
"@teambit/cli": "0.0.
|
|
25
|
-
"@teambit/aspect-loader": "0.0.
|
|
26
|
-
"@teambit/logger": "0.0.
|
|
27
|
-
"@teambit/workspace": "0.0.
|
|
24
|
+
"@teambit/cli": "0.0.472",
|
|
25
|
+
"@teambit/aspect-loader": "0.0.709",
|
|
26
|
+
"@teambit/logger": "0.0.564",
|
|
27
|
+
"@teambit/workspace": "0.0.709"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/react": "^17.0.8",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@types/node": "12.20.4"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@teambit/legacy": "1.0.
|
|
39
|
+
"@teambit/legacy": "1.0.251",
|
|
40
40
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
41
41
|
"react": "^16.8.0 || ^17.0.0"
|
|
42
42
|
},
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"react": "-"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@teambit/legacy": "1.0.
|
|
67
|
+
"@teambit/legacy": "1.0.251",
|
|
68
68
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
69
69
|
"react": "^16.8.0 || ^17.0.0"
|
|
70
70
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@0.0.
|
|
2
|
-
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@0.0.
|
|
1
|
+
export const compositions = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@0.0.351/dist/application.composition.js')]
|
|
2
|
+
export const overview = [require('/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_application@0.0.351/dist/application.docs.mdx')]
|
|
Binary file
|