-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sverdle #6979
Merged
Merged
Sverdle #6979
Changes from 47 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
0895100
WIP sverdle
Rich-Harris ec351ad
small fixes
Rich-Harris d9f36e5
fix some tests
Rich-Harris 1b3b48c
tweak global styles
Rich-Harris e5a761e
Merge branch 'master' into sverdle
Rich-Harris f1c8d67
remove unused rule
Rich-Harris 8ba3e6b
rename global.css to styles.css for a more pleasing lexical ordering
Rich-Harris 432578d
add github logo
Rich-Harris 88cd07c
fix link
Rich-Harris d851e42
fix keyboard logic
Rich-Harris f4d4ef8
remove info box
Rich-Harris 9b54d5c
gussy it up a bit
Rich-Harris 05b6372
simplify
Rich-Harris 829fac4
tweaks
Rich-Harris 866972b
tweak
Rich-Harris 3f30e1d
fix broken logic
Rich-Harris 8851705
simplify
Rich-Harris d89ae3a
remove logging
Rich-Harris 6bd1a49
use CSS vars
Rich-Harris 0b55782
.js files should be .ts
Rich-Harris b2526d1
work around bugs and annoyances
Rich-Harris 77ecc49
fix
Rich-Harris b37e6a3
rename r and c to row and column
Rich-Harris b01092c
Merge branch 'master' into sverdle
Rich-Harris f51034b
add the ability to preserve JSDoc comment descriptions when convertin…
Rich-Harris 66dfcdc
calculate classnames in Keyboard.svelte, change name to make it clear…
Rich-Harris edc0102
simplify confetti
Rich-Harris d45d139
remove unnecessary initialiser
Rich-Harris f9c7f2d
small tweak
Rich-Harris b8965ed
add some comments etc
Rich-Harris cf0b94a
consolidate logic
Rich-Harris bfbeb74
tweaks
Rich-Harris fb6b510
move game logic into +page.server.ts
Rich-Harris f8b3226
make more self-contained
Rich-Harris e32d886
add some more comments
Rich-Harris 287f223
prevent cmd-r flashing an r
Rich-Harris c7b60a3
reveal answer
Rich-Harris 79efdaa
lol whoops
Rich-Harris b142003
tweaks
Rich-Harris 1b73d0e
tweak
Rich-Harris 975aee3
add some more descriptions
Rich-Harris 97f6cc2
safari tweaks
Rich-Harris fed2740
remove unused static assets
Rich-Harris eb29141
put data-sveltekit-prefetch on <body>
Rich-Harris 7cadf2a
fix windows test assertion
ignatiusmb 51e29f3
finesse output
Rich-Harris 6f3c5ee
Merge branch 'sverdle' of github.com:sveltejs/kit into sverdle
Rich-Harris 321a6eb
tweaks
Rich-Harris a1eb420
add instructions, make some style tweaks
Rich-Harris ecc109d
tweak how-to-play
Rich-Harris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,5 @@ | ||
--- | ||
'create-svelte': patch | ||
--- | ||
|
||
Replace /todos page in demo app with /sverdle |
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 was deleted.
Oops, something went wrong.
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,14 +1,4 @@ | ||
// See https://kit.svelte.dev/docs/types#app | ||
// for information about these interfaces | ||
// and what to do when importing types | ||
declare namespace App { | ||
interface Locals { | ||
userid: string; | ||
} | ||
|
||
// interface PageData {} | ||
|
||
// interface Error {} | ||
|
||
// interface Platform {} | ||
} | ||
declare namespace App {} |
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
17 changes: 0 additions & 17 deletions
17
packages/create-svelte/templates/default/src/hooks.server.ts
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
packages/create-svelte/templates/default/src/lib/images/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes.
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I remember having the same problem in
prettier-plugin-svelte
(the parentheses thing) when using thetypescript
parser (sveltejs/prettier-plugin-svelte#218), using thebabel-ts
parser fixed it. I wonder though why it doesn't work in this case, because the formatter uses thebabel
parser, which I would have expected to be a JS parser which should keep the parentheses. Maybebabel-ts
is worth a try?