@altano/vitest-plugins 1.1.0 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @altano/vitest-plugins
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - b461e76: fix readme
8
+
3
9
  ## 1.1.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -1,5 +1,3 @@
1
- /_ eslint-disable @typescript-eslint/no-empty-object-type _/
2
-
3
1
  # vitest-plugins
4
2
 
5
3
  [![npm](https://badgen.net/npm/v/@altano/vitest-plugins)](https://www.npmjs.com/package/@altano/vitest-plugins) ![Typed with TypeScript](https://badgen.net/npm/types/@altano/vitest-plugins) ![ESM only](https://badgen.net/badge/module/esm%20only?icon=js)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altano/vitest-plugins",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Custom matchers and snapshot serializers to enhance vitest",
5
5
  "homepage": "https://github.com/altano/npm-packages/tree/main/packages/vitest-plugins",
6
6
  "repository": {
@@ -17,8 +17,8 @@
17
17
  "type": "module",
18
18
  "exports": {
19
19
  "./matchers": {
20
- "default": "./src/matchers/setup.ts",
21
- "types": "./src/matchers/types.d.ts"
20
+ "types": "./src/matchers/types.d.ts",
21
+ "default": "./src/matchers/setup.ts"
22
22
  },
23
23
  "./matchers/*": "./src/matchers/*.ts",
24
24
  "./matchers/types": "./src/matchers/types.d.ts",
@@ -30,19 +30,19 @@
30
30
  "exifr": "^7.1.3",
31
31
  "serialize-error": "^11.0.3",
32
32
  "vfile": "^6.0.3",
33
- "vitest": "^3.1.1"
33
+ "vitest": "^3.1.4"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^22.13.10",
37
- "@vitest/coverage-v8": "^3.1.1",
38
- "@vitest/expect": "^3.1.1",
37
+ "@vitest/coverage-v8": "^3.1.4",
38
+ "@vitest/expect": "^3.1.4",
39
39
  "depcheck": "^1.4.7",
40
40
  "eslint": "^9.23.0",
41
41
  "prettier": "^3.5.3",
42
42
  "typescript": "^5.8.2",
43
- "vite": "^6.2.4",
44
- "vitest": "^3.1.1",
45
- "@altano/tsconfig": "0.0.0"
43
+ "vite": "^6.2.6",
44
+ "vitest": "^3.1.4",
45
+ "@altano/tsconfig": "0.0.1"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
@@ -1,4 +1,4 @@
1
- import { expect } from "vitest";
1
+ import type { expect } from "vitest";
2
2
 
3
3
  type MatchersObject = Parameters<typeof expect.extend>[0];
4
4
 
package/vitest.config.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { defineConfig } from "vitest/config";
1
+ import { defineConfig, type ViteUserConfig } from "vitest/config";
2
2
 
3
- export default defineConfig({
3
+ const config: ViteUserConfig = defineConfig({
4
4
  test: {
5
5
  dir: "tests/unit",
6
6
  coverage: {
@@ -15,3 +15,5 @@ export default defineConfig({
15
15
  },
16
16
  },
17
17
  });
18
+
19
+ export default config;