-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(create-gatsby): Improve install (#28318) #28406
Conversation
(cherry picked from commit 4fbded2)
import { stripIndent } from "common-tags" | ||
import { trackCli } from "./tracking" | ||
import crypto from "crypto" | ||
import { reporter } from "./reporter" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was merge conflict here due to neighbouring
import { setSiteMetadata } from "./site-metadata"
added by #28324 which is not backported and was merged before this PR
stripIndent` | ||
${w(`🎉 `)}Your new Gatsby site ${c.bold( | ||
data.project | ||
)} has been successfully bootstrapped | ||
)} has been successfully created | ||
at ${c.bold(path.resolve(data.project))}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was merge conflict here due to change from path.resolve(data.project)
to fullPath
added by #28324 which is not backported and was merged before this PR
|
||
if (plugins.length) { | ||
console.log(c.bold(`${w(`🔌 `)}Installing plugins...`)) | ||
reporter.info(`${w(`🔌 `)}Setting-up plugins...`) | ||
await installPlugins(plugins, pluginConfig, path.resolve(data.project), []) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was merge conflict here due to change from path.resolve(data.project)
to fullPath
added by #28324 which is not backported and was merged before this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
Backporting #28318 to the 2.28 release branch
(cherry picked from commit 4fbded2)