Commit Graph
159 Commits
Author SHA1 Message Date
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
Sylvain Cau 2f053816f4 test: Add revive test with puppeteer (#185) 2022-05-14 12:28:41 +02:00
Chris Knight ec388f87fb fix: update start task with no-check (#179)
The default task `start` fails to run as a remote dependency has a type issue.  This provides a poor experience to first time users who may struggle to understand why the default example doesn't work.  This issue is resolved by adding the `--no-check` flag to the deno run command.
2022-05-13 21:59:06 +02:00
Marc Espín c1e376a362 fix: remove conflicting global definition of URLPattern (#183) 2022-05-09 12:22:20 +02:00
Luca Casonato 59e6398d77 www: more vibrant green + wordmark on docs page (#176) 2022-04-24 21:26:35 +00:00
Luca Casonato ffbe97caca www: add open graph tags (#175) 2022-04-24 22:33:55 +02:00
Luca Casonato b563646c8f www: use green as accent color on docs page (#163) 2022-04-24 22:33:26 +02:00
hashrock 53c1e0d112 www: clean ssr for lemondrop + respect prefers-reduced-motion (#174) 2022-04-24 21:39:30 +02:00
Luca Casonato df8babbf87 www: fix logo height on docs page 2022-04-24 18:12:49 +02:00
Luca Casonato ed5f7c70ec chore: add logo to readme (#171) 2022-04-24 11:45:21 +00:00
Luca Casonato 36625e3000 www: compress svg fresh logo 2022-04-24 13:41:49 +02:00
Luca Casonato 0e6a24202d www: use next gen image formats for illustration (#170) 2022-04-24 13:40:15 +02:00
Luca Casonato 77bfd4b244 Add code of conduct (#169) 2022-04-24 13:12:38 +02:00
Luca Casonato 43524dbcea www: cache static assets properly (#166) 2022-04-24 10:55:27 +02:00
Luca Casonato 98a3658452 chore: update router to 0.0.11 (#149) 2022-04-23 23:27:48 +02:00
Sylvain CauandLuca Casonato 8d4e77f4ac feat: layered and scoped middleware and context state (#139)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-04-23 22:07:40 +02:00
hashrock b36f2c1a43 www: add logo to docs header (#162) 2022-04-23 21:05:31 +02:00
Luca Casonato 12a9839cf2 docs: add a link explaining pascal case 2022-04-23 20:53:07 +02:00
Luca Casonato 2449ac4024 www: update button color in counter example 2022-04-23 20:44:41 +02:00
Luca Casonato 7d1aec4bce www: more padding on slogan 2022-04-23 20:40:10 +02:00
Luca Casonato b4422333d3 www: set intrinsic size for illustration image (#160) 2022-04-23 20:15:17 +02:00
hashrock 9bb0366bed fix: use unpkg.com URL for esbuild.wasm (#158) 2022-04-23 20:00:20 +02:00
Elias SjögreenandLuca Casonato 34dc19a2f9 feat: support specifying hostname and port in start (#150)
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-04-23 15:24:29 +02:00
ʀᴀʏ bb9fa4a09f feat: allow render function to be asynchronous (#142) 2022-04-23 15:17:00 +02:00