sveltejs / kit-sandbox

A sandbox for maintainers
18 stars 7 forks source link

This repository is out of date after Svelte Kit's cli was changed to use vite directly. #2

Closed basuke closed 1 year ago

basuke commented 1 year ago

When I hit pnpm dev, the error is displayed:

› pnpm dev

> kit-sandbox@0.0.1 dev /path
> node ../kit/packages/kit/src/cli.js dev --port 4567

  ERROR
    Invalid command: dev

  Run `$ svelte-kit --help` for more info.

 ELIFECYCLE  Command failed with exit code 1.

because svelte-kit 's only subcommand is sync now.

Conduitry commented 1 year ago

Thanks for the report. I'm actually going to archive this repo, as it wouldn't very useful anymore now that SvelteKit is shipped unbundled anyway. You can just symlink the SvelteKit source directly into whatever project you want to use it in.

Rich-Harris commented 1 year ago

I've unarchived it, because I use this repo day-to-day — this is the 'whatever project you want to use it in'. We just need to bring the default branch up to date (I currently use default-template, I think the default branch was supposed to use the skeleton template. Should probably just replace the current default with default-template)