From c688eed531997ad9420b22e752ab30f079c6909a Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Tue, 23 Sep 2025 14:19:10 -0400 Subject: [PATCH] build: add nx configuration in libs/components (#16545) --- libs/components/project.json | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 libs/components/project.json diff --git a/libs/components/project.json b/libs/components/project.json new file mode 100644 index 00000000000..8201c4ea36d --- /dev/null +++ b/libs/components/project.json @@ -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" + } + } + } +}