fix(angular): add namedInputs to expected angular extension properties (#11593)

This commit is contained in:
Craigory Coppola 2022-08-15 15:07:00 -04:00 committed by GitHub
parent 19dfebd94f
commit 0c25e57bf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,7 @@ const allowedProjectExtensions = [
'configFilePath',
'$schema',
'generators',
'namedInputs',
];
const allowedWorkspaceExtensions = [
@ -37,6 +38,7 @@ const allowedWorkspaceExtensions = [
'targetDefaults',
'files',
'generators',
'namedInputs',
];
if (!patched) {

View File

@ -35,6 +35,8 @@ export type TargetDependencies = Record<
/**
* Nx.json configuration
*
* @note: when adding properties here add them to `allowedWorkspaceExtensions` in adapter/compat.ts
*/
export interface NxJsonConfiguration<T = '*' | string[]> {
/**

View File

@ -11,6 +11,7 @@ export type WorkspaceJsonConfiguration = ProjectsConfigurations;
/**
* Projects Configurations
* @note: when adding properties here add them to `allowedWorkspaceExtensions` in adapter/compat.ts
*/
export interface ProjectsConfigurations {
/**
@ -37,6 +38,8 @@ export type ProjectType = 'library' | 'application';
/**
* Project configuration
*
* @note: when adding properties here add them to `allowedProjectExtensions` in adapter/compat.ts
*/
export interface ProjectConfiguration {
/**