0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

78 Commits

Author SHA1 Message Date
Puru Vijay
dbc714f6c0
fix(site): Style fixes (#8794)
* Style fixes

* Bump site-kit
2023-06-22 17:59:21 +05:30
Puru Vijay
3d21b00fa1
fix: search scrolling (#8792)
* Push basic stuff

* Push

* Bump site-kit
2023-06-22 17:44:21 +05:30
Puru Vijay
3c8a07136a
fix(site): renderer new link format (#8787)
* adapt

* Uncomment

* Push

* Bump site-kit
2023-06-22 08:42:09 +05:30
Puru Vijay
c808ebf2c4 fix: Flash of inAccurate coloR Theme (FART) 2023-06-22 06:47:30 +05:30
Puru Vijay
22cc4756e0
feat(site): site-kit renderer (#8757)
* Push

* Weirdass fix

* Unified renderer

* Move a bit

* Accomodate to new renderer

* update site-kit

* bump site-kit

* Fix script

* Bump site-kit

---------

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-22 06:39:20 +05:30
Puru Vijay
cf32fa2497
fix(site): update tutorial links (#8780)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-21 15:12:58 -07:00
Ben McCann
68570424a2
site: alternate footer design (#8774) 2023-06-21 11:49:14 -07:00
Puru Vijay
b8918faf48 chore: Bump REPL to 0.5.0-next.5 2023-06-21 20:50:01 +05:30
Puru Vijay
fe60894066
fix(sites): fix REPL styles (#8770)
* Push

* Push fixes

* Delete vite.config.js.timestamp-1687278902174-a59162675b2f6.mjs

* Remove log

* bump site-ki
2023-06-21 20:44:26 +05:30
Puru Vijay
88504ee90a
docs(sites): Auto-generated CompileOptions (#8756)
---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-06-20 09:31:31 +02:00
gtmnayan
f8139e5a6e
chore(site): fix build (#8762)
* fix: 404 instead of 500
* omit legacy entrypoints
* fix prefetch
2023-06-20 12:48:58 +05:45
Puru Vijay
67b4e4ff1c
docs: normalize svelte compiler headings (#8755)
The `svelte.` prefix was a remnant of CJS times
2023-06-19 14:13:34 +02:00
Ben McCann
be7a266e4a
docs: fix broken link (#8746) 2023-06-19 14:09:12 +02:00
gtmnayan
882e079a17
chore: exclude sites from build script (#8754) 2023-06-19 14:08:07 +02:00
gtmnayan
d4416c0bf8
chore: cleanup generated files (#8749) 2023-06-19 14:07:42 +02:00
Simon Holthausen
0eca1c758a make sites private 2023-06-18 21:17:49 +02:00
Puru Vijay
aec4137d72
chore(sites): update deps (#8752)
* Push

* Fix Ts 5.1 type generation error
2023-06-18 00:30:34 +05:30
Puru Vijay
ae38d6425e
fix(site-2): Prerender nav data (#8747)
* simplify nav

* updates

* fix link

* Dont need this anymore

* Push

* minor re-arrangement

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-17 12:32:43 +05:30
Rich Harris
312f94443a
fix terminal (#8748)
Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-16 17:18:05 -04:00
Rich Harris
e964254f6d
simplify nav (#8736)
* simplify nav

* updates

* fix link

* Dont need this anymore

* bump

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: Puru Vijay <devpuruvj@gmail.com>
2023-06-16 16:57:06 -04:00
Ben McCann
9ce144355c
site: update terminal section, move survey text lower, lowercase headings (#8745) 2023-06-16 09:27:42 -07:00
Rich Harris
437ca72869
Bump site-kit (#8742)
* bump site-kit

* bump again

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-16 00:30:56 -04:00
Puru Vijay
9d33d14ed4
fix(site-2): Home page styles(pt 2) (#8720)
* DocsNav

* Push

* Nav title on each page

* Install jridgewell sourcemap codec. Why it breaking suddenly

* Use theme store

* Use $nav_title

* use $page.data.nav_title

* Disable global prerendering

* Fix Suppprters section

* use new method

* Initially hidden nav functionality

* Minor fixes

* Simplify into one single nav

* Accomodate to the bottom nav

* Minor fixes

* nit

* Add selected to other pages as well

* New way of passing to navbar

* Code cleanup

* Directly pass list instead of components

* 14 days

* Fix comment

* Discord icon

* Homepage styles

* More tweak, extra CTA

* Bigger lowercase tagline

* Preload overpass for transitions demo

* Tweak for ipad air

* Remove letter spacing

* simplify home page styles (#8738)

* simplify

* fix

* slightly better use of space

* tiny bit more room

* read the docs

* crop image

* very minor tweak

* another breakpoint

* tweak

* actually it works down to 1400px

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>

---------

Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-15 16:26:21 -04:00
Rich Harris
5e4a55c98b
bump site-kit (#8731)
Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-14 15:25:19 -04:00
Rich Harris
b1cafc4573
update type generation script (#8712)
* chore: playground (#8648)

* initialize playground

* pnpm up

* tidy up git ignore

* remove fluff

* format

* rm readme

* fix jsconfig error

* add skip-worktree instructions

* reload hack

* simplify

* use rollup

* ughh

* add flag for SSR

* ...

* simplify further

* configure launch.json

* add debugger info to readme

* remove vm modules flag

* use replaceAll instead of replace

* tidy up

* fix: make it run

* add watch to launch config

* Generate type declarations with `dts-buddy` (#8702)

* use dts-buddy

* remove debug output

* remove existing type generation script

* fix package.json

* update gitignore

* bump dts-buddy

* remove unused action entry point

* add svelte/compiler and svelte/types/compiler/preprocess modules

* bump dts-buddy

* annoying

* changeset

* bump dts-buddy

* get rid of .d.ts files

* another one

* Update packages/svelte/package.json

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>

* fix: export ComponentType (#8694)

* fix: export ComponentType

* ughh

* changeset

* fix: derived types (#8700)

* fix: derived store types

* changeset

* Version Packages (next) (#8709)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* update type generation script

* remove unused stuff

* fix: changeset publish script isn't called release anymore (#8711)

* chore: remove prepare script (#8713)

* chore: fix release workflow (#8716)

* More readable, Fix $$_attributes

* Fix types (#8727)

* put comment in right place

* bump dts-buddy

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>

* build types

* add svelte/compiler types

* remove prepare script

* fix

* typo

* squelch errors

* Add svelte and kit to twoslash's types field

* squelch more stuff

* Add errors to account for new types

* Remove deps

* formatting tweak

* fix linting, maybe

* the hell

* gah

* Fix types a bit

* bump dts-buddy

* pnpm generate in dev mode

* Cache again

* reduce index

* bump dts-buddy

* remove comment

---------

Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dominik G <dominik.goepel@gmx.de>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Puru Vijay <devpuruvj@gmail.com>
2023-06-14 11:30:13 -04:00
Puru Vijay
744c596c89
fix(site-2): docs redirect page (#8718) 2023-06-12 13:39:18 -07:00
Puru Vijay
aa5bb4a3db
feat: Better docs nav (#8605)
* DocsNav

* Push

* Nav title on each page

* Install jridgewell sourcemap codec. Why it breaking suddenly

* Use theme store

* Use $nav_title

* use $page.data.nav_title

* Disable global prerendering

* Fix Suppprters section

* use new method

* Initially hidden nav functionality

* Minor fixes

* Simplify into one single nav

* Accomodate to the bottom nav

* Minor fixes

* nit

* Add selected to other pages as well

* New way of passing to navbar

* Code cleanup

* Directly pass list instead of components

* 14 days

* Fix comment

* Discord icon

* Bump site-kit finally
2023-06-12 21:59:34 +05:30
Puru Vijay
fbd1d0a3b9 Try? 2023-06-09 22:41:14 +05:30
Ben McCann
53b8158fc5
site: fix svelte-check errors (#8696) 2023-06-05 09:25:14 -07:00
Rich Harris
042a6785be
tidy up sites branch (#8671)
* remove VITE_API_BASE stuff

* use site-kit <Section> component

* remove comments

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-01 11:34:35 -04:00
Rich Harris
83d56713ef
move FAQ to /docs/faq (#8672)
* move FAQ to /docs/faq

* remove some more junk

* simplify

* escape

* move redirect to server, prerender

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-01 11:34:17 -04:00
Puru Vijay
38a70bcce1
fix(site-2): REPL component and minor fixes (#8616)
* Push

* Update deps

* Allow autocomplete on embed pages

* nit

* Remove unnecessary import

* Remove debug

* Update deps stiff

* Cleanup

* Remove prerender auto from repl page

* Use REPL next.4
2023-05-30 15:26:56 -04:00
Puru Vijay
4cde4eaada
docs(site-2): Action, TypeScript (#8588) 2023-05-26 21:15:44 -07:00
Puru Vijay
993b40201c
feat(site-2): New Markdown renderer, FAQ, Blog, Tutorial, Docs, (#8603)
* New FAQ, new renderer

* Push blog stuff

* Fix blog posts

* Add tutorial to be rendered

* Update documentation/content/blog/2023-03-09-zero-config-type-safety.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Update documentation/content/blog/2023-03-09-zero-config-type-safety.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Revamp a lot of renderer, make it (soft) compatible with sveltekit

* Remove markdown types

* Clean up faq +page

* Document stuff

* Make the options more explicity

* chore(site-2): Restructure docs pt 2 (#8604)

* Push

* Update readme

* Push

* inor accessibility fix

* minr stuff

* Add prepare

* Run prettier

* Remove test script

* pnpm update

* Update sites/svelte.dev/src/routes/examples/[slug]/+page.svelte

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Update sites/svelte.dev/package.json

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-05-25 18:19:38 +05:30
Puru Vijay
273c7318d2
feat(site-2): docs edit button (#8593)
* Add edit button

* Update deps
2023-05-17 17:14:38 +05:30
Puru Vijay
543e93bcf4 fix(site-2): Use dynamic LOCAL_SVELTE_PATH 2023-05-16 20:50:05 +05:30
Puru Vijay
bb0d34bbd0
feat(site-2): Accessibility (#8579)
* Push

* Push

* Fix Contents order

* Skip link to left sidemenu

* Add text class

* use top-nav slot

* Improve imagetools

* Fix aria-label

* Bump site-kit
2023-05-16 20:48:44 +05:30
gtmnayan
d652ddbbd0 make the triangle bot less verbose 2023-05-15 09:19:07 +05:45
Puru Vijay
f3396cfd4c chore(site-2): Run prettier 2023-05-14 11:20:43 +05:30
Puru Vijay
21a0141b8c
feat(site-2, v4): pnpm workspace (#8586)
* Push

* Push
2023-05-14 11:13:44 +05:30
Puru Vijay
f363af7cca
site -> documentation (#8585) 2023-05-13 08:06:21 -07:00
Puru Vijay
c967b81311 chore(site-2): Update deps 2023-05-13 18:54:19 +05:30
Puru Vijay
1e2ad9233e fix: Post merge pnpm issues 2023-05-13 12:05:49 +05:30
Puru Vijay
fbd3ccdf80 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-13 11:39:13 +05:30
Puru Vijay
5a671cbfc0
feat(site-2): New REPL (#8545) 2023-05-12 16:53:15 -07:00
Puru Vijay
52028a09ba
fix(site-2): Restyle home page (#8454)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-05-12 08:39:15 -07:00
Puru Vijay
fd9088bbf5 chore: Reinstall packages 2023-05-11 15:26:26 +05:30
Puru Vijay
9bee59cc4f
feat(site-2): TS in docs (#8452)
* Commit

* Push working type generation code

* Fix type gen script invocation

* Delete type-info.js

* Change build script

* Recreate package lock

* mkdir generated

* Add type references to some pages

* Add TS-able snippets to docs examples

* Fix some stuff

* Add types to individual functions

* Add to store page

* Refactor compile-types.js

* Move ts sourcefile stuff to compile-types

* Remove commented code

* Half attempt at export aliases

* Add

* Fix, add disclaimer for svelte/internal

* Disable /docs prerendering

* Remove internals page

* Remove redundant stuff

* Make search work with it

* Fix compile types logic

* Add file: comment,

* Add two-slash to docs pages

* Get type links working

* Remove console.log

* Add action module

* Fix actions logic

* Make compile-types logic more robust

* Bump site-kit

* Fix gitignore

* Use moduleResolution bundler

* Don't apply shiki-twoslash to auto generated code snippets from render

* Recreate package lock

* Make TSbpage undraft

* Fix svelte component types

* Remove console.log

* No more sveltekit

* Make regex smarter

* Update sites/svelte.dev/scripts/type-gen/compile-types.js

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>

* Rebuild package lock

* Remove commented out code

* Update deps

* Remove $$_attributes

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
2023-05-11 14:18:57 +05:30
Puru Vijay
b9ea60cff4
fix(site-2): Remove marked warnings (#8574) 2023-05-10 08:24:10 +05:30
Puru Vijay
3b4ab35b4e
feat(site-2): Use entries (#8570)
* Push

* Image stuff

* Use entries

* Update deps

* Update kit
2023-05-09 21:39:07 +05:30