Commit graph

10 commits

Author SHA1 Message Date
1c9bbdb10e refactor(core): use nitro runtimeConfig to pass mcfly config file path 2025-01-14 01:01:00 +01:00
3b8c6e6d11 feat(core): use dynamic import to resolve mcfly config 2025-01-14 00:41:38 +01:00
5556329c83 feat: copy mcfly config to dist 2025-01-10 18:19:21 +01:00
62fbf5c4b8 fix(core): use c12 to load mcfly config from route middleware
- Can pass functions; while nitro's runtimeConfig cannot. This makes plugins possible
2025-01-10 17:43:25 +01:00
c282f37fae refactor: add getNitroConfig for consolidating different nitro config sources 2025-01-10 17:23:31 +01:00
8b9825d761 fix(core): import from file instead of the runtime directory 2025-01-10 10:20:08 +01:00
b526da063f feat(core): use src/api as api dir; don't render if event path is public asset 2025-01-08 23:26:27 +01:00
8746f976af refactor(core): move modules to /runtime 2025-01-08 22:02:51 +01:00
014deadf75 fix(core): catch undefined plugins 2025-01-08 21:32:55 +01:00
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