neon-testing 2.1.2-beta.0 → 2.1.2-beta.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/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Integration tests](https://github.com/starmode-base/neon-testing/actions/workflows/test.yml/badge.svg)](https://github.com/starmode-base/neon-testing/actions/workflows/test.yml)
4
4
  [![npm version](https://img.shields.io/npm/v/neon-testing)](https://www.npmjs.com/package/neon-testing)
5
5
  [![GitHub release](https://img.shields.io/github/v/release/starmode-base/neon-testing)](https://github.com/starmode-base/neon-testing/releases)
6
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue)](LICENSE)
6
7
 
7
8
  A [Vitest](https://vitest.dev/) utility for seamless integration tests with [Neon Postgres](https://neon.com/). <!-- A [STΛR MODΞ](https://starmode.dev) open-source project. -->
8
9
 
@@ -82,7 +83,7 @@ First, add the Vite plugin to clear any existing `DATABASE_URL` environment vari
82
83
  ```ts
83
84
  // vitest.config.ts
84
85
  import { defineConfig } from "vitest/config";
85
- import { neonTesting } from "neon-testing/utils";
86
+ import { neonTesting } from "neon-testing/vite";
86
87
 
87
88
  export default defineConfig({
88
89
  plugins: [neonTesting()],
package/dist/utils.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { neonTesting as neonTestingVite } from "./vite-plugin.js";
2
2
  export { lazySingleton } from "./singleton.js";
3
3
  /**
4
- * @deprecated Import the Vite plugin from "neon-testing/vite" instead.
4
+ * @deprecated Import the Vite plugin from "neon-testing/vite" instead. This
5
+ * export will be removed in the next major version.
5
6
  */
6
7
  export declare const neonTesting: typeof neonTestingVite;
7
8
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,WAAW,wBAAkB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;;GAGG;AACH,eAAO,MAAM,WAAW,wBAAkB,CAAC"}
package/dist/utils.js CHANGED
@@ -1,7 +1,8 @@
1
1
  import { neonTesting as neonTestingVite } from "./vite-plugin.js";
2
2
  export { lazySingleton } from "./singleton.js";
3
3
  /**
4
- * @deprecated Import the Vite plugin from "neon-testing/vite" instead.
4
+ * @deprecated Import the Vite plugin from "neon-testing/vite" instead. This
5
+ * export will be removed in the next major version.
5
6
  */
6
7
  export const neonTesting = neonTestingVite;
7
8
  //# sourceMappingURL=utils.js.map
package/dist/utils.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;GAEG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC"}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neon-testing",
3
- "version": "2.1.2-beta.0",
3
+ "version": "2.1.2-beta.1",
4
4
  "description": "A Vitest utility for seamless integration tests with Neon Postgres",
5
5
  "keywords": [
6
6
  "neon",