svelte-kit: How should I specify the version?

Viewed 123

In package.json, should I use:

"@sveltejs/kit": "next",

or

"@sveltejs/kit": "1.0.0-next.377",

Does next means always use the latest version?

1 Answers

Think next branch as the beta branch of the releases. It can have numbered subreleases.

For the codebase stability you should always use a numbered release. Because SvelteKit APIs are unstable, otherwise a simple npm install might break your application.

Related