@donkeylabs/server 0.4.4 → 0.4.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.
- package/package.json +1 -1
- package/src/core.ts +5 -1
package/package.json
CHANGED
package/src/core.ts
CHANGED
|
@@ -360,9 +360,13 @@ export class PluginManager {
|
|
|
360
360
|
for (const plugin of sortedPlugins) {
|
|
361
361
|
const pluginName = plugin.name;
|
|
362
362
|
const possibleMigrationDirs = [
|
|
363
|
-
|
|
363
|
+
// SvelteKit adapter location
|
|
364
|
+
join(process.cwd(), "src/server/plugins", pluginName, "migrations"),
|
|
365
|
+
// Standard locations
|
|
364
366
|
join(process.cwd(), "src/plugins", pluginName, "migrations"),
|
|
365
367
|
join(process.cwd(), "plugins", pluginName, "migrations"),
|
|
368
|
+
// Legacy/example location
|
|
369
|
+
join(process.cwd(), "examples/basic-server/src/plugins", pluginName, "migrations"),
|
|
366
370
|
];
|
|
367
371
|
|
|
368
372
|
let migrationDir = "";
|