Commit Graph
26 Commits
Author SHA1 Message Date
Marvin Hagemeister 287929e4d2 major: import Fresh 2.0 code (#2449)
🎉
2024-05-24 09:40:08 +02:00
Reed von Redwitz 82c75f85e9 fix: update dependency recommendations (#2320)
closes https://github.com/denoland/fresh/issues/2319

The issue is because `imports.ts` wasn't changed before releasing. I
thought I would go through and bump some other versions as well. This
handles everything except the esbuild stuff and `tests/`.
2024-02-19 10:33:04 +01:00
Reed von Redwitz a0483bc357 chore: create manifest generation task (#2088) 2023-11-30 17:07:00 +01:00
Reed von RedwitzandMarvin Hagemeister 536463775c feat(dev): reduce manifest merge conflict potential (#2020)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-11-08 09:59:27 +01:00
Reed von Redwitz 8b846816a6 fix(server): support non-function exports from island files (#1986) 2023-11-06 11:55:16 +01:00
Reed von Redwitz da90d92ebd chore: bump deps (#2000) 2023-11-03 16:52:54 +01:00
Marvin Hagemeister 77ed10078c fix: remove another bare type import (#1872) 2023-10-05 21:39:42 +02:00
e01ef2d8a0 feat(dev): Ignore common test files in routes and islands (#1039)
Co-authored-by: Marvin Hagemeister <marvinhagemeister50@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-09-11 16:05:55 +02:00
Marvin Hagemeister 0e6aff5a16 fix: broken init script (#1642) 2023-08-16 19:56:42 +02:00
Marvin Hagemeister 477364c567 feat: prebundle code + restore from snapshot (#1604) 2023-08-16 16:47:51 +02:00
Marvin Hagemeister dff80d3a42 chore: remove console.log (#1605) 2023-08-08 01:19:11 +02:00
Marvin Hagemeister 97c6876bf7 feat: co-locate islands + non-route files (#1600) 2023-08-07 20:33:08 +02:00
Roj 16453b4dc9 style: fix remaining inconsistencies (#1505) 2023-07-22 14:09:25 +02:00
Marvin Hagemeister f12c96ed45 feat: add upgrade check (#1444) 2023-07-17 15:49:47 +02:00
Reed von Redwitz 9177d9afc3 feat: prevent duplicate routes when generating manifest (#1410) 2023-07-11 14:39:48 +02:00
Marvin Hagemeister 1d6e15ba36 fix: manifest file encoding non-latin chars (#1433) 2023-07-10 14:13:01 +02:00
Marvin Hagemeister 1dc3a992f2 refactor: optional directory check (#1435) 2023-07-10 14:07:03 +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
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
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
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
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 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