Skip to content

Commit

Permalink
Patch v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bajrangCoder committed Jan 24, 2024
1 parent d12d3cc commit 7f793b4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 28 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Cli for **AcodeX** Plugin
- reduced build bundle size
- able to work on local network
- blazingly fast server powered by hono
- tiny bundle size
- stable
- somemore.....

Expand Down
17 changes: 0 additions & 17 deletions build.mjs

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "acodex-server",
"version": "1.1.1",
"version": "1.1.2",
"description": "Server of Acode AcodeX plugin",
"main": "dist/index.js",
"types": "types/index.d.ts",
"scripts": {
"start": "ts-node src/index.ts",
"build": "tsc && node build.mjs"
"build": "tsc"
},
"bin": {
"axs": "dist/index.js",
Expand All @@ -33,7 +33,6 @@
"devDependencies": {
"@types/node": "^20.9.5",
"@types/ws": "^8.5.10",
"esbuild": "^0.19.7",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
},
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const program = new Command();
program
.name("axs")
.description("CLI of AcodeX Acode plugin")
.version("1.1.1")
.version("1.1.2")
.option("-p, --port <port>", "port to start the server")
.option("-i, --ip", "start the server on local network (ip)")
.option("-c, --ssh-client", "start the SSH client server")
Expand All @@ -19,10 +19,10 @@ program
"Error: Both -a and -c options cannot be used together."
);
} else if (options.both) {
console.log("Starting both terminal and SSH server");
console.log("Starts both terminal and SSH server , Comming Soon...");
// Add logic for starting both servers
} else if (options.sshClient) {
console.log("Starting the SSH client server");
console.log("Start the SSH client server, Comming Soon");
// Add logic for starting only the SSH server
} else if (options.port) {
startServer(options.port);
Expand Down
7 changes: 3 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
"compilerOptions": {
"esModuleInterop": true,
"skipLibCheck": true,
"target": "es2022",
"target": "es6",
"strict": true,
"module": "CommonJS",
"moduleResolution": "Node",
"moduleResolution": "node",
"outDir": "./dist",
"rootDir": "./src",
"lib": ["es2022"]
"rootDir": "./src"
},
"exclude": ["./node_modules"],
"include": ["./src/**/*.ts"]
Expand Down

0 comments on commit 7f793b4

Please sign in to comment.