Commit Graph
72 Commits
Author SHA1 Message Date
Marvin Hagemeister fe792455ab fix: add missing -h/--help to init (#2096) 2023-11-29 16:57:39 +01:00
Marvin Hagemeister ef26451dc6 fix: update tailwind init script (#2078) 2023-11-28 13:58:57 +01:00
Marvin Hagemeister a8dfdd0b91 fix: Tailwind CSS intellisense not working (#2073) 2023-11-28 11:22:41 +01:00
Reed von Redwitz ad2341dada chore: switch init to use tailwind (#2061) 2023-11-22 11:17:42 +01:00
Marvin Hagemeister 0a85a1fe5f Revert "chore: merge language-specific VSCode settings" (#2054) 2023-11-21 14:46:47 +01:00
int ba3fa2c895 chore: merge language-specific VSCode settings (#2051) 2023-11-20 14:49:12 +00:00
Marvin Hagemeister e0f503ee37 fix: ready color not readable in light themes (#2014) 2023-11-06 10:39:03 +01:00
Marvin Hagemeister e9717ed911 fix: meta charSet -> charset (#1875) 2023-10-06 15:59:13 +02:00
Sanjaiyan Parthipan a4ed93bfac init: use Promise.all (#1831) 2023-10-02 10:38:08 +02:00
mmuddasani d71f947327 fix: init fresh config formatting (#1804) 2023-09-21 01:37:06 +02:00
mmuddasani ff6ae7eb7f fix: Fix typo in hover rule for default non-twind CSS (#1799) 2023-09-20 07:52:29 +00:00
Marvin Hagemeister ead634b0cf feat: exclude _fresh dir from everything (#1788) 2023-09-18 15:05:59 +02:00
Marvin Hagemeister 20d5630534 fix: env files not loaded in build task (#1743) 2023-09-06 13:00:07 +02:00
Marvin Hagemeister ce4df30e92 fix: exclude _fresh dir from lint + fmt (#1656) 2023-08-17 10:48:53 +02:00
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 Bandwill 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 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
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
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
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 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 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