Skip to content

Commit

Permalink
chore: add svelte-eslint-parser to list of migratable dependencies (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloricciuti authored Oct 18, 2024
1 parent 1616669 commit 8cbc93f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/curvy-bugs-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"svelte-migrate": patch
---

chore: add `svelte-eslint-parser` to list of migratable dependencies
3 changes: 2 additions & 1 deletion packages/migrate/migrations/svelte-5/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ export function update_pkg_json_content(content) {
['rollup-plugin-svelte', '^7.2.2'],
['prettier', '^3.1.0'],
['prettier-plugin-svelte', '^3.2.6'],
['eslint-plugin-svelte', '^2.43.0'],
['eslint-plugin-svelte', '^2.45.1'],
['svelte-eslint-parser', '^0.42.0'],
[
'eslint-plugin-svelte3',
'^4.0.0',
Expand Down
6 changes: 4 additions & 2 deletions packages/migrate/migrations/svelte-5/migrate.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ test('Update package.json', () => {
"devDependencies": {
"svelte": "^4.0.0",
"svelte-check": "^3.0.0",
"svelte-preprocess": "^5.0.0"
"svelte-preprocess": "^5.0.0",
"svelte-eslint-parser": "^0.41.1"
},
"dependencies": {
"@sveltejs/kit": "^2.0.0"
Expand All @@ -94,7 +95,8 @@ test('Update package.json', () => {
"devDependencies": {
"svelte": "^5.0.0-next.0",
"svelte-check": "^4.0.0",
"svelte-preprocess": "^6.0.0"
"svelte-preprocess": "^6.0.0",
"svelte-eslint-parser": "^0.42.0"
},
"dependencies": {
"@sveltejs/kit": "^2.5.27"
Expand Down

0 comments on commit 8cbc93f

Please sign in to comment.