File tree 2 files changed +2
-11
lines changed
2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ npm_package(
224
224
"//packages/angular_devkit/architect:package.json" ,
225
225
],
226
226
stamp_files = [
227
+ "src/utils/version.js" ,
227
228
"src/tools/esbuild/utils.js" ,
228
229
"src/utils/normalize-cache.js" ,
229
230
],
Original file line number Diff line number Diff line change @@ -56,17 +56,7 @@ export function assertCompatibleAngularVersion(projectRoot: string): void | neve
56
56
return ;
57
57
}
58
58
59
- let supportedAngularSemver ;
60
- try {
61
- supportedAngularSemver = projectRequire ( '@angular/build/package.json' ) [ 'peerDependencies' ] [
62
- '@angular/compiler-cli'
63
- ] ;
64
- } catch {
65
- supportedAngularSemver = projectRequire ( '@angular-devkit/build-angular/package.json' ) [
66
- 'peerDependencies'
67
- ] [ '@angular/compiler-cli' ] ;
68
- }
69
-
59
+ const supportedAngularSemver = '0.0.0-ANGULAR-FW-PEER-DEP' ;
70
60
const angularVersion = new SemVer ( angularPkgJson [ 'version' ] ) ;
71
61
72
62
if ( ! satisfies ( angularVersion , supportedAngularSemver , { includePrerelease : true } ) ) {
You can’t perform that action at this time.
0 commit comments