neon-testing 2.1.4 → 2.2.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.
@@ -1,4 +1,4 @@
1
- import type { Plugin } from "vite";
1
+ import type { Plugin } from "vitest/config";
2
2
  /**
3
3
  * Neon Testing Vite plugin
4
4
  */
@@ -1 +1 @@
1
- {"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../vite-plugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC;;GAEG;AACH,wBAAgB,WAAW,CACzB,OAAO,GAAE;IACP;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACZ,GACL,MAAM,CAyBR"}
1
+ {"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../vite-plugin.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,wBAAgB,WAAW,CACzB,OAAO,GAAE;IACP;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACZ,GACL,MAAM,CAyBR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neon-testing",
3
- "version": "2.1.4",
3
+ "version": "2.2.0",
4
4
  "description": "A Vitest utility for seamless integration tests with Neon Postgres",
5
5
  "keywords": [
6
6
  "neon",
@@ -34,8 +34,10 @@
34
34
  "scripts": {
35
35
  "dev": "tsc --watch",
36
36
  "build": "rm -rf dist && tsc",
37
- "test": "vitest",
38
37
  "format": "prettier --write .",
38
+ "test": "vitest",
39
+ "clean:soft": "rm -rf node_modules dist && bun install",
40
+ "clean:hard": "rm -rf node_modules dist bun.lock && bun install",
39
41
  "check": "bun run build && bunx vitest run && bunx prettier --check .",
40
42
  "release:patch": "bun run check && bun pm version patch && bun publish --tag latest",
41
43
  "release:minor": "bun run check && bun pm version minor && bun publish --tag latest",
@@ -48,7 +50,7 @@
48
50
  },
49
51
  "peerDependencies": {
50
52
  "vite": "^7",
51
- "vitest": "^3"
53
+ "vitest": "^3 || ^4"
52
54
  },
53
55
  "devDependencies": {
54
56
  "@neondatabase/serverless": "^1.0.2",
@@ -58,8 +60,9 @@
58
60
  "postgres": "^3.4.7",
59
61
  "prettier": "^3.6.2",
60
62
  "typescript": "^5.9.3",
63
+ "vite": "^7.1.12",
61
64
  "vite-tsconfig-paths": "^5.1.4",
62
- "vitest": "^3.2.4"
65
+ "vitest": "^4.0.1"
63
66
  },
64
67
  "browser": {
65
68
  "./dist/vite-plugin.js": "./dist/browser-empty.js"