diff --git a/libs/admin-console/project.json b/libs/admin-console/project.json new file mode 100644 index 00000000000..cd9565d7e21 --- /dev/null +++ b/libs/admin-console/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/admin-console", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/admin-console/src", + "projectType": "library", + "tags": ["scope:admin-console", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/admin-console/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/angular/project.json b/libs/angular/project.json new file mode 100644 index 00000000000..0437b9cb8e9 --- /dev/null +++ b/libs/angular/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/angular", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/angular/src", + "projectType": "library", + "tags": ["scope:angular", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/angular/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/auth/project.json b/libs/auth/project.json new file mode 100644 index 00000000000..7fa3d175212 --- /dev/null +++ b/libs/auth/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/auth", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/auth/src", + "projectType": "library", + "tags": ["scope:auth", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/auth/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/billing/project.json b/libs/billing/project.json new file mode 100644 index 00000000000..6592726d39b --- /dev/null +++ b/libs/billing/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/billing", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/billing/src", + "projectType": "library", + "tags": ["scope:billing", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/billing/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/components/project.json b/libs/components/project.json new file mode 100644 index 00000000000..c69e19b65fa --- /dev/null +++ b/libs/components/project.json @@ -0,0 +1,29 @@ +{ + "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" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/components/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/importer/project.json b/libs/importer/project.json new file mode 100644 index 00000000000..5ae87beeb7c --- /dev/null +++ b/libs/importer/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/importer", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/importer/src", + "projectType": "library", + "tags": ["scope:importer", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/importer/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/key-management-ui/project.json b/libs/key-management-ui/project.json new file mode 100644 index 00000000000..8ce97a407f2 --- /dev/null +++ b/libs/key-management-ui/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/key-management-ui", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/key-management-ui/src", + "projectType": "library", + "tags": ["scope:key-management-ui", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/key-management-ui/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/key-management/project.json b/libs/key-management/project.json new file mode 100644 index 00000000000..a432e6c6ecf --- /dev/null +++ b/libs/key-management/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/key-management", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/key-management/src", + "projectType": "library", + "tags": ["scope:key-management", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/key-management/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/node/project.json b/libs/node/project.json new file mode 100644 index 00000000000..5a079bdd20c --- /dev/null +++ b/libs/node/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/node", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/node/src", + "projectType": "library", + "tags": ["scope:node", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/node/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/platform/project.json b/libs/platform/project.json new file mode 100644 index 00000000000..4fcef92a212 --- /dev/null +++ b/libs/platform/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/platform", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/platform/src", + "projectType": "library", + "tags": ["scope:platform", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/platform/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/export/vault-export/vault-export-core/project.json b/libs/tools/export/vault-export/vault-export-core/project.json new file mode 100644 index 00000000000..3b343e0a63d --- /dev/null +++ b/libs/tools/export/vault-export/vault-export-core/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/vault-export-core", + "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/export/vault-export/vault-export-core/src", + "projectType": "library", + "tags": ["scope:vault-export-core", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/export/vault-export/vault-export-core/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/export/vault-export/vault-export-ui/project.json b/libs/tools/export/vault-export/vault-export-ui/project.json new file mode 100644 index 00000000000..d3442464f3a --- /dev/null +++ b/libs/tools/export/vault-export/vault-export-ui/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/vault-export-ui", + "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/export/vault-export/vault-export-ui/src", + "projectType": "library", + "tags": ["scope:vault-export-ui", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/export/vault-export/vault-export-ui/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/generator/components/project.json b/libs/tools/generator/components/project.json new file mode 100644 index 00000000000..35a8d1ef274 --- /dev/null +++ b/libs/tools/generator/components/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/generator-components", + "$schema": "../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/generator/components/src", + "projectType": "library", + "tags": ["scope:generator-components", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/generator/components/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/generator/core/project.json b/libs/tools/generator/core/project.json new file mode 100644 index 00000000000..1c6e96670e3 --- /dev/null +++ b/libs/tools/generator/core/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/generator-core", + "$schema": "../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/generator/core/src", + "projectType": "library", + "tags": ["scope:generator-core", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/generator/core/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/generator/extensions/history/project.json b/libs/tools/generator/extensions/history/project.json new file mode 100644 index 00000000000..4c4671a5d3d --- /dev/null +++ b/libs/tools/generator/extensions/history/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/generator-history", + "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/generator/extensions/history/src", + "projectType": "library", + "tags": ["scope:generator-history", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/generator/extensions/history/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/generator/extensions/legacy/project.json b/libs/tools/generator/extensions/legacy/project.json new file mode 100644 index 00000000000..849dc28eacb --- /dev/null +++ b/libs/tools/generator/extensions/legacy/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/generator-legacy", + "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/generator/extensions/legacy/src", + "projectType": "library", + "tags": ["scope:generator-legacy", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/generator/extensions/legacy/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/generator/extensions/navigation/project.json b/libs/tools/generator/extensions/navigation/project.json new file mode 100644 index 00000000000..bf6fc5348b8 --- /dev/null +++ b/libs/tools/generator/extensions/navigation/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/generator-navigation", + "$schema": "../../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/generator/extensions/navigation/src", + "projectType": "library", + "tags": ["scope:generator-navigation", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/generator/extensions/navigation/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/tools/send/send-ui/project.json b/libs/tools/send/send-ui/project.json new file mode 100644 index 00000000000..09d9aa3e15e --- /dev/null +++ b/libs/tools/send/send-ui/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/send-ui", + "$schema": "../../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/tools/send/send-ui/src", + "projectType": "library", + "tags": ["scope:send-ui", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/tools/send/send-ui/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/ui/common/project.json b/libs/ui/common/project.json new file mode 100644 index 00000000000..6709077f3be --- /dev/null +++ b/libs/ui/common/project.json @@ -0,0 +1,22 @@ +{ + "name": "@bitwarden/ui-common", + "$schema": "../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/ui/common/src", + "projectType": "library", + "tags": ["scope:ui-common", "type:lib"], + "targets": { + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/ui/common/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +} diff --git a/libs/vault/project.json b/libs/vault/project.json new file mode 100644 index 00000000000..291808b9074 --- /dev/null +++ b/libs/vault/project.json @@ -0,0 +1,29 @@ +{ + "name": "@bitwarden/vault", + "$schema": "../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "libs/vault/src", + "projectType": "library", + "tags": ["scope:vault", "type:lib"], + "targets": { + "build": { + "executor": "nx:run-script", + "dependsOn": [], + "options": { + "script": "build" + } + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "lintFilePatterns": ["libs/vault/**/*.ts"] + } + }, + "test": { + "executor": "nx:run-script", + "options": { + "script": "test" + } + } + } +}