1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 22:44:11 +00:00

PM-14445: Fix Web strict mode

This commit is contained in:
Maciej Zieniuk
2024-11-04 21:47:03 +00:00
parent 65adcfdd8b
commit c414a021eb
3 changed files with 10 additions and 15 deletions

View File

@@ -2,8 +2,8 @@
"name": "@bitwarden/web-vault",
"version": "2024.10.5",
"scripts": {
"build:oss": "webpack",
"build:bit": "webpack -c ../../bitwarden_license/bit-web/webpack.config.js",
"build:oss": "tsc-strict && webpack",
"build:bit": "tsc-strict && webpack -c ../../bitwarden_license/bit-web/webpack.config.js",
"build:oss:watch": "webpack serve",
"build:bit:watch": "webpack serve -c ../../bitwarden_license/bit-web/webpack.config.js",
"build:bit:dev": "cross-env ENV=development npm run build:bit",

View File

@@ -1,12 +0,0 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": ["./"],
"excludePattern": ["**/*.spec.ts"]
}
]
}
}

View File

@@ -30,7 +30,14 @@
"@bitwarden/tools-card": ["../../libs/tools/card/src"],
"@bitwarden/vault": ["../../libs/vault/src"],
"@bitwarden/web-vault/*": ["src/*"]
}
},
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": ["./src/app/key-management"],
"excludePattern": ["**/*.spec.ts"]
}
]
},
"angularCompilerOptions": {
"strictTemplates": true,