Skip to content

Commit

Permalink
fix(create): pass args to starter template
Browse files Browse the repository at this point in the history
  • Loading branch information
jakehamilton committed Dec 31, 2020
1 parent 55b358a commit 936f543
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 64 deletions.
71 changes: 11 additions & 60 deletions packages/titan/package-lock.json

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

6 changes: 3 additions & 3 deletions packages/titan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
"url": "https://github.com/jakehamilton/packages/issues"
},
"devDependencies": {
"@types/node": "^14.11.1",
"enquirer": "^2.3.6"
"@types/node": "^14.11.1"
},
"dependencies": {
"@littlethings/log": "^2.3.0",
"@littlethings/test": "^1.2.1",
"@starters/core": "^1.4.0",
"@starters/core": "^1.5.0",
"arg": "^4.1.3",
"chalk": "^4.1.0",
"enquirer": "^2.3.6",
"inquirer": "^7.3.3",
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/titan/src/commands/create/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ const command = async () => {
await starters.create(
target,
template,
args["--name"] || path.basename(name)
args["--name"] || path.basename(name),
args
);
} catch (error) {
log.error("Could not create package.");
Expand Down

0 comments on commit 936f543

Please # to comment.