0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-25 17:19:22 +01:00
svelte/sites/svelte.dev/scripts
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
..
type-gen feat(site-2): TS in docs (#8452) 2023-05-11 14:18:57 +05:30
generate_examples.js feat(site-2): TS in docs (#8452) 2023-05-11 14:18:57 +05:30
get_contributors.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00
get_donors.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00
update_template.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00
update.js [feat]: Move svelte.dev here (#8237) 2023-02-02 15:45:09 -05:00