Skip to content

fix: rename template gitignore files to survive npm pack (v0.4.2)#31

Merged
SubhanshuMG merged 1 commit intomainfrom
fix/v0.4.2-gitignore-publish
Mar 23, 2026
Merged

fix: rename template gitignore files to survive npm pack (v0.4.2)#31
SubhanshuMG merged 1 commit intomainfrom
fix/v0.4.2-gitignore-publish

Conversation

@SubhanshuMG
Copy link
Copy Markdown
Owner

npm strips .gitignore files from published tarballs when no .npmignore is present, causing scaffold to fail with
Template source file not found. Renamed template source files to gitignore; registry.json maps them back to .gitignore in the
scaffolded project. Also bumps version to 0.4.2 and removes broken readme-stats workflow.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 23, 2026

Coverage Report

Tests: 246 / 250 passed

Metric Coverage
🟢 Lines 95.7%
🟢 Statements 95.8%
🟢 Branches 88.2%
🟢 Functions 97.6%

View full coverage dashboard →

@SubhanshuMG SubhanshuMG self-assigned this Mar 23, 2026
@github-actions github-actions bot added the area/templates New or improved scaffolding templates label Mar 23, 2026
@SubhanshuMG SubhanshuMG added bug Something isn't working and removed area/templates New or improved scaffolding templates labels Mar 23, 2026
…pping

Signed-off-by: Subhanshu Mohan Gupta <53417895+SubhanshuMG@users.noreply.github.com>
@SubhanshuMG SubhanshuMG force-pushed the fix/v0.4.2-gitignore-publish branch from 02fde5d to 0e4a153 Compare March 23, 2026 16:41
@github-actions github-actions bot added the area/templates New or improved scaffolding templates label Mar 23, 2026
@SubhanshuMG SubhanshuMG merged commit 61bbde3 into main Mar 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/templates New or improved scaffolding templates bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant