refactor: update version

This commit is contained in:
Mauricio Siu
2024-06-22 23:50:03 -06:00
parent 338b3c89f2
commit 7a69bef823
2 changed files with 12 additions and 2 deletions

View File

@@ -1,12 +1,15 @@
{
"name": "dokploy",
"name": "@dokploy/cli",
"description": "A CLI to manage dokploy server remotely",
"version": "0.0.0",
"version": "v0.2.3",
"author": "Mauricio Siu",
"licenses": [{
"type": "MIT",
"url": "https://github.com/Dokploy/cli/blob/master/LICENSE"
}],
"publishConfig": {
"access": "public"
},
"bin": {
"dokploy": "./bin/run.js"
},

View File

@@ -111,6 +111,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.applications.length > 0) {
this.log(chalk.blue("\nApplications:"));
// @ts-ignore
projectInfo.applications.forEach((app, index: number) => {
this.log(` ${index + 1}. ${app.name}`);
});
@@ -118,6 +119,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.compose.length > 0) {
this.log(chalk.blue("\nCompose Services:"));
// @ts-ignore
projectInfo.compose.forEach((service, index: number) => {
this.log(` ${index + 1}. ${service.name}`);
});
@@ -125,6 +127,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.mariadb.length > 0) {
this.log(chalk.blue("\nMariaDB Databases:"));
// @ts-ignore
projectInfo.mariadb.forEach((db, index: number) => {
this.log(` ${index + 1}. ${db.name}`);
});
@@ -132,6 +135,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.mongo.length > 0) {
this.log(chalk.blue("\nMongoDB Databases:"));
// @ts-ignore
projectInfo.mongo.forEach((db, index: number) => {
this.log(` ${index + 1}. ${db.name}`);
});
@@ -139,6 +143,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.mysql.length > 0) {
this.log(chalk.blue("\nMySQL Databases:"));
// @ts-ignore
projectInfo.mysql.forEach((db, index: number) => {
this.log(` ${index + 1}. ${db.name}`);
});
@@ -146,6 +151,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.postgres.length > 0) {
this.log(chalk.blue("\nPostgreSQL Databases:"));
// @ts-ignore
projectInfo.postgres.forEach((db, index: number) => {
this.log(` ${index + 1}. ${db.name}`);
});
@@ -153,6 +159,7 @@ export default class ProjectInfo extends Command {
if (projectInfo.redis.length > 0) {
this.log(chalk.blue("\nRedis Databases:"));
// @ts-ignore
projectInfo.redis.forEach((db, index: number) => {
this.log(` ${index + 1}. ${db.name}`);
});