sveltejs / kit

web development, streamlined
https://svelte.dev/docs/kit
MIT License
18.73k stars 1.95k forks source link

Initializing a project does not include vite #412

Closed GrygrFlzr closed 3 years ago

GrygrFlzr commented 3 years ago

Describe the bug Initializing a project does not include vite

To Reproduce

npm init svelte@next
{
    "name": "sk-35",
    "version": "0.0.1",
    "scripts": {
        "dev": "svelte-kit dev",
        "build": "svelte-kit build",
        "start": "svelte-kit start"
    },
    "devDependencies": {
        "@sveltejs/adapter-node": "next",
        "@sveltejs/kit": "next",
        "svelte": "^3.29.0",
        "typescript": "^4.0.0",
        "tslib": "^2.0.0",
        "svelte-preprocess": "^4.0.0",
        "@snowpack/plugin-typescript": "^1.0.0"
    },
    "type": "module",
    "engines": {
        "node": ">= 12.17.0"
    }
}

Expected behavior Include vite in dependencies when initializing a project.

Information about your SvelteKit Installation:

  npmPackages:
    @sveltejs/kit: next => 1.0.0-next.35
    svelte: ^3.29.0 => 3.35.0

Severity Pretty easy to work around with npm i -D vite, but terrible experience out of the box.

dummdidumm commented 3 years ago

I'll take a look