Skip to content

Commit 1768b46

Browse files
committed
Merge branch 'main' of github.com:sveltejs/cli into pr/wyMinLwin/919
2 parents 4e33530 + cf12320 commit 1768b46

442 files changed

Lines changed: 862 additions & 706 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/yellow-hoops-tickle.md

Lines changed: 5 additions & 0 deletions

.prettierignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
packages/sv/lib/cli/tests/snapshots/*
2-
packages/sv/lib/**/tests/**/output.ts
1+
packages/sv/src/cli/tests/snapshots/*
2+
packages/sv-utils/src/tests/**/output.ts

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions

documentation/docs/20-commands/20-sv-add.md

Lines changed: 1 addition & 1 deletion
Lines changed: 3 additions & 2 deletions
Lines changed: 12 additions & 0 deletions

eslint.config.js

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,20 @@ export default [
1919
eqeqeq: 'error',
2020
'@typescript-eslint/await-thenable': 'error',
2121
'@typescript-eslint/no-unused-expressions': 'off',
22-
'@typescript-eslint/require-await': 'error',
23-
'no-restricted-imports': [
24-
'error',
25-
{
26-
patterns: [
27-
{
28-
group: ['**/core/**/*'],
29-
message: 'Import from "lib/core.ts" instead of directly from "../core/..."'
30-
}
31-
]
32-
}
33-
]
34-
}
35-
},
36-
{
37-
files: ['packages/sv/lib/core.ts'],
38-
rules: {
39-
'no-restricted-imports': 'off'
22+
'@typescript-eslint/require-await': 'error'
4023
}
4124
},
4225
{
4326
ignores: [
4427
'**/temp/*',
4528
'**/.test-output/*',
4629
'**/dist/*',
47-
'packages/sv/lib/create/shared/**/*',
48-
'packages/sv/lib/create/scripts/**/*',
49-
'packages/sv/lib/create/templates/**/*',
50-
'packages/sv/lib/cli/tests/snapshots/*',
51-
'packages/sv/lib/**/tests/**/{output,input}.ts'
30+
'packages/sv/src/create/shared/**/*',
31+
'packages/sv/src/create/scripts/**/*',
32+
'packages/sv/src/create/templates/**/*',
33+
'packages/sv/src/cli/tests/snapshots/*',
34+
'packages/sv/src/**/tests/**/{output,input}.ts',
35+
'packages/sv-utils/src/**/tests/**/{output,input}.ts'
5236
]
5337
}
5438
];

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@
2727
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
2828
"@types/node": "^20.19.30",
2929
"@typescript/native-preview": "7.0.0-dev.20251212.1",
30-
"@vitest/ui": "4.0.15",
30+
"@vitest/ui": "4.1.0-beta.4",
3131
"eslint": "^9.39.2",
3232
"eslint-plugin-svelte": "^3.14.0",
3333
"magic-string": "^0.30.21",
3434
"prettier": "^3.8.1",
3535
"prettier-plugin-packagejson": "^2.5.22",
3636
"prettier-plugin-svelte": "^3.4.1",
3737
"sv": "workspace:*",
38-
"svelte": "^5.49.1",
38+
"svelte": "^5.51.0",
3939
"tsdown": "^0.18.4",
4040
"typescript": "^5.9.3",
4141
"typescript-eslint": "^8.54.0",
42-
"vitest": "4.0.15"
42+
"vitest": "4.1.0-beta.4"
4343
},
4444
"packageManager": "pnpm@10.17.0"
4545
}

packages/migrate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@types/node": "^20.14.8",
4444
"@types/prompts": "^2.4.9",
4545
"@types/semver": "^7.7.1",
46-
"svelte": "^5.45.10"
46+
"svelte": "^5.48.0"
4747
},
4848
"keywords": [
4949
"migration",

packages/sv-utils/CHANGELOG.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)