mirror of
https://github.com/bitwarden/browser
synced 2026-02-14 23:45:37 +00:00
Create new @bitwarden/flight-recorder library via NX generator: - Library structure with src/index.ts entry point - Jest, ESLint, and TypeScript configuration - CODEOWNERS assigned to Platform team - tsconfig.base.json path mapping added
35 lines
981 B
JSON
35 lines
981 B
JSON
{
|
|
"name": "flight-recorder",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/flight-recorder/src",
|
|
"projectType": "library",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/js:tsc",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/libs/flight-recorder",
|
|
"main": "libs/flight-recorder/src/index.ts",
|
|
"tsConfig": "libs/flight-recorder/tsconfig.lib.json",
|
|
"assets": ["libs/flight-recorder/*.md"],
|
|
"rootDir": "libs/flight-recorder/src"
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nx/eslint:lint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/flight-recorder/**/*.ts"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nx/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
|
"options": {
|
|
"jestConfig": "libs/flight-recorder/jest.config.js"
|
|
}
|
|
}
|
|
}
|
|
}
|