Skip to content

Commit

Permalink
test(angular): add more test for framework-preset-angular-cli
Browse files Browse the repository at this point in the history
Adds tests in order to rework the code in next commit without changing the angular preset behavior
  • Loading branch information
ThibaudAV committed Apr 2, 2021
1 parent 27c117b commit c17feae
Show file tree
Hide file tree
Showing 13 changed files with 458 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "projects": {} }
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": 1,
"projects": {
"foo-project": {
"root": "",
"architect": {
"build": {
"options": {
"tsConfig": "src/tsconfig.app.json",
"assets": []
}
}
}
}
},
"defaultProject": "foo-project"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"module": "es2015",
"types": ["node"]
},
"exclude": ["karma.ts", "**/*.spec.ts"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"sourceMap": true,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es5",
"lib": ["es2017", "dom"]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"projects": {
"foo-project": {
"root": "",
"architect": {
"build": {
"options": {
"tsConfig": "src/tsconfig.app.json",
"styles": ["src/styles.css", "src/styles.scss"]
}
}
}
}
},
"defaultProject": "foo-project"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.class {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.class {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"module": "es2015",
"types": ["node"]
},
"exclude": ["karma.ts", "**/*.spec.ts"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"sourceMap": true,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es5",
"lib": ["es2017", "dom"]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"projects": {
"foo-project": {
"architect": {
"build": {}
}
}
},
"defaultProject": "foo-project"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"projects": { "foo-project": {} },
"defaultProject": "foo-project"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}

0 comments on commit c17feae

Please sign in to comment.