From c93e982f14476b050afd9023753123e1fd6a8a47 Mon Sep 17 00:00:00 2001 From: Olivier Combe Date: Mon, 5 Feb 2024 15:33:02 +0100 Subject: [PATCH] fix: enable deploy for apps --- angular/app-types/angular-app-type/angular.application.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/angular/app-types/angular-app-type/angular.application.ts b/angular/app-types/angular-app-type/angular.application.ts index 71a0b0b..a2ba4b8 100644 --- a/angular/app-types/angular-app-type/angular.application.ts +++ b/angular/app-types/angular-app-type/angular.application.ts @@ -10,7 +10,8 @@ import { AppBuildContext, AppContext, Application, - ApplicationInstance + ApplicationInstance, + DeployFn } from '@teambit/application'; import { Bundler, BundlerContext, DevServerContext } from '@teambit/bundler'; import { Component } from '@teambit/component'; @@ -37,12 +38,14 @@ const writeHash = new Map(); export class AngularApp implements Application { readonly name: string; readonly idName: string; + readonly deploy?: DeployFn; constructor( readonly options: AngularAppOptions ) { this.name = options.name || NG_APP_NAME; this.idName = `bitdev.angular/${ this.name }`; + this.deploy = options.deploy; } readonly publicDir = 'public';