Skip to content

Commit

Permalink
update to svelte 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mschile committed Nov 7, 2024
1 parent faf4115 commit 87b8a36
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion npm/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cypress/mount-utils": "0.0.0-development",
"svelte": "^5.1.12",
"svelte": "^4.2.19",
"typescript": "~5.4.5"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/scaffold-config/src/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const WIZARD_DEPENDENCY_SVELTE: Cypress.CypressComponentDependency = {
package: 'svelte',
installer: 'svelte',
description: 'Cybernetically enhanced web apps',
minVersion: '^4.0.0 || ^5.0.0',
minVersion: '^4.0.0',
} as const

export const WIZARD_DEPENDENCIES = [
Expand Down
4 changes: 2 additions & 2 deletions packages/scaffold-config/test/unit/detect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ describe('detectFramework', () => {
const projectPath = await scaffoldMigrationProject('svelte-vite-unconfigured')

fakeDepsInNodeModules(projectPath, [
{ dependency: 'svelte', version: '5.0.0' },
{ dependency: 'svelte', version: '4.0.0' },
{ dependency: 'vite', version: v },
])

Expand All @@ -206,7 +206,7 @@ describe('detectFramework', () => {
const projectPath = await scaffoldMigrationProject('svelte-webpack-unconfigured')

fakeDepsInNodeModules(projectPath, [
{ dependency: 'svelte', version: '5.0.0' },
{ dependency: 'svelte', version: '4.0.0' },
{ dependency: 'webpack', version: '5.0.0' },
])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"cross-env": "^7.0.3",
"css-loader": "^5.0.1",
"mini-css-extract-plugin": "^2.9.1",
"svelte": "^5.1.11",
"svelte": "^4.2.19",
"svelte-loader": "^3.0.0",
"webpack": "^5.16.0",
"webpack-cli": "^4.10.0",
Expand Down
2 changes: 1 addition & 1 deletion system-tests/projects/svelte-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^2.9.1",
"svelte": "^5.1.11",
"svelte": "^4.2.19",
"svelte-loader": "^3.1.3",
"webpack": "^5.74.0",
"webpack-dev-server": "^4.10.0"
Expand Down

0 comments on commit 87b8a36

Please sign in to comment.