Skip to content

Commit

Permalink
perf(scaffold): scaffold contributing details earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Jul 9, 2024
1 parent 5a705e9 commit 4d92439
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/scaffolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ export async function scaffold(options) {
} = await promptForBaseDetails(projectRoot, decisions);
const copyright = {year: copyrightYear, holder: copyHolder};

const [vcs] = await Promise.all([
const [vcs, contributing] = await Promise.all([
scaffoldGit(gitRepo, projectRoot, projectName, vcsHosts, visibility, decisions),
scaffoldContributing({visibility}),
scaffoldReadme({projectName, projectRoot, description}),
scaffoldEditorConfig({projectRoot})
]);

const {[questionNames.PROJECT_LANGUAGE]: projectLanguage} = await promptForLanguageDetails(languages, decisions);

const [license, language, contributing] = await Promise.all([
const [license, language] = await Promise.all([
scaffoldLicense({projectRoot, license: chosenLicense, copyright, vcs}),
scaffoldLanguage(
languages,
projectLanguage,
{projectRoot, projectName, vcs, visibility, license: chosenLicense || 'UNLICENSED', description}
),
scaffoldContributing({visibility})
)
]);

const dependencyUpdaterResults = vcs && await scaffoldDependencyUpdater(
Expand Down

0 comments on commit 4d92439

Please sign in to comment.