netlify / netlify/primitives

Ability to invoke `@netlify/dev` via CLI

Open
#406 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26
Forks
21
Avg merge
22h 38m
Merged PRs (30d)
13

Description

Right now use use netlify serve in the SvelteKit integration tests. We use it without any flags. It'd be nice if we could use @netlify/dev instead as it would let us drop hundreds of dependencies from netlify-cli. While I could theoretically wrap @netlify/dev in a CLI myself, it would introduce extra work for me and it'd be nicer if I could just call it directly

Contributor guide

No contributing guide indexed for this repository

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 locating the SvelteKit integration tests that currently invoke netlify serve without flags, then inspect how @netlify/dev and the netlify-cli entry points are exposed. The work is done when the tests can invoke @netlify/dev directly and no longer require the extra netlify-cli dependencies.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.