From 7bb9e303fa8059cfb118f488fbd1b1e586cd2bd8 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 19 Nov 2024 12:04:46 -0800 Subject: [PATCH] chore(examples): upgrade to Svelte 5 --- examples/rollup/bun.lockb | Bin 62278 -> 53674 bytes examples/rollup/rollup.config.js | 9 +++++++++ examples/rollup/src/App.svelte | 8 ++++---- examples/rollup/src/index.js | 5 ++--- examples/sveltekit/bun.lockb | Bin 86416 -> 49987 bytes examples/sveltekit/src/routes/+page.svelte | 8 ++++---- examples/vite/bun.lockb | Bin 57678 -> 30481 bytes examples/vite/index.html | 3 ++- examples/vite/src/App.svelte | 8 ++++---- examples/webpack/bun.lockb | Bin 136063 -> 140815 bytes examples/webpack/src/App.svelte | 8 ++++---- examples/webpack/src/index.js | 5 ++--- examples/webpack/webpack.config.mjs | 8 -------- 13 files changed, 31 insertions(+), 31 deletions(-) diff --git a/examples/rollup/bun.lockb b/examples/rollup/bun.lockb index 40e8014b937729524fef137288d66c9b19370837..b12dee5b195614e232a301adf6ed744ce84e8b42 100755 GIT binary patch delta 13244 zcmeG@2UJwavUA4)WGv`Xllc)96nU~AoPilO6e1FoZtgyJ(o2s^-k_hWqbo%KRNmusm zoL{C|C{|G{mKKYZwFq&0#HNUi5YIrYi#SC^_du+Tby=!hnu0=PsS|8u6Vq5@k=_C6 zBN1yN_D4+mNn?`b6Om5~>jqe7tFc%D#EkrLST|&`6j@I=bRjE2UCB5AJ9R=vd2&+H z6ns($kHs>eVSxxZLK9e7MTp6R<|8JSh)b2F$tF%tWh^jRCQp^gSu7zAvm>_8K}<%TftXlQ z4>9Wa%>o~FSgg)iw?%nmU>&d%;gb-oz(RLyAcVI_Af`-^rrN|MN#h@5olMDXRfiAy z%DO)C>mfZ4rI80OM2yeO@QKL9G;IPVI3bh#+%p zASQB9O+jj!ENQZg^=*!0Ws{~zlUS@Je5EfiKEwFPT%;2@j4#BbrrJ!F%VZ0LO8yD4 z6K!IplhHL|Wj1nIEKafF|6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@cL=pJhB5Ym|OO&#G@t34QvS0>=skH5+oM zd5VT3=FA~ZX2LVDTKF7(b{a255TBZY6||l5D-SyUjl&^!U!prNi3bZdnuFSp=;}?O zC}I%Y?-vFrG`YjT<);gv!Ot?p3f|1XjPCIQ9xqB@5tS6574M#w7@HsfgTw!?!OMun zp4Qg=8xO?%tmnXfXoVUN>I=oCKnp?|hd93RAmrY{nHC?N8JCil>?BUR!?p?&6lZaw z5(Jn|<6tvU9Z1TZJf(W8apP&G8NA-c(F`{%g@HLbb3i>-%D_aLk=yg8{~zBq{Nc57s;eZ4xYOWmdZ~~O%REN zl^v6nltfsIL;R;KX{qrknRqmtf2aeo|4;+V8fK*>CLY>~QJi789+kFe(rsY_Fhmxu zlBl~yU6KeotUoeu)kcE#x*9(%1rmOi!O1uR^t5_SC7L7Y5Dq+h;`)EI6Jb|8j?I5& zC*rA&uoF*^$rHr$QV8=99uS+&-{uDAKVHfP{9iiZM!zs1jIFVbgca;jb%)`IzwKkt z;Xn>c)$P-@n3fU2mC!u y@T*L$+^-yB(;;>Us^VwJ5Bh~8)|F^M1{~hOmEjo)YN^L1Fc@szL`1#m*!>>?8t2jg diff --git a/examples/rollup/rollup.config.js b/examples/rollup/rollup.config.js index 92b7435..65de6b9 100644 --- a/examples/rollup/rollup.config.js +++ b/examples/rollup/rollup.config.js @@ -13,6 +13,15 @@ export default { name: "app", file: "public/build/bundle.js", }, + // ignore Rollup warnings for d3 circular dependencies + onwarn: (warning, warn) => { + if (warning.code === "CIRCULAR_DEPENDENCY") { + if (warning.ids.some((id) => /node_modules\/(svelte)/.test(id))) { + return; + } + } + warn(warning); + }, plugins: [ svelte({ emitCss: false, diff --git a/examples/rollup/src/App.svelte b/examples/rollup/src/App.svelte index 4a19e39..b2b7488 100644 --- a/examples/rollup/src/App.svelte +++ b/examples/rollup/src/App.svelte @@ -20,26 +20,26 @@