Skip to content

Commit

Permalink
Svelte 5 migration - phase 1 (#930)
Browse files Browse the repository at this point in the history
* feat: svelte 5 migration, eslint config and versions

* feat(svelte/preprocess): svelte 5 migration

* feat(svelte/headless): svelte 5 migration

* feat(svelte/bootstrap): svelte 5 migration

* feat(svelte/demo/bootstrap): svelte 5 migration

* feat(svelte/demo/daisyui): svelte 5 migration

* feat(doc): svelte 5 migration
  • Loading branch information
quentinderoubaix authored Oct 1, 2024
1 parent ada02bd commit 40d0f5b
Show file tree
Hide file tree
Showing 141 changed files with 5,586 additions and 8,091 deletions.
2 changes: 0 additions & 2 deletions angular/docs/Slots.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
## Slots in Angular

Angular applications usually handle slots using [content projection](https://angular.dev/guide/components/content-projection).
We support this behavior, while going further.

Expand Down
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@
"@stackblitz/sdk": "^1.11.0",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.5.28",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.7",
"@types/dom-view-transitions": "^1.0.5",
"bootstrap-icons": "^1.11.3",
"compare-versions": "^6.1.1",
"front-matter": "^4.0.2",
"prettier-plugin-svelte": "^3.2.6",
"shiki": "^1.18.0",
"svelte": "^4.2.19",
"svelte": "^5.0.0-next.260",
"svelte-check": "^4.0.2",
"svelte-markdown": "^0.4.1",
"tsx": "^4.19.1"
Expand Down
4 changes: 2 additions & 2 deletions demo/src/lib/stackblitz/prepareProject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ export const createBaseFrameworkProcessors = (): Record<Frameworks, StackblitzPr
),
addAsyncFiles(import.meta.glob('./svelte-daisyui/**', {query: '?raw', import: 'default'}) as any, '', './svelte-daisyui/', isDaisyuiCondition),
(project, sample) => {
project.files['src/main.ts'] = `import "./main.css";\nimport App from ${JSON.stringify(
project.files['src/main.ts'] = `import "./main.css";\nimport {mount} from 'svelte';\nimport App from ${JSON.stringify(
`./${sample.files.svelte.entryPoint}`,
)};\nconst app = new App({target: document.getElementById('root')!});\nexport default app;`;
)};\nconst app = mount(App, {target: document.getElementById('root')!});\nexport default app;`;
project.template = 'node';
},
],
Expand Down
Loading

0 comments on commit 40d0f5b

Please sign in to comment.