Eric
Eric

Reputation: 24904

svelte-kit: How should I specify the version?

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?

Upvotes: 2

Views: 1688

Answers (2)

Eric
Eric

Reputation: 24904

Now svelte-kit has released v1, can use:

"@sveltejs/kit": "^1.0.7",

Upvotes: 0

Mikko Ohtamaa
Mikko Ohtamaa

Reputation: 83458

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.

Upvotes: 4

Related Questions