Skip to content

Add .gitignore files to quickstart templates#4609

Merged
clockwork-labs-bot merged 1 commit intomasterfrom
bot/template-gitignore
Mar 30, 2026
Merged

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

Conversation

@clockwork-labs-bot
Copy link
Copy Markdown
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.
Copy link
Copy Markdown
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine/desirable to me.

@cloutiertyler cloutiertyler added this pull request to the merge queue Mar 30, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 30, 2026
@clockwork-labs-bot clockwork-labs-bot added this pull request to the merge queue Mar 30, 2026
Merged via the queue into master with commit cd65a07 Mar 30, 2026
35 of 36 checks passed
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

2 participants