Commit graph

6 commits

Author SHA1 Message Date
Ayo Ayco
73617647db
feat: move cli to core (#55)
* refactor: move cli to core

* feat: move cli to core

- use route-middleware in serve
- eliminate need for `routes` dir in app

* feat: use route-middleware in build

* chore: update test gh action
2025-01-08 21:21:31 +01:00
Ayo Ayco
2a9b1e6c58
feat: config improvements (#53)
* feat: move defineMcFlyConfig to @mcflyjs/config

* feat: move defineMcFlyConfig to config package

* feat: programmatically build nitro dev server

* chore: bump versions

* feat: spread nitro config if exists

* chore: use nitro build programmatically

* feat: use nitro programmatically in prepare command

* feat: expose types for NitroConfig & McFlyConfig

* feat: use c12 to resolve mcfly config

* fix: too many symlinks

* chore: skip tests for now

* test: cheating

* test: cheating

* chore: update pnpm-lock
2024-12-31 00:25:25 +01:00
c25c5e03d4 chore: format code 2024-12-19 23:11:07 +01:00
0834f13633 test(cli): error scenarios for new, build, prepare 2024-12-07 18:35:34 +01:00
6c7877b049 chore(cli): clean imports 2024-12-07 10:56:57 +01:00
86cf39daf7 test(cli): initial tests for 'prepare' 2024-12-07 10:39:58 +01:00