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

722 Commits

Author SHA1 Message Date
Ben McCann
a856128d80 merge master 2023-06-20 12:36:41 -07:00
Conduitry
06553d9b09 -> v3.59.2 2023-06-20 12:33:27 -04:00
gtmnayan
882e079a17
chore: exclude sites from build script (#8754) 2023-06-19 14:08:07 +02: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
cc1f4bc6ff
chore: upgrade eslint config (#8717) 2023-06-14 19:55:12 +05:45
Puru Vijay
ad9a672171 Merge version-4 2023-06-10 16:02:51 +05:30
Dominik G
ba58327f4b
fix: changeset publish script isn't called release anymore (#8711) 2023-06-08 13:32:15 -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
Ben McCann
ddfff4df8c
chore: convert to monorepo (#8644) 2023-05-26 16:17:13 -07:00
Simon H
a40af4dd11
chore: unbundled esm (#8613)
- remove esm bundle step
- introduce generated version.js because we can no longer use replace because we don't bundle esm
- remove register hook, cjs compiler output and cjs runtime
- keep umd compiler version for prettier/eslint/browser but without sourcemaps
- move devdependencies to dependencies where necessary
- various cleanup

---------

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
2023-05-24 15:31:09 +02:00
Ben McCann
086f225ea9
chore: remove unused source-map-support depedency (#8622) 2023-05-23 11:13:47 -07:00
gtmnayan
3df9d8466f
chore: speed up test execution (#8598)
- shard runtime tests for better use of Vite's test parallelization
- merge custom element and other browser tests to run in one test suite and use esbuild in it
- on some setups only generate code output when test fails
2023-05-22 15:46:27 +02:00
Ben McCann
0467219701 chore: switch to released version of eslint-config 2023-05-20 20:32:35 -07:00
Ben McCann
0c99aa8904
chore: update eslint config (#8608)
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
2023-05-19 20:21:54 -07:00
gtmnayan
61218d3c9c
chore(test): tidy up html equal (#8599) 2023-05-19 08:37:30 -07:00
S. Elliott Johnson
fd9d61a7b7
chore: TS to JSDoc Conversion (#8569)
---------

Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-05-19 15:59:42 +02:00
gtmnayan
783bd9899e
chore: swap mocha with vitest (#8584)
Also swap out the require hook hacks with a less-hacky-but-still-somewhat-hacky loader for the Svelte files

---------

Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
2023-05-17 21:00:20 +02:00
gtmnayan
202d119e9a
chore: convert puppeteer tests to playwright (#8577) 2023-05-15 09:04:12 +05:45
Yuichiro Yamashita
b6a400a549
chore: add prettier (#8543) 2023-05-08 23:32:52 +02:00
Dominik G
56df761f95
breaking: set verison to 4, remove engines.pnpm and bump engines.node to >=16 (#8566) 2023-05-08 16:30:24 +02:00
Conduitry
64b8c8b33c -> v3.59.1 2023-05-08 09:58:26 -04:00
Ben McCann
6fbb36d1fe
fix: improve setup of default export and remove svelte/ssr (#8516) 2023-05-05 17:33:08 +02:00
Simon Holthausen
418f4c2381 Merge branch 'master' into version-4 2023-05-05 17:13:45 +02:00
Conduitry
4537eb77bb -> v3.59.0 2023-05-05 10:06:22 -04:00
Ben McCann
d64e86a260
chore: switch from npm to pnpm (#8514) 2023-04-18 18:18:00 +02:00
Hofer Ivan
8e51b51dfc breaking: improve types for createEventDispatcher (#7224)
---------

Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-04-18 11:12:33 +02:00
Ben McCann
2813814396 chore: upgrade rollup (#8491)
bump to rollup 3. Includes reworking the "treat those imports as external" a bit so that Rollup builds correctly but doesn't bundle some of the (now relative) imports

---------

Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-04-18 11:12:33 +02:00
Ben McCann
99b6a25d9d chore: Svelte 4 dependency upgrades (#8486) 2023-04-18 11:12:32 +02:00
Ben McCann
d7cffa6840 chore: upgrade to TypeScript 5 (#8488)
- upgrade to TypeScript 5
- upgrade @ampproject/remapping
- remove obsolete workarounds

---------

Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2023-04-18 11:12:32 +02:00
Ben McCann
42362692b5 chore: bump engines field (#8489) 2023-04-18 11:12:03 +02:00
Ben McCann
932cb66a36 chore: simplify Svelte 4 CI (#8487) 2023-04-18 11:12:03 +02:00
Simon H
f0cdf77e15 chore: remove node<14 tests (#8482)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2023-04-18 11:12:03 +02:00
Ben McCann
def1890f4f
chore: bump @jridgewell/sourcemap-codec (#8458) 2023-04-11 11:25:53 +02:00
Conduitry
cfe26d8d6c -> v3.58.0 2023-03-30 13:04:33 -04:00
Conduitry
952f8c566f -> v3.57.0 2023-03-15 13:38:01 -04:00
Conduitry
e2fe8ab469 -> v3.56.0 2023-03-09 19:31:19 -05:00
Ben McCann
f9efb4d992
chore: upgrade aria-query (#8353) 2023-03-08 12:56:24 -05:00
Ben McCann
757a81ac6d
chore: upgrade dependencies (#8352) 2023-03-08 17:50:11 +01:00
Ben McCann
c6d6a73b9d
chore: upgrade rollup plugins (#8350) 2023-03-04 15:18:55 +08:00
Ben McCann
b336b16204
chore: upgrade to code-red 1.0 (#8349) 2023-03-04 15:18:25 +08:00
Ben McCann
5b2fa1f247
chore: upgrade magic-string (#8339)
- overwrite -> update
- update comments
2023-03-02 20:10:12 +01:00
Ben McCann
ca531519a8
chore: switch to @jridgewell/sourcemap-codec (#8321) 2023-02-24 15:50:22 -08:00
Conduitry
3b3e1c839c -> v3.55.1 2023-01-10 12:17:09 -05:00
Conduitry
3ba0e30416 -> v3.55.0 2022-12-13 09:04:08 -05:00
Simon H
512eda7a84
[feat] add html typings (#7649)
This adds typings for HTML elements and their attributes. It's supposed to be used by the new transformation in language-tools.

Co-authored-by: Ignatius Bagus <ignatius.mbs@gmail.com>
Co-authored-by: Lyu, Wei-Da <36730922+jasonlyu123@users.noreply.github.com>
2022-12-11 21:45:11 +01:00
Conduitry
aa5a1cdf1a -> v3.54.0 2022-12-06 14:25:16 -05:00
Simon He
e44762aa2d
[chore] add ESLint Caching (#8069)
see: https://eslint.org/docs/latest/user-guide/command-line-interface#caching
2022-12-03 15:54:32 +09:00
Conduitry
91f8764145 -> v3.53.1 2022-11-10 09:15:07 -05:00