Marvin Hagemeister
477364c567
feat: prebundle code + restore from snapshot ( #1604 )
2023-08-16 16:47:51 +02:00
Marvin Hagemeister
86f92114d8
feat: Support setting <html> in _app template ( #1617 )
2023-08-11 18:40:20 +02:00
Reed von Redwitz
a489aff190
feat(init): add check task to run all static analysis ( #1454 )
2023-08-07 14:39:53 +02:00
vrunt
a66f7217da
fix: typo boder-box to border-box ( #1574 )
2023-08-02 10:09:17 +02:00
Reed von Redwitz
5af441cde6
chore(init): remove blank line from _404 template ( #1539 )
2023-07-28 10:50:13 +02:00
Lino Le Van
5ba19abe13
fix: typos ( #1526 )
2023-07-26 13:09:42 +00:00
Lino Le Van
18857ea052
fix(init): typo in flags parsing ( #1525 )
2023-07-26 08:47:40 +02:00
Will B and will berry
f1922fb984
feat: add --docker option to Fresh init ( #1520 )
...
Co-authored-by: will berry <willberry@wills-MBP.attlocal.net >
2023-07-25 19:41:04 +02:00
Roj
16453b4dc9
style: fix remaining inconsistencies ( #1505 )
2023-07-22 14:09:25 +02:00
Roj
d1e78095be
www: consistently spell Fresh ( #1504 )
2023-07-22 13:02:31 +02:00
Marvin Hagemeister
f2ea4055df
fix: init banner not colored in ansi256 terminals ( #1456 )
...
This basically uses the same fix as #1377 and #1323 for the init script.
Before:
<img width="505" alt="Screenshot 2023-07-12 at 22 18 29"
src="https://github.com/denoland/fresh/assets/1062408/e77c3110-d3e2-479e-8381-c67c39e216fa ">
After:
<img width="446" alt="Screenshot 2023-07-12 at 22 18 38"
src="https://github.com/denoland/fresh/assets/1062408/debda939-bdce-4890-8dfb-265a4e1b8328 ">
2023-07-13 00:56:36 +02:00
Yuki Tanaka
37f1618004
feat(init.ts): enable lint rules for fresh apps ( #1434 )
2023-07-09 10:11:36 +02:00
Marvin Hagemeister
92516e441e
feat: make vscode-deno default formatter ( #1431 )
2023-07-08 21:50:21 +02:00
Reed von Redwitz
70e9c556c3
feat(starter): always initialize _app.tsx ( #1380 )
2023-07-01 12:59:10 +02:00
Marvin Hagemeister
87b15885aa
feat(starter): add 404 page template ( #1336 )
2023-06-21 11:01:48 +02:00
kit
4e2abd67dd
feat(init): make project name as default header title ( #1275 )
...
default header title should be same as project name
2023-06-18 06:39:37 +02:00
Marvin Hagemeister
ea6a74237d
feat: improve starter template design ( #1320 )
2023-06-17 20:31:08 +02:00
Marvin Hagemeister
372d0dfffb
feat(init): add update task ( #1290 )
2023-06-14 15:48:52 +02:00
Tyler Mueller
d3a2edc984
fix(init): Typo "Projet" -> "Project" ( #1269 )
2023-06-11 16:20:57 +00:00
Marvin Hagemeister
503bdc384f
feat(init): make directory argument optional ( #1263 )
2023-06-10 15:48:02 +02:00
Luca Casonato
94b23f30dd
chore: improve init readme ( #1238 )
2023-06-03 21:15:39 +10:00
Asher Gomez and Luca 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
Asher Gomez
8fa4141e06
refactor: replace useState() with useSignal() ( #1234 )
2023-06-02 06:43:01 +10:00
Asher Gomez
8db73e0485
refactor: disable lock ( #1186 )
2023-05-18 21:20:48 +10:00
Cem and Asher 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
Kamil Ogórek
4dc6881498
fix(init): update routes/index.tsx to be correctly formatted with deno fmt ( #1160 )
2023-05-12 13:06:19 +09:00
Marvin Hagemeister
f481c1a03f
fix: superfluous dir message when dir === cwd ( #1138 )
2023-04-30 10:41:42 +02:00
hashrock
3b0c4b3b67
chore: add a head component to generated project ( #771 )
...
This PR adds a `<Head>` component to projects generated using `init.ts`.
2022-09-15 15:00:25 +02:00
Luca Casonato
ee8812d7f6
chore: tweak console output for init.ts script ( #708 )
2022-09-07 15:28:38 +02:00
Luca Casonato
b19c4bb041
feat: add update.ts script ( #706 )
...
This commit adds an update.ts tool that makes it easy to upgrade
existing Fresh projects to the latest version of Fresh. This tool
updates dependency versions in the import map, and includes some code
mods:
1. update projects from classic JSX to automatic JSX
2. update projects from legacy twind integration to twind plugin
Both of these code mods get you about 95% of the way there most of the
time. Users might still need to do some manual work to get their
projects fully updated.
2022-09-07 09:36:23 +00:00
Luca Casonato and Elias 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
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
3d682d98cb
chore: update preact & preact-render-to-string ( #651 )
...
preact@10.10 .6 & preact-render-to-string@5.2.2
2022-08-23 22:09:06 +00:00
Roj
67b82d538b
fix: add reference to dom.iterable ( #641 )
...
This fixes TypeScript errors with things like `URLSearchParams.entries`.
2022-08-23 13:26:21 +00: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
Kid
5b9ce720d0
chore: remove deno.unstable references ( #600 )
2022-08-08 23:19:26 +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
Luca Casonato
ba20756c17
chore: update deps ( #561 )
...
Update std, esbuild, and preact.
2022-07-30 17:29:29 +02:00
Sahil Sonawane
7e2ab7fa50
chore: simplify init.ts start instructions ( #486 )
2022-07-15 14:37:48 +00:00
Steven Yung
c6eab38513
feat: enable deno lint & deno fmt for vscode ( #470 )
2022-07-13 00:15:09 +02:00
Anish Karandikar
3af41bb3fd
fix: minor typo in init ( #488 )
2022-07-12 13:36:47 +00:00
X
85687b6c78
chore: update preact-render-to-string import to use esm.sh ?external query ( #499 )
2022-07-12 15:32:36 +02:00
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 Yung and Luca 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