-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(cli): add 'no src directory' option #1939
Conversation
🦋 Changeset detectedLatest commit: 0507eaa The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@chrisdadev13 is attempting to deploy a commit to the t3-oss Team on Vercel. A member of the Team first needs to authorize it. |
This PR was an exploration, I think it would be better to maybe just add this logic as a function Current if (importAlias !== "~/") {
setImportAlias(projectDir, importAlias);
}
if (!noInstall) {
await installDependencies({ projectDir });
}
if (!noGit) {
await initializeGit(projectDir);
} To add: if (!srcDirectory){
await moveProjectSrc({projectName, packages}) // mv [folderName] .. and then rm -r src
} |
I think I did a better PR: #1941 |
✅ Checklist
Changelog
Would you like to use 'src' directory? yes/no
src
directory (current and default option at this moment)src
directory (I always do it manually 😭😭)Screenshots
💯