Commit Graph
16 Commits
Author SHA1 Message Date
Darius I. Karel 86daf73d47 fix: display real value for the directory to cd to after init (#415) 2022-07-05 13:35:44 +02:00
Luca Casonato 87da68b8a7 chore: update preact + twind (#410) 2022-07-04 15:25:32 +00:00
Steven YungandLuca Casonato b09e033c8e feat: add vscode files on init (#367)
Ask the user if they use VS Code, and if so add the `.vscode/` files.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-07-04 13:17:09 +00:00
cbbcdc7d93 fix: update README.md and init.ts to match the docs (#334)
The setup steps presented between them slightly differed.

Co-authored-by: Rasoul Abdulzahra <rasoul.abdulzahra@aubay.it>
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2022-07-04 10:55:48 +00:00
omar2205 3569e645a5 fix: update JOKES example to use the array's length (#337) 2022-07-01 01:40:05 +02:00
Luca Casonato 34fc5514f9 chore: update twind import map defaults in init.ts (#291) 2022-06-27 14:35:34 +02:00
Luca Casonato 6cb2ebf7d4 chore: check minimum Deno version for init.ts (#282) 2022-06-24 13:55:18 +02:00
satotake f7cc2db225 fix: generate favicon.ico in init script (#278)
Browsers try to get `/favicon.ico` by default. This request enters `[name].tsx`
and returns greet unexpectedly.

To fix this, the favicon is now fetched from `https://fresh.deno.dev` and
saved into the `static` folder in the init script.
2022-06-23 14:38:57 +02:00
Luca Casonato 1b3d1319bd chore: update default preact version (#272) 2022-06-22 14:40:37 +02:00
Luca Casonato 1339a315e6 fix: types in fresh-init --twind's main.ts (#269) 2022-06-22 12:48:27 +02:00
Luca Casonato da340daeb2 BREAKING: move a bunch of types into server/ (#263)
Moved some server only types like `RouteConfig` into server/. They were
previously in runtime/.
2022-06-21 15:21:07 +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 cbbf616a74 chore: version preact explicitly in import map (#258)
This allows users to control the `preact` version independently of fresh
itself.
2022-06-20 12:37:24 +02:00
STEVEN ce9992fbc8 fix: update end line in generated logo.svg (#243) 2022-06-17 14:48:54 +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