Skip to content

Conversation

cmwhited
Copy link
Collaborator

Description

Turns out, .gitignore is ignored by .npmignore by default, so when publishing, it was not being uploaded to npm. This meant when the app was scaffolded, it did not have a .gitignore.

The fix, thanks to create-vite, was to name the .gitignore in the template-* directory to _gitignore and then rename it when copying.

Closes #372

@cmwhited cmwhited requested a review from nikgraf July 24, 2025 20:50
@cmwhited cmwhited merged commit a94bea7 into main Jul 24, 2025
6 checks passed
@cmwhited cmwhited deleted the chris.whited/fix-372/publish-gitignore branch July 24, 2025 20:58
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.

App created with create-hypergraph should have a .gitignore (see vite template)

2 participants