Simon H
919acadc35
fix: bump dts-buddy for better exports type generation ( #12262 )
...
#12202 revealed that TypeScript has a harder time tracing imports when they are indirectly exposed, e.g. `function foo(): void; ... export { foo }` instead of `export function foo(): void;`, which can lead to bugs down the line (such as in that issue). A new `dts-buddy` version fixes this, which in turn fixes #12202
This also adjustes the `Snippet` type and turns it into an interface, which makes for better intellisense: The type will be unpacked in less situations, resulting a more readable and named type.
4 months ago
Ben McCann
71a4bce9e7
chore: remove a couple of dependencies ( #12249 )
5 months ago
Ben McCann
41c8c745fa
chore: squash lint warning ( #12223 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
5 months ago
Ben McCann
136a38b669
chore: drop 31 deps via eslint dependencies ( #12226 )
5 months ago
Conduitry
8910fe1d57
chore: fix xml2js override ( #12172 )
...
* apply proper xml2js override
* update lockfile
5 months ago
Ben McCann
2814e9ebbd
chore: remove hundreds of devDependencies ( #12163 )
5 months ago
Rich Harris
88b0b401ac
chore: bump dts-buddy ( #12134 )
...
new dts-buddy makes sure that only the actual public types are exposed (only export { ... } ensures that, for TS historical reasons)
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
5 months ago
Ben McCann
8ae5885d8d
chore: remove unused devDependencies ( #12157 )
5 months ago
Ben McCann
15246dc612
chore: slim down devDependencies ( #12155 )
5 months ago
Rich Harris
6c66680919
chore: bump typescript to 5.5 ( #12126 )
...
* chore: bump typescript to 5.5
* try to revert non-typescript-related changes to lockfile
---------
Co-authored-by: Conduitry <git@chor.date>
5 months ago
Dominic Gannaway
d04f69ac05
chore: add a benchmarking tool + single benchmark ( #12092 )
...
* chore: add benchmarking tool and single benchmark
5 months ago
Ben McCann
60c321967e
chore: upgrade to typescript-eslint 8 ( #11828 )
6 months ago
Simon H
fd942b7e65
chore: enable Vercel speed insights on preview site ( #11823 )
...
privacy-compliant way to track performance metrics on our sites
6 months ago
Paolo Ricciuti
5168dd734e
chore: upgrade pnpm to version 9 ( #11637 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
6 months ago
Rich Harris
d4718e0755
playground: better console ( #11719 )
...
* remove unused code
* better console
* simplify
* simplify
* fix
* fix
* fix
* fix console.table
* more table tweaks
* improve table styles
* tweaks
* bump svelte-json-tree
* tweak group styles
* level -> command
* remove stack from assertions
* nicer style for duplicates
* styles
* tidy/simplify
* tweaks
* tweaks
* tweaks
* fixes
* better stack traces (albeit not sourcemapped yet)
6 months ago
Rich Harris
02520aea48
better tooltips in playground ( #11705 )
...
* better tooltips in playground
* update some tests that a drive-by fix broke
6 months ago
Rich Harris
e45d1c37b6
chore: fix compiler warnings when developing preview site ( #11699 )
6 months ago
Rich Harris
c49903f62b
chore: bump site-kit ( #11698 )
...
* chore: bump site-kit
* fix
6 months ago
Rich Harris
61bf97210b
chore: improve local playground ( #11575 )
6 months ago
Rich Harris
4b7e0025a8
feat: better REPL autocomplete ( #11530 )
...
* feat: make autocomplete more robust
* handle `$inspect(...).with(...)` special case
* autocomplete imports
* only allow $props at the top level of .svelte files
* only autocomplete runes in svelte files
6 months ago
Rich Harris
7a66927ca8
fix: bump esrap ( #11392 )
7 months ago
Rich Harris
2cefd785a4
fix: make ownership validation work with HMR ( #11171 )
...
* fix: make ownership validation work with HMR
* bump vite-plugin-svelte in playground
* missed a spot
7 months ago
Rich Harris
c1a549e801
check generated types ( #11068 )
...
* check generated types
* bump dts-buddy
7 months ago
Jeremiasz Major
0cf2e98322
chore: upgrade eslint to v9 ( #11108 )
7 months ago
Rich Harris
8cbe8c1197
fix: bundle CSS types ( #11067 )
...
* make Css a proper namespace
* changeset
7 months ago
dependabot[bot]
b2892b02e1
chore(deps-dev): bump vite from 5.0.12 to 5.0.13 ( #11054 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.12 to 5.0.13.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.13/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.13/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7 months ago
Dominic Gannaway
faf838c46d
update playwright ( #10955 )
8 months ago
dependabot[bot]
dbd111762d
chore(deps-dev): bump express from 4.18.2 to 4.19.2 ( #10932 )
...
Bumps [express](https://github.com/expressjs/express ) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases )
- [Changelog](https://github.com/expressjs/express/blob/master/History.md )
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2 )
---
updated-dependencies:
- dependency-name: express
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
Simon H
ecf9760f7d
chore: use Svelte 5 for preview site ( #10731 )
...
* chore: use Svelte 5 for preview site
* use server route to load Svelte compiler, enables this to work on windows locally, and avoids loading all our test files
* cache for 10 seconds
* make it thirty
* prerender
8 months ago
Ben McCann
49ad7f9589
chore: upgrade xml2js and codemirror plugins ( #10463 )
...
* chore: upgrade xml2js
* deduplicate @codemirror/lang-html
* bump eslint-plugin to eliminate duplicate dependency
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
9 months ago
Rich Harris
b831562218
chore: bump zimmerframe ( #10405 )
...
* bump zimmerframe
* Create famous-pants-pay.md
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
9 months ago
Simon Holthausen
b63ab91c7b
chore: bump zimmerframe to resolve AST-traversal-related bugs
...
fixes #10371
fixes #10370
9 months ago
Rich Harris
dc8ca4661f
remove some unused stuff ( #10299 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
10 months ago
dependabot[bot]
340934917a
chore(deps-dev): bump @sveltejs/kit from 2.4.1 to 2.4.3 ( #10281 )
...
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit ) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/sveltejs/kit/releases )
- [Changelog](https://github.com/sveltejs/kit/blob/main/packages/kit/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@2.4.3/packages/kit )
---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
Rich Harris
7c70c346f8
Update deps ( #10245 )
...
* bump deps
* migrate
* fix
* downgrade jsdom/playwright
* fix a type error
* downgrade svelte
* prettier
* downgrade rollup
* downgrade other deps
* gah
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
10 months ago
Ben McCann
f11f451bdb
chore: fix xml2js security warning ( #10133 )
10 months ago
Ben McCann
aecd47e8df
chore: upgrade prettier to 3.1 ( #10134 )
10 months ago
Simon H
da9a5bf1cf
fix: make `@types/estree` a dependency ( #10150 )
...
types are exposed through our types, so we need to add it as a dependency
fixes #10010
10 months ago
Simon H
2133d7d67a
fix: support TS satisfies operator ( #10068 )
...
fixes #9606
11 months ago
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.
11 months ago
dependabot[bot]
9babce9105
chore(deps-dev): bump vite from 4.5.0 to 4.5.1 ( #9800 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.1/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.5.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11 months ago
Hans
8c2cbb87dd
site: remove banner ( #9620 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
12 months ago
Dominik G
5619cd9bfc
chore: update playgrounds/demo ( #9666 )
...
* chore: update playgrounds/demo to exclude svelte from being optimized and generate an App.svelte so first run doesn't throw
* chore: fix format
12 months ago
Rich Harris
405e9da4ff
chore: bump esrap ( #9649 )
...
* bump esrap
* changeset
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
Rich Harris
fe9c0bc19d
chore: bump esrap ( #9590 )
12 months ago
Rich Harris
459e4ff006
feat: native TypeScript support ( #9482 )
...
* add typescript support to parser
* fix
* unnecessary
* various
* transform assertions
* tweak
* prettier
* robustify
* fix
* see if this fixes the prettier stuff
* only parse ts in ts mode
* fixes
* fix
* fix
* fix
* fix
* more
* check
* changeset
* allow type annotations on all contexts
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
12 months ago
Rich Harris
555e8f845f
enforce treeshakeability ( #9430 )
...
* enforce treeshakeability
* fix
* appease the dweeby little hall monitor
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
1 year ago
Simon Holthausen
b8ea454372
chore: enter changeset prerelease mode
1 year ago
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>
1 year ago
Ben McCann
3d20b39289
site: fix 404 page by upgrading SvelteKit and avoiding null reference ( #9337 )
1 year ago