Skip to content

Commit

Permalink
fix: create-after-app install wrong depdency
Browse files Browse the repository at this point in the history
  • Loading branch information
nimaa77 committed Nov 1, 2021
1 parent b2d25a7 commit b3181b5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/create-after-app/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,14 @@ function installWithMessageFactory(opts, isExample = false) {
projectName: projectName,
projectPath: projectPath,
packages: isExample
? ['after']
: ['react', 'react-dom', 'react-router-dom', 'after', 'express'],
? ['@jaredpalmer/after']
: [
'react',
'react-dom',
'react-router-dom',
'@jaredpalmer/after',
'express',
],
})
.then(function() {
console.log(messages.start(projectName));
Expand Down

0 comments on commit b3181b5

Please sign in to comment.