@apitree.cz/vitest-config 0.2.0-next.dcad4a0 → 0.2.0-next.e523288
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/README.md +3 -3
- package/package.json +26 -3
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
pnpm add --save-dev @apitree.cz/vitest-config vitest
|
|
16
|
+
pnpm add --save-dev @apitree.cz/vitest-config @vitest/coverage-istanbul vitest
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
@@ -34,8 +34,8 @@ export { react as default } from '@apitree.cz/vitest-config';
|
|
|
34
34
|
|
|
35
35
|
### Nest.js
|
|
36
36
|
|
|
37
|
-
⚠️
|
|
38
|
-
ESM.
|
|
37
|
+
⚠️ _Nest.js projects are CJS by default. This configuration needs to be placed in `vitest.config.mjs` to interpret it as
|
|
38
|
+
ESM._
|
|
39
39
|
|
|
40
40
|
```typescript
|
|
41
41
|
export { nestjs as default } from '@apitree.cz/vitest-config';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apitree.cz/vitest-config",
|
|
3
|
-
"version": "0.2.0-next.
|
|
3
|
+
"version": "0.2.0-next.e523288",
|
|
4
4
|
"description": "Vitest configuration for ApiTree projects.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,21 +9,44 @@
|
|
|
9
9
|
},
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"type": "module",
|
|
12
|
-
"exports":
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"types": "./dist/index.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./base": {
|
|
18
|
+
"import": "./dist/base.js",
|
|
19
|
+
"types": "./dist/base.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./constants": {
|
|
22
|
+
"import": "./dist/constants.js",
|
|
23
|
+
"types": "./dist/constants.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./nestjs": {
|
|
26
|
+
"import": "./dist/nestjs.js",
|
|
27
|
+
"types": "./dist/nestjs.d.ts"
|
|
28
|
+
},
|
|
29
|
+
"./react": {
|
|
30
|
+
"import": "./dist/react.js",
|
|
31
|
+
"types": "./dist/react.d.ts"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
13
35
|
"files": [
|
|
14
36
|
"dist"
|
|
15
37
|
],
|
|
16
38
|
"dependencies": {
|
|
17
39
|
"@swc/core": "^1.3.95",
|
|
18
40
|
"@vitejs/plugin-react": "^4.1.0",
|
|
19
|
-
"@vitest/coverage-istanbul": "^0.34.6",
|
|
20
41
|
"unplugin-swc": "^1.4.3",
|
|
21
42
|
"vite": "^4.5.0"
|
|
22
43
|
},
|
|
23
44
|
"devDependencies": {
|
|
45
|
+
"@vitest/coverage-istanbul": "^0.34.6",
|
|
24
46
|
"vitest": "^0.34.6"
|
|
25
47
|
},
|
|
26
48
|
"peerDependencies": {
|
|
49
|
+
"@vitest/coverage-istanbul": "^0.34.6",
|
|
27
50
|
"vitest": "^0.34.6"
|
|
28
51
|
},
|
|
29
52
|
"scripts": {
|