Marvin Hagemeister
3fb3cd9443
fix(vite): route css import ( #3438 )
...
Fixes https://github.com/denoland/fresh/issues/3426
2025-09-15 13:20:07 +02:00
Marvin Hagemeister
f9ba5417c4
fix: bring back support for middleware Array ( #3434 )
...
Our validation didn't account for `_middleware` files exporting an Array
of middlewares.
Fixes https://github.com/denoland/fresh/issues/3400
2025-09-15 10:44:21 +02:00
Marvin Hagemeister
b31f36265c
fix(vite): keep require calls in ESM file ( #3433 )
...
Detect if a file is ESM based on file extension or finding ESM-only
statements. When we know that it's an ESM file we should keep
`require()` calls as is, because some libraries use it as a conditional
check like `npm:motion`.
Fixes https://github.com/denoland/fresh/issues/3429
2025-09-15 10:40:09 +02:00
Marvin Hagemeister
4cc0722465
chore: release 2.0.2 ( #3418 )
...
- @fresh/core@2.0.2
- @fresh/plugin-vite@1.0.2
- @fresh/update@2.0.2
- @fresh/init@2.0.8
2025-09-12 19:16:12 +02:00
Marvin Hagemeister
3ff4ec2ccb
chore: make less test less flaky ( #3417 )
2025-09-12 18:22:21 +02:00
Marvin Hagemeister
ae3db58a99
fix(vite): .env files not being loaded ( #3416 )
...
Fixes https://github.com/denoland/fresh/issues/3364
2025-09-12 18:21:51 +02:00
Marvin Hagemeister
169f156f78
fix(init): incorrect target dir argument ( #3415 )
...
Fixes https://github.com/denoland/fresh/issues/3413
2025-09-12 15:37:06 +02:00
Marvin Hagemeister
8a996a428a
fix(vite): missing build id in Deno Deploy EA ( #3414 )
...
Fixes https://github.com/denoland/fresh/issues/3282
2025-09-12 15:24:26 +02:00
Marvin Hagemeister
e06f03ac67
fix: add missing compile entry ( #3410 )
...
Fixes https://github.com/denoland/fresh/issues/3409
2025-09-12 13:08:49 +02:00
Marvin Hagemeister
7ce6aeff8b
fix(vite): workaround for FOUC with tailwind ( #3407 )
...
Fixes https://github.com/denoland/fresh/issues/3379
2025-09-12 12:34:23 +02:00
Marvin Hagemeister
e5bc9194e9
fix(vite): drop trailing or leading whitespace in build id ( #3408 )
...
Fixes https://github.com/denoland/fresh/issues/3406
2025-09-12 12:33:13 +02:00
Marvin Hagemeister
0e6bddd06e
chore: release 2.0.1 ( #3404 )
...
- @fresh/core@2.0.1
- @fresh/plugin-vite@1.0.1
- @fresh/update@2.0.1
- @fresh/init@2.0.7
2025-09-12 11:05:03 +02:00
Marvin Hagemeister
fc3cdc9588
docs: update cloudflare workers docs ( #3405 )
2025-09-12 11:04:47 +02:00
Marvin Hagemeister
e30cb375d1
docs: mention entry in cloudflare worker docs ( #3403 )
...
Related https://github.com/denoland/fresh/issues/3402
2025-09-12 10:37:38 +02:00
Marvin Hagemeister
9581d7e6d4
fix(vite): remove Deno global check ( #3401 )
...
Ultimately, it causes more problems than it solves.
2025-09-12 10:01:37 +02:00
Marvin Hagemeister
554644b240
docs: add copy buttons ( #3393 )
2025-09-11 15:19:34 +02:00
Marvin Hagemeister
fb341e4ab7
chore: release 2.0.0 ( #3371 )
2025-09-09 18:52:36 +02:00
Marvin Hagemeister
f773d0d359
feat(vite): add update checker ( #3372 )
2025-09-09 18:52:19 +02:00
Marvin Hagemeister
79d8cfc3ed
docs: make 2.x the default version ( #3369 )
2025-09-09 14:36:51 +02:00
Marvin Hagemeister
2c315a9972
docs: remove outdated crud docs ( #3368 )
...
Fixes https://github.com/denoland/fresh/issues/3367
2025-09-09 11:59:34 +02:00
Marvin Hagemeister
cb14abad21
chore: release @fresh/plugin-vite@0.10.2 ( #3366 )
2025-09-08 22:12:54 +02:00
Marvin Hagemeister
6e9f586c54
chore: release 2.0.0-beta.5 and @fresh/plugin-vite@0.10.2 ( #3365 )
...
Fixes https://github.com/denoland/fresh/issues/3363
2025-09-08 22:07:49 +02:00
Marvin Hagemeister
69283c81b4
chore: release @fresh/plugin-vite@0.10.1 ( #3361 )
2025-09-08 18:00:06 +02:00
Marvin Hagemeister
be2fde6a85
fix(vite): silence optional export warnings ( #3360 )
...
Seems like vite is overly strict when accessing optional namespaced
module properties. The code is perfectly fine, so silence these
warnings.
2025-09-08 17:59:54 +02:00
Marvin Hagemeister
2c2257843e
chore: release @fresh/plugin-vite@0.10.0 ( #3359 )
2025-09-08 17:43:07 +02:00
Marvin Hagemeister
8743322968
feat(vite): serve static index.html files ( #3358 )
...
Fixes https://github.com/denoland/fresh/issues/3356
2025-09-08 17:36:30 +02:00
Marvin Hagemeister
2e015cd2b9
fix(vite): improve commonjs handling ( #3357 )
2025-09-08 17:06:11 +02:00
Marvin Hagemeister
2c32ffe8f3
fix(vite): support ssr css modules ( #3355 )
...
Fixes https://github.com/denoland/fresh/issues/3325
2025-09-08 16:23:13 +02:00
Marvin Hagemeister
4c3ff9b74d
chore: fix demo tasks ( #3354 )
2025-09-08 15:43:07 +02:00
Marvin Hagemeister
4ff8e677aa
fix(vite): nested island css module styles not working ( #3353 )
...
Related https://github.com/denoland/fresh/issues/3325
2025-09-08 10:00:14 +02:00
Marvin Hagemeister
a72472095d
chore: releasd @fresh/plugin-vite@0.9.13 ( #3345 )
2025-09-05 16:58:27 +02:00
Marvin Hagemeister
185ab95751
fix(vite): get radix-ui working ( #3344 )
2025-09-05 16:51:22 +02:00
Marvin Hagemeister
b06ef5a855
chore: release 2.0.0-beta.4 and @fresh/plugin-vite@0.9.12 ( #3343 )
2025-09-05 12:23:47 +02:00
Marvin Hagemeister
a892da2b0e
fix(vite): incorrect JSX detection ( #3342 )
2025-09-05 12:17:12 +02:00
Marvin Hagemeister
971163ff66
fix: account for JS syntax when generating island names ( #3341 )
...
Fixes https://github.com/denoland/fresh/issues/3339
2025-09-05 11:33:50 +02:00
Marvin Hagemeister
892aefbf94
chore: release @fresh/plugin-vite@0.9.11 ( #3337 )
2025-09-04 13:06:50 +02:00
Marvin Hagemeister
4138b8ca66
fix(vite): improve commonjs handling ( #3336 )
...
Fixes https://github.com/denoland/fresh/issues/3323
2025-09-04 12:59:13 +02:00
Marvin Hagemeister
b94aab2a1a
chore: update to vite's hook filter ( #3333 )
...
Fixes https://github.com/denoland/fresh/issues/3331
2025-09-04 11:16:06 +02:00
Marvin Hagemeister
baf774517b
chore: get builds passing in Deno canary ( #3335 )
2025-09-04 10:18:17 +02:00
Marvin Hagemeister
e21d6742d2
chore: add demo tasks ( #3332 )
2025-09-03 18:52:19 +02:00
Marvin Hagemeister
70017d2480
docs: fix form data page ( #3329 )
...
Fixes https://github.com/denoland/fresh/issues/3320
2025-09-03 12:12:53 +02:00
Marvin Hagemeister
cc004a5efa
chore: release @fresh/init@2.0.5 ( #3328 )
2025-09-03 12:06:12 +02:00
Marvin Hagemeister
fd2ebc63c5
fix(init): setup vite/client types on init ( #3327 )
...
Note that this also requires
https://github.com/denoland/deno/issues/30560 to work. That will be
released in either Deno `2.4.6` or `2.5.0` depending on which one comes
first.
Fixes https://github.com/denoland/fresh/issues/3319
2025-09-03 12:02:52 +02:00
Marvin Hagemeister
08ef05fc1d
fix(vite): pathname treated as static file ( #3326 )
...
Fixes https://github.com/denoland/fresh/issues/3322
2025-09-03 11:34:19 +02:00
Marvin Hagemeister
717aa32111
www: point hello bar to new blog post ( #3318 )
2025-09-02 17:58:05 +02:00
Marvin Hagemeister
bc9eb5dcba
chore: release @fresh/plugin-vite@0.9.10 ( #3317 )
2025-09-02 17:42:00 +02:00
Marvin Hagemeister
a2ea7c9f73
fix(vite): update readme ( #3316 )
2025-09-02 17:41:17 +02:00
Marvin Hagemeister
fbc8ade0dd
chore: release @fresh/plugin-vite@0.9.9 and @fresh/init@2.0.4 ( #3315 )
2025-09-02 16:16:24 +02:00
Marvin Hagemeister
fbfdcd719d
docs: migration guide ctx.render() ( #3314 )
...
Fixes https://github.com/denoland/fresh/issues/2969
2025-09-02 16:04:30 +02:00
Marvin Hagemeister
9685488451
docs: add troubleshooting page ( #3313 )
2025-09-02 15:35:02 +02:00
Marvin Hagemeister
35f5cc4b7a
fix(init): don't show counter value in document title ( #3311 )
...
It falsely gives the impression that the value in the document title
would be live.
2025-09-02 15:19:26 +02:00
Marvin Hagemeister
4d463a8e2c
chore: update vite 7.1.4 ( #3298 )
2025-09-02 14:37:36 +02:00
Marvin Hagemeister
cb4482dbe5
feat(init): init with vite by default and move builder to flag ( #3309 )
2025-09-02 14:14:28 +02:00
Marvin Hagemeister
9e58af7a5c
docs: update for vite ( #3308 )
...
Update docs for vite
2025-09-02 10:45:27 +02:00
Marvin Hagemeister
6ddc0fbbcb
fix(init): add hint in client.ts for HMR ( #3307 )
2025-09-02 09:55:33 +02:00
Marvin Hagemeister
0d94bb0405
fix(vite): inline import.meta.env.* ( #3306 )
2025-09-02 09:55:21 +02:00
Marvin Hagemeister
ae2a27e174
feat(vite): error when using Deno global in the browser ( #3305 )
...
Related https://github.com/denoland/fresh/issues/3296
2025-09-01 19:56:31 +02:00
Marvin Hagemeister
87b213558b
chore: release @fresh/init 2.0.3 ( #3304 )
2025-09-01 18:09:50 +02:00
Marvin Hagemeister
6506edc97f
fix(init): force latest vite plugin version ( #3303 )
...
Works around this bug in Deno
https://github.com/denoland/deno/issues/30588
2025-09-01 18:03:10 +02:00
Marvin Hagemeister
3dc01cfe6c
chore: release 2.0.0-beta.3 ( #3301 )
2025-09-01 17:37:16 +02:00
Marvin Hagemeister
ff9db336f7
feat(vite): check valid imports per environment ( #3299 )
...
Fixes https://github.com/denoland/fresh/issues/3296
2025-09-01 17:30:30 +02:00
Marvin Hagemeister
5d052c0fdb
fix: add more request instrumentation ( #3300 )
2025-09-01 17:30:12 +02:00
Marvin Hagemeister
1c097cfd3b
chore: release @fresh/plugin-vite@0.9.7 ( #3297 )
2025-09-01 12:23:02 +02:00
Marvin Hagemeister
ecdec5b4b2
chore: release 2.0.0-beta.2 ( #3295 )
2025-09-01 12:19:27 +02:00
Marvin Hagemeister
70bcac298c
chore: add @types/node to silence LSP warning ( #3293 )
2025-09-01 12:15:48 +02:00
Marvin Hagemeister
541bc6c6ca
feat(vite): support remote islands ( #3294 )
2025-09-01 12:11:08 +02:00
Marvin Hagemeister
54942987eb
chore: workaround missing jsr jsx transpilation ( #3290 )
2025-09-01 09:34:02 +02:00
Marvin Hagemeister
89a1fa317f
fix: lazily load deno vite plugin ( #3292 )
2025-09-01 09:05:02 +02:00
Marvin Hagemeister
e3b429ac9d
chore: ignore tests publish ( #3291 )
2025-09-01 08:53:51 +02:00
Marvin Hagemeister
7a3c1a0c84
fix: exclude test files during publish ( #3289 )
...
Properly addresses https://github.com/denoland/fresh/pull/3288
2025-09-01 08:46:35 +02:00
Marvin Hagemeister
37a5d991a7
chore: exclude tests from publish ( #3288 )
2025-09-01 08:32:24 +02:00
Marvin Hagemeister
1e9ddcccc0
fix(init): document --vite arg ( #3277 )
2025-09-01 08:28:07 +02:00
Marvin Hagemeister
6c43edf451
www: fix slug ( #3287 )
...
Fixes https://github.com/denoland/fresh/issues/3254
2025-09-01 08:14:14 +02:00
Marvin Hagemeister
5d7a4c8e07
chore: rename non-jsx files .tsx -> .ts ( #3285 )
2025-09-01 08:03:04 +02:00
Marvin Hagemeister and fry69
33cb164b7d
fix(init): document Vite and ask in init ( #3281 ) ( #3286 )
...
Expands #3277
---------
Co-authored-by: fry69 <142489379+fry69@users.noreply.github.com >
2025-09-01 07:58:37 +02:00
Marvin Hagemeister
e33b447768
docs: remove version from init command ( #3276 )
2025-08-29 22:25:13 +02:00
Marvin Hagemeister
e1ab331528
chore: release @fresh/init@2.0.1 ( #3280 )
2025-08-29 21:25:16 +02:00
Marvin Hagemeister
839d4a5841
fix(init): get latest version from JSR ( #3279 )
2025-08-29 21:24:37 +02:00
Marvin Hagemeister
ce04409fad
chore: release 2.0.0-beta.1 ( #3275 )
2025-08-29 18:03:06 +02:00
Marvin Hagemeister
05203000da
feat(init): mark init as stable to make init command shorter ( #3274 )
2025-08-29 17:50:03 +02:00
Marvin Hagemeister
4fe0199c9f
www: port fresh.deno.dev to vite ( #3227 )
...
This PR ports fresh.deno.dev to use our vite plugin.
2025-08-29 16:41:16 +02:00
Marvin Hagemeister
8f8a6174ec
chore: release @fresh/plugin-vite@0.9.6 ( #3273 )
2025-08-29 14:35:15 +02:00
Marvin Hagemeister
b41c151de3
fix(vite): serve css imported in islands ( #3272 )
...
Fixes https://github.com/denoland/fresh/issues/3271
2025-08-29 14:30:00 +02:00
Marvin Hagemeister
b2c4f049bc
fix(vite): island hmr ( #3269 )
2025-08-28 15:47:55 +02:00
Marvin Hagemeister
62b62058fa
feat(init): add --vite to bootstrap with vite ( #3270 )
2025-08-28 15:43:36 +02:00
Marvin Hagemeister
b0e75b7199
fix(vite): add back support for Preact DevTools ( #3266 )
2025-08-27 09:43:39 +02:00
Marvin Hagemeister
4803f2d80b
fix(vite): disable babel code size warning ( #3265 )
2025-08-27 09:43:23 +02:00
Marvin Hagemeister
111fe8063d
fix(vite): use better node -> fetch request polyfill ( #3267 )
2025-08-27 09:29:24 +02:00
Marvin Hagemeister
795ac6da2c
chore: release @fresh/plugin-vite@0.9.5 ( #3264 )
2025-08-26 15:30:02 +02:00
Marvin Hagemeister
bdf560ce22
fix(vite): reload page on route change ( #3263 )
2025-08-26 14:46:04 +02:00
Marvin Hagemeister
7afae637fe
chore: simplify fallback rendering ( #3262 )
2025-08-26 14:38:44 +02:00
Marvin Hagemeister
671af16a82
chore: release @fresh/plugin-vite@0.9.4 ( #3260 )
2025-08-26 10:26:22 +02:00
Marvin Hagemeister
a203448e01
chore: release 2.0.0-alpha.63 ( #3261 )
2025-08-26 10:16:41 +02:00
Marvin Hagemeister
f3c1a08c88
fix: remove reliance on cwd in App ( #3259 )
2025-08-26 10:07:36 +02:00
Marvin Hagemeister
adc5c2e4a8
chore: speed up vite tests ( #3258 )
2025-08-26 09:52:26 +02:00
Marvin Hagemeister
a743b0c5d3
fix(vite): account for query params in module ids ( #3257 )
2025-08-26 09:35:27 +02:00
Marvin Hagemeister
f1fe325c6d
chore: release 2.0.0-alpha.62 ( #3253 )
2025-08-25 18:46:09 +02:00
Marvin Hagemeister
46ccff35c3
fix: disable client-side <Head>component until perf issue is fixed ( #3255 )
...
Need to look at it in more detail tomorrow.
2025-08-25 18:45:56 +02:00
Marvin Hagemeister
8717fb8f77
chore: release @fresh/plugin-vite@0.9.3 ( #3251 )
2025-08-25 16:50:11 +02:00
Marvin Hagemeister
0555f9616c
chore: release 2.0.0-alpha.61 ( #3239 )
2025-08-25 16:05:17 +02:00