in generators/app/index.js [53:113]
writing() {
this.log(`🚀 Scaffolding solution in '${this.options.destination}'...`);
this.fs.copyTpl(
this.templatePath("README.md"),
this.destinationPath("README.md"),
this.props
);
this.fs.copy(
this.templatePath("doc"),
this.destinationPath("doc")
);
this.fs.copyTpl(
this.templatePath(".devcontainer"),
this.destinationPath(".devcontainer"),
this.props
);
if (this.props.solutionLevel >= 300) {
// only create UV workspaces if solution level is 300 or higher
this.fs.copyTpl(
this.templatePath("pyproject.toml"),
this.destinationPath("pyproject.toml"),
this.props
)
this.fs.write(
this.destinationPath(".python-version"),
this.props.pythonVersion
);
}
this.fs.copyTpl(
this.templatePath("azure.yaml"),
this.destinationPath("azure.yaml"),
this.props
);
this.fs.copyTpl(
this.templatePath("scripts"),
this.destinationPath("scripts"),
this.props
);
this.fs.copyTpl(
this.templatePath("infra"),
this.destinationPath("infra"),
this.props
);
if (this.props.solutionLevel > 100) {
this.fs.copy(
this.templatePath(".dockerignore"),
this.destinationPath(".dockerignore")
);
}
return false;
}