@forsakringskassan/vite-lib-config 5.5.0 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/vite-lib-config",
3
- "version": "5.5.0",
3
+ "version": "5.6.0",
4
4
  "description": "Försäkringskassan toolchain to build libraries with Vite",
5
5
  "keywords": [
6
6
  "vite"
@@ -17,7 +17,13 @@
17
17
  * - "Types of property 'setup' are incompatable"
18
18
  * - etc...
19
19
  */
20
- "strictFunctionTypes": false
20
+ "strictFunctionTypes": false,
21
+
22
+ /* stricter config */
23
+ "allowUnusedLabels": false,
24
+ "allowUnreachableCode": false,
25
+ "noImplicitOverride": true,
26
+ "noFallthroughCasesInSwitch": true
21
27
  },
22
28
  "include": [
23
29
  "${configDir}/src/**/*.ts",
@@ -4,7 +4,13 @@
4
4
  "compilerOptions": {
5
5
  "composite": true,
6
6
  "tsBuildInfoFile": "${configDir}/temp/tsconfig.lib.tsbuildinfo",
7
- "types": ["node", "vite/client"]
7
+ "types": ["node", "vite/client"],
8
+
9
+ /* stricter config */
10
+ "allowUnusedLabels": false,
11
+ "allowUnreachableCode": false,
12
+ "noImplicitOverride": true,
13
+ "noFallthroughCasesInSwitch": true
8
14
  },
9
15
  "include": ["${configDir}/src/**/*.ts", "${configDir}/src/**/*.vue"],
10
16
  "exclude": [
@@ -5,7 +5,13 @@
5
5
  "tsBuildInfoFile": "${configDir}/temp/tsconfig.pageobjects.tsbuildinfo",
6
6
  "types": ["cypress"],
7
7
  "emitDeclarationOnly": true,
8
- "skipLibCheck": true
8
+ "skipLibCheck": true,
9
+
10
+ /* stricter config */
11
+ "allowUnusedLabels": false,
12
+ "allowUnreachableCode": false,
13
+ "noImplicitOverride": true,
14
+ "noFallthroughCasesInSwitch": true
9
15
  },
10
16
  "include": [
11
17
  "${configDir}/src/cypress/**/*.ts",
@@ -4,7 +4,13 @@
4
4
  "composite": true,
5
5
  "tsBuildInfoFile": "${configDir}/temp/tsconfig.selectors.tsbuildinfo",
6
6
  "types": [],
7
- "emitDeclarationOnly": true
7
+ "emitDeclarationOnly": true,
8
+
9
+ /* stricter config */
10
+ "allowUnusedLabels": false,
11
+ "allowUnreachableCode": false,
12
+ "noImplicitOverride": true,
13
+ "noFallthroughCasesInSwitch": true
8
14
  },
9
15
  "include": ["${configDir}/src/selectors/**/*.ts"],
10
16
  "exclude": ["${configDir}/src/**/*.spec.ts"]