0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-29 16:36:44 +01:00
Commit Graph

7286 Commits

Author SHA1 Message Date
Ben McCann
bdf10f125c merge 2023-06-16 08:43:39 -07:00
Simon H
4e569d1895
docs: Svelte 3/4 differences (#8740)
note some inline, drive-by-fix in custom element docs
closes #8703
2023-06-16 15:08:05 +02: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
Ben McCann
e8e9c6cc19
chore: update locate-character and dts-buddy (#8737) 2023-06-15 20:48:38 -07: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
Puru Vijay
62bef809b2 Merge remote-tracking branch 'origin/version-4' into sites 2023-06-15 19:29:18 +05:30
Simon H
c587c8aaaa
docs: note limitations of not using shadow root (#8734)
closes #8686
2023-06-14 22:15:11 +02:00
mimbrown
4f1063723e
fix: Don't break in attributeChangedCallback if $$component does not exist yet (#8701)
Since the custom element class waits one tick before instantiating the `$$component` field, it's possibly undefined when `attributeChangedCallback` is called.
2023-06-14 21:33:17 +02:00
gtmnayan
f580e2e0c8
fix: warn on boolean compilerOptions.css (#8710)
* warn on boolean compilerOptions.css

* changeset
2023-06-14 21:31:44 +02: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
Ben McCann
20d95ddb23 merge 2023-06-14 12:08:53 -07: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
Ben McCann
83e91782e6
chore: upgrade aria-query and axobject-query (#8724)
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
2023-06-14 08:23:09 -07:00
Ben McCann
cc1f4bc6ff
chore: upgrade eslint config (#8717) 2023-06-14 19:55:12 +05:45
Rich Harris
d6f0b7bd5b
Fix types (#8727)
* put comment in right place

* bump dts-buddy

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-06-13 11:30:48 -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
ad9a672171 Merge version-4 2023-06-10 16:02:51 +05:30
Puru Vijay
fbd1d0a3b9 Try? 2023-06-09 22:41:14 +05:30
gtmnayan
8bd90219ec
chore: fix release workflow (#8716) 2023-06-08 19:32:06 -07:00
Ben McCann
0c6f17274e
chore: remove prepare script (#8713) 2023-06-08 14:43:33 -07:00
Dominik G
ba58327f4b
fix: changeset publish script isn't called release anymore (#8711) 2023-06-08 13:32:15 -07:00
github-actions[bot]
5963b6fd84
Version Packages (next) (#8709)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-08 11:03:52 -04:00
gtmnayan
264da48887
fix: derived types (#8700)
* fix: derived store types

* changeset
2023-06-08 11:02:10 -04:00
gtmnayan
0b15bb6928
fix: export ComponentType (#8694)
* fix: export ComponentType

* ughh

* changeset
2023-06-08 09:57:15 -04:00
Rich Harris
1046daba6a
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>
2023-06-08 09:48:11 -04:00
gtmnayan
15bdadb2ae
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
2023-06-07 19:22:45 -04:00
Puru Vijay
ad849cc795
chore(site-2): What's new in Svelte June 2023 (#8705) 2023-06-08 02:48:07 +05:30
Ben McCann
53b8158fc5
site: fix svelte-check errors (#8696) 2023-06-05 09:25:14 -07:00
Ben McCann
276d2f86ba merge version-4 branch 2023-06-04 08:15:01 -07:00
Ben McCann
5902ccab81
chore: upgrade to pnpm 8.6.0 (#8693) 2023-06-04 11:50:13 +05:45
Ben McCann
f2ff684b5f
chore: setup changesets (#8668)
Co-authored-by: dominikg <dominik.goepel@gmx.de>
2023-06-01 13:22:34 -07:00
Rich Harris
27538fc598
tweak docs content (#8675)
* update intro

* update tutorial links

* unitalicise code spans

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update documentation/docs/01-getting-started/01-introduction.md

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

---------

Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-06-01 15:44:16 -04:00
Rich Harris
c33377f17d
Merge branch 'version-4' into sites 2023-06-01 11:55:28 -04: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
Ben McCann
f74dddd1d5
docs: correct link in changelog 2023-05-31 20:48:05 -07:00
Puru Vijay
2efd78cba4 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-31 01:12:01 +05:30
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
Nguyen Tran
0ce41875f0
docs: use pnpm and new commands to check the code base (#8667)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-05-30 12:19:51 -07:00
gtmnayan
fe06a39229
fix: store types and some other internal types that got lost in the conversion (#8658) 2023-05-30 12:17:38 -07:00
Ben McCann
b0619377b1
docs: update changelog with minimum rollup-plugin-svelte and svelte-loader versions (#8666) 2023-05-30 12:07:54 -07:00
Ben McCann
b41c4407c2
docs: update changelog to follow changesets format (#8642) 2023-05-30 12:06:28 -07:00
Ben McCann
0e19350e62
docs: update changelog with required version of vite-plugin-svelte (#8654) 2023-05-30 12:16:48 -04:00
Puru Vijay
eb18769e59 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-30 03:42:58 +05:30
Simon Holthausen
79f9d8f41f chore: remove type * for better backwards compatibility
doesnt need ts 5.0 then, at least for now
2023-05-27 23:53:55 +02:00
Puru Vijay
d8139430ff Merge remote-tracking branch 'origin/version-4' into sites 2023-05-28 01:24:02 +05:30
Puru Vijay
bd51e6f3ea Merge remote-tracking branch 'origin/version-4' into sites 2023-05-28 01:19:27 +05:30
Puru Vijay
4cde4eaada
docs(site-2): Action, TypeScript (#8588) 2023-05-26 21:15:44 -07:00
Ben McCann
ddfff4df8c
chore: convert to monorepo (#8644) 2023-05-26 16:17:13 -07:00