Ben McCann
4c88431228
fix: upgrade to esm-env 1.2.1 to fix issues with non-Vite setups ( #14470 )
...
* fix: upgrade to esm-env 1.2.1 to fix issues with non-Vite setups
* fix (albeit with annoying warnings)
* bundle with conditions to silence noise
* production is probably better
---------
Co-authored-by: Rich Harris <rich.harris@vercel.com>
4 weeks ago
Ben McCann
10a7729726
chore: bump jsdom to 25.0.1 ( #14473 )
4 weeks ago
Rich Harris
00aaad16b2
fix: generate correct code when encountering object expression statement ( #14480 )
...
* bump esrap
* changeset
4 weeks ago
Ben McCann
41e47a4c00
chore: upgrade esm-env for Vite 6 support ( #14460 )
...
* chore: upgrade esm-env for Vite 6 support
* dedupe
---------
Co-authored-by: Conduitry <git@chor.date>
4 weeks ago
Ben McCann
4f318e6ad6
chore: remove unused dep and upgrade another one ( #14449 )
1 month ago
dependabot[bot]
6ff1d0aa1b
chore(deps-dev): bump @sveltejs/kit from 2.5.24 to 2.8.3 ( #14427 )
...
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit ) from 2.5.24 to 2.8.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.8.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>
1 month ago
Simon H
320ebd24d8
fix: bump `is-reference` dependency to fix `import.meta` bug ( #14286 )
...
closes #14234
1 month ago
Conduitry
3fe278a8c3
chore: remove xml2js override ( #14041 )
2 months ago
Ben McCann
03c4a7da53
chore: remove svelte.dev ( #13794 )
2 months ago
dependabot[bot]
0d3d5a2a85
chore(deps-dev): bump rollup from 4.21.0 to 4.22.4 ( #13495 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.21.0 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.21.0...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Ben McCann
ccec59f89b
chore: upgrade rollup plugins ( #13369 )
3 months ago
Ben McCann
a680e6f2e7
chore: bump @sveltejs/eslint-config ( #13288 )
3 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>
3 months ago
Ben McCann
6604e38059
chore: upgrade aria-query to drop a dependency ( #13223 )
4 months ago
Ben McCann
e14c46fa9b
chore: upgrade svelte-check and changesets ( #13129 )
4 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
4 months ago
Ben McCann
2b7e109f61
chore: remove 40 dependencies from lockfile ( #13036 )
4 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
4 months ago
Rich Harris
e366c49a86
chore: unify sandbox ( #13012 )
4 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
4 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>
4 months ago
Rich Harris
44a780fb9c
bump sveltekit ( #12923 )
4 months ago
Dominik G
9c1371a487
chore: bump vite-plugin-svelte to 4.0.0-next in demo and preview site ( #12385 )
6 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.
6 months ago
Ben McCann
71a4bce9e7
chore: remove a couple of dependencies ( #12249 )
6 months ago
Ben McCann
41c8c745fa
chore: squash lint warning ( #12223 )
...
Co-authored-by: Rich Harris <rich.harris@vercel.com>
6 months ago
Ben McCann
136a38b669
chore: drop 31 deps via eslint dependencies ( #12226 )
6 months ago
Conduitry
8910fe1d57
chore: fix xml2js override ( #12172 )
...
* apply proper xml2js override
* update lockfile
6 months ago
Ben McCann
2814e9ebbd
chore: remove hundreds of devDependencies ( #12163 )
6 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>
6 months ago
Ben McCann
8ae5885d8d
chore: remove unused devDependencies ( #12157 )
6 months ago
Ben McCann
15246dc612
chore: slim down devDependencies ( #12155 )
6 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>
6 months ago
Dominic Gannaway
d04f69ac05
chore: add a benchmarking tool + single benchmark ( #12092 )
...
* chore: add benchmarking tool and single benchmark
6 months ago
Ben McCann
60c321967e
chore: upgrade to typescript-eslint 8 ( #11828 )
7 months ago
Simon H
fd942b7e65
chore: enable Vercel speed insights on preview site ( #11823 )
...
privacy-compliant way to track performance metrics on our sites
7 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>
7 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)
7 months ago
Rich Harris
02520aea48
better tooltips in playground ( #11705 )
...
* better tooltips in playground
* update some tests that a drive-by fix broke
7 months ago
Rich Harris
e45d1c37b6
chore: fix compiler warnings when developing preview site ( #11699 )
7 months ago
Rich Harris
c49903f62b
chore: bump site-kit ( #11698 )
...
* chore: bump site-kit
* fix
7 months ago
Rich Harris
61bf97210b
chore: improve local playground ( #11575 )
8 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
8 months ago
Rich Harris
7a66927ca8
fix: bump esrap ( #11392 )
8 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
9 months ago
Rich Harris
c1a549e801
check generated types ( #11068 )
...
* check generated types
* bump dts-buddy
9 months ago
Jeremiasz Major
0cf2e98322
chore: upgrade eslint to v9 ( #11108 )
9 months ago
Rich Harris
8cbe8c1197
fix: bundle CSS types ( #11067 )
...
* make Css a proper namespace
* changeset
9 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>
9 months ago
Dominic Gannaway
faf838c46d
update playwright ( #10955 )
9 months ago