0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-22 03:47:27 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Simon H
98a72f5068
chore: check in types (#9863)
To ensure that changes to code/types doesn't result in unwanted changes in type generation, or that bumps to dts-buddy don't cause unwanted regressions, we're checking in the generated types. Types should be committed as-is (don't format it with prettier!). CI is enhanced to check that git sees no changed files after generating the types, which would mean types have changed.
2024-01-02 14:18:59 +01:00
Yuichiro Yamashita
075c268f42
add ci on node21 (#9621) 2023-11-27 08:37:37 -05:00
Simon H
c6c934afb2
chore: cleanup (#9381)
* lets see if this works

* fix versions

* sigh

* debugging ci is sooo fun

* oh wow

* fix stuff, changelog, add back readme

* appease prettier

* format stuff
2023-11-10 16:46:40 +01:00
Simon Holthausen
b8ea454372 chore: enter changeset prerelease mode 2023-11-10 15:56:52 +01:00
Simon Holthausen
fe8a9ce31d breaking: init Svelte 5
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
Co-authored-by: Dominic Gannaway <dg@domgan.com>
2023-11-10 15:48:23 +01:00
Simon H
2a2a773174
chore: rewire some master occurences (#9379)
(main for a few in contributing; doesn't exist yet but will, soon)
2023-11-10 13:38:07 +01:00
Simon H
2f5e371046
chore: run tsc properly (#8884)
Runs type check as part of the CI. This needs a new path alias in the tsconfig so that TS resolves the svelte import in the ambient file directly to the correct d.ts file and doesn't load Svelte through the node_modules, at which point it would load the generated ambient type definitions and throw a duplicate definitions error.

Also removes a tgz that was accidentally added
2023-07-03 14:23:34 +02:00
Ben McCann
0cd79fd0c3 remove docs workflow 2023-06-20 14:04:39 -07:00
Ben McCann
9319cbb1dc chore: update changesets branch 2023-06-20 13:59:56 -07:00
Ben McCann
a856128d80 merge master 2023-06-20 12:36:41 -07:00
Puru Vijay
ad9a672171 Merge version-4 2023-06-10 16:02:51 +05:30
Ben McCann
276d2f86ba merge version-4 branch 2023-06-04 08:15:01 -07:00
Ben McCann
f2ff684b5f
chore: setup changesets (#8668)
Co-authored-by: dominikg <dominik.goepel@gmx.de>
2023-06-01 13:22:34 -07:00
Puru Vijay
bd51e6f3ea Merge remote-tracking branch 'origin/version-4' into sites 2023-05-28 01:19:27 +05:30
Ben McCann
ddfff4df8c
chore: convert to monorepo (#8644) 2023-05-26 16:17:13 -07:00
Puru Vijay
cf5561cd36 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-19 10:08:42 +05:30
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
Puru Vijay
a39c7f397d Merge remote-tracking branch 'origin/version-4' into sites 2023-05-16 20:50:46 +05:30
gtmnayan
202d119e9a
chore: convert puppeteer tests to playwright (#8577) 2023-05-15 09:04:12 +05:45
Puru Vijay
fbd3ccdf80 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-13 11:39:13 +05:30
Dominik G
3bc791bcba
feat: add workflow to trigger ecosystem-ci from svelte PRs (#8571) 2023-05-09 14:01:56 -04:00
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
Yuichiro Yamashita
0677d89fff
chore: fix CI on Node 20 (#8528) 2023-04-26 14:02:22 -07:00
Ben McCann
8ffd2112bc
chore: fix CI setup for unit tests (#8530) 2023-04-26 09:21:21 +02:00
Ben McCann
6f8cdf3b0f
chore: run CI tests on Node 20 (#8519) 2023-04-19 10:23:14 +02: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
caef440391 chore: run fewer CI jobs (#8496) 2023-04-18 11:12:33 +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
Puru Vijay
db2d07f236
feat(site-2): Update links, move blog out of SK folder to content (#8289)
* Update links

* Move blog to site/content

* Update site/content/docs/02-component-format.md

* Fix docs links

* Add global prettierrc

* Auto format

* Fix git merge artifact

* Fix errors

* Update html to svelte(remaining ones)

* Add 2 blog posts

* Modify prettierrc

* Minor design fix

* Switch package lock to spaces, prettier ignore

* Regenerate package lock

* prettier format

* Update deps

* Hack the build into working

* add missing blog post

---------

Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
2023-04-02 11:24:33 -04:00
Yuichiro Yamashita
967e9f51ff
chore: add Node18 for CI (#8078) 2023-01-11 18:11:14 -08:00
Yuichiro Yamashita
de6821a1de
[ chore] disable puppeteer on Linux for Node8 and 10 (#8155) 2022-12-31 10:13:52 +09:00
Frozen FIsh
6923b2e99b
[chore] upgrade node to 18 (#8018) 2022-12-03 23:42:07 +09:00
Yuichiro Yamashita
caca8a5340
[chore] Improve CI (#7945)
* stop to use cache

* update on.push.branches

* rename
2022-10-16 13:55:23 +09:00
Tan Li Hau
244d74d4a7
[feat] pre-build before testing in CI (#7933) 2022-10-14 05:08:25 -07:00
Siarhei
ff6e1c39d0
[chore] Bump actions' versions (#7921) 2022-10-13 21:51:06 +08:00
Alex
a752ef4709
GitHub Workflows security hardening (#7883) 2022-10-03 14:34:10 -07:00
Conduitry
10ce5c95fd
[fix] handle promise rejections for {#await} in SSR (#6790) 2021-09-30 08:21:32 -04:00
pngwn
8868bb2f1e
docs: set up docs workflow (#6650) 2021-08-15 13:24:17 -07:00
Oscar Dominguez
6a7f3083a7
ci(workflow): add cache to workflows using actions/setup-node (#6491) 2021-07-08 09:53:58 -07:00
Maxime LUCE
370dd4d81b
ci: increase timeouts to avoid random breaks (#6193) 2021-04-16 10:22:18 -07:00
GeopJr
bcf2313a34
ci: cache node_modules (#6048) 2021-03-30 11:39:33 -07:00
Antony Jones
d19bcef690
Increase timeout for unit build
Also due to Mac occasionally taking longer than the allocated time.
2020-07-08 07:17:44 +01:00
Antony Jones
da7578cbf1
Increase timeout for unit tests
Mac build randomly takes between 1 minute + 4 minutes, so this stops it getting cancelled.
2020-07-08 07:15:00 +01:00
Antony Jones
3f99e51a6f
make builds time out after a reasonable period (#5100) 2020-07-07 10:41:26 -04:00
pushkin
0da70f46b9
handle line ending differences in tests (#4915) 2020-05-28 12:36:27 -04:00
Ben McCann
d61a7a0b95
run unit tests on Windows and macOS (#4908) 2020-05-26 18:27:09 -04:00
Conduitry
1c14e6e971 add Node 14 to CI matrix 2020-04-22 06:40:12 -04:00