@schemavaults/dbh 0.8.5 → 0.8.6
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 +1 -1
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Ensure that you have both `postgres` and a `postgres-ws-proxy` containers runnin
|
|
|
20
20
|
|
|
21
21
|
You'll likely want to replace the `build:` sections for the services in the e2e test example `.yml` file with `image:`. For example, use `image: postgres:17.7` for the `postgres` service. For the proxy, you can pull the docker image from `ghcr.io/schemavaults/dbh/postgres-ws-proxy`; use the version number equal to your `@schemavaults/dbh` npm package installation:
|
|
22
22
|
```md
|
|
23
|
-
# NPM Package: @schemavaults/dbh@0.8.
|
|
23
|
+
# NPM Package: @schemavaults/dbh@0.8.6 => ghcr.io/schemavaults/dbh/postgres-ws-proxy:0.8.6
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
### In your application server code
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schemavaults/dbh",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"description": "Easily connect to PostgresDB from serverless environment",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"build:build-db-migrations": "bun build ./src/build-db-migrations.ts --outdir dist-cli --format esm --target bun --minify",
|
|
36
36
|
"test:unit": "bun test --test-name-pattern 'DBH Init'",
|
|
37
37
|
"test": "bun run test:unit",
|
|
38
|
-
"test:e2e": "bun test ./src/tests/e2e/",
|
|
38
|
+
"test:e2e": "bun test ./src/tests/e2e/ConnectToLocalDatabase.test.ts && bun test ./src/tests/e2e/MigrateUpAndDown.test.ts",
|
|
39
|
+
"test:e2e:cli": "/bin/bash ./tests/run_cli_e2e_tests.sh",
|
|
39
40
|
"test:build-db-migrations": "/bin/bash ./tests/run_build_example_migrations_test.sh",
|
|
40
41
|
"cleanup:compiled_tests_in_dist_directory": "find ./dist -type f \\( -name \"*.test.js\" -o -name \"*.test.js.map\" -o -name \"*.test.d.ts\" \\) -delete",
|
|
41
42
|
"cleanup:rm_tests_dir": "rm -rf ./dist/tests",
|