Commit Graph
33 Commits
Author SHA1 Message Date
Marvin Hagemeister 87b15885aa feat(starter): add 404 page template (#1336) 2023-06-21 11:01:48 +02:00
Marvin Hagemeister ea6a74237d feat: improve starter template design (#1320) 2023-06-17 20:31:08 +02:00
Marvin Hagemeister 36d56a9878 feat(server): pick free port if none specified (#1274) 2023-06-12 13:18:52 +02:00
Marvin Hagemeister cd760b90d4 chore(test): extract shared start server code (#1250)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2023-06-05 18:52:22 +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
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 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
Marvin Hagemeister f481c1a03f fix: superfluous dir message when dir === cwd (#1138) 2023-04-30 10:41:42 +02: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
hashrock 20736cd02a fix(test): retry flaky file remove on Windows (#1010) 2023-02-01 19:28:47 +09:00
e2c54d00b6 test: remove tmp dir (#280)
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2022-10-19 19:08:27 +09:00
Luca CasonatoandElias Sjögreen 1b3c9f2569 fix(plugin/twind): load configuration as module (#705)
This commit loads the Twind configuration as an actual module rather
than evaluating it on the server and then serializing. This allows usage
of unserializable plugin functions.

Co-authored-by: Elias Sjögreen <eliassjogreen1@gmail.com>
2022-09-07 00:44:46 +02:00
Luca Casonato 660e0f5fef feat: twind plugin (#513)
This adds a first-party twind plugin to use twind for styling.
2022-08-09 21:41:11 +02:00
ashish 58f9769baf refactor: add components/ in starter project (#353)
This commit adds a `components/` folder to the starter project to
indicate that one can also create components that are not themselves
islands.
2022-07-30 15:56:42 +00:00
AbdulazizandLuca Casonato 1dc1f87fc3 refactor: use named status codes from std internally (#417)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-30 15:35:31 +00:00
Luca Casonato ba20756c17 chore: update deps (#561)
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
Luca Casonato e0e669ef3d tests: fix hanging tests locally (#408)
Also add a test for --vscode for the init script.
2022-07-04 15:16:49 +00:00
Yuki ShindoandLuca Casonato 56ecfcc7ee tests: add case for invalid inputs in fresh-init (#276)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-06-23 11:18:04 +00:00
Luca Casonato 1339a315e6 fix: types in fresh-init --twind's main.ts (#269) 2022-06-22 12:48:27 +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 de6c3f6ed5 chore: remove --no-check flags (#259)
Since Deno 1.23.0, `--no-check` has become the default type checking
mode for `deno run`. As such, we don't need to specify this flag
anymore.
2022-06-20 12:45:48 +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
Sylvain CauandLuca Casonato afafb7c938 fix: reviving multiple islands on one page (#197)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-06-07 15:02:48 +02:00
Luca Casonato 80598d07fd feat: use import maps instead of deps files (#209)
This commit updates fresh to use import maps instead of deps files in generated projects.
2022-05-23 19:35:15 +02:00
Luca Casonato fd6724c050 chore: rename *_deps.ts -> deps.*.ts (#206)
As per David's suggestion.
2022-05-23 16:05:33 +02:00
Luca Casonato 3ef6504e93 test: make cli test more robust (#199) 2022-05-20 16:04:46 +02:00
Luca Casonato cf438a7879 refactor: asset caching via query param (#192)
This updates the asset caching to use a cache busting query string,
rather than a totally separate path. This makes it safer to apply
caching automatically to things like `<img>` tags, as the path does not
change anymore.
2022-05-16 17:39:22 +00:00
Sylvain Cau 0e2c58578d feat: add static folder and logo.svg to fresh init (#189)
This makes it easier to discover fresh's support for simple static file handling.
2022-05-16 02:17:33 +02:00
Sylvain Cau 2f053816f4 test: Add revive test with puppeteer (#185) 2022-05-14 12:28:41 +02:00
Tyler BrostromandLuca Casonato 4e1d4231f7 chore: update esbuild (#151)
Update esbuild to 14.34, and remove esbuild-wasm from vendored depedencies.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-04-23 15:01:45 +02:00
Iori IKEDAandLuca Casonato 3d63efc7a8 tests: add fresh init integration test (#141)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-03-28 21:52:05 +02:00