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 +2 -1
- package/dist/utils.d.ts +2 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +2 -1
- package/dist/utils.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
[](https://github.com/starmode-base/neon-testing/actions/workflows/test.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/neon-testing)
|
|
5
5
|
[](https://github.com/starmode-base/neon-testing/releases)
|
|
6
|
+
[](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/
|
|
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
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -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
|
|
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
|
|
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"}
|