@toichubek/pg-ddl-extractor 1.0.2 → 1.0.3

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/dist/diff.js CHANGED
@@ -35,8 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const fs = __importStar(require("fs"));
37
37
  const path = __importStar(require("path"));
38
+ const dotenv = __importStar(require("dotenv"));
38
39
  const commander_1 = require("commander");
39
40
  const compare_1 = require("./compare");
41
+ // ─── Load .env ────────────────────────────────────────────────────
42
+ dotenv.config();
40
43
  function parseArgs() {
41
44
  commander_1.program
42
45
  .name("pg-ddl-diff")
package/dist/migrate.js CHANGED
@@ -35,8 +35,11 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  const fs = __importStar(require("fs"));
37
37
  const path = __importStar(require("path"));
38
+ const dotenv = __importStar(require("dotenv"));
38
39
  const commander_1 = require("commander");
39
40
  const migration_generator_1 = require("./migration-generator");
41
+ // ─── Load .env ────────────────────────────────────────────────────
42
+ dotenv.config();
40
43
  function parseArgs() {
41
44
  commander_1.program
42
45
  .name("pg-ddl-migrate")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toichubek/pg-ddl-extractor",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Extract PostgreSQL DDL into organized folder structure for Git versioning with diff and migration tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",