Skip to content

Commit

Permalink
fix(cdk/schematics): skip module-related operations for standalone apps
Browse files Browse the repository at this point in the history
Adds some logic to infer whether an app is standalone and updates the schematic utilities to skip adding a declaration to a module if it's standalone since it would lead to a compilation error.

(cherry picked from commit e112308)
  • Loading branch information
crisbeto committed Apr 25, 2023
1 parent ae9407c commit fc6ae98
Show file tree
Hide file tree
Showing 4 changed files with 1,710 additions and 1,257 deletions.
22 changes: 11 additions & 11 deletions integration/ng-add/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^15.2.0-rc.0",
"@angular/animations": "^16.0.0-next.7",
"@angular/cdk": "file:../../dist/releases/cdk",
"@angular/common": "^15.2.0-rc.0",
"@angular/compiler": "^15.2.0-rc.0",
"@angular/core": "^15.2.0-rc.0",
"@angular/forms": "^15.2.0-rc.0",
"@angular/common": "^16.0.0-next.7",
"@angular/compiler": "^16.0.0-next.7",
"@angular/core": "^16.0.0-next.7",
"@angular/forms": "^16.0.0-next.7",
"@angular/material": "file:../../dist/releases/material",
"@angular/platform-browser": "^15.2.0-rc.0",
"@angular/platform-browser-dynamic": "^15.2.0-rc.0",
"@angular/router": "^15.2.0-rc.0",
"@angular/platform-browser": "^16.0.0-next.7",
"@angular/platform-browser-dynamic": "^16.0.0-next.7",
"@angular/router": "^16.0.0-next.7",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.0-rc.0",
"@angular/cli": "^15.2.0-rc.0",
"@angular/compiler-cli": "^15.2.0-rc.0",
"@angular-devkit/build-angular": "^16.0.0-next.7",
"@angular/cli": "^16.0.0-next.7",
"@angular/compiler-cli": "^16.0.0-next.7",
"@types/jasmine": "~3.9.0",
"@types/node": "^12.11.1",
"glob": "^7.2.0",
Expand Down
Loading

0 comments on commit fc6ae98

Please sign in to comment.