0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-11-21 11:28:58 +01:00
Commit Graph

149 Commits

Author SHA1 Message Date
Simon H
320ebd24d8
fix: bump is-reference dependency to fix import.meta bug (#14286)
closes #14234
2024-11-14 12:54:27 +01:00
Conduitry
3fe278a8c3
chore: remove xml2js override (#14041) 2024-10-30 16:55:30 +01:00
Ben McCann
03c4a7da53
chore: remove svelte.dev (#13794) 2024-10-22 14:49:06 -04:00
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>
2024-10-09 09:41:12 -07:00
Ben McCann
ccec59f89b
chore: upgrade rollup plugins (#13369) 2024-09-23 14:33:40 -04:00
Ben McCann
a680e6f2e7
chore: bump @sveltejs/eslint-config (#13288) 2024-09-17 11:45:35 -04:00
Rich Harris
2a1d1c1282
bump vite (#13281)
* bump vite

* dedupe

* bump vite in svelte-5-playground as well

---------

Co-authored-by: Conduitry <git@chor.date>
2024-09-17 06:08:20 -04:00
Ben McCann
6604e38059
chore: upgrade aria-query to drop a dependency (#13223) 2024-09-13 09:44:36 +02:00
Ben McCann
e14c46fa9b
chore: upgrade svelte-check and changesets (#13129) 2024-09-04 16:51:40 +01:00
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
2024-09-01 22:43:08 +02:00
Ben McCann
2b7e109f61
chore: remove 40 dependencies from lockfile (#13036) 2024-08-26 17:22:10 -04:00
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
2024-08-26 11:30:45 -04:00
Rich Harris
e366c49a86
chore: unify sandbox (#13012) 2024-08-26 11:26:45 +02:00
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
2024-08-25 16:08:06 -04:00
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>
2024-08-21 15:15:22 -04:00
Rich Harris
44a780fb9c
bump sveltekit (#12923) 2024-08-20 10:49:11 -04:00
Dominik G
9c1371a487
chore: bump vite-plugin-svelte to 4.0.0-next in demo and preview site (#12385) 2024-07-10 10:00:02 -04:00
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.
2024-07-02 11:27:53 -04:00
Ben McCann
71a4bce9e7
chore: remove a couple of dependencies (#12249) 2024-07-01 14:50:16 -04:00
Ben McCann
41c8c745fa
chore: squash lint warning (#12223)
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2024-06-29 16:20:49 -04:00
Ben McCann
136a38b669
chore: drop 31 deps via eslint dependencies (#12226) 2024-06-29 07:57:37 -07:00
Conduitry
8910fe1d57
chore: fix xml2js override (#12172)
* apply proper xml2js override

* update lockfile
2024-06-25 14:56:26 +02:00
Ben McCann
2814e9ebbd
chore: remove hundreds of devDependencies (#12163) 2024-06-24 09:55:33 -04:00
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>
2024-06-24 12:39:16 +02:00
Ben McCann
8ae5885d8d
chore: remove unused devDependencies (#12157) 2024-06-24 12:22:42 +02:00
Ben McCann
15246dc612
chore: slim down devDependencies (#12155) 2024-06-23 17:02:43 -04:00
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>
2024-06-21 15:28:36 -04:00
Dominic Gannaway
d04f69ac05
chore: add a benchmarking tool + single benchmark (#12092)
* chore: add benchmarking tool and single benchmark
2024-06-19 18:33:53 +01:00
Ben McCann
60c321967e
chore: upgrade to typescript-eslint 8 (#11828) 2024-05-30 14:40:58 +01:00
Simon H
fd942b7e65
chore: enable Vercel speed insights on preview site (#11823)
privacy-compliant way to track performance metrics on our sites
2024-05-29 17:17:08 +02:00
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>
2024-05-28 14:37:33 -07:00
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)
2024-05-22 17:08:02 -04:00
Rich Harris
02520aea48
better tooltips in playground (#11705)
* better tooltips in playground

* update some tests that a drive-by fix broke
2024-05-20 22:07:57 -04:00
Rich Harris
e45d1c37b6
chore: fix compiler warnings when developing preview site (#11699) 2024-05-20 14:07:22 -04:00
Rich Harris
c49903f62b
chore: bump site-kit (#11698)
* chore: bump site-kit

* fix
2024-05-20 13:39:46 -04:00
Rich Harris
61bf97210b
chore: improve local playground (#11575) 2024-05-13 11:36:17 +02:00
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
2024-05-10 11:31:53 +02:00
Rich Harris
7a66927ca8
fix: bump esrap (#11392) 2024-04-30 10:29:08 -04:00
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
2024-04-14 15:14:46 -04:00
Rich Harris
c1a549e801
check generated types (#11068)
* check generated types

* bump dts-buddy
2024-04-12 17:23:27 -04:00
Jeremiasz Major
0cf2e98322
chore: upgrade eslint to v9 (#11108) 2024-04-10 16:02:03 -07:00
Rich Harris
8cbe8c1197
fix: bundle CSS types (#11067)
* make Css a proper namespace

* changeset
2024-04-05 12:15:55 -04:00
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>
2024-04-03 14:07:26 -04:00
Dominic Gannaway
faf838c46d
update playwright (#10955) 2024-03-27 13:59:44 +00:00
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>
2024-03-25 19:00:47 -04:00
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
2024-03-11 14:03:45 -04:00
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>
2024-02-17 11:43:56 -05:00
Rich Harris
b831562218
chore: bump zimmerframe (#10405)
* bump zimmerframe

* Create famous-pants-pay.md

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
2024-02-05 15:08:08 -05:00
Simon Holthausen
b63ab91c7b chore: bump zimmerframe to resolve AST-traversal-related bugs
fixes #10371
fixes #10370
2024-02-05 17:25:52 +01:00
Rich Harris
dc8ca4661f
remove some unused stuff (#10299)
Co-authored-by: Rich Harris <rich.harris@vercel.com>
2024-01-30 15:04:08 -05:00