Skip to content

Commit

Permalink
chore(toc): migrate to Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
vnphanquang committed May 29, 2024
1 parent eb4704f commit 6b85cc2
Show file tree
Hide file tree
Showing 29 changed files with 837 additions and 1,265 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-parents-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@svelte-put/toc': major
---

drop support for Svelte 4 and below; rework public API with `Toc` class, now powered by Svelte runes. See [docs page](https://svelte-put.vnphanquang.com/docs/toc) for more information.
26 changes: 1 addition & 25 deletions packages/toc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,6 @@
".": {
"types": "./types/index.d.ts",
"import": "./src/index.js"
},
"./attributes": {
"types": "./types/index.d.ts",
"import": "./src/attributes/index.js"
},
"./events": {
"types": "./types/index.d.ts",
"import": "./src/events/index.js"
},
"./internal": {
"types": "./types/index.d.ts",
"import": "./src/internal/index.js"
},
"./parameter": {
"types": "./types/index.d.ts",
"import": "./src/parameter/index.js"
},
"./store": {
"types": "./types/index.d.ts",
"import": "./src/store/index.js"
},
"./utils": {
"types": "./types/index.d.ts",
"import": "./src/utils/index.js"
}
},
"publishConfig": {
Expand Down Expand Up @@ -86,7 +62,7 @@
"@internals/tsconfig": "workspace:*"
},
"peerDependencies": {
"svelte": "^3.55.0 || ^4.0.0"
"svelte": "^5.0.0-next.1"
},
"volta": {
"extends": "../../package.json"
Expand Down
52 changes: 0 additions & 52 deletions packages/toc/src/action/action.d.ts

This file was deleted.

Loading

0 comments on commit 6b85cc2

Please sign in to comment.