1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-19 02:44:01 +00:00

PM-14445: Fix Desktop strict mode

This commit is contained in:
Maciej Zieniuk
2024-11-04 21:42:55 +00:00
parent dced4735c9
commit 65adcfdd8b
3 changed files with 9 additions and 14 deletions

View File

@@ -19,7 +19,7 @@
"postinstall": "electron-rebuild",
"start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build",
"build-native": "cd desktop_native && node build.js",
"build": "concurrently -n Main,Rend,Prel -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\" \"npm run build:preload\"",
"build": "tsc-strict && concurrently -n Main,Rend,Prel -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\" \"npm run build:preload\"",
"build:dev": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main:dev\" \"npm run build:renderer:dev\"",
"build:preload": "cross-env NODE_ENV=production webpack --config webpack.preload.js",
"build:preload:watch": "cross-env NODE_ENV=production webpack --config webpack.preload.js --watch",

View File

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

View File

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