diff --git a/angular/app-types/angular-app-type/application.bundler.ts b/angular/app-types/angular-app-type/application.bundler.ts index f9c3a5d..158a7ca 100644 --- a/angular/app-types/angular-app-type/application.bundler.ts +++ b/angular/app-types/angular-app-type/application.bundler.ts @@ -1,6 +1,5 @@ /* eslint-disable no-param-reassign */ import { OutputHashing } from '@angular-devkit/build-angular'; -import type { JsonObject } from '@angular-devkit/core'; import { VERSION } from '@angular/cli'; import { ApplicationOptions, @@ -144,7 +143,7 @@ function getBuilderContext(options: BuildApplicationOptions): any { project: 'bit-ng-app-builder', target: 'build' }, - getProjectMetadata: function(projectName: string): Promise { + getProjectMetadata: function(projectName: string): Promise { return Promise.resolve({ root: '', sourceRoot, diff --git a/angular/app-types/angular-app-type/application.dev-server.ts b/angular/app-types/angular-app-type/application.dev-server.ts index 97cbb42..8c0cf67 100644 --- a/angular/app-types/angular-app-type/application.dev-server.ts +++ b/angular/app-types/angular-app-type/application.dev-server.ts @@ -1,6 +1,5 @@ /* eslint-disable no-param-reassign */ import { executeDevServerBuilder, OutputHashing } from '@angular-devkit/build-angular'; -import type { JsonObject } from '@angular-devkit/core'; import { VERSION } from '@angular/cli'; import { dedupPaths, @@ -119,14 +118,14 @@ function getBuilderContext(options: ServeApplicationOptions, appOptions: Applica return; }, getBuilderNameForTarget: () => Promise.resolve(BUILDER_NAME), - getTargetOptions: () => Promise.resolve(appOptions as any as JsonObject), + getTargetOptions: () => Promise.resolve(appOptions as any), validateOptions: () => Promise.resolve(appOptions as any) }; } function getProjectMetadata(options: ServeApplicationOptions) { const { sourceRoot, tempFolder } = options; - return function(projectName: string): Promise { + return function(projectName: string): Promise { return Promise.resolve({ root: '', sourceRoot, diff --git a/angular/devkit/ng-compat/component.json b/angular/devkit/ng-compat/component.json index 2860d7f..07456ab 100644 --- a/angular/devkit/ng-compat/component.json +++ b/angular/devkit/ng-compat/component.json @@ -10,6 +10,8 @@ "dependencies": { }, "peerDependencies": { + "@angular-devkit/core": ">= 13.0.0", + "@angular-devkit/build-webpack": ">= 0.0.1", "@angular-devkit/build-angular": ">= 0.0.1", "@angular-devkit/architect": ">= 0.0.1", "@angular/core": ">= 13.0.0",