Ben McCann
a680e6f2e7
chore: bump @sveltejs/eslint-config ( #13288 )
2 months ago
Rich Harris
2a1d1c1282
bump vite ( #13281 )
...
* bump vite
* dedupe
* bump vite in svelte-5-playground as well
---------
Co-authored-by: Conduitry <git@chor.date>
2 months ago
Ben McCann
6604e38059
chore: upgrade aria-query to drop a dependency ( #13223 )
2 months ago
Ben McCann
e14c46fa9b
chore: upgrade svelte-check and changesets ( #13129 )
2 months ago
Simon H
2d03dc55c6
feat: provide AST node types with internal types stripped out (alternative) ( #12968 )
...
Uses new dts-buddy capabilities and the corresponding tsconfig option to strip away types/properties (and their dependencies) that are marked with `@internal`
Also hides the legacy AST types from the output
To not clutter the exports, the AST types are moved into a namespace named AST
closes #12292
2 months ago
Ben McCann
2b7e109f61
chore: remove 40 dependencies from lockfile ( #13036 )
3 months ago
Simon H
c4b721584a
chore: repo cleanup ( #13029 )
...
* chore: cleanup repo configs
- remove prettier from packages, everything runs through the root now (also better aligns with how you work with it in VS Code: no more config duplication needed)
- remove eslint from packages, run it once through the root now (revealed some inconsistencies and missing stuff, config tightened up as a result) (bump eslint while we're at it)
* update vite and related packages (since rollup includes an addition to one estree node we need to adjust code a bit)
* bump more packages
* bump jsdom
* lint
3 months ago
Rich Harris
e366c49a86
chore: unify sandbox ( #13012 )
3 months ago
Rich Harris
bc1624ffc8
chore: configure knip ( #13016 )
...
* chore: configure knip
* bump vitest
* ok prettier
* remove some unused warnings
* ugh computers are the worst
* just shut up
3 months ago
Simon H
732dbf7fa9
breaking: deprecate `context="module"` in favor of `module` ( #12948 )
...
* breaking: deprecate `context="module"` in favor of `module`
Also reserve a few attributes, which we may or may not use in the future
closes #12637
* fix tests
* one more
* add svelte package to the root so eslint and prettier can use it
* tweak messages
* warn on unknown attributes
* regenerate
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
3 months ago
Rich Harris
44a780fb9c
bump sveltekit ( #12923 )
3 months ago
Dominik G
9c1371a487
chore: bump vite-plugin-svelte to 4.0.0-next in demo and preview site ( #12385 )
4 months ago
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.
5 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>
8 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