Closed ciscoheat closed 1 month ago
Judging by your system info you reported, it did not install next.1.
confirm it is installing 5.0.0-next.1 install:
npm create svelte@latest my-app
# Skeleton
# Yes, using TypeScript syntax
# Add ESLint for code linting
# Add Prettier for code formatting
# Add Playwright for browser testing
# Try the Svelte 5 preview (unstable!)
"devDependencies": {
"@playwright/test": "^1.28.1",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "^8.56.7",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^5.0.0-next.1",
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"typescript-eslint": "^7.5.0",
"vite": "^5.0.3"
}
With Svelte 5 on the horizon, I would favor this is not worth the time to fix
^5.0.0-next.1 is a semver range that will match the latest next.x version.
True, the latest Svelte 5 next
version is being added. Strange, as I've seen it added to package.json without the circumflex before. But the eslint-plugin-svelte
could be set to its next version, if it's worth the time.
Describe the bug
When you create a new project with create-svelte, it installs
5.0.0-next.1
, and not the next version ofeslint-plugin-svelte
either.Reproduction
pnpm create svelte@latest
and select the Svelte 5 option.Logs
No response
System Info
Severity
annoyance
Additional Information
The system info is after installing the latest versions with
pnpm i -D svelte@next eslint-plugin-svelte@next