1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

build: add nx configuration in libs/components (#16545)

This commit is contained in:
Addison Beck
2025-09-23 14:19:10 -04:00
committed by GitHub
parent e1f32bdd4b
commit c688eed531

View File

@@ -0,0 +1,41 @@
{
"name": "@bitwarden/components",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/components/src",
"projectType": "library",
"tags": ["scope:components", "type:lib"],
"targets": {
"build": {
"executor": "nx:run-script",
"dependsOn": [],
"options": {
"script": "build"
}
},
"build:watch": {
"executor": "nx:run-script",
"options": {
"script": "watch"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["libs/components/**/*.ts"]
}
},
"test": {
"executor": "nx:run-script",
"options": {
"script": "test"
}
},
"test:watch": {
"executor": "nx:run-script",
"options": {
"script": "test:watch"
}
}
}
}