Skip to content

Commit 7a69bef

Browse files
committed
refactor: update version
1 parent 338b3c8 commit 7a69bef

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
{
2-
"name": "dokploy",
2+
"name": "@dokploy/cli",
33
"description": "A CLI to manage dokploy server remotely",
4-
"version": "0.0.0",
4+
"version": "v0.2.3",
55
"author": "Mauricio Siu",
66
"licenses": [{
77
"type": "MIT",
88
"url": "https://github.com/Dokploy/cli/blob/master/LICENSE"
99
}],
10+
"publishConfig": {
11+
"access": "public"
12+
},
1013
"bin": {
1114
"dokploy": "./bin/run.js"
1215
},

src/commands/project/info.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,48 +111,55 @@ export default class ProjectInfo extends Command {
111111

112112
if (projectInfo.applications.length > 0) {
113113
this.log(chalk.blue("\nApplications:"));
114+
// @ts-ignore
114115
projectInfo.applications.forEach((app, index: number) => {
115116
this.log(` ${index + 1}. ${app.name}`);
116117
});
117118
}
118119

119120
if (projectInfo.compose.length > 0) {
120121
this.log(chalk.blue("\nCompose Services:"));
122+
// @ts-ignore
121123
projectInfo.compose.forEach((service, index: number) => {
122124
this.log(` ${index + 1}. ${service.name}`);
123125
});
124126
}
125127

126128
if (projectInfo.mariadb.length > 0) {
127129
this.log(chalk.blue("\nMariaDB Databases:"));
130+
// @ts-ignore
128131
projectInfo.mariadb.forEach((db, index: number) => {
129132
this.log(` ${index + 1}. ${db.name}`);
130133
});
131134
}
132135

133136
if (projectInfo.mongo.length > 0) {
134137
this.log(chalk.blue("\nMongoDB Databases:"));
138+
// @ts-ignore
135139
projectInfo.mongo.forEach((db, index: number) => {
136140
this.log(` ${index + 1}. ${db.name}`);
137141
});
138142
}
139143

140144
if (projectInfo.mysql.length > 0) {
141145
this.log(chalk.blue("\nMySQL Databases:"));
146+
// @ts-ignore
142147
projectInfo.mysql.forEach((db, index: number) => {
143148
this.log(` ${index + 1}. ${db.name}`);
144149
});
145150
}
146151

147152
if (projectInfo.postgres.length > 0) {
148153
this.log(chalk.blue("\nPostgreSQL Databases:"));
154+
// @ts-ignore
149155
projectInfo.postgres.forEach((db, index: number) => {
150156
this.log(` ${index + 1}. ${db.name}`);
151157
});
152158
}
153159

154160
if (projectInfo.redis.length > 0) {
155161
this.log(chalk.blue("\nRedis Databases:"));
162+
// @ts-ignore
156163
projectInfo.redis.forEach((db, index: number) => {
157164
this.log(` ${index + 1}. ${db.name}`);
158165
});

0 commit comments

Comments
 (0)