Skip to content

Commit

Permalink
next: update Svelte (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Sep 30, 2024
1 parent 650f265 commit 27ad54c
Show file tree
Hide file tree
Showing 8 changed files with 188 additions and 147 deletions.
5 changes: 5 additions & 0 deletions .changeset/yellow-dodos-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

update Svelte to `5.0.0-next.260`
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ on:
branches:
- main
- next
paths-ignore:
- ".changeset/**"
- README.md
- ".vscode/**"
- CHANGELOG.md
pull_request:
paths-ignore:
- ".changeset/**"
- README.md
- ".vscode/**"
- CHANGELOG.md

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.sha }}
Expand Down
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export default config({ svelte: true, ignores: [...DEFAULT_IGNORES, ...ignores]
"svelte/no-at-html-tags": "off",
"unused-imports/no-unused-imports": "off",
"unused-imports/no-unused-vars": "off",
"import/no-self-import": "off",
},
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-tailwindcss": "0.5.13",
"svelte": "5.0.0-next.251",
"svelte": "5.0.0-next.260",
"svelte-eslint-parser": "^0.41.1",
"wrangler": "^3.44.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"jsdom": "^24.1.0",
"publint": "^0.2.11",
"resize-observer-polyfill": "^1.5.1",
"svelte": "5.0.0-next.251",
"svelte": "5.0.0-next.260",
"svelte-check": "4.0.3",
"tslib": "^2.7.0",
"typescript": "^5.6.2",
Expand Down
310 changes: 167 additions & 143 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sites/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"remark-gfm": "^4.0.0",
"remove-markdown": "^0.5.5",
"shiki": "^1.1.1",
"svelte": "5.0.0-next.251",
"svelte": "5.0.0-next.260",
"svelte-check": "4.0.3",
"svelte-sonner": "^0.3.24",
"tailwind-merge": "^2.2.1",
Expand Down
3 changes: 2 additions & 1 deletion sites/docs/src/lib/components/toc/tree.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
type TableOfContentsItem,
melt,
} from "@melt-ui/svelte";
import Tree from "./tree.svelte";
import { cn } from "$lib/utils/index.js";
let {
Expand Down Expand Up @@ -67,7 +68,7 @@
</div>

{#if heading.children && heading.children.length}
<svelte:self
<Tree
tree={heading.children}
level={level + 1}
{activeHeadingIdxs}
Expand Down

0 comments on commit 27ad54c

Please sign in to comment.