-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump dependencies, migrate to svelte-check 3 and fix breaking …
…changes
- Loading branch information
Quang Phan
committed
Dec 29, 2022
1 parent
0d636e1
commit ad5ceab
Showing
37 changed files
with
551 additions
and
679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
'@svelte-put/clickoutside': patch | ||
'@svelte-put/dragscroll': patch | ||
'@svelte-put/intersect': patch | ||
'@svelte-put/shortcut': patch | ||
'@svelte-put/movable': patch | ||
'@svelte-put/copy': patch | ||
--- | ||
|
||
Migrate to [svelte check 3.0](https://github.com/sveltejs/language-tools/releases/tag/svelte-check-3.0.1), using `svelteHTML` namespace now instead of `svelte.JSX` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
apps/docs/src/routes/docs/(pkg)/clickoutside/_page/codes/typescript-fallback.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
/// <reference types="svelte" /> | ||
|
||
declare namespace svelte.JSX { | ||
declare namespace svelteHTML { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
interface HTMLAttributes<T> { | ||
// on:clickoutside | ||
onclickoutside?: (event: CustomEvent<MouseEvent>) => void; | ||
'on:clickoutside'?: (event: CustomEvent<MouseEvent>) => void; | ||
} | ||
} |
5 changes: 2 additions & 3 deletions
5
apps/docs/src/routes/docs/(pkg)/copy/_page/codes/typescript-fallback.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
/// <reference types="svelte" /> | ||
|
||
declare namespace svelte.JSX { | ||
declare namespace svelteHTML { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
interface HTMLAttributes<T> { | ||
// on:copy | ||
oncopy?: (event: CustomEvent<import('@svelte-put/copy').CopyDetail>) => void; | ||
'on:copy'?: (event: CustomEvent<import('@svelte-put/copy').CopyDetail>) => void; | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
apps/docs/src/routes/docs/(pkg)/intersect/_page/codes/typescript-fallback.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/// <reference types="svelte" /> | ||
|
||
declare namespace svelte.JSX { | ||
declare namespace svelteHTML { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
interface HTMLAttributes<T> { | ||
// on:intersect | ||
onintersect?: (event: CustomEvent<import('@svelte-put/intersect').IntersectDetail>) => void; | ||
// on:intersectonce | ||
onintersectonce?: (event: CustomEvent<import('@svelte-put/intersect').IntersectDetail>) => void; | ||
'on:intersect'?: (event: CustomEvent<import('@svelte-put/intersect').IntersectDetail>) => void; | ||
'on:intersectonce'?: ( | ||
event: CustomEvent<import('@svelte-put/intersect').IntersectDetail>, | ||
) => void; | ||
} | ||
} |
10 changes: 5 additions & 5 deletions
10
apps/docs/src/routes/docs/(pkg)/movable/_page/codes/typescript-fallback.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
/// <reference types="svelte" /> | ||
|
||
declare namespace svelte.JSX { | ||
declare namespace svelteHTML { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
interface HTMLAttributes<T> { | ||
// on:movablestart | ||
onmovablestart?: ( | ||
'on:movablestart'?: ( | ||
event: CustomEvent<import('@svelte-put/movable').MovableEventDetails>, | ||
) => void; | ||
'on:movableend'?: ( | ||
event: CustomEvent<import('@svelte-put/movable').MovableEventDetails>, | ||
) => void; | ||
// on:movableend | ||
onmovableend?: (event: CustomEvent<import('@svelte-put/movable').MovableEventDetails>) => void; | ||
} | ||
} |
7 changes: 4 additions & 3 deletions
7
apps/docs/src/routes/docs/(pkg)/shortcut/_page/codes/typescript-fallback.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
/// <reference types="svelte" /> | ||
|
||
declare namespace svelte.JSX { | ||
declare namespace svelteHTML { | ||
// eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
interface HTMLAttributes<T> { | ||
// on:shortcut | ||
onshortcut?: (event: CustomEvent<import('@svelte-put/shortcut').ShortcutEventDetails>) => void; | ||
'on:shortcut'?: ( | ||
event: CustomEvent<import('@svelte-put/shortcut').ShortcutEventDetails>, | ||
) => void; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ad5ceab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
svelte-put – ./
svelte-put-git-vercel-vnphanquang.vercel.app
svelte-put-vnphanquang.vercel.app
svelte-put.vnphanquang.com