pgroll 0.0.6 → 0.0.7

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.
@@ -14,7 +14,10 @@ program
14
14
  .option('-d, --migrationDir <filepath>', 'Specify migration directory(Default: ./migrations)')
15
15
  .hook('preAction', cmd => {
16
16
  const opts = cmd.opts();
17
- migrator = new index_1.Migrator((0, postgres_1.default)(), opts.migrationDir);
17
+ migrator = new index_1.Migrator((0, postgres_1.default)({
18
+ onnotice: () => {
19
+ }
20
+ }), opts.migrationDir);
18
21
  });
19
22
  program
20
23
  .command('up')
@@ -12,7 +12,10 @@ program
12
12
  .option('-d, --migrationDir <filepath>', 'Specify migration directory(Default: ./migrations)')
13
13
  .hook('preAction', cmd => {
14
14
  const opts = cmd.opts();
15
- migrator = new Migrator(postgres(), opts.migrationDir);
15
+ migrator = new Migrator(postgres({
16
+ onnotice: () => {
17
+ }
18
+ }), opts.migrationDir);
16
19
  });
17
20
  program
18
21
  .command('up')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgroll",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "Postgres migration tool",
5
5
  "main": "dist/cjs/src/index.js",
6
6
  "module": "dist/esm/src/index.js",
@@ -34,7 +34,8 @@
34
34
  "fmtc": "prettier --check .",
35
35
  "lint": "eslint . --fix",
36
36
  "lintc": "eslint .",
37
- "test": "jest"
37
+ "test": "jest",
38
+ "pp": "pnpm build && node update-version && npm publish --access=public"
38
39
  },
39
40
  "packageManager": "pnpm@9.4.0",
40
41
  "engines": {
@@ -50,7 +51,7 @@
50
51
  "@eslint/js": "^9.5.0",
51
52
  "@types/jest": "^29.5.12",
52
53
  "@types/node": "^20.14.8",
53
- "@typescript-eslint/eslint-plugin": "^7.13.1",
54
+ "@typescript-eslint/eslint-plugin": "^7.14.1",
54
55
  "eslint": "^9.5.0",
55
56
  "eslint-config-prettier": "^9.1.0",
56
57
  "eslint-import-resolver-typescript": "^3.6.1",
@@ -63,11 +64,11 @@
63
64
  "prettier": "^3.3.2",
64
65
  "ts-jest": "^29.1.5",
65
66
  "tsx": "^4.15.7",
66
- "typescript": "=5.4.5"
67
+ "typescript": "^5.5.2"
67
68
  },
68
69
  "dependencies": {
69
70
  "commander": "^12.1.0",
70
71
  "postgres": "^3.4.4",
71
72
  "tslib": "^2.6.3"
72
73
  }
73
- }
74
+ }