Skip to content

Commit

Permalink
feat: add my-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Nov 22, 2023
1 parent a2ffaba commit 1a20635
Show file tree
Hide file tree
Showing 17 changed files with 887 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,4 @@ testem.log
.DS_Store
Thumbs.db
scully.log
/.nx/cache
33 changes: 33 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,39 @@
"builder": "@nx/vite:test"
}
}
},
"my-lib": {
"projectType": "library",
"root": "projects/my-lib",
"sourceRoot": "projects/my-lib/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/my-lib/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/my-lib/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/my-lib/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/my-lib/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
}
}
}

0 comments on commit 1a20635

Please sign in to comment.