netlify / framework-info

Framework detection utility
MIT License
137 stars 21 forks source link

SvelteKit framework info is out of date #817

Closed nickytonline closed 2 years ago

nickytonline commented 2 years ago

Thanks for reporting this bug!

Please search other issues to make sure this bug has not already been reported.

Then fill in the sections below.

Describe the bug

The SvelteKit framework info is out of date. The configuration should be change to this.

    "configFiles": []
  },
  "dev": {
-    "command": "svelte-kit dev",
-   "port": 3000,
+  "command": "vite dev",
+  "port": 5173,
    "pollingStrategies": [{ "name": "TCP" }, { "name": "HTTP" }]
  },
  "build": {
-    "command": "svelte-kit build",
-    "directory": "build"
+    "command": "vite build",
+    "directory": ".svelte-kit"
  },
  "logo": {
    "default": "/logos/svelte-kit/default.svg",
    "light": "/logos/svelte-kit/default.svg",
    "dark": "/logos/svelte-kit/default.svg"
  },
  "staticAssetsDirectory": "static",
  "env": {},
  "plugins": []
}

Configuration

Please enter the following command in a terminal and copy/paste its output:

npx envinfo --system --binaries --npmPackages @netlify/framework-info

Pull requests

Pull requests are welcome! If you would like to help us fix this bug, please check our contributions guidelines.