@adaptivestone/framework 5.0.0-alpha.2 → 5.0.0-alpha.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/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 5.0.0-alpha.3
2
+
3
+ [UPDATE] deps update
4
+ [FIX] Migration commands apply
5
+
1
6
  ### 5.0.0-alpha.2
2
7
 
3
8
  [UPDATE] deps update
@@ -36,7 +36,7 @@ class Migrate extends AbstractCommand {
36
36
  for (const migration of migrations) {
37
37
  this.logger.info(`=== Start migration ${migration.file} ===`);
38
38
  // eslint-disable-next-line no-await-in-loop
39
- const MigrationCommand = await import(migration.path);
39
+ const { default: MigrationCommand } = await import(migration.path);
40
40
  const migrationCommand = new MigrationCommand(this.app);
41
41
  // eslint-disable-next-line no-await-in-loop
42
42
  await migrationCommand.up();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptivestone/framework",
3
- "version": "5.0.0-alpha.2",
3
+ "version": "5.0.0-alpha.3",
4
4
  "description": "Adaptive stone node js framework",
5
5
  "main": "index.js",
6
6
  "type": "module",