diff --git a/packages/schematics/angular/application/index.ts b/packages/schematics/angular/application/index.ts index a5ec7e8d0c81..ed03e3b110b9 100644 --- a/packages/schematics/angular/application/index.ts +++ b/packages/schematics/angular/application/index.ts @@ -33,10 +33,17 @@ import { Builders, ProjectType } from '../utility/workspace-models'; import { Schema as ApplicationOptions, Style } from './schema'; export default function (options: ApplicationOptions): Rule { - return async (host: Tree) => { + return async (host: Tree, context: SchematicContext) => { const { appDir, appRootSelector, componentOptions, folderName, sourceDir } = await getAppOptions(host, options); + if (options.standalone) { + context.logger.warn( + 'Standalone application structure is new and not yet supported by many existing' + + ` 'ng add' and 'ng update' integrations with community libraries.`, + ); + } + return chain([ addAppToWorkspaceFile(options, appDir, folderName), options.standalone