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
09cd38a481
refactor(cli): remove debug logs
2024-12-07 10:40:15 +01:00
Ayo Ayco
56592bdeef
test(cli): add tests for cli commands ( #37 )
...
* chore(cli): add vitest & add test script
* chore: add test:cli script
* test(cli): initial tests for build command
* chore(cli): add nitropack as devDepencency for tests
* chore(cli): add vitest config
* test(cli): add tests for build command
* test(cli): add tests for new command
2024-12-07 02:44:38 +01:00
Ayo
09d55e65f3
chore(cli): import from 'node:' prefix
2023-11-06 22:06:31 +01:00
Ayo
5003d6bf9d
refactor(cli): prepare steps, utils, and globals; clean up unused args
2023-10-28 22:48:58 +02:00
Ayo
c383ae70fa
chore: update commands list for the CLI
2023-10-25 22:40:29 +02:00
Ayo
877a45a44f
feat(cli): new commands build, prepare, dev
2023-10-25 22:34:36 +02:00