Skip to content

Commit 596ac59

Browse files
committed
Install package managers before running CNA
1 parent 937baf4 commit 596ac59

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/setup/setup.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ export const performSetupSteps = async (
6161
inputs: ValidCNSInputs
6262
): Promise<void> => {
6363
const steps = [
64-
// Create Next App
65-
nextPlugin.steps.createNextApp,
66-
67-
// Package management
64+
// Update package manager
6865
pnpmPlugin.steps.updatePnpm,
6966
yarnPlugin.steps.updateYarn,
70-
createNextStackPlugin.steps.installDependencies,
7167

72-
// Remove official CNA content
68+
// Create Next App
69+
nextPlugin.steps.createNextApp,
7370
nextPlugin.steps.removeOfficialCNAContent,
7471

72+
// Install dependencies
73+
createNextStackPlugin.steps.installDependencies,
74+
7575
// Configuration
7676
createNextStackPlugin.steps.addScripts,
7777
createNextStackPlugin.steps.addGitAttributes,

0 commit comments

Comments
 (0)