@forsakringskassan/vite-lib-config 5.11.0 → 5.12.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.
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.59.0"
8
+ "packageVersion": "7.59.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/vite-lib-config",
3
- "version": "5.11.0",
3
+ "version": "5.12.0",
4
4
  "description": "Försäkringskassan toolchain to build libraries with Vite",
5
5
  "keywords": [
6
6
  "vite"
@@ -52,7 +52,7 @@
52
52
  "tsconfig"
53
53
  ],
54
54
  "dependencies": {
55
- "@microsoft/api-extractor": "7.59.0",
55
+ "@microsoft/api-extractor": "7.59.1",
56
56
  "@vue/babel-preset-app": "5.0.9",
57
57
  "esbuild": "^0.28.0"
58
58
  },
@@ -8,6 +8,7 @@
8
8
  "emitDeclarationOnly": true,
9
9
  "declarationDir": "temp/cypress",
10
10
  "skipLibCheck": true,
11
+ "allowImportingTsExtensions": true,
11
12
 
12
13
  /* workaround for `cy.mount()` (via `@vue/test-utils`) being
13
14
  * incompatable with types generated by `vue-tsc`, giving errors such
@@ -27,6 +28,7 @@
27
28
  },
28
29
  "include": [
29
30
  "${configDir}/src/**/*.ts",
31
+ "${configDir}/src/**/*.mts",
30
32
  "${configDir}/src/**/*.vue",
31
33
  "${configDir}/src/**/*.cy.ts"
32
34
  ],
@@ -5,6 +5,7 @@
5
5
  "composite": true,
6
6
  "tsBuildInfoFile": "${configDir}/temp/tsconfig.lib.tsbuildinfo",
7
7
  "types": ["node", "vite/client"],
8
+ "allowImportingTsExtensions": true,
8
9
 
9
10
  /* stricter config */
10
11
  "allowUnusedLabels": false,
@@ -12,7 +13,11 @@
12
13
  "noImplicitOverride": true,
13
14
  "noFallthroughCasesInSwitch": true
14
15
  },
15
- "include": ["${configDir}/src/**/*.ts", "${configDir}/src/**/*.vue"],
16
+ "include": [
17
+ "${configDir}/src/**/*.ts",
18
+ "${configDir}/src/**/*.mts",
19
+ "${configDir}/src/**/*.vue"
20
+ ],
16
21
  "exclude": [
17
22
  "${configDir}/src/@types/cypress.d.ts",
18
23
  "${configDir}/src/cypress/**/*.ts",
@@ -6,6 +6,7 @@
6
6
  "types": ["cypress"],
7
7
  "emitDeclarationOnly": true,
8
8
  "skipLibCheck": true,
9
+ "allowImportingTsExtensions": true,
9
10
 
10
11
  /* stricter config */
11
12
  "allowUnusedLabels": false,
@@ -15,8 +16,9 @@
15
16
  },
16
17
  "include": [
17
18
  "${configDir}/src/cypress/**/*.ts",
18
- "${configDir}/src/selectors/**/*.ts",
19
- "${configDir}/src/**/*.pageobject.ts"
19
+ "${configDir}/src/cypress/**/*.mts",
20
+ "${configDir}/src/**/*.pageobject.ts",
21
+ "${configDir}/src/**/*.pageobject.mts"
20
22
  ],
21
23
  "exclude": ["${configDir}/src/**/*.cy.ts", "${configDir}/src/**/*.spec.ts"]
22
24
  }
@@ -5,6 +5,7 @@
5
5
  "tsBuildInfoFile": "${configDir}/temp/tsconfig.selectors.tsbuildinfo",
6
6
  "types": [],
7
7
  "emitDeclarationOnly": true,
8
+ "allowImportingTsExtensions": true,
8
9
 
9
10
  /* stricter config */
10
11
  "allowUnusedLabels": false,
@@ -12,6 +13,11 @@
12
13
  "noImplicitOverride": true,
13
14
  "noFallthroughCasesInSwitch": true
14
15
  },
15
- "include": ["${configDir}/src/selectors/**/*.ts"],
16
+ "include": [
17
+ "${configDir}/src/selectors/**/*.ts",
18
+ "${configDir}/src/selectors/**/*.mts",
19
+ "${configDir}/src/**/*.selectors.ts",
20
+ "${configDir}/src/**/*.selectors.mts"
21
+ ],
16
22
  "exclude": ["${configDir}/src/**/*.spec.ts"]
17
23
  }