File tree Expand file tree Collapse file tree 5 files changed +9
-3
lines changed
Expand file tree Collapse file tree 5 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -102,3 +102,4 @@ build-harmony/yarn.lock
102102! .yarn /plugins
103103! .yarn /sdks
104104! .yarn /versions
105+
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ export class AngularV11Env extends AngularEnv {
7676 peerDependencies : {
7777 '@angular/common' : '~11.2.14' ,
7878 '@angular/core' : '~11.2.14' ,
79+ '@angular/platform-browser' : '~11.2.14' ,
80+ '@angular/platform-browser-dynamic' : '~11.2.14' ,
7981 rxjs : '^6.6.3' ,
8082 'zone.js' : '^0.11.0' ,
8183 typescript : '~4.1.5' ,
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export class AngularV11Main extends AngularMain {
1313 workspace ,
1414 compositions ,
1515 envs ,
16- ] : AngularDeps ) {
16+ ] : AngularDeps ) : Promise < AngularMain > {
1717 const angularV11Env = new AngularV11Env (
1818 jestAspect ,
1919 compiler ,
Original file line number Diff line number Diff line change 2626 "@angular/platform-browser-dynamic" : " ~11.2.14" ,
2727 "@angular/router" : " ~11.2.14" ,
2828 "@ngtools/webpack" : " ~11.2.13" ,
29+ "html-loader" : " ~2.1.2" ,
2930 "ng-packagr" : " ~11.2.4" ,
3031 "react-dev-utils" : " 10.2.1" ,
3132 "remark" : " ~13.0.0" ,
Original file line number Diff line number Diff line change 7878 },
7979 "teambit.generator/generator" : {
8080 "aspects" : [
81- " teambit.angular/angular-v12"
81+ " teambit.angular/angular-v12" ,
82+ " teambit.angular/angular-v11"
8283 ]
8384 },
84- // Add angular v12 templates to the list
85+ // Add angular templates to the list
8586 "teambit.angular/angular-v12" : {},
87+ "teambit.angular/angular-v11" : {},
8688 /**
8789 * workspace variants allow you to set different subsets of configuration for components in your workspace.
8890 * this is extremely useful for upgrading, aligning and building components with a
You can’t perform that action at this time.
0 commit comments