@teambit/application 1.0.228 → 1.0.230
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/artifacts/__bit_junit.xml +1 -1
- package/artifacts/preview/teambit_harmony_application-preview.js +1 -1
- package/artifacts/schema.json +688 -135
- package/dist/app-build-context.d.ts +26 -0
- package/dist/app-build-result.d.ts +22 -0
- package/dist/app-context.d.ts +103 -0
- package/dist/app-deploy-context.d.ts +33 -0
- package/dist/app-instance.d.ts +35 -0
- package/dist/app-list.cmd.d.ts +18 -0
- package/dist/app-server.d.ts +6 -0
- package/dist/app-type-list.d.ts +13 -0
- package/dist/app-type.plugin.d.ts +12 -0
- package/dist/app.cmd.d.ts +25 -0
- package/dist/app.plugin.d.ts +10 -0
- package/dist/application-type.d.ts +15 -0
- package/dist/application.aspect.d.ts +2 -0
- package/dist/application.composition.d.ts +1 -0
- package/dist/application.d.ts +33 -0
- package/dist/application.main.runtime.d.ts +153 -0
- package/dist/application.service.d.ts +15 -0
- package/dist/apps-env-type.d.ts +8 -0
- package/dist/build-application.task.d.ts +40 -0
- package/dist/deploy.task.d.ts +16 -0
- package/dist/deployment-provider.d.ts +4 -0
- package/dist/exceptions/app-no-ssr.d.ts +3 -0
- package/dist/exceptions/app-not-found.d.ts +3 -0
- package/dist/exceptions/index.d.ts +1 -0
- package/dist/index.d.ts +13 -0
- package/dist/{preview-1712805335812.js → preview-1712891953391.js} +2 -2
- package/dist/run.cmd.d.ts +35 -0
- package/package.json +13 -13
- package/tsconfig.json +1 -34
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command, CommandOptions } from '@teambit/cli';
|
|
2
|
+
import { Logger } from '@teambit/logger';
|
|
3
|
+
import { ApplicationMain } from './application.main.runtime';
|
|
4
|
+
type RunOptions = {
|
|
5
|
+
dev: boolean;
|
|
6
|
+
verbose: boolean;
|
|
7
|
+
skipWatch: boolean;
|
|
8
|
+
watch: boolean;
|
|
9
|
+
ssr: boolean;
|
|
10
|
+
port: string;
|
|
11
|
+
};
|
|
12
|
+
export declare class RunCmd implements Command {
|
|
13
|
+
/**
|
|
14
|
+
* access to the extension instance.
|
|
15
|
+
*/
|
|
16
|
+
private application;
|
|
17
|
+
private logger;
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
helpUrl: string;
|
|
21
|
+
arguments: {
|
|
22
|
+
name: string;
|
|
23
|
+
description: string;
|
|
24
|
+
}[];
|
|
25
|
+
alias: string;
|
|
26
|
+
group: string;
|
|
27
|
+
options: CommandOptions;
|
|
28
|
+
constructor(
|
|
29
|
+
/**
|
|
30
|
+
* access to the extension instance.
|
|
31
|
+
*/
|
|
32
|
+
application: ApplicationMain, logger: Logger);
|
|
33
|
+
wait([appName]: [string], { dev, watch, ssr, port: exactPort }: RunOptions): Promise<void>;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/application",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.230",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/application",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "application",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.230"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"chalk": "2.4.2",
|
|
@@ -15,23 +15,23 @@
|
|
|
15
15
|
"@teambit/lane-id": "0.0.311",
|
|
16
16
|
"@teambit/harmony": "0.4.6",
|
|
17
17
|
"@teambit/bit-error": "0.0.404",
|
|
18
|
-
"@teambit/builder": "1.0.
|
|
19
|
-
"@teambit/component": "1.0.
|
|
20
|
-
"@teambit/isolator": "1.0.
|
|
21
|
-
"@teambit/envs": "1.0.
|
|
22
|
-
"@teambit/logger": "0.0.
|
|
18
|
+
"@teambit/builder": "1.0.230",
|
|
19
|
+
"@teambit/component": "1.0.230",
|
|
20
|
+
"@teambit/isolator": "1.0.230",
|
|
21
|
+
"@teambit/envs": "1.0.230",
|
|
22
|
+
"@teambit/logger": "0.0.955",
|
|
23
23
|
"@teambit/cli-table": "0.0.48",
|
|
24
|
-
"@teambit/cli": "0.0.
|
|
25
|
-
"@teambit/aspect-loader": "1.0.
|
|
26
|
-
"@teambit/scope": "1.0.
|
|
27
|
-
"@teambit/watcher": "1.0.
|
|
28
|
-
"@teambit/workspace": "1.0.
|
|
24
|
+
"@teambit/cli": "0.0.862",
|
|
25
|
+
"@teambit/aspect-loader": "1.0.230",
|
|
26
|
+
"@teambit/scope": "1.0.230",
|
|
27
|
+
"@teambit/watcher": "1.0.230",
|
|
28
|
+
"@teambit/workspace": "1.0.230"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/lodash": "4.14.165",
|
|
32
32
|
"@types/mocha": "9.1.0",
|
|
33
33
|
"chai": "4.3.0",
|
|
34
|
-
"@teambit/harmony.envs.core-aspect-env": "0.0.
|
|
34
|
+
"@teambit/harmony.envs.core-aspect-env": "0.0.33"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"react": "^17.0.0 || ^18.0.0",
|
package/tsconfig.json
CHANGED
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"emitDeclarationOnly": true,
|
|
21
21
|
"strict": true,
|
|
22
22
|
"strictPropertyInitialization": false,
|
|
23
|
-
"noImplicitAny": false
|
|
24
|
-
"composite": true
|
|
23
|
+
"noImplicitAny": false
|
|
25
24
|
},
|
|
26
25
|
"exclude": [
|
|
27
26
|
"artifacts",
|
|
@@ -36,37 +35,5 @@
|
|
|
36
35
|
"include": [
|
|
37
36
|
"**/*",
|
|
38
37
|
"**/*.json"
|
|
39
|
-
],
|
|
40
|
-
"references": [
|
|
41
|
-
{
|
|
42
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.pipelines_builder@1.0.228"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_component@1.0.228"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.component_isolator@1.0.228"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.envs_envs@1.0.228"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_logger@0.0.954"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_aspect-loader@1.0.228"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.scope_scope@1.0.228"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_watcher@1.0.228"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
|
|
70
|
-
}
|
|
71
38
|
]
|
|
72
39
|
}
|