diff options
Diffstat (limited to 'security/bitwarden-cli/files/packagejsons/libs')
33 files changed, 63 insertions, 52 deletions
diff --git a/security/bitwarden-cli/files/packagejsons/libs/admin-console/package.json b/security/bitwarden-cli/files/packagejsons/libs/admin-console/package.json index c319beb8f4cc..5e934006d0db 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/admin-console/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/admin-console/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/angular/package.json b/security/bitwarden-cli/files/packagejsons/libs/angular/package.json index 322c8c826a2f..0b9111f88fbd 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/angular/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/angular/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/assets/package.json b/security/bitwarden-cli/files/packagejsons/libs/assets/package.json index cc5935833bf9..c46c2a4e954a 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/assets/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/assets/package.json @@ -4,8 +4,8 @@ "description": "Assets used in Bitwarden clients", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "ui-foundation", "scripts": { diff --git a/security/bitwarden-cli/files/packagejsons/libs/auth/package.json b/security/bitwarden-cli/files/packagejsons/libs/auth/package.json index 52c1be63f817..cab83bd3b8dc 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/auth/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/auth/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/billing/package.json b/security/bitwarden-cli/files/packagejsons/libs/billing/package.json index 8858cfaa2669..3afd267cc231 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/billing/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/billing/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest --passWithNoTests" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/client-type/package.json b/security/bitwarden-cli/files/packagejsons/libs/client-type/package.json index 1db72603bf9f..9a18cf281818 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/client-type/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/client-type/package.json @@ -4,8 +4,8 @@ "description": "Exports the ClientType enum", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/core-test-utils/package.json b/security/bitwarden-cli/files/packagejsons/libs/core-test-utils/package.json index acb2edc8eb5a..dd9e54e6548e 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/core-test-utils/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/core-test-utils/package.json @@ -4,8 +4,8 @@ "description": "Async test tools for state and clients", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/dirt/card/package.json b/security/bitwarden-cli/files/packagejsons/libs/dirt/card/package.json index cf613ead7af6..d6fc1841888e 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/dirt/card/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/dirt/card/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest --passWithNoTests" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/guid/package.json b/security/bitwarden-cli/files/packagejsons/libs/guid/package.json index 9f7af0667a35..4461add637f5 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/guid/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/guid/package.json @@ -4,8 +4,8 @@ "description": "Guid utilities extracted from common", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/importer/package.json b/security/bitwarden-cli/files/packagejsons/libs/importer/package.json index eb2588b6340e..2c85c78cb666 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/importer/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/importer/package.json @@ -13,6 +13,7 @@ }, "license": "GPL-3.0", "scripts": { + "test": "jest", "clean": "rimraf dist", "build": "npm run clean && tsc", "build:watch": "npm run clean && tsc -watch" diff --git a/security/bitwarden-cli/files/packagejsons/libs/logging/package.json b/security/bitwarden-cli/files/packagejsons/libs/logging/package.json index b9cfbe35eb0f..2b1d529af334 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/logging/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/logging/package.json @@ -4,8 +4,8 @@ "description": "Logging primitives", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/messaging-internal/package.json b/security/bitwarden-cli/files/packagejsons/libs/messaging-internal/package.json deleted file mode 100644 index 7a0a13d2d673..000000000000 --- a/security/bitwarden-cli/files/packagejsons/libs/messaging-internal/package.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "@bitwarden/messaging-internal", - "version": "0.0.1", - "description": "Internal details to accompany @bitwarden/messaging this library should not be consumed in non-platform code.", - "private": true, - "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", - "license": "GPL-3.0", - "author": "platform" -} diff --git a/security/bitwarden-cli/files/packagejsons/libs/messaging/package.json b/security/bitwarden-cli/files/packagejsons/libs/messaging/package.json index 01c8d7cb0e7a..7f83f0170c80 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/messaging/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/messaging/package.json @@ -4,8 +4,8 @@ "description": "Services for sending and recieving messages from different contexts of the same application.", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/node/package.json b/security/bitwarden-cli/files/packagejsons/libs/node/package.json index 823913c997d3..6a375a2a5ad8 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/node/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/node/package.json @@ -13,6 +13,7 @@ }, "license": "GPL-3.0", "scripts": { + "test": "jest", "clean": "rimraf dist", "build": "npm run clean && tsc", "build:watch": "npm run clean && tsc -watch" diff --git a/security/bitwarden-cli/files/packagejsons/libs/nx-plugin/package.json b/security/bitwarden-cli/files/packagejsons/libs/nx-plugin/package.json index 8a3bdebf9ac5..8d132bad96b6 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/nx-plugin/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/nx-plugin/package.json @@ -4,8 +4,8 @@ "description": "Custom Nx tools like generators and executors for Bitwarden projects", "private": true, "type": "commonjs", - "main": "./src/index.js", - "types": "./src/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "Platform", "generators": "./generators.json" diff --git a/security/bitwarden-cli/files/packagejsons/libs/platform/package.json b/security/bitwarden-cli/files/packagejsons/libs/platform/package.json index 093019b446d9..b063def1a9b3 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/platform/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/platform/package.json @@ -13,6 +13,7 @@ }, "license": "GPL-3.0", "scripts": { + "test": "jest", "clean": "rimraf dist", "build": "npm run clean && tsc", "build:watch": "npm run clean && tsc -watch" diff --git a/security/bitwarden-cli/files/packagejsons/libs/serialization/package.json b/security/bitwarden-cli/files/packagejsons/libs/serialization/package.json index d582d28ac236..09d1e05e19d8 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/serialization/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/serialization/package.json @@ -4,8 +4,8 @@ "description": "Core serialization utilities", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/state-internal/package.json b/security/bitwarden-cli/files/packagejsons/libs/state-internal/package.json index 2a6252205987..b8634a672f37 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/state-internal/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/state-internal/package.json @@ -4,8 +4,8 @@ "description": "The internal parts of @bitwarden/state that should not be used by other teams.", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/state-test-utils/package.json b/security/bitwarden-cli/files/packagejsons/libs/state-test-utils/package.json index 9fd9aa64e5f1..f4c2fb45a19c 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/state-test-utils/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/state-test-utils/package.json @@ -4,8 +4,8 @@ "description": "Test utilities and fakes for state management", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/state/package.json b/security/bitwarden-cli/files/packagejsons/libs/state/package.json index 2c25647e4e35..62805f6a084b 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/state/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/state/package.json @@ -4,8 +4,8 @@ "description": "Centralized application state management", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/storage-core/package.json b/security/bitwarden-cli/files/packagejsons/libs/storage-core/package.json index 7b18e4dcb5f4..4f566ef2056b 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/storage-core/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/storage-core/package.json @@ -4,8 +4,8 @@ "description": "Abstractions over storage APIs", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/storage-test-utils/package.json b/security/bitwarden-cli/files/packagejsons/libs/storage-test-utils/package.json index 22d83f2334ed..6fcca07803d0 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/storage-test-utils/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/storage-test-utils/package.json @@ -4,8 +4,8 @@ "description": "Test tools for the storage library", "private": true, "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "platform" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-core/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-core/package.json index c7fcd26d8847..887f64a2f0c5 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-core/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-core/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-ui/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-ui/package.json index 4dc5e3251241..2a2d2dc599d8 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-ui/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/export/vault-export/vault-export-ui/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest --passWithNoTests" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/components/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/components/package.json index be4bbbe4ae89..4e6ddd39df7e 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/components/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/components/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest --passWithNoTests" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/core/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/core/package.json index 23ef352f9a61..00adf1c7e521 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/core/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/core/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/history/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/history/package.json index 5941d675536e..2e61910941a3 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/history/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/history/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/legacy/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/legacy/package.json index 151f48d5aba1..eaf07d0e3ed1 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/legacy/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/legacy/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/navigation/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/navigation/package.json index 61b6d2b8da3f..96b1eb3c3bba 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/navigation/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/generator/extensions/navigation/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/tools/send/send-ui/package.json b/security/bitwarden-cli/files/packagejsons/libs/tools/send/send-ui/package.json index 98f7e0ca27e8..1bfdf87da104 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/tools/send/send-ui/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/tools/send/send-ui/package.json @@ -15,6 +15,7 @@ "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsc", - "build:watch": "npm run clean && tsc -watch" + "build:watch": "npm run clean && tsc -watch", + "test": "jest" } } diff --git a/security/bitwarden-cli/files/packagejsons/libs/ui/common/package.json b/security/bitwarden-cli/files/packagejsons/libs/ui/common/package.json index 4ea0f8aed771..0cc6d4b153f3 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/ui/common/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/ui/common/package.json @@ -12,6 +12,11 @@ "url": "https://github.com/bitwarden/clients" }, "license": "GPL-3.0", + "scripts": { + "clean": "rimraf dist", + "build": "npm run clean && tsc", + "build:watch": "npm run clean && tsc -watch" + }, "exports": { ".": { "import": "./src/index.ts" diff --git a/security/bitwarden-cli/files/packagejsons/libs/user-core/package.json b/security/bitwarden-cli/files/packagejsons/libs/user-core/package.json index 2251d2ceace7..b32afd6d8f9a 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/user-core/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/user-core/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "description": "The very basic concept that constitutes a user, this needs to be very low level to facilitate Platform keeping their own code low level.", "type": "commonjs", - "main": "dist/index.js", - "types": "dist/index.d.ts", + "main": "index.js", + "types": "index.d.ts", "license": "GPL-3.0", "author": "auth" } diff --git a/security/bitwarden-cli/files/packagejsons/libs/vault/package.json b/security/bitwarden-cli/files/packagejsons/libs/vault/package.json index 48822f93a40f..3d0653205201 100644 --- a/security/bitwarden-cli/files/packagejsons/libs/vault/package.json +++ b/security/bitwarden-cli/files/packagejsons/libs/vault/package.json @@ -13,6 +13,7 @@ }, "license": "GPL-3.0", "scripts": { + "test": "jest", "clean": "rimraf dist", "build": "npm run clean && tsc", "build:watch": "npm run clean && tsc -watch" |
