nuxt / nuxt/module-builder

Generate CLI command

Open
#32 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
275
Forks
35
Avg merge
4h 42m
Merged PRs (30d)
6

Description

Automatically detect src/cli.ts and generate nuxi-{name} binary also ensure it is added to bin in package.json with the correct aliases (nuxt- and nuxi-)

Related to: https://github.com/nuxt/nuxt.js/issues/13634

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting src/cli.ts and the package.json generation path in module-builder. Confirm that src/cli.ts is detected, that an nuxi-{name} binary is generated, and that package.json includes the expected nuxt- and nuxi- aliases.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
build-system, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.