@veap/plugins 0.1.3 → 0.1.5

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.
@@ -3,10 +3,13 @@ import { rollbackMigrations, runMigrations } from "@veap/database";
3
3
  * `IMigrationRunner` adapter delegating to the knex-based migration runner.
4
4
  */
5
5
  export class KnexMigrationRunner {
6
- run(scope, migrations) {
7
- return runMigrations(scope, migrations);
6
+ // The knex runner reports the batch it applied; the port only promises that
7
+ // the run finished, so the summary is dropped here on purpose.
8
+ async run(scope, migrations) {
9
+ await runMigrations(scope, migrations);
8
10
  }
9
- rollback(scope, migrations) {
10
- return rollbackMigrations(scope, migrations);
11
+ // Same here: the runner reports what it undid, the port stays `void`.
12
+ async rollback(scope, migrations) {
13
+ await rollbackMigrations(scope, migrations);
11
14
  }
12
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veap/plugins",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Plugin lifecycle, extension points, and virtual router for Veap",
5
5
  "bugs": "https://github.com/veapjs/veap-plugins/issues",
6
6
  "repository": {
@@ -57,9 +57,9 @@
57
57
  "@dnd-kit/sortable": "^10.0.0",
58
58
  "@dnd-kit/utilities": "^3.2.2",
59
59
  "@veap/auth": "0.1.1",
60
- "@veap/database": "0.1.1",
61
- "@veap/intl": "0.1.2",
62
- "@veap/kernel": "0.1.2",
60
+ "@veap/database": "0.1.2",
61
+ "@veap/intl": "0.1.4",
62
+ "@veap/kernel": "0.1.4",
63
63
  "chalk": "^5.3.0",
64
64
  "ora": "^8.1.1",
65
65
  "zod": "^4.6.5"