From c42ff9fb3e28e762c64a536b82b486030ef51cfc Mon Sep 17 00:00:00 2001 From: Hoon Kim <40356749+hoonsubin@users.noreply.github.com> Date: Sat, 31 Oct 2020 00:25:14 +0900 Subject: [PATCH] changed compile root dir (#4) * changed compile root dir * remove debug message --- package.json | 2 +- src/cli/index.ts | 1 - tsconfig.json | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 4f1d60f..cec3f11 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "glitch-deploy-tool", - "version": "0.0.2-alpha", + "version": "0.1.0-alpha", "description": "CLI tool for deploying files to Glitch.com", "keywords": [ "glitch.com", diff --git a/src/cli/index.ts b/src/cli/index.ts index 639869f..169a55d 100644 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -122,7 +122,6 @@ const checkToolMode = () => { const mode = checkToolMode(); const parser = dashdash.createParser({ options: mode.options }); const opts = parser.parse(process.argv); - console.log(opts._order); // print the help message if the user passes the help flag or nothing if (opts.help || opts._order.length === 0) { const help = parser.help({ includeEnv: true }).trimRight(); diff --git a/tsconfig.json b/tsconfig.json index 0fa2083..dd6051b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,7 @@ "sourceMap": true, "outDir": "lib", "strict": true, - "rootDir": ".", + "rootDir": "src", "resolveJsonModule": true, "emitDecoratorMetadata": true, "experimentalDecorators": true,