@teambit/application 1.0.225 → 1.0.227

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,40 +0,0 @@
1
- import { BuildTask, BuiltTaskResult, BuildContext, ComponentResult, ArtifactDefinition } from '@teambit/builder';
2
- import { ApplicationMain } from './application.main.runtime';
3
- export declare const BUILD_TASK = "build_application";
4
- export declare const ARTIFACTS_DIR_NAME = "apps";
5
- export type OneAppResult = {
6
- componentResult: ComponentResult;
7
- artifacts?: ArtifactDefinition[];
8
- };
9
- export type OneComponentResult = {
10
- componentResult: ComponentResult;
11
- artifacts?: ArtifactDefinition[];
12
- };
13
- export type BuildAppResult = {
14
- componentResult: ComponentResult;
15
- artifacts?: ArtifactDefinition[];
16
- };
17
- export type BuildDeployContexts = {
18
- deployContext: {
19
- publicDir?: string;
20
- ssrPublicDir?: string;
21
- };
22
- name: string;
23
- appType: string;
24
- };
25
- export type Options = {
26
- deploy: boolean;
27
- };
28
- export declare class AppsBuildTask implements BuildTask {
29
- private application;
30
- private opt;
31
- name: string;
32
- aspectId: string;
33
- readonly location = "end";
34
- constructor(application: ApplicationMain, opt?: Options);
35
- execute(context: BuildContext): Promise<BuiltTaskResult>;
36
- private runForOneApp;
37
- private mergeAppsResults;
38
- private getArtifactDirectory;
39
- private getDefaultArtifactDef;
40
- }
@@ -1,16 +0,0 @@
1
- import { BuilderMain, BuildTask, BuildContext, BuiltTaskResult } from '@teambit/builder';
2
- import { ApplicationMain } from './application.main.runtime';
3
- export declare const DEPLOY_TASK = "deploy_application";
4
- export declare class DeployTask implements BuildTask {
5
- private application;
6
- private builder;
7
- name: string;
8
- aspectId: string;
9
- readonly location = "end";
10
- constructor(application: ApplicationMain, builder: BuilderMain);
11
- execute(context: BuildContext): Promise<BuiltTaskResult>;
12
- private runForOneApp;
13
- private getArtifactDirectory;
14
- private getBuildMetadata;
15
- private getBuildTask;
16
- }
@@ -1,4 +0,0 @@
1
- import { DeployFn } from './application';
2
- export interface DeploymentProvider {
3
- deploy: DeployFn;
4
- }
@@ -1,3 +0,0 @@
1
- export declare class AppNoSsr extends Error {
2
- constructor(appName: string);
3
- }
@@ -1,3 +0,0 @@
1
- export declare class AppNotFound extends Error {
2
- constructor(appName: string);
3
- }
@@ -1 +0,0 @@
1
- export { AppNotFound } from './app-not-found';
package/dist/index.d.ts DELETED
@@ -1,13 +0,0 @@
1
- export { ApplicationAspect } from './application.aspect';
2
- export type { ApplicationInstance, ApplicationDeployment } from './app-instance';
3
- export type { ApplicationMain, ApplicationMetadata } from './application.main.runtime';
4
- export type { Application, DeployFn, BuildFn, AppResult } from './application';
5
- export { AppContext } from './app-context';
6
- export type { DeploymentProvider } from './deployment-provider';
7
- export type { ApplicationType } from './application-type';
8
- export type { AppDeployContext } from './app-deploy-context';
9
- export type { AppBuildContext } from './app-build-context';
10
- export type { AppBuildResult } from './app-build-result';
11
- export { ARTIFACTS_DIR_NAME as APPS_ARTIFACTS_DIR_NAME } from './build-application.task';
12
- export type { AppsEnv } from './apps-env-type';
13
- export { AppTypeList } from './app-type-list';
package/dist/run.cmd.d.ts DELETED
@@ -1,35 +0,0 @@
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 {};