Closed tony-luisi closed 2 years ago
Looking at yeoman's composeWith
signature, I wonder if you're actually needing to pass those in as a third parameter (options
) instead, since this generator doesn't really make use of args
.
this.composeWith(
{
Generator: SingleSpaGenerator,
path: "generator-single-spa/src/generator-single-spa.js",
},
{}, // args
{
dir: this.destinationRoot(),
framework: "react",
packageManager: "npm",
typescript: true,
orgName: "org-name",
projectName: projectName,
skipInstall: true,
}
);
Closing due to inactivity.
Hello,
I'm attempting to create a custom generator and compose this generator as part of it. I'm keen to skip the install as my preference is to get the user to do it manually at the end. I've tried the following:
Happy to dig around the source code, but wonder if i'm doing something wrong in the first instance.