Skip to content

Commit a03f022

Browse files
kyliauKeen Yee Liau
authored andcommitted
test: add multi-project workspace
1 parent 132b205 commit a03f022

File tree

6 files changed

+701
-0
lines changed

6 files changed

+701
-0
lines changed

integration/workspace/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "workspace",
3+
"private": true,
4+
"dependencies": {
5+
"@angular/common": "~11.0.5",
6+
"@angular/compiler-cli": "~11.0.5",
7+
"@angular/core": "~11.0.5",
8+
"rxjs": "~6.6.0",
9+
"zone.js": "~0.10.2"
10+
}
11+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import {Component} from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-root',
5+
template: `<h1>Welcome to {{title}}!</h1>`,
6+
styles: [],
7+
})
8+
export class AppComponent {
9+
title = 'demo';
10+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import {NgModule} from '@angular/core';
2+
3+
import {AppComponent} from './app.component';
4+
5+
@NgModule({
6+
declarations: [AppComponent],
7+
providers: [],
8+
bootstrap: [AppComponent],
9+
})
10+
export class AppModule {
11+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"extends": "../../tsconfig.json",
4+
"compilerOptions": {
5+
"outDir": "../../out-tsc/app",
6+
"types": []
7+
},
8+
"files": [
9+
"src/app/app.module.ts",
10+
],
11+
"include": [
12+
"src/**/*.d.ts"
13+
]
14+
}

integration/workspace/tsconfig.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"compileOnSave": false,
4+
"compilerOptions": {
5+
"baseUrl": "./",
6+
"outDir": "./dist/out-tsc",
7+
"forceConsistentCasingInFileNames": true,
8+
"strict": true,
9+
"noImplicitReturns": true,
10+
"noFallthroughCasesInSwitch": true,
11+
"sourceMap": true,
12+
"declaration": false,
13+
"downlevelIteration": true,
14+
"experimentalDecorators": true,
15+
"moduleResolution": "node",
16+
"importHelpers": true,
17+
"target": "es2015",
18+
"module": "es2020",
19+
"lib": [
20+
"es2018",
21+
"dom"
22+
]
23+
},
24+
"angularCompilerOptions": {
25+
"strictInjectionParameters": true,
26+
"strictInputAccessModifiers": true,
27+
"strictTemplates": true
28+
}
29+
}

0 commit comments

Comments
 (0)