@teambit/cloud 0.0.139 → 0.0.141
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/cloud.aspect.js +0 -5
- package/dist/cloud.aspect.js.map +1 -1
- package/dist/cloud.main.runtime.js +0 -28
- package/dist/cloud.main.runtime.js.map +1 -1
- package/dist/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/package-tar/teambit-cloud-0.0.141.tgz +0 -0
- package/package.json +4 -4
- /package/{preview-1666409808293.js → preview-1666755696699.js} +0 -0
- package/package-tar/teambit-cloud-0.0.139.tgz +0 -0
package/dist/cloud.aspect.js
CHANGED
|
@@ -4,21 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.CloudAspect = void 0;
|
|
7
|
-
|
|
8
7
|
function _harmony() {
|
|
9
8
|
const data = require("@teambit/harmony");
|
|
10
|
-
|
|
11
9
|
_harmony = function () {
|
|
12
10
|
return data;
|
|
13
11
|
};
|
|
14
|
-
|
|
15
12
|
return data;
|
|
16
13
|
}
|
|
17
|
-
|
|
18
14
|
const CloudAspect = _harmony().Aspect.create({
|
|
19
15
|
id: 'teambit.cloud/cloud'
|
|
20
16
|
});
|
|
21
|
-
|
|
22
17
|
exports.CloudAspect = CloudAspect;
|
|
23
18
|
|
|
24
19
|
//# sourceMappingURL=cloud.aspect.js.map
|
package/dist/cloud.aspect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CloudAspect","Aspect","create","id"],"sources":["cloud.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const CloudAspect = Aspect.create({\n id: 'teambit.cloud/cloud',\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["CloudAspect","Aspect","create","id"],"sources":["cloud.aspect.ts"],"sourcesContent":["import { Aspect } from '@teambit/harmony';\n\nexport const CloudAspect = Aspect.create({\n id: 'teambit.cloud/cloud',\n});\n"],"mappings":";;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAEO,MAAMA,WAAW,GAAGC,iBAAM,CAACC,MAAM,CAAC;EACvCC,EAAE,EAAE;AACN,CAAC,CAAC;AAAC"}
|
|
@@ -1,101 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
require("core-js/modules/es.promise.js");
|
|
6
|
-
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
8
|
exports.CloudMain = void 0;
|
|
11
|
-
|
|
12
9
|
function _defineProperty2() {
|
|
13
10
|
const data = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
|
-
|
|
15
11
|
_defineProperty2 = function () {
|
|
16
12
|
return data;
|
|
17
13
|
};
|
|
18
|
-
|
|
19
14
|
return data;
|
|
20
15
|
}
|
|
21
|
-
|
|
22
16
|
function _cli() {
|
|
23
17
|
const data = require("@teambit/cli");
|
|
24
|
-
|
|
25
18
|
_cli = function () {
|
|
26
19
|
return data;
|
|
27
20
|
};
|
|
28
|
-
|
|
29
21
|
return data;
|
|
30
22
|
}
|
|
31
|
-
|
|
32
23
|
function _constants() {
|
|
33
24
|
const data = require("@teambit/legacy/dist/constants");
|
|
34
|
-
|
|
35
25
|
_constants = function () {
|
|
36
26
|
return data;
|
|
37
27
|
};
|
|
38
|
-
|
|
39
28
|
return data;
|
|
40
29
|
}
|
|
41
|
-
|
|
42
30
|
function _cloud() {
|
|
43
31
|
const data = require("./cloud.aspect");
|
|
44
|
-
|
|
45
32
|
_cloud = function () {
|
|
46
33
|
return data;
|
|
47
34
|
};
|
|
48
|
-
|
|
49
35
|
return data;
|
|
50
36
|
}
|
|
51
|
-
|
|
52
37
|
class CloudMain {
|
|
53
38
|
constructor(config) {
|
|
54
39
|
this.config = config;
|
|
55
40
|
}
|
|
56
|
-
|
|
57
41
|
getCloudDomain() {
|
|
58
42
|
return this.config.cloudDomain;
|
|
59
43
|
}
|
|
60
|
-
|
|
61
44
|
getCloudHubDomain() {
|
|
62
45
|
return this.config.cloudHubDomain;
|
|
63
46
|
}
|
|
64
|
-
|
|
65
47
|
getCloudApi() {
|
|
66
48
|
return this.config.cloudApi;
|
|
67
49
|
}
|
|
68
|
-
|
|
69
50
|
getCloudGraphQL() {
|
|
70
51
|
return this.config.cloudGraphQL;
|
|
71
52
|
}
|
|
72
|
-
|
|
73
53
|
getLoginDomain() {
|
|
74
54
|
return this.config.loginDomain;
|
|
75
55
|
}
|
|
76
|
-
|
|
77
56
|
getAnalyticsDomain() {
|
|
78
57
|
return this.config.analyticsDomain;
|
|
79
58
|
}
|
|
80
|
-
|
|
81
59
|
getRegistryUrl() {
|
|
82
60
|
return this.config.registryUrl;
|
|
83
61
|
}
|
|
84
|
-
|
|
85
62
|
getCloudExporterUrl() {
|
|
86
63
|
return this.config.cloudExporterUrl;
|
|
87
64
|
}
|
|
88
|
-
|
|
89
65
|
getHubName() {
|
|
90
66
|
return this.config.cloudHubName;
|
|
91
67
|
}
|
|
92
|
-
|
|
93
68
|
static async provider(_deps, config) {
|
|
94
69
|
return new CloudMain(config);
|
|
95
70
|
}
|
|
96
|
-
|
|
97
71
|
}
|
|
98
|
-
|
|
99
72
|
exports.CloudMain = CloudMain;
|
|
100
73
|
(0, _defineProperty2().default)(CloudMain, "slots", []);
|
|
101
74
|
(0, _defineProperty2().default)(CloudMain, "dependencies", []);
|
|
@@ -111,7 +84,6 @@ exports.CloudMain = CloudMain;
|
|
|
111
84
|
cloudExporterUrl: _constants().CENTRAL_BIT_HUB_URL,
|
|
112
85
|
cloudHubName: _constants().CENTRAL_BIT_HUB_NAME
|
|
113
86
|
});
|
|
114
|
-
|
|
115
87
|
_cloud().CloudAspect.addRuntime(CloudMain);
|
|
116
88
|
|
|
117
89
|
//# sourceMappingURL=cloud.main.runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CloudMain","constructor","config","getCloudDomain","cloudDomain","getCloudHubDomain","cloudHubDomain","getCloudApi","cloudApi","getCloudGraphQL","cloudGraphQL","getLoginDomain","loginDomain","getAnalyticsDomain","analyticsDomain","getRegistryUrl","registryUrl","getCloudExporterUrl","cloudExporterUrl","getHubName","cloudHubName","provider","_deps","MainRuntime","BASE_CLOUD_DOMAIN","DEFAULT_HUB_DOMAIN","SYMPHONY_URL","SYMPHONY_GRAPHQL","DEFAULT_HUB_LOGIN","DEFAULT_ANALYTICS_DOMAIN","DEFAULT_REGISTRY_URL","CENTRAL_BIT_HUB_URL","CENTRAL_BIT_HUB_NAME","CloudAspect","addRuntime"],"sources":["cloud.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport {\n BASE_CLOUD_DOMAIN,\n DEFAULT_HUB_DOMAIN,\n SYMPHONY_URL,\n SYMPHONY_GRAPHQL,\n DEFAULT_HUB_LOGIN,\n DEFAULT_ANALYTICS_DOMAIN,\n DEFAULT_REGISTRY_URL,\n CENTRAL_BIT_HUB_URL,\n CENTRAL_BIT_HUB_NAME,\n} from '@teambit/legacy/dist/constants';\n\nimport { CloudAspect } from './cloud.aspect';\n\nexport interface CloudWorkspaceConfig {\n cloudDomain: string;\n cloudHubDomain: string;\n cloudApi: string;\n cloudGraphQL: string;\n loginDomain: string;\n analyticsDomain: string;\n registryUrl: string;\n cloudExporterUrl: string;\n cloudHubName: string;\n}\n\nexport class CloudMain {\n constructor(private config: CloudWorkspaceConfig) {}\n\n getCloudDomain(): string {\n return this.config.cloudDomain;\n }\n\n getCloudHubDomain(): string {\n return this.config.cloudHubDomain;\n }\n\n getCloudApi(): string {\n return this.config.cloudApi;\n }\n\n getCloudGraphQL(): string {\n return this.config.cloudGraphQL;\n }\n getLoginDomain(): string {\n return this.config.loginDomain;\n }\n\n getAnalyticsDomain(): string {\n return this.config.analyticsDomain;\n }\n\n getRegistryUrl(): string {\n return this.config.registryUrl;\n }\n\n getCloudExporterUrl(): string {\n return this.config.cloudExporterUrl;\n }\n\n getHubName(): string {\n return this.config.cloudHubName;\n }\n\n static slots = [];\n static dependencies = [];\n static runtime = MainRuntime;\n static defaultConfig: CloudWorkspaceConfig = {\n cloudDomain: BASE_CLOUD_DOMAIN,\n cloudHubDomain: DEFAULT_HUB_DOMAIN,\n cloudApi: SYMPHONY_URL,\n cloudGraphQL: SYMPHONY_GRAPHQL,\n loginDomain: DEFAULT_HUB_LOGIN,\n analyticsDomain: DEFAULT_ANALYTICS_DOMAIN,\n registryUrl: DEFAULT_REGISTRY_URL,\n cloudExporterUrl: CENTRAL_BIT_HUB_URL,\n cloudHubName: CENTRAL_BIT_HUB_NAME,\n };\n static async provider(_deps, config: CloudWorkspaceConfig) {\n return new CloudMain(config);\n }\n}\n\nCloudAspect.addRuntime(CloudMain);\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["CloudMain","constructor","config","getCloudDomain","cloudDomain","getCloudHubDomain","cloudHubDomain","getCloudApi","cloudApi","getCloudGraphQL","cloudGraphQL","getLoginDomain","loginDomain","getAnalyticsDomain","analyticsDomain","getRegistryUrl","registryUrl","getCloudExporterUrl","cloudExporterUrl","getHubName","cloudHubName","provider","_deps","MainRuntime","BASE_CLOUD_DOMAIN","DEFAULT_HUB_DOMAIN","SYMPHONY_URL","SYMPHONY_GRAPHQL","DEFAULT_HUB_LOGIN","DEFAULT_ANALYTICS_DOMAIN","DEFAULT_REGISTRY_URL","CENTRAL_BIT_HUB_URL","CENTRAL_BIT_HUB_NAME","CloudAspect","addRuntime"],"sources":["cloud.main.runtime.ts"],"sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport {\n BASE_CLOUD_DOMAIN,\n DEFAULT_HUB_DOMAIN,\n SYMPHONY_URL,\n SYMPHONY_GRAPHQL,\n DEFAULT_HUB_LOGIN,\n DEFAULT_ANALYTICS_DOMAIN,\n DEFAULT_REGISTRY_URL,\n CENTRAL_BIT_HUB_URL,\n CENTRAL_BIT_HUB_NAME,\n} from '@teambit/legacy/dist/constants';\n\nimport { CloudAspect } from './cloud.aspect';\n\nexport interface CloudWorkspaceConfig {\n cloudDomain: string;\n cloudHubDomain: string;\n cloudApi: string;\n cloudGraphQL: string;\n loginDomain: string;\n analyticsDomain: string;\n registryUrl: string;\n cloudExporterUrl: string;\n cloudHubName: string;\n}\n\nexport class CloudMain {\n constructor(private config: CloudWorkspaceConfig) {}\n\n getCloudDomain(): string {\n return this.config.cloudDomain;\n }\n\n getCloudHubDomain(): string {\n return this.config.cloudHubDomain;\n }\n\n getCloudApi(): string {\n return this.config.cloudApi;\n }\n\n getCloudGraphQL(): string {\n return this.config.cloudGraphQL;\n }\n getLoginDomain(): string {\n return this.config.loginDomain;\n }\n\n getAnalyticsDomain(): string {\n return this.config.analyticsDomain;\n }\n\n getRegistryUrl(): string {\n return this.config.registryUrl;\n }\n\n getCloudExporterUrl(): string {\n return this.config.cloudExporterUrl;\n }\n\n getHubName(): string {\n return this.config.cloudHubName;\n }\n\n static slots = [];\n static dependencies = [];\n static runtime = MainRuntime;\n static defaultConfig: CloudWorkspaceConfig = {\n cloudDomain: BASE_CLOUD_DOMAIN,\n cloudHubDomain: DEFAULT_HUB_DOMAIN,\n cloudApi: SYMPHONY_URL,\n cloudGraphQL: SYMPHONY_GRAPHQL,\n loginDomain: DEFAULT_HUB_LOGIN,\n analyticsDomain: DEFAULT_ANALYTICS_DOMAIN,\n registryUrl: DEFAULT_REGISTRY_URL,\n cloudExporterUrl: CENTRAL_BIT_HUB_URL,\n cloudHubName: CENTRAL_BIT_HUB_NAME,\n };\n static async provider(_deps, config: CloudWorkspaceConfig) {\n return new CloudMain(config);\n }\n}\n\nCloudAspect.addRuntime(CloudMain);\n"],"mappings":";;;;;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AACA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAYA;EA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iCAAoB;EACjCZ,gBAAgB,EAAEa,gCAAmB;EACrCX,YAAY,EAAEY;AAChB,CAAC;AAMHC,oBAAW,CAACC,UAAU,CAAClC,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -10,19 +10,14 @@ Object.defineProperty(exports, "CloudAspect", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
exports.default = void 0;
|
|
13
|
-
|
|
14
13
|
function _cloud() {
|
|
15
14
|
const data = require("./cloud.aspect");
|
|
16
|
-
|
|
17
15
|
_cloud = function () {
|
|
18
16
|
return data;
|
|
19
17
|
};
|
|
20
|
-
|
|
21
18
|
return data;
|
|
22
19
|
}
|
|
23
|
-
|
|
24
20
|
var _default = _cloud().CloudAspect;
|
|
25
|
-
|
|
26
21
|
exports.default = _default;
|
|
27
22
|
|
|
28
23
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["CloudAspect"],"sources":["index.ts"],"sourcesContent":["import { CloudAspect } from './cloud.aspect';\n\nexport type { CloudMain } from './cloud.main.runtime';\nexport default CloudAspect;\nexport { CloudAspect };\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["CloudAspect"],"sources":["index.ts"],"sourcesContent":["import { CloudAspect } from './cloud.aspect';\n\nexport type { CloudMain } from './cloud.main.runtime';\nexport default CloudAspect;\nexport { CloudAspect };\n"],"mappings":";;;;;;;;;;;;AAAA;EAAA;EAAA;IAAA;EAAA;EAAA;AAAA;AAA6C,eAG9BA,oBAAW;AAAA"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/cloud",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.141",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/cloud/cloud",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.cloud",
|
|
8
8
|
"name": "cloud",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.141"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@babel/runtime": "7.12.18",
|
|
13
13
|
"core-js": "^3.0.0",
|
|
14
14
|
"@teambit/harmony": "0.3.3",
|
|
15
|
-
"@teambit/cli": "0.0.
|
|
15
|
+
"@teambit/cli": "0.0.593"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/mocha": "9.1.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/node": "12.20.4"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@teambit/legacy": "1.0.
|
|
26
|
+
"@teambit/legacy": "1.0.376",
|
|
27
27
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
28
28
|
"react": "^16.8.0 || ^17.0.0"
|
|
29
29
|
},
|
|
File without changes
|
|
Binary file
|