Skip to content

Commit

Permalink
feat(ng18): remove no more necessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
Badisi committed Sep 3, 2024
1 parent 51615ce commit 54c46a1
Show file tree
Hide file tree
Showing 92 changed files with 183 additions and 1,278 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
Expand All @@ -7,7 +7,7 @@
/bazel-out

# Node
node_modules
/node_modules
npm-debug.log
yarn-error.log

Expand Down
102 changes: 68 additions & 34 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/core/src/test.ts",
"tsConfig": "projects/core/tsconfig.spec.json",
"karmaConfig": "projects/core/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -253,9 +255,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/list-loader/src/test.ts",
"tsConfig": "projects/list-loader/tsconfig.spec.json",
"karmaConfig": "projects/list-loader/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -284,9 +288,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/message-box/src/test.ts",
"tsConfig": "projects/message-box/tsconfig.spec.json",
"karmaConfig": "projects/message-box/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -315,9 +321,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/numeric-stepper/src/test.ts",
"tsConfig": "projects/numeric-stepper/tsconfig.spec.json",
"karmaConfig": "projects/numeric-stepper/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -346,9 +354,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/overlay/src/test.ts",
"tsConfig": "projects/overlay/tsconfig.spec.json",
"karmaConfig": "projects/overlay/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -377,9 +387,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/snackbar/src/test.ts",
"tsConfig": "projects/snackbar/tsconfig.spec.json",
"karmaConfig": "projects/snackbar/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -408,9 +420,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/splitter/src/test.ts",
"tsConfig": "projects/splitter/tsconfig.spec.json",
"karmaConfig": "projects/splitter/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -439,9 +453,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/status/src/test.ts",
"tsConfig": "projects/status/tsconfig.spec.json",
"karmaConfig": "projects/status/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -470,9 +486,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/time-picker/src/test.ts",
"tsConfig": "projects/time-picker/tsconfig.spec.json",
"karmaConfig": "projects/time-picker/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -501,9 +519,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/tooltip/src/test.ts",
"tsConfig": "projects/tooltip/tsconfig.spec.json",
"karmaConfig": "projects/tooltip/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -532,9 +552,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/sidenav/src/test.ts",
"tsConfig": "projects/sidenav/tsconfig.spec.json",
"karmaConfig": "projects/sidenav/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -563,9 +585,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/layout/src/test.ts",
"tsConfig": "projects/layout/tsconfig.spec.json",
"karmaConfig": "projects/layout/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -594,9 +618,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/user-card/src/test.ts",
"tsConfig": "projects/user-card/tsconfig.spec.json",
"karmaConfig": "projects/user-card/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -625,9 +651,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/user-tooltip/src/test.ts",
"tsConfig": "projects/user-tooltip/tsconfig.spec.json",
"karmaConfig": "projects/user-tooltip/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -656,9 +684,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/search-container/src/test.ts",
"tsConfig": "projects/search-container/tsconfig.spec.json",
"karmaConfig": "projects/search-container/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -687,9 +717,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/message-box-dialog/src/test.ts",
"tsConfig": "projects/message-box-dialog/tsconfig.spec.json",
"karmaConfig": "projects/message-box-dialog/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down Expand Up @@ -718,9 +750,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/date-picker/src/test.ts",
"tsConfig": "projects/date-picker/tsconfig.spec.json",
"karmaConfig": "projects/date-picker/karma.conf.js"
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
Expand Down
45 changes: 0 additions & 45 deletions projects/core/karma.conf.js

This file was deleted.

16 changes: 0 additions & 16 deletions projects/core/src/test.ts

This file was deleted.

5 changes: 2 additions & 3 deletions projects/core/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ {
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "../../out-tsc/lib",
Expand All @@ -9,7 +9,6 @@
"types": []
},
"exclude": [
"src/test.ts",
"**/*.spec.ts"
]
}
4 changes: 2 additions & 2 deletions projects/core/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ {
"extends": "./tsconfig.lib.json",
"compilerOptions": {
"declarationMap": false
Expand Down
7 changes: 2 additions & 5 deletions projects/core/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ {
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "../../out-tsc/spec",
"types": [
"jasmine"
]
},
"files": [
"src/test.ts"
],
"include": [
"**/*.spec.ts",
"**/*.d.ts"
Expand Down
Loading

0 comments on commit 54c46a1

Please sign in to comment.