Add .gitignore files to quickstart templates#4609
Open
clockwork-labs-bot wants to merge 1 commit intomasterfrom
Open
Add .gitignore files to quickstart templates#4609clockwork-labs-bot wants to merge 1 commit intomasterfrom
clockwork-labs-bot wants to merge 1 commit intomasterfrom
Conversation
Templates created via 'spacetime init' were missing .gitignore files, causing build artifacts (node_modules, target, bin/obj, dist, .next, etc.) to appear in git diffs. Adds .gitignore files to the 15 templates that were missing one: - Node/TS templates: node_modules, dist, *.log - Rust templates: target - C# templates: bin, obj - C++ template: target, build - Next.js: .next, out - Svelte: .svelte-kit All include spacetime.local.json and .DS_Store.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4582
Templates created via
spacetime initwere missing.gitignorefiles, causing build artifacts likenode_modules,target/,bin/,obj/,dist/,.next/, etc. to show up in git diffs when users initialize a project inside a git repository.Adds
.gitignorefiles to the 15 templates that were missing one:basic-ts,browser-ts,bun-ts,chat-react-ts,deno-ts,nodejs-ts,react-ts,vue-ts)node_modules,dist,*.lognextjs-ts)node_modules,.next,out,dist,*.logsvelte-ts)node_modules,dist,.svelte-kit,*.logbasic-rs,chat-console-rs)targetbasic-cs,chat-console-cs)bin,objbasic-cpp)target,buildAll files also include
spacetime.local.jsonand.DS_Store.The 5 templates that already had
.gitignorefiles (angular-ts,keynote-2,nuxt-ts,remix-ts,tanstack-ts) are left unchanged.