Conduitry
3fe278a8c3
chore: remove xml2js override ( #14041 )
2 weeks ago
Ben McCann
a680e6f2e7
chore: bump @sveltejs/eslint-config ( #13288 )
2 months ago
Ben McCann
e14c46fa9b
chore: upgrade svelte-check and changesets ( #13129 )
2 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
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
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
Ben McCann
8ae5885d8d
chore: remove unused devDependencies ( #12157 )
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
Rich Harris
331925356e
chore: add `pnpm bench:compare` script ( #12099 )
...
* WIP compare script
* WIP
* fix
* add script
* update
* fix
* tweak
* fix
* update
* add TODO
* compare
* tmp
* gah
* revert
* fix
* fix
* prevent div/0
* reenable benchmarks
---------
Co-authored-by: Dominic Gannaway <dg@domgan.com>
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
1331cdc1de
chore: upgrade to pnpm 9.2.0 ( #11916 )
5 months ago
Ben McCann
60c321967e
chore: upgrade to typescript-eslint 8 ( #11828 )
6 months ago
Ben McCann
9a86e3b5e6
chore: linting and formatting on a per-package basis ( #11834 )
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
Jeremiasz Major
0cf2e98322
chore: upgrade eslint to v9 ( #11108 )
7 months ago
Rich Harris
a531625896
chore: generate coverage report when deploying site ( #11110 )
...
* chore: generate coverage report when deploying site
* always generate report
7 months ago
Dominic Gannaway
faf838c46d
update playwright ( #10955 )
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
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 Holthausen
640dd48705
chore: remove obsolete script
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
gtmnayan
33fd631b5f
chore: upgrade dependencies ( #8939 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
1 year ago
Simon H
2f5e371046
chore: run tsc properly ( #8884 )
...
Runs type check as part of the CI. This needs a new path alias in the tsconfig so that TS resolves the svelte import in the ambient file directly to the correct d.ts file and doesn't load Svelte through the node_modules, at which point it would load the generated ambient type definitions and throw a duplicate definitions error.
Also removes a tgz that was accidentally added
1 year ago
Ben McCann
68e6336637
chore: upgrade dependencies ( #8827 )
1 year ago
Ben McCann
a856128d80
merge master
1 year ago
Conduitry
06553d9b09
-> v3.59.2
1 year ago
gtmnayan
882e079a17
chore: exclude sites from build script ( #8754 )
1 year ago
Ben McCann
20d95ddb23
merge
1 year ago
Rich Harris
b1cafc4573
update type generation script ( #8712 )
...
* chore: playground (#8648 )
* initialize playground
* pnpm up
* tidy up git ignore
* remove fluff
* format
* rm readme
* fix jsconfig error
* add skip-worktree instructions
* reload hack
* simplify
* use rollup
* ughh
* add flag for SSR
* ...
* simplify further
* configure launch.json
* add debugger info to readme
* remove vm modules flag
* use replaceAll instead of replace
* tidy up
* fix: make it run
* add watch to launch config
* Generate type declarations with `dts-buddy` (#8702 )
* use dts-buddy
* remove debug output
* remove existing type generation script
* fix package.json
* update gitignore
* bump dts-buddy
* remove unused action entry point
* add svelte/compiler and svelte/types/compiler/preprocess modules
* bump dts-buddy
* annoying
* changeset
* bump dts-buddy
* get rid of .d.ts files
* another one
* Update packages/svelte/package.json
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
* fix: export ComponentType (#8694 )
* fix: export ComponentType
* ughh
* changeset
* fix: derived types (#8700 )
* fix: derived store types
* changeset
* Version Packages (next) (#8709 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* update type generation script
* remove unused stuff
* fix: changeset publish script isn't called release anymore (#8711 )
* chore: remove prepare script (#8713 )
* chore: fix release workflow (#8716 )
* More readable, Fix $$_attributes
* Fix types (#8727 )
* put comment in right place
* bump dts-buddy
---------
Co-authored-by: Rich Harris <git@rich-harris.dev>
* build types
* add svelte/compiler types
* remove prepare script
* fix
* typo
* squelch errors
* Add svelte and kit to twoslash's types field
* squelch more stuff
* Add errors to account for new types
* Remove deps
* formatting tweak
* fix linting, maybe
* the hell
* gah
* Fix types a bit
* bump dts-buddy
* pnpm generate in dev mode
* Cache again
* reduce index
* bump dts-buddy
* remove comment
---------
Co-authored-by: gtmnayan <50981692+gtm-nayan@users.noreply.github.com>
Co-authored-by: Rich Harris <git@rich-harris.dev>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Dominik G <dominik.goepel@gmx.de>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Puru Vijay <devpuruvj@gmail.com>
1 year ago
Ben McCann
cc1f4bc6ff
chore: upgrade eslint config ( #8717 )
1 year ago
Puru Vijay
ad9a672171
Merge version-4
1 year ago
Dominik G
ba58327f4b
fix: changeset publish script isn't called release anymore ( #8711 )
1 year ago
Ben McCann
5902ccab81
chore: upgrade to pnpm 8.6.0 ( #8693 )
1 year ago
Ben McCann
f2ff684b5f
chore: setup changesets ( #8668 )
...
Co-authored-by: dominikg <dominik.goepel@gmx.de>
1 year ago
Ben McCann
ddfff4df8c
chore: convert to monorepo ( #8644 )
2 years ago
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>
2 years ago
Ben McCann
086f225ea9
chore: remove unused source-map-support depedency ( #8622 )
2 years ago
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
2 years ago
Ben McCann
0467219701
chore: switch to released version of eslint-config
2 years ago
Ben McCann
0c99aa8904
chore: update eslint config ( #8608 )
...
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
2 years ago
gtmnayan
61218d3c9c
chore(test): tidy up html equal ( #8599 )
2 years ago
S. Elliott Johnson
fd9d61a7b7
chore: TS to JSDoc Conversion ( #8569 )
...
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
2 years ago
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>
2 years ago
gtmnayan
202d119e9a
chore: convert puppeteer tests to playwright ( #8577 )
2 years ago