pgsql-test 2.1.15 → 2.1.16

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,5 +1,5 @@
1
1
  import { getEnvOptions } from '@launchql/types';
2
- import { LaunchQLProject, deployFast } from '@launchql/migrate';
2
+ import { LaunchQLProject, deployFast } from '@launchql/core';
3
3
  export function launchql(cwd, cache = false) {
4
4
  return {
5
5
  async seed(ctx) {
@@ -1,5 +1,5 @@
1
1
  import { getEnvOptions } from '@launchql/types';
2
- import { LaunchQLProject, deploy } from '@launchql/migrate';
2
+ import { LaunchQLProject, deploy } from '@launchql/core';
3
3
  export function sqitch(cwd) {
4
4
  return {
5
5
  async seed(ctx) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgsql-test",
3
- "version": "2.1.15",
3
+ "version": "2.1.16",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "pgsql-test offers isolated, role-aware, and rollback-friendly PostgreSQL environments for integration tests — giving developers realistic test coverage without external state pollution",
6
6
  "main": "index.js",
@@ -60,7 +60,7 @@
60
60
  "@types/pg-copy-streams": "^1.2.5"
61
61
  },
62
62
  "dependencies": {
63
- "@launchql/migrate": "^2.1.14",
63
+ "@launchql/core": "^2.1.15",
64
64
  "@launchql/server-utils": "^2.1.9",
65
65
  "@launchql/types": "^2.1.7",
66
66
  "chalk": "^4.1.0",
@@ -68,5 +68,5 @@
68
68
  "pg": "^8.16.0",
69
69
  "pg-copy-streams": "^6.0.6"
70
70
  },
71
- "gitHead": "9161e9a470d4afe21322b2fea7dd3d4e811dcd36"
71
+ "gitHead": "8ce02ec241f4df6ff5afdeb6037b409d4ab6e2cb"
72
72
  }
package/seed/launchql.js CHANGED
@@ -2,15 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.launchql = launchql;
4
4
  const types_1 = require("@launchql/types");
5
- const migrate_1 = require("@launchql/migrate");
5
+ const core_1 = require("@launchql/core");
6
6
  function launchql(cwd, cache = false) {
7
7
  return {
8
8
  async seed(ctx) {
9
- const proj = new migrate_1.LaunchQLProject(cwd ?? ctx.connect.cwd);
9
+ const proj = new core_1.LaunchQLProject(cwd ?? ctx.connect.cwd);
10
10
  if (!proj.isInModule())
11
11
  return;
12
12
  const opts = (0, types_1.getEnvOptions)({ pg: ctx.config });
13
- await (0, migrate_1.deployFast)({
13
+ await (0, core_1.deployFast)({
14
14
  opts,
15
15
  name: proj.getModuleName(),
16
16
  database: ctx.config.database,
package/seed/sqitch.js CHANGED
@@ -2,15 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.sqitch = sqitch;
4
4
  const types_1 = require("@launchql/types");
5
- const migrate_1 = require("@launchql/migrate");
5
+ const core_1 = require("@launchql/core");
6
6
  function sqitch(cwd) {
7
7
  return {
8
8
  async seed(ctx) {
9
- const proj = new migrate_1.LaunchQLProject(cwd ?? ctx.connect.cwd);
9
+ const proj = new core_1.LaunchQLProject(cwd ?? ctx.connect.cwd);
10
10
  if (!proj.isInModule())
11
11
  return;
12
12
  const opts = (0, types_1.getEnvOptions)({ pg: ctx.config });
13
- await (0, migrate_1.deploy)(opts, proj.getModuleName(), ctx.config.database, proj.modulePath);
13
+ await (0, core_1.deploy)(opts, proj.getModuleName(), ctx.config.database, proj.modulePath);
14
14
  }
15
15
  };
16
16
  }