这是indexloc提供的服务,不要输入任何密码
Skip to content

chore: move create-turbo community note and format it better #9836

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

Merged
merged 2 commits into from
Jan 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions packages/create-turbo/src/commands/create/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,15 @@ export async function create(
}
}

if (!isMaintainedByCoreTeam) {
logger.log(
picocolors.dim(
"Note: This is a community-maintained example.\nIf you experience a problem, please submit a pull request with a fix.\nGitHub Issues will be closed."
)
);
logger.log();
}

if (projectDirIsCurrentDir) {
logger.log(
`${picocolors.bold(
Expand All @@ -266,15 +275,6 @@ export async function create(
);
}

if (!isMaintainedByCoreTeam) {
logger.log();
logger.log(
picocolors.dim(
"Note: This is a community-maintained example. If you experience a problem, please submit a pull request with a fix. GitHub Issues will be closed."
)
);
}

// get the package manager details so we display the right commands to the user in log messages
const packageManagerMeta = getPackageManagerMeta(projectPackageManager);
if (packageManagerMeta && hasPackageJson) {
Expand Down
Loading