Commit Graph
28 Commits
Author SHA1 Message Date
Reed von Redwitz 03dbbd4f8e fix: update script supports deno.jsonc files (#1349) 2023-06-23 14:26:22 +02:00
arrow2nd ab461cd71d fix: update.ts fails when there is no islands directory (#1327) 2023-06-21 19:11:50 +02:00
EBIBO 9b98e13e29 fix: raise minimum deno version to 1.31.0 (#1333)
Fresh uses `Deno.Command` which is not available in older versions of Deno.
2023-06-21 07:27:18 +00:00
kit 4e2abd67dd feat(init): make project name as default header title (#1275)
default header title should be same as project name
2023-06-18 06:39:37 +02:00
Marvin Hagemeister 5724b73e71 fix(ssr): invalid HTML comment tags (#1260) 2023-06-09 11:21:36 +02:00
Asher GomezandLuca Casonato 1b6678951a feat: support embedded import map in deno.json (#1188)
One can now inline the `imports` and `scopes` from the import map directly into deno.json.

For new projects, `import_map.json` is not generated anymore.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2023-06-03 10:46:40 +02:00
Lino Le VanandAsher Gomez 736c5524d5 chore: upgrade preact to 10.15.1 and std to 0.190.0 (#1237)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-06-03 10:04:23 +10:00
Asher Gomez 02dec2f483 chore: upgrade preact-render-to-string to 6.0.3 (#1236) 2023-06-02 16:24:14 +02:00
Khang Nguyen DuyandLuca Casonato a49e2d04e3 feat: remove hardcoded deno.json path (#1208)
`deno.json` files can now be placed in a parent directory of the file
containing `fresh.gen.ts`.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2023-05-31 12:02:28 +02:00
Asher Gomez b5532aeb69 feat: island sub-directories (#1185) 2023-05-31 05:29:56 +10:00
Geoff FlarityandAsher Gomez 41a75fe1f5 chore: remove stale workaround in collect() (#1078)
The issue in question, https://github.com/denoland/deno_std/issues/1310,
has been marked complete. Looks like the underlying issue has been
fixed. So this just removes the comment/unnecessary code.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-05-27 17:44:35 +10:00
Asher Gomez e0cb693c0f chore(deps): update to std@0.189.0 (#1201) 2023-05-27 17:36:15 +10:00
CemandAsher Gomez 114c4dbfab dotenv option (#740)
added dotenv option to read environment variables files

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-05-17 09:48:39 +10:00
Lino Le Van 7b036f0af8 chore: bump deps and update copyright year (#1069) 2023-03-21 18:56:30 +09:00
Sylvain CauandLuca Casonato 7e72fa236c refactor: remove deno.run (#1036)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2023-03-10 04:57:16 +09:00
Yoshiya Hinosawa 8daa4849cf fix: revert "chore: bump dependencies and license year (#986)" (#1047) 2023-02-25 18:11:16 +09:00
Lino Le Van ed66986500 chore: bump dependencies and license year (#986) 2023-02-24 15:06:18 +09:00
Luca Casonato 7a08b73afe chore: update preact + preact-render-to-string (#762)
preact: 10.11.0
preact-render-to-string: 5.2.4
2022-09-12 14:53:32 +02:00
Luca Casonato dc47c9387b fix: rm trailing / in preact-rts import map entry (#722) 2022-09-08 12:45:21 +00:00
Flemming Miguel 2eb303041a fix: split @preact/signals and @preact/signals-core versions (#717)
These packages are versioned separately, so they should use separate versions.
2022-09-08 09:29:20 +00:00
Luca Casonato b7f0d5c860 feat: install @preact/signals by default (#710) 2022-09-08 01:00:05 +02:00
Luca Casonato 01052b31aa chore: update preact-render-to-string (#707) 2022-09-07 15:06:24 +02:00
Luca Casonato b19c4bb041 feat: add update.ts script (#706)
This commit adds an update.ts tool that makes it easy to upgrade
existing Fresh projects to the latest version of Fresh. This tool
updates dependency versions in the import map, and includes some code
mods:

1. update projects from classic JSX to automatic JSX
2. update projects from legacy twind integration to twind plugin

Both of these code mods get you about 95% of the way there most of the
time. Users might still need to do some manual work to get their
projects fully updated.
2022-09-07 09:36:23 +00:00
Luca Casonato b12867a582 feat: support JSX automatic mode (#610)
This commit adds support for JSX automatic mode instead of the default
mode that requires the presence of the JSX pragma in each file.

This commit also adds the config file to the `fresh.gen.ts` manifest,
which is used to determine if the client emit should use automatic mode.

The minimum Deno version has also been bumped to 1.25.0.
2022-08-26 11:03:00 +02:00
Luca Casonato ba20756c17 chore: update deps (#561)
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
Luca Casonato 6cb2ebf7d4 chore: check minimum Deno version for init.ts (#282) 2022-06-24 13:55:18 +02:00
Luca Casonato ff5684df67 feat: add twind auto-setup to init.ts (#261)
This adds options to `init.ts` to automatically set up `twind` a new
project.
2022-06-20 17:43:12 +02:00
Luca Casonato 836cc24bdd feat: remove fresh cli, do manifest generation in process (#223)
This commit removes the `fresh` cli, replacing it with a small bootstrap script,
and JIT generation of the manifest that happens in process during development.
2022-06-14 09:39:38 +02:00