Skip to content

Commit e8aef44

Browse files
committed
Update configs
1 parent eae5477 commit e8aef44

File tree

8 files changed

+24
-19
lines changed

8 files changed

+24
-19
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ testem.log
4141
.DS_Store
4242
Thumbs.db
4343

44-
## NgDoc folder
44+
## NgDoc files
4545
/ng-doc

angular.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
33
"version": 1,
4-
"newProjectRoot": "src",
4+
"newProjectRoot": "projects",
55
"projects": {
66
"app": {
77
"projectType": "application",
@@ -74,7 +74,7 @@
7474
}
7575
],
7676
"outputHashing": "all",
77-
"serviceWorker": "ngsw-config.json"
77+
"serviceWorker": "projects/app/ngsw-config.json"
7878
},
7979
"development": {
8080
"optimization": false,

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@
2424
"lib:lint": "ng lint angular-colorful",
2525
"lib:lint:fix": "ng lint angular-colorful --fix",
2626
"lib:publish": "npm run lib:build && cd dist/lib && npm pack && npm publish",
27-
"update-deps": "ng update @angular/cli",
28-
"ngcc": "ngcc"
27+
"update-ng": "ng update @angular/cli"
2928
},
3029
"dependencies": {
3130
"@angular/animations": "^19.2.10",
File renamed without changes.

projects/app/tsconfig.app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* To learn more about this file see: https://angular.io/config/tsconfig. */
22
{
3-
"extends": "../../tsconfig.json",
3+
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "../../out-tsc/app",
66
"types": []

projects/app/tsconfig.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
2+
{
3+
"extends": "../../tsconfig.json",
4+
"compilerOptions": {
5+
"paths": {
6+
"angular-colorful": [
7+
"dist/lib"
8+
],
9+
"@ng-doc/generated": [
10+
"ng-doc/app/index.ts"
11+
],
12+
"@ng-doc/generated/*": [
13+
"ng-doc/app/*"
14+
]
15+
}
16+
}
17+
}

projects/app/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* To learn more about this file see: https://angular.io/config/tsconfig. */
22
{
3-
"extends": "../../tsconfig.json",
3+
"extends": "./tsconfig.json",
44
"compilerOptions": {
55
"outDir": "../../out-tsc/spec",
66
"types": [

tsconfig.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,7 @@
2121
"lib": [
2222
"ES2022",
2323
"dom"
24-
],
25-
"paths": {
26-
"angular-colorful": [
27-
"dist/lib"
28-
],
29-
"@ng-doc/generated": [
30-
"ng-doc/app/index.ts"
31-
],
32-
"@ng-doc/generated/*": [
33-
"ng-doc/app/*"
34-
]
35-
}
24+
]
3625
},
3726
"angularCompilerOptions": {
3827
"enableI18nLegacyMessageIdFormat": false,

0 commit comments

Comments
 (0)