GitShow/Rich-Harris/degit
Rich-Harris

degit

Straightforward project scaffolding

by Rich-Harris
Star on GitHubForknpm

TypeScript

7.9k stars281 forks20 contributorsActive · 1d agoSince 2017MIT

Meet the team

See all 20 on GitHub →
YogliB
YogliB227 contributions
Rich-Harris
Rich-Harris92 contributions
dependabot-preview[bot]Bot
dependabot-preview[bot]79 contributions
mhkeller
mhkeller12 contributions
satotake
satotake9 contributions
futuraprime
futuraprime7 contributions
vladimyr
vladimyr5 contributions
Georift
Georift2 contributions

Languages

View on GitHub →
TypeScript97.4%
JavaScript2.6%
Shell0%

Commit activity

Last 12 weeks · 61 commits

Full graph →

Community health

5 of 6 standards met

Community profile →
100
✓README✓License✓Contributing✓Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · 1 in progress · Last activity 1d ago
See all on GitHub →
YogliB
feat: add Degit#doActions for standalone degit.json actionsOpenPR

Summary Adds so callers can run -style action arrays programmatically without first cloning a source repository. Also makes the argument optional in and . runs , , and actions independently. reuses the parent repo's cache directory for staging. now throws a error with a clear message. directives tolerate a missing or non-directory destination when stashing. Closes #33 Test plan [x] passes [x] passes [x] passes [x] passes (193 tests, including new unit and integration tests) [x] passes (4.78%) [x] passes [x] passes Generated with Devin

YogliB · 1d ago
tivac
Support gistsOpenIssue

Gists are just git repos under the covers, but doesn't seem to understand their git repo URLs. Am I doing this wrong? It seems like it should work, at least in theory.

tivac · 1w ago

Recent fixes

View closed PRs →
YogliB
feat: support glob patterns in remove actionMergedPR

Summary directive entries now support glob patterns (e.g. ), resolving #148. Reuses the existing dependency (already imported in ); no new dependencies. Every glob expansion is re-checked by the existing guard, so a glob can never delete files outside the destination. matches dotfolders (the issue's own example); avoids stale lstat cache across directives. Exact-path behavior is preserved: a missing non-glob file still emits . Security Path traversal via in a pattern: every expanded match routes through -> , which rejects anything resolving outside . Symlink escape: uses while walking and does not recurse into symlinked directories, so symlinks cannot broaden the match set. Test plan [x] (183 passed, +4 new) [x] (0 warnings, 0 errors) [x] [x] [x] [x] Manual smoke test: removes only files under , leaves and intact [x] New unit tests: glob match, nested dotfolder glob, glob escaping dest (skipped + warned), missing exact file warning Closes #148. Generated with Devin

YogliB · 1w ago
Snugug
[Enhancement] Support globs for remove actionClosedIssue

I've got a project that's scaffolded with Degit where I'd like to remove all files in the folder, but not the files (workflow files) but globbing () doesn't work. I'm asking if it's possible to support that! Thank you!

Snugug · 1w ago
Rich-Harris
Interactive modeClosedIssue

Would be cool if running without arguments took you to an interactive mode where you could see which repos were available locally, and which refs thereof. And maybe let you select from that list by typing with fuzzy matching etc.

Rich-Harris · 1w ago
Structured data for AI agents

Repository: Rich-Harris/degit. Description: Straightforward project scaffolding Stars: 7924, Forks: 281. Primary language: TypeScript. Languages: TypeScript (97.4%), JavaScript (2.6%), Shell (0%). License: MIT. Open PRs: 1, open issues: 10. Last activity: 1d ago. Community health: 100%. Top contributors: YogliB, Rich-Harris, dependabot-preview[bot], mhkeller, satotake, futuraprime, vladimyr, Georift, yuler, aleclarson and others.

·@ofershap

Replace github.com with gitshow.dev