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

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/dist/generator.js CHANGED
@@ -1,4 +1,4 @@
1
- import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
1
+ import { existsSync, mkdirSync, writeFileSync, readFileSync, unlinkSync, readdirSync, rmSync } from 'fs';
2
2
  import { join, dirname } from 'path';
3
3
  import { execSync } from 'child_process';
4
4
  import { generateDockerfile, generateDockerCompose, generateDockerComposeBuild, generateWorkflow, generateEntrypoint, generateMigrateScript, generateClaudeRules, } from './templates/index.js';
@@ -55,7 +55,6 @@ function addEsbuildToPackageJson(packageManager) {
55
55
  }
56
56
  function cleanupOldMigrationFiles(currentDbPath) {
57
57
  const cwd = process.cwd();
58
- const { unlinkSync, readdirSync, rmSync } = require('fs');
59
58
  // Possible locations where we might have created files in previous runs
60
59
  const possibleOldPaths = [
61
60
  'lib/db',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panoptic-it-solutions/coolify-setup",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "CLI tool for setting up Coolify deployment on Panoptic projects",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",