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

7372 Commits

Author SHA1 Message Date
Puru Vijay
2312133ad5 Gitignore compiler.js files 2023-05-25 16:41:49 +05:30
Puru Vijay
46f71b3ba3 fix: preprocess snippet 2023-05-25 16:37:34 +05:30
Puru Vijay
ad949c5490 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-25 16:30:20 +05:30
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
gtmnayan
d658e7036e chore(test): fix path to compiler 2023-05-24 09:53:38 +05:45
Ben McCann
086f225ea9
chore: remove unused source-map-support depedency (#8622) 2023-05-23 11:13:47 -07:00
Ben McCann
5ed440ba50
chore: remove unused codemod-lazy-props.mjs (#8619) 2023-05-23 21:54:29 +05:45
gtmnayan
d6b02ed009
chore(test): use esm output for Svelte files (#8614) 2023-05-23 17:52:56 +02:00
gtmnayan
c2cec9597e
chore(test): move some error tests out of runtime (#8600) 2023-05-23 17:41:06 +02:00
Simon H
f223bc1c53
feat: change preprocessor ordering, allow attributes modification (#8618)
- change mapping order
- add support to modify attributes of script/style tags
- add source mapping tests to preprocessor tests
2023-05-23 17:39:54 +02:00
Puru Vijay
b47e21c16f chore: Commit internal_exports 2023-05-23 17:07:11 +05:30
Puru Vijay
098a5539f3 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-23 17:06:44 +05:30
gtmnayan
7cec17c4cb fix flaky test 2023-05-22 20:06:22 +05:45
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
gtmnayan
7e9af10dce
chore(test): link compiler directly from source (#8612) 2023-05-22 14:17:43 +02:00
Simon Holthausen
f09a942130 silence wrong tsconfig errors 2023-05-22 11:40:39 +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
Simon Holthausen
d35d9045f6 rename ts to js 2023-05-19 16:02:41 +02: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
Puru Vijay
cf5561cd36 Merge remote-tracking branch 'origin/version-4' into sites 2023-05-19 10:08:42 +05:30
Ben McCann
3067e7a1aa
docs: update SvelteKit alternatives section (#8596) 2023-05-18 08:33:15 -07: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
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
a39c7f397d Merge remote-tracking branch 'origin/version-4' into sites 2023-05-16 20:50:46 +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
gtmnayan
202d119e9a
chore: convert puppeteer tests to playwright (#8577) 2023-05-15 09:04:12 +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
Dominik G
3bc791bcba
feat: add workflow to trigger ecosystem-ci from svelte PRs (#8571) 2023-05-09 14:01:56 -04:00
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
Yuichiro Yamashita
b6a400a549
chore: add prettier (#8543) 2023-05-08 23:32:52 +02:00
Simon Holthausen
573acf9073 Merge branch 'master' into version-4 2023-05-08 17:34:58 +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
Ben McCann
5e486c19ad
docs: fix links in changelog 2023-05-08 07:09:29 -07:00
Conduitry
64b8c8b33c -> v3.59.1 2023-05-08 09:58:26 -04:00
Simon H
b6288ecdb7
fix: Handle dynamic values in a11y-autocomplete-valid (#8567)
Fixes #8562
Fixes #8565
2023-05-08 15:41:02 +02:00
Ben McCann
6fbb36d1fe
fix: improve setup of default export and remove svelte/ssr (#8516) 2023-05-05 17:33:08 +02:00