Commit graph

30 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
d446b582dd fix: try using pathe for cwd 2024-12-31 02:25:17 +01:00
4520e65e21 feat: server logs 2024-12-31 01:55:41 +01:00
f2632519de chore(templates): use latest packages in basic template 2024-12-31 00:35:09 +01:00
69363bfb8a chore: patch versions for release 2024-12-31 00:32:52 +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
cbfd67f72d feat(templates): use McFly v0.6 2024-12-30 22:19:35 +01:00
0807640462 chore: add eslint-plugin-prettier 2024-12-27 23:10:41 +01:00
252e60417f feat(templates): update basic template to use js expressions 2024-12-27 22:56:03 +01:00
bd13f2f243 chore(cli): update deps to latest 2024-12-27 22:07:34 +01:00
7d1de4481f chore: use .gitignore patterns in eslint ignores 2024-12-27 14:44:28 +01:00
a068ed25be feat(templates): use latest core 2024-12-27 12:05:24 +01:00
4e10f7d92d chore(core): add esbuild as dependency 2024-12-27 11:38:00 +01:00
058d720b11 chore(deps): add vitest to root 2024-12-19 23:37:25 +01:00
a362adab90 chore: set up prettier 2024-12-19 23:10:55 +01:00
5a4f8b9b30 chore: set up husky 2024-12-19 23:07:49 +01:00
49c8f00a1e chore: set up eslint 2024-12-19 22:57:44 +01:00
7a8c13ab65 chore(templates): use latest config with compatibilityDate 2024-12-09 19:23:55 +01:00
f6470e9a58 feat(templates): update basic template dependencies 2024-12-08 20:44:18 +01:00
01493ae617 chore(cli): update nitro 2024-12-08 20:32:24 +01:00
4001369337 test(cli): add @mcflyjs/core as devDep for testing 2024-12-07 19:24:42 +01:00
b1778d09f9 chore(cli): configure vitest 2024-12-07 10:29:31 +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
37e2ba289b chore: pnpm update dev deps 2024-07-21 13:07:37 +02:00
Ayo Ayco
61e10e701a
fix: temporarily pin to nitropack@2.8 for evalStore not a constructor err (#36)
* fix: check if evalStore is constructor

* deps: pin nitro to 2.8

* chore: remove console.log
2024-03-11 12:51:32 +01:00
Ayo
ebb91c709d chore: patch versions; fix dep 2024-03-09 21:41:29 +01:00
Ayo
798e25753f chore: fix deps 2024-03-09 21:31:00 +01:00
Ayo
b0ea97c644 chore: add core as dep to cli 2024-03-09 21:26:39 +01:00
Ayo
2f4a22ac8d chore: migrate to pnpm 2024-03-09 21:23:06 +01:00