Commit graph

27 commits

Author SHA1 Message Date
c282f37fae refactor: add getNitroConfig for consolidating different nitro config sources 2025-01-10 17:23:31 +01:00
2ffe326f48 feat(site, template): update links from gh to sh 2025-01-09 22:03:40 +01:00
5acb24e679 chore: test build & deploy 2025-01-09 20:50:55 +01:00
d8ebf82849 chore: try server as functions dir 2025-01-09 20:45:53 +01:00
94cb4f24c7 chore: try netlify functions dir 2025-01-09 20:40:45 +01:00
7848527763 chore: try netlify functions dir 2025-01-09 20:38:38 +01:00
8d41b411ae chore: set up auto deploy from sr.ht to netlify 2025-01-09 19:57:10 +01:00
ebba62ef70 chore(site, templates): update deps 2025-01-08 21:40:19 +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
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
a6cab7aa7c chore: update homepage in package.json files 2025-01-01 01:03:56 +00: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
1491c5b35f chore(site): update nitro 2024-12-08 20:32:13 +01: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
798e25753f chore: fix deps 2024-03-09 21:31:00 +01:00
Ayo
2f4a22ac8d chore: migrate to pnpm 2024-03-09 21:23:06 +01:00
Ayo
5f4019cf0f refactor(cli): rename dev command to serve 2023-10-26 17:46:27 +02:00
Ayo
877a45a44f feat(cli): new commands build, prepare, dev 2023-10-25 22:34:36 +02:00
Ayo
2be9bfec7f try adding prepare script for site 2023-10-25 22:22:10 +02:00
Ayo
d5ec53f1fb fix: site deps 2023-10-25 22:21:03 +02:00
Ayo
1bc9e6cca3 fix: remove prepare script 2023-10-25 22:16:33 +02:00
Ayo
50bfa7526a fix(site): install @mcflyjs/cli 2023-10-25 22:13:34 +02:00
Ayo
24ffd3f9e2 feat(site, templates): add mcfly prepare script 2023-10-25 21:50:59 +02:00
Ayo
5d1c31a321 chore(site): remove unneeded deps 2023-10-22 00:53:08 +02:00
Ayo
abea79edd4 refactor(core): use defineRoute() instead of default export; single object param 2023-10-21 17:36:34 +02:00
Ayo
2a1edda533 chore: move app to site 2023-10-21 16:42:17 +02:00
Renamed from app/package.json (Browse further)