@panoptic-it-solutions/coolify-setup 1.1.17 → 1.1.18

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.
Files changed (2) hide show
  1. package/dist/detector.js +6 -5
  2. package/package.json +1 -1
package/dist/detector.js CHANGED
@@ -25,12 +25,13 @@ export async function detectProject() {
25
25
  else if (hasYarnLock)
26
26
  packageManager = 'yarn';
27
27
  // Detect where migrations are located (check in order of priority)
28
+ // Prefer natural drizzle locations over our old copy destinations (lib/db, src/lib/db)
28
29
  const possibleDbPaths = [
29
- 'src/lib/db', // Already in src/lib/db
30
- 'lib/db', // Already in lib/db
31
- 'src/db', // Common with src/ directory
32
- 'db', // Common without src/
33
- 'drizzle', // Alternative location
30
+ 'src/db', // Common drizzle location with src/
31
+ 'db', // Common drizzle location
32
+ 'drizzle', // Alternative drizzle location
33
+ 'src/lib/db', // Our old copy destination (check last)
34
+ 'lib/db', // Our old copy destination (check last)
34
35
  ];
35
36
  let dbPath = null;
36
37
  for (const path of possibleDbPaths) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoptic-it-solutions/coolify-setup",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "CLI tool for setting up Coolify deployment on Panoptic projects",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",