Skip to content

Add .gitignore files to quickstart templates#4609

Open
clockwork-labs-bot wants to merge 1 commit intomasterfrom
bot/template-gitignore
Open

Add .gitignore files to quickstart templates#4609
clockwork-labs-bot wants to merge 1 commit intomasterfrom
bot/template-gitignore

Conversation

@clockwork-labs-bot
Copy link
Collaborator

Fixes #4582

Templates created via spacetime init were missing .gitignore files, causing build artifacts like node_modules, target/, bin/, obj/, dist/, .next/, etc. to show up in git diffs when users initialize a project inside a git repository.

Adds .gitignore files to the 15 templates that were missing one:

Template Ignores
Node/TS (basic-ts, browser-ts, bun-ts, chat-react-ts, deno-ts, nodejs-ts, react-ts, vue-ts) node_modules, dist, *.log
Next.js (nextjs-ts) node_modules, .next, out, dist, *.log
Svelte (svelte-ts) node_modules, dist, .svelte-kit, *.log
Rust (basic-rs, chat-console-rs) target
C# (basic-cs, chat-console-cs) bin, obj
C++ (basic-cpp) target, build

All files also include spacetime.local.json and .DS_Store.

The 5 templates that already had .gitignore files (angular-ts, keynote-2, nuxt-ts, remix-ts, tanstack-ts) are left unchanged.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

no .gitignore file with quickstart templates, and no way to create project in curent folder

1 participant