detect and warn if `plugin.vue.ts` is used as a name
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- build-system
Research direction
No file or test is named. Start by locating the module-builder entry point that handles plugin filenames, then reproduce the case with a file named plugin.vue.ts. Done means the reserved name is detected and a warning is emitted rather than allowing the confusing virtual-file behavior described in the issue.
Written by the indexing model from the issue text.
Description
yes, that was it, it's a reserved extension for volar/vue-tsc so it was treated as a virtual file of a non existant vue component (plugin.vue) that generated nothing when generating the d.ts
- @posva
- Dominant language
- TypeScript
- Stars
- 275
- Forks
- 35
- Avg merge
- 4h 42m
- Merged PRs (30d)
- 6
Contributor guide
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 nuxt/module-builder
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
nuxt/module-builder#720 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
nuxt/module-builder#754 ·
-
Conflict between folder structure in readme (src/runtime) and TypeScript config (src/module/runtime) Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
nuxt/module-builder#749 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
nuxt/module-builder#726 · 1 comment · 1 reaction ·
-
Running `dev:prepare` in the root of a module behaves differently than preparing in the playground Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
nuxt/module-builder#704 · 4 comments ·
All issues in nuxt/module-builder
Similar issues
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chrisparsons83/flexspotff#153 ·