Commit Graph
182 Commits
Author SHA1 Message Date
Sylvain Cau 6bca35be0f tests: ensure asset mapping works correctly in islands client side (#245) 2022-06-22 12:02:51 +02:00
Luca Casonato 871985a172 www: add redirect for init script (#266) 2022-06-21 15:08:41 +00:00
Luca Casonato 1a10cbda3a www: serve fresh code at /@:version/:path* (#265) 2022-06-21 16:52:58 +02:00
Luca Casonato a645acdd4f 1.0.0-rc.1 2022-06-21 15:29:56 +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 3458e35d8e docs: add more concepts pages (#262) 2022-06-21 15:15:40 +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 70d1838cad BREAKING: make render fn an option on start (#260)
This commit removes the `_render.{tj}s{x}?` file in favor of a `render` option on the `start` call in `main.ts`.
2022-06-20 13:40:23 +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
Ward Cunningham 3e001fe242 www: use unicode arrows for navigation buttons in docs (#250)
Prefer unicode arrows to those made of ascii art.
2022-06-20 11:53:41 +02:00
tanquar b9e6385b35 docs: remove extraneous "is" (#248) 2022-06-20 11:44:56 +02:00
tanquar 61b71c6720 docs: grammatical correction, and remove unused import (#249) 2022-06-18 15:09:48 +00:00
Luca Casonato 84a4305eeb docs: add link to --watch docs in getting started (#244) 2022-06-17 15:49:18 +02:00
STEVEN ce9992fbc8 fix: update end line in generated logo.svg (#243) 2022-06-17 14:48:54 +02:00
pk 506edf4cee docs: typo in examples/counter/routes/index.tsx (#240) 2022-06-16 21:47:00 +00:00
Sindre Bøyum af9c7d4eb9 www: use tabular-nums on Counter count (#242)
`font-variant-numeric: tabular-nums` make each number glyph take up
the same amount of space, which in turn makes the add and subtract
buttons move less about when altering the count.
2022-06-16 21:44:29 +00:00
Ryan Dahl f8262c656a docs: soften warning on using this in production (#234) 2022-06-15 10:56:36 +00:00
Luca Casonato 3be31d5eb0 www: fix minimum Deno version to 1.22.3 2022-06-14 09:57:36 +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
shaun 844ded8cfd docs: fix typo in introduction (#227) 2022-06-13 23:53:30 +00:00
Michael Stillwell ae37dc50a8 docs: architechture -> architecture typo (#228) 2022-06-13 23:51:37 +00:00
rethab 4f2b761aa9 fix: quotes in joke example (#231) 2022-06-13 23:50:28 +00:00
Horjea Cosmin 2ce7186ce5 docs: remove curly braces in import for Countdown (#229)
Since Countdown is a default export, putting curly braces here will raise an error
2022-06-13 23:49:52 +00:00
Luca Casonato 4bb07f4bce fix: throw on invalid island components (#224)
Previously island components that didn't have a default export were
just silently ignored.
2022-06-08 11:51:20 +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 458fe2ca3c fix: update browser targets
The minimum browser targets are updated to Chrome 99, Firefox 99, and
Safari 15.
2022-06-02 20:24:46 +02:00
Shivam Dua 97f426b524 www: fix webp image source (#222) 2022-06-02 19:52:38 +02:00
Evan Fleming b7460fcbc1 docs: fix function name on dynamic routes page (#215) 2022-05-30 00:01:58 +02:00
Luca Casonato 782f4e5766 www: update eta from May 2022 to "very soon" (#216) 2022-05-29 23:45:44 +02:00
3ff689d8f9 docs: fix some typos (#211)
Co-authored-by: hashrock <hashrock@users.noreply.github.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-05-28 22:51:39 +02:00
Luca Casonato c299d7b6a4 fix: fresh manifest --watch reliability (#210)
Cache invalidation in the new `fresh manifest --watch` was not correct, making the command unreliable.
2022-05-23 17:54:53 +00: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 fd1346ed6b fix: ignore .git directory in init empty check (#208) 2022-05-23 16:57:09 +02:00
Luca Casonato dd59a05eca tests: more robust type checking in CI (#207) 2022-05-23 16:05:41 +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 f9f0125282 chore: rename PageConfig to RouteConfig (#202) 2022-05-23 15:52:29 +02:00
Luca Casonato 0fa001f1b6 fix: directory not empty message 2022-05-23 15:52:05 +02:00
Luca Casonato b897746b6d feat: add fresh manifest --watch (#201) 2022-05-20 17:37:03 +02:00
Luca Casonato 3ef6504e93 test: make cli test more robust (#199) 2022-05-20 16:04:46 +02:00
Sylvain Cau e8b1e229b3 feat: automatically apply asset caching to img src and srcset (#184) 2022-05-19 19:19:59 +02:00
Luca Casonato c1a9d53b18 fix: improved etag handling in static files (#198) 2022-05-19 19:05:07 +02:00
Luca Casonato 2a2b948a58 docs: add descriptions to all pages (#195) 2022-05-17 02:19:32 +02:00
Luca Casonato 637a0463b6 fix: update esbuild-wasm version 2022-05-17 01:48:05 +02:00
Luca Casonato 20ce3c6c2b chore: update esbuild to v0.14.39 (#194) 2022-05-17 01:20:07 +02:00
Bartek Iwańczuk 86e0395369 www: add frontmatter and meta description handling (#188) 2022-05-17 01:12:20 +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
Luca Casonato c28d2ff863 ci: speed up by caching chromium (#193) 2022-05-16 17:33:16 +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 ee7586e16a docs: reference docs in readme, and fix link colors on website (#186) 2022-05-16 02:15:15 +02:00