Upstream to vite-plus: a bare `ngp` shorthand, a `vp create --list` entry, and two create-path gaps
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript, vite
- Domain
- cli, developer-experience
Research direction
Read packages/cli/src/create/discovery.ts and bin.ts for the shorthand and --list entry. First resolve blockers #14 and #18, then file the three requested issues on voidzero-dev/vite-plus with the epic’s reproduction and link them here. Done when the issues are linked and the Vite+ docs Limits section is updated as changes land.
Written by the indexing model from the issue text.
Description
Part of #13. Labels: feature. Blocked by #14 and #18.
Once @push-based/create-ngp is on npm and vp create @push-based/ngp works unattended:
- Ask for a bare
ngpshorthand: a special case inexpandCreateShorthand(packages/cli/src/create/discovery.ts) mappingngp→@push-based/create-ngp, the waysvelte→svand@tanstack/start→@tanstack/cliare mapped, plus a line in the "Popular Templates (shorthand)" list printed byvp create --list(bin.ts). Svelte got in through #857 and PR #982. Until then the documented command isvp create @push-based/ngp, which needs no upstream change. Whether to ask forangulartoo is a separate conversation: the name implies the Angular team's blessing, and Analog has a claim as well. Proposal: ask forngponly, mentionangularas open. - Report that templates can't tell they run under vp. The child gets
process.envplusPATH; only Bingo generators getVP_CREATE_INTERACTIVE. AVP_CREATE=1(or passing the same--no-interactivevp consumed) would let templates skip install prompts and "Done. Now run:" lines that vp then contradicts. - Report that the target directory isn't prepended for npm templates, while it is for
vite:applicationand GitHub URLs, sovp create @push-based/ngp(no directory) runs the scaffolder with no arguments and the template prompts for a name vp already asked for in other paths.
File these as issues on voidzero-dev/vite-plus with the reproduction from the epic, and link them here. Update the Vite+ docs page's Limits section when any of them lands.
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 1
- Avg merge
- 12h 24m
- Merged PRs (30d)
- 13
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from push-based/vite-plugin-ngp
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
push-based/vite-plugin-ngp#33 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
push-based/vite-plugin-ngp#42 ·
Maintainers usually reply within 1 day
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 52/100
push-based/vite-plugin-ngp#41 ·
Maintainers usually reply within 1 day
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 50/100
push-based/vite-plugin-ngp#40 ·
Maintainers usually reply within 1 day
-
feature
Difficulty 3/5 1-2 days Newbie friendliness 55/100
push-based/vite-plugin-ngp#39 ·
Maintainers usually reply within 1 day
All issues in push-based/vite-plugin-ngp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#540 ·
Maintainers usually reply within 1 day
-
accepted ai-dev ai-implementing
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
livesport/homer#218 · 1 comment ·
Maintainers usually reply within 1 day
-
normalizePropName strips `#` characters from Figma property names instead of only the `#id` suffixOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
figma/code-connect#419 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Negative values skip k/M abbreviation and medium decimal format on line, stacked-area, and tooltipOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
britecharts/britecharts#1255 ·
Maintainers usually reply within 1 day