Skip to content

Commit

Permalink
PM-14445: Fix Web strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mzieniukbw committed Nov 4, 2024
1 parent 65adcfd commit c414a02
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
4 changes: 2 additions & 2 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
12 changes: 0 additions & 12 deletions apps/web/src/app/key-management/tsconfig.json

This file was deleted.

9 changes: 8 additions & 1 deletion apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c414a02

Please sign in to comment.