Skip to content

Commit

Permalink
feat(@whook/cli): add a command to quickly create templated files
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Mar 11, 2020
1 parent 88c6176 commit 92b303f
Show file tree
Hide file tree
Showing 16 changed files with 2,262 additions and 22 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/whook-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ npm run compile
cd ../whook-example

# Debugging compiled commands
node ../whook-cli/bin/whook.js -- ls
node ../whook-cli/bin/whook.js ls

# Debugging source commands
PROJECT_SRC="$PWD/src" NODE_ENV=${NODE_ENV:-development} npm run cli -- babel-node --extensions '.ts,.js' -- ../whook-cli/bin/whook.js -- ls
PROJECT_SRC="$PWD/src" NODE_ENV=${NODE_ENV:-development} npm run cli -- babel-node --extensions '.ts,.js' -- ../whook-cli/bin/whook.js ls
```

[//]: # (::contents:end)
Expand Down
50 changes: 50 additions & 0 deletions packages/whook-cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion packages/whook-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,17 @@
},
"homepage": "https://github.com/nfroidure/whook",
"dependencies": {
"@types/fs-extra": "^8.1.0",
"@types/inquirer": "^6.5.0",
"@whook/whook": "^3.1.3",
"ajv": "^6.11.0",
"camel-case": "^4.1.1",
"common-services": "^6.2.0",
"fs-extra": "^8.1.0",
"inquirer": "^7.0.0",
"knifecycle": "^8.1.0",
"miniquery": "^1.1.2",
"openapi-types": "^1.3.5",
"yargs-parser": "^16.1.0"
},
"devDependencies": {
Expand All @@ -90,7 +95,7 @@
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"babel-eslint": "^10.0.3",
"babel-plugin-knifecycle": "^1.1.1",
"babel-plugin-knifecycle": "^1.2.0",
"eslint": "^6.8.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^24.9.0",
Expand Down
Loading

0 comments on commit 92b303f

Please sign in to comment.