hylius 1.0.2 → 1.0.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/commands/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,eAAO,MAAM,OAAO,SAGD,CAAC"}
1
+ {"version":3,"file":"root.d.ts","sourceRoot":"","sources":["../../src/commands/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAMpC,eAAO,MAAM,OAAO,SAImC,CAAC"}
@@ -6,7 +6,8 @@ import { buildCommand } from './build.js';
6
6
  export const program = new Command()
7
7
  .name('hylius')
8
8
  .description(chalk.cyan('A CLI tool to initialize and manage Docker configurations for development'))
9
- .version('1.0.0');
9
+ .version('1.0.4')
10
+ .helpOption('-h, --help', 'Display help information');
10
11
  // Add subcommands
11
12
  program.addCommand(initCommand);
12
13
  program.addCommand(devCommand);
@@ -1 +1 @@
1
- {"version":3,"file":"root.js","sourceRoot":"","sources":["../../src/commands/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE;KACjC,IAAI,CAAC,QAAQ,CAAC;KACd,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,2EAA2E,CAAC,CAAC;KACpG,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,kBAAkB;AAClB,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;AAChC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAC/B,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC"}
1
+ {"version":3,"file":"root.js","sourceRoot":"","sources":["../../src/commands/root.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE;KACjC,IAAI,CAAC,QAAQ,CAAC;KACd,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,2EAA2E,CAAC,CAAC;KACpG,OAAO,CAAC,OAAO,CAAC;KAChB,UAAU,CAAC,YAAY,EAAE,0BAA0B,CAAC,CAAC;AAExD,kBAAkB;AAClB,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;AAChC,OAAO,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAC/B,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC"}
@@ -11,6 +11,6 @@ export declare const goDockerfile = "# Development stage\nFROM golang:1.22-alpin
11
11
  export declare const goCompose = "services:\n app:\n build:\n context: .\n target: development\n ports:\n - \"8080:8080\"\n volumes:\n - .:/app\n - /go/pkg/mod\n";
12
12
  export declare const javaDockerfile = "# Development stage\nFROM maven:3.9-eclipse-temurin-21 AS development\nWORKDIR /app\nCOPY pom.xml .\nRUN mvn dependency:go-offline\nCOPY src ./src\nCMD [\"mvn\", \"spring-boot:run\"]\n\n# Production stage\nFROM eclipse-temurin:21-jre-alpine AS production\nWORKDIR /app\nCOPY --from=development /app/target/*.jar app.jar\nCMD [\"java\", \"-jar\", \"app.jar\"]\n";
13
13
  export declare const javaCompose = "services:\n app:\n build:\n context: .\n target: development\n ports:\n - \"8080:8080\"\n volumes:\n - .:/app\n - ~/.m2:/root/.m2\n";
14
- export declare const phpDockerfile = "# Development stage\nFROM php:8.2-apache AS development\nWORKDIR /var/www/html\nCOPY composer.json composer.lock ./\nRUN apt-get update && apt-get install -y unzip\nRUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer\nRUN composer install\nCOPY . .\nCMD [\"apache2-foreground\"]\n\n# Production stage\nFROM php:8.2-apache AS production\nWORKDIR /var/www/html\nCOPY . .\nRUN chown -R www-data:www-data /var/www/html\n";
14
+ export declare const phpDockerfile = "# Development stage\nFROM php:8.4-apache AS development\nWORKDIR /var/www/html\nCOPY composer.json composer.lock ./\nRUN apt-get update && apt-get install -y unzip\nRUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer\nRUN composer install\nCOPY . .\nCMD [\"apache2-foreground\"]\n\n# Production stage\nFROM php:8.2-apache AS production\nWORKDIR /var/www/html\nCOPY . .\nRUN chown -R www-data:www-data /var/www/html\n";
15
15
  export declare const phpCompose = "services:\n app:\n build:\n context: .\n target: development\n ports:\n - \"80:80\"\n volumes:\n - .:/var/www/html\n";
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -205,7 +205,7 @@ export const javaCompose = `services:
205
205
  `;
206
206
  // PHP Template (Apache)
207
207
  export const phpDockerfile = `# Development stage
208
- FROM php:8.2-apache AS development
208
+ FROM php:8.4-apache AS development
209
209
  WORKDIR /var/www/html
210
210
  COPY composer.json composer.lock ./
211
211
  RUN apt-get update && apt-get install -y unzip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hylius",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "description": "A CLI tool to initialize and manage Docker configurations for development",
6
6
  "main": "dist/index.js",