Skip to content

Commit

Permalink
adjustment library darkmode-angular
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Oct 18, 2024
1 parent 74b48a2 commit 67e38d7
Show file tree
Hide file tree
Showing 19 changed files with 609 additions and 213 deletions.
41 changes: 37 additions & 4 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"projects": {
"darkmode-angular": {
"darkmode-angular-spa": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
Expand Down Expand Up @@ -69,18 +69,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "darkmode-angular:build:production"
"buildTarget": "darkmode-angular-spa:build:production"
},
"development": {
"buildTarget": "darkmode-angular:build:development"
"buildTarget": "darkmode-angular-spa:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"buildTarget": "darkmode-angular:build"
"buildTarget": "darkmode-angular-spa:build"
}
},
"test": {
Expand All @@ -102,6 +102,39 @@
}
}
}
},
"darkmode-angular": {
"projectType": "library",
"root": "projects/darkmode-angular",
"sourceRoot": "projects/darkmode-angular/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/darkmode-angular/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/darkmode-angular/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/darkmode-angular/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/darkmode-angular/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
}
},
"cli": {
Expand Down
Loading

0 comments on commit 67e38d7

Please sign in to comment.