mirror of
https://github.com/bitwarden/browser
synced 2026-01-07 19:13:39 +00:00
Platform logging lib (#15338)
* Add Platform Logging Lib * Move console log spec and test util back into libs/common * Fix ConsoleLogServer re-export * Fix types error
This commit is contained in:
33
libs/logging/project.json
Normal file
33
libs/logging/project.json
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "logging",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "libs/logging/src",
|
||||
"projectType": "library",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "@nx/js:tsc",
|
||||
"outputs": ["{options.outputPath}"],
|
||||
"options": {
|
||||
"outputPath": "dist/libs/logging",
|
||||
"main": "libs/logging/src/index.ts",
|
||||
"tsConfig": "libs/logging/tsconfig.lib.json",
|
||||
"assets": ["libs/logging/*.md"]
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"executor": "@nx/eslint:lint",
|
||||
"outputs": ["{options.outputFile}"],
|
||||
"options": {
|
||||
"lintFilePatterns": ["libs/logging/**/*.ts"]
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"executor": "@nx/jest:jest",
|
||||
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
||||
"options": {
|
||||
"jestConfig": "libs/logging/jest.config.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user