"adapterVersion": {
"type": "string",
"description": "The version to use for sveltekit adapter-auto",
},
"svelteVersion": {
"type": "string",
"description": "The svelte version to use",
},
"svelteKitVersion": {
"type": "string",
"description": "The sveltekit version to use",
},
Is your feature request related to a problem? Please describe.
The versions listed in versions.ts are over 1 year old
F.ex sveltekit 1.16.3 is over 1 years old as show here.
The latest version is currently 2.5.x
For svelte, the current version is set to 3.x whereas the latest stable version is 4.x and 5.x is in beta and set to be released soon.
Currently the versions are taken from the versions file and fed into the installDependencies function in the lib folder
Describe the solution you'd like
Currently the installDependencies is called as follows
I propose enhancing the function to take in the options as well in order to allow the end user to override the default versions if needed
lib/install-dependencies.js
This would then require adding additional optional options to the generator schema
and to
schema.json
Update the default versions to the following:
This would then allow the user to opt in to use alpha/beta versions such as Svelte 5.x or even use older versions if/as needed.
Describe alternatives you've considered
No alternatives
Additional context