Skip to content

Commit

Permalink
Release v1.0.0-beta: Initial beta release of Yonode #277
Browse files Browse the repository at this point in the history
Release v1.0.0-beta: Initial beta release of Yonode
  • Loading branch information
sharafdin committed Mar 10, 2024
2 parents 7fb998f + 9a51568 commit cb5f553
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/yonode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yonode",
"description": "The Node.js Toolkit for Rapid Development.",
"version": "0.8.0",
"version": "1.0.0-beta",
"author": "Mr Sharafdin",
"license": "MIT",
"main": "./src/index.js",
Expand Down
10 changes: 7 additions & 3 deletions packages/yonode/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ if (projectName === ".") {
const files = fs.readdirSync(cloneDirectory);

if (files.length) {
console.log("The directory is not empty.");
console.log(
"Error: Directory not empty. Please use an empty directory or specify a new project name."
);
process.exit(1);
}
}
Expand All @@ -117,7 +119,9 @@ if (!projectName) {
const files = fs.readdirSync(cloneDirectory);

if (files.length) {
console.log("The directory is not empty.");
console.log(
"Error: Directory not empty. Please use an empty directory or specify a new project name."
);
process.exit(1);
}
(projectName = name.projectName), main();
Expand All @@ -135,7 +139,7 @@ function main() {
.then((answer) => {
if (answer.language_type === "TypeScript") {
console.log(
"Currently, TypeScript is unavailable. Expect its launch in v1.5.0. \nFor more info, visit: https://docs.yonode.org."
"Currently, TypeScript is unavailable. Expect its launch in v1.5.0. \nFor more info, visit: https://docs.yonode.org/#typescript"
);
process.exit(0);
}
Expand Down

0 comments on commit cb5f553

Please sign in to comment.