diff --git a/package.json b/package.json index 92ffe4d..a408182 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "npmize", "description": "Let's create an npm package without worrying about anything.", - "version": "1.0.6", + "version": "1.0.7", "bin": "./dist/index.js", "scripts": { "lab": "nodemon ./src/__lab.ts", diff --git a/src/__lab.ts b/src/__lab.ts index 682326c..a18900b 100644 --- a/src/__lab.ts +++ b/src/__lab.ts @@ -2,6 +2,6 @@ console.clear() import app from './main' -// app.start(['init', '../npmize-test']) -app.start(['dev', '../npmize-test', '--node']) +app.start(['init', '../npmize-test']) +// app.start(['dev', '../npmize-test', '--node']) // app.start(['build', '../npmize-test']) diff --git a/src/main.ts b/src/main.ts index dd87147..3cc13dd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -26,7 +26,11 @@ app arguments: [ { name: 'name', - type: t.string().description('Name of the package'), + type: t + .string() + .description('Name of the package') + // .ask("What's the name of the package?") + .default('.'), }, ],