@intuned/runtime-dev 1.0.6-cli.8.1.0 ā 1.0.6-cli.8.1.1
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.
|
@@ -35,7 +35,7 @@ _commander.program.description("Deploy an Intuned project to be public").argumen
|
|
|
35
35
|
throw new Error("Project not deployed");
|
|
36
36
|
}
|
|
37
37
|
const url = `https://rauf-2.intuned-team-local.com/projects`;
|
|
38
|
-
console.log(_chalk.default.green(`\n
|
|
38
|
+
console.log(_chalk.default.green(`\nā
Project "${_projectName}" deployed successfully!` + `\n\nYou can check your project on the platform: ${_chalk.default.bold(url)}\n`));
|
|
39
39
|
} catch (error) {
|
|
40
40
|
console.error(_chalk.default.red(`\n${error.message}`));
|
|
41
41
|
process.exit(1);
|
|
@@ -137,7 +137,7 @@ async function convertProjectToCodeTree(projectPath) {
|
|
|
137
137
|
}
|
|
138
138
|
return tree;
|
|
139
139
|
}
|
|
140
|
-
console.log(_chalk.default.cyan("\
|
|
140
|
+
console.log(_chalk.default.cyan("\nš¦ Building project..."));
|
|
141
141
|
const tree = readDirectory(projectPath);
|
|
142
142
|
return tree;
|
|
143
143
|
}
|
|
@@ -169,6 +169,7 @@ async function deployProject(projectName, auth) {
|
|
|
169
169
|
throw new Error(`Error deploying project`);
|
|
170
170
|
}
|
|
171
171
|
const startTime = Date.now();
|
|
172
|
+
console.log(_chalk.default.greenBright(`\nš Deploying project...`));
|
|
172
173
|
return new Promise((resolve, reject) => {
|
|
173
174
|
const checkInterval = setInterval(async () => {
|
|
174
175
|
try {
|
|
@@ -298,7 +299,7 @@ const checkIntunedProjectDeployStatus = async (workspaceId, projectName, apiKey)
|
|
|
298
299
|
}
|
|
299
300
|
const data = await response.json();
|
|
300
301
|
if (data.status) {
|
|
301
|
-
return data.status
|
|
302
|
+
return data.status;
|
|
302
303
|
}
|
|
303
304
|
return "failed";
|
|
304
305
|
} catch (e) {
|