Commit graph

15 commits

Author SHA1 Message Date
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
08c4ee7259 test(cli): remove unneeded assertion 2024-12-20 00:01:17 +01:00
06b7b8e729 test(cli): change assertion 2024-12-19 23:59:00 +01:00
c25c5e03d4 chore: format code 2024-12-19 23:11:07 +01:00
17f631baaf test(cli): main subcommands list 2024-12-08 19:54:23 +01:00
c1e2ed579c chore(cli): remove TODO 2024-12-07 20:41:05 +01:00
ea06089c4a test(cli): add tests for generate command 2024-12-07 20:40:15 +01:00
cc6dfda559 test(cli): add tests to serve.printInfo() 2024-12-07 20:34:52 +01:00
47fa380ef0 test(cli): add tests for serve() 2024-12-07 19:25:29 +01:00
6c14bbf2b5 refactor(cli): remove unused import 2024-12-07 19:25:09 +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
f77f78f459 test(cli): extract baseCommand for new 2024-12-07 09:24:22 +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