Commit graph

9 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
f08ce4c043
feat: integration hooks system (#54)
* refactor: modularize event-handler transform functions

* feat: add plugin hooks from mcfly config
2025-01-08 20:03:19 +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
47fa380ef0 test(cli): add tests for serve() 2024-12-07 19:25:29 +01:00
Ayo
60c24d6036 style(cli): make version bold 2023-11-03 23:20:41 +01:00
Ayo
52b0c69db7 feat(cli): serve to show mcfly & nitro version 2023-11-03 22:31:29 +01:00
Ayo
5003d6bf9d refactor(cli): prepare steps, utils, and globals; clean up unused args 2023-10-28 22:48:58 +02:00
Ayo
5f4019cf0f refactor(cli): rename dev command to serve 2023-10-26 17:46:27 +02:00
Renamed from packages/cli/commands/dev.mjs (Browse further)