From daae86ef5747c154c6120f363c6f6d43f8795d9e Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Wed, 24 Sep 2025 07:20:42 -0400 Subject: [PATCH] build: add nx configuration in libs/common (#16544) --- libs/common/project.json | 41 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 libs/common/project.json diff --git a/libs/common/project.json b/libs/common/project.json new file mode 100644 index 00000000000..848bcd73c20 --- /dev/null +++ b/libs/common/project.json @@ -0,0 +1,41 @@ +{ + "name": "@bitwarden/common", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/common/src", + "projectType": "library", + "tags": ["scope:common", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "build:watch": { + "executor": "nx:run-script", + "options": { + "script": "build:watch" + } + }, + "clean": { + "executor": "nx:run-script", + "options": { + "script": "clean" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/common/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +}