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>
2 months ago
Dominic Gannaway
d04f69ac05
chore: add a benchmarking tool + single benchmark ( #12092 )
...
* chore: add benchmarking tool and single benchmark
2 months ago
Ben McCann
1331cdc1de
chore: upgrade to pnpm 9.2.0 ( #11916 )
3 months ago
Ben McCann
60c321967e
chore: upgrade to typescript-eslint 8 ( #11828 )
3 months ago
Ben McCann
9a86e3b5e6
chore: linting and formatting on a per-package basis ( #11834 )
3 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>
3 months ago
Jeremiasz Major
0cf2e98322
chore: upgrade eslint to v9 ( #11108 )
5 months ago
Rich Harris
a531625896
chore: generate coverage report when deploying site ( #11110 )
...
* chore: generate coverage report when deploying site
* always generate report
5 months ago
Dominic Gannaway
faf838c46d
update playwright ( #10955 )
5 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>
6 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>
7 months ago
Ben McCann
f11f451bdb
chore: fix xml2js security warning ( #10133 )
8 months ago
Ben McCann
aecd47e8df
chore: upgrade prettier to 3.1 ( #10134 )
8 months ago
Simon Holthausen
640dd48705
chore: remove obsolete script
9 months ago
Simon Holthausen
b8ea454372
chore: enter changeset prerelease mode
10 months 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>
10 months 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 )
1 year 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>
1 year ago
Ben McCann
086f225ea9
chore: remove unused source-map-support depedency ( #8622 )
1 year 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
1 year ago
Ben McCann
0467219701
chore: switch to released version of eslint-config
1 year ago
Ben McCann
0c99aa8904
chore: update eslint config ( #8608 )
...
Co-authored-by: gtmnayan <gtmnayan@gmail.com>
1 year ago
gtmnayan
61218d3c9c
chore(test): tidy up html equal ( #8599 )
1 year ago
S. Elliott Johnson
fd9d61a7b7
chore: TS to JSDoc Conversion ( #8569 )
...
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
1 year 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>
1 year ago
gtmnayan
202d119e9a
chore: convert puppeteer tests to playwright ( #8577 )
1 year ago
Yuichiro Yamashita
b6a400a549
chore: add prettier ( #8543 )
1 year ago
Dominik G
56df761f95
breaking: set verison to 4, remove engines.pnpm and bump engines.node to >=16 ( #8566 )
1 year ago
Conduitry
64b8c8b33c
-> v3.59.1
1 year ago
Ben McCann
6fbb36d1fe
fix: improve setup of default export and remove `svelte/ssr` ( #8516 )
1 year ago
Simon Holthausen
418f4c2381
Merge branch 'master' into version-4
1 year ago
Conduitry
4537eb77bb
-> v3.59.0
1 year ago
Ben McCann
d64e86a260
chore: switch from npm to pnpm ( #8514 )
1 year ago
Hofer Ivan
8e51b51dfc
breaking: improve types for `createEventDispatcher` ( #7224 )
...
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
1 year ago
Ben McCann
2813814396
chore: upgrade rollup ( #8491 )
...
bump to rollup 3. Includes reworking the "treat those imports as external" a bit so that Rollup builds correctly but doesn't bundle some of the (now relative) imports
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
1 year ago
Ben McCann
99b6a25d9d
chore: Svelte 4 dependency upgrades ( #8486 )
1 year ago
Ben McCann
d7cffa6840
chore: upgrade to TypeScript 5 ( #8488 )
...
- upgrade to TypeScript 5
- upgrade @ampproject/remapping
- remove obsolete workarounds
---------
Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>
1 year ago