Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Commit

Permalink
feat(materials): add materials lib
Browse files Browse the repository at this point in the history
  • Loading branch information
nartc committed Apr 16, 2021
1 parent 13258ae commit 69dbdda
Show file tree
Hide file tree
Showing 34 changed files with 20,063 additions and 21 deletions.
37 changes: 37 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,43 @@
}
}
}
},
"core-materials": {
"projectType": "library",
"root": "packages/core/materials",
"sourceRoot": "packages/core/materials/src",
"prefix": "ngt",
"architect": {
"build": {
"builder": "@nrwl/angular:package",
"options": {
"tsConfig": "packages/core/materials/tsconfig.lib.json",
"project": "packages/core/materials/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "packages/core/materials/tsconfig.lib.prod.json"
}
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": [
"packages/core/materials/src/**/*.ts",
"packages/core/materials/src/**/*.html"
]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"outputs": ["coverage/packages/core/materials"],
"options": {
"jestConfig": "packages/core/materials/jest.config.js",
"passWithNoTests": true
}
}
}
}
},
"cli": {
Expand Down
6 changes: 5 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
module.exports = {
projects: ['<rootDir>/packages/core', '<rootDir>/packages/core/typings'],
projects: [
'<rootDir>/packages/core',
'<rootDir>/packages/core/typings',
'<rootDir>/packages/core/materials',
],
};
3 changes: 3 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"core": { "tags": ["scope:core", "type:library"] },
"core-typings": {
"tags": ["scope:core", "type:library", "context:typings"]
},
"core-materials": {
"tags": ["scope:core", "type:library", "context:materials"]
}
},
"workspaceLayout": { "appsDir": "packages", "libsDir": "packages" }
Expand Down
Loading

0 comments on commit 69dbdda

Please sign in to comment.