Commit graph

523 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
4c69aa6cc0 chore: update npmrc 2025-01-08 17:01:34 +01:00
bf9a6af7ac feat(site): update feature list 2025-01-02 12:26:18 +01:00
Ayo Ayco
a6cab7aa7c chore: update homepage in package.json files 2025-01-01 01:03:56 +00:00
3610e0b0a8 chore: update readme 2024-12-31 22:28:34 +01:00
59ca18f616 chore: fix readmes 2024-12-31 12:02:56 +01:00
837a2363ee chore: update readmes 2024-12-31 12:01:06 +01:00
d446b582dd fix: try using pathe for cwd 2024-12-31 02:25:17 +01:00
2638b28533 feat: show logs for netlify debug 2024-12-31 02:12:41 +01:00
daffebd733 chore: patch version for release 2024-12-31 02:09:42 +01:00
5f3ef8c621 fix: handle missing server.logs config 2024-12-31 02:08:38 +01:00
0c5fc3d056 feat: sever.logs configuration 2024-12-31 02:06:22 +01:00
4520e65e21 feat: server logs 2024-12-31 01:55:41 +01:00
c288b2235f fix: add workaround for Netlify function 2024-12-31 01:52:01 +01:00
a55d669214 fix: try to add cwd to loadConfig 2024-12-31 01:46:40 +01:00
dba6b6ef84 fix: use loadedConfig 2024-12-31 01:40:37 +01:00
063bc0567b feat: log loaded config and add catch 2024-12-31 01:35:35 +01:00
4640b6e5cf fix: c12 loadConfig not getting mcfly config 2024-12-31 01:27:41 +01:00
31d5a33cd6 feat: add log for detected config file 2024-12-31 01:20:25 +01:00
b486a7a5d5 feat: add logging for when custom element registry not inserted 2024-12-31 01:15:01 +01:00
8d976b8b47 fix(template): import useMcFlyRoute 2024-12-31 00:40:42 +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
3e50de0941 chore: update gh actions 2024-12-29 00:27:08 +01:00
a36d622634 chore: update eslint action & eslint-prettier config for endOfLine 2024-12-29 00:23:56 +01:00
Ayo Ayco
c0c2ded47c
chore: add gh action for eslint 2024-12-28 23:59:42 +01:00
Ayo Ayco
a9ec11c7c3
chore: update demo link on README.md 2024-12-28 00:05:28 +01:00
6203475784 chore: reorder eslint plugins 2024-12-27 23:49:36 +01:00
fb64905535 feat(site): update landing page content 2024-12-27 23:49:11 +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
aeae9a80c3 chore(core): patch version for release 2024-12-27 22:53:22 +01:00
be3191547b feat(site): update demp page to show js expression 2024-12-27 22:52:08 +01:00
272a59d8d9 chore: remove console.logs 2024-12-27 22:51:45 +01:00
167e7ce1a4 chore(core): patch version for release 2024-12-27 22:44:27 +01:00
0598c9705b feat: improve evaluation of dynamic content inside {{ }}
- evaluate js expressions
- fix regex matching skips every other match
2024-12-27 22:43:05 +01:00
bd13f2f243 chore(cli): update deps to latest 2024-12-27 22:07:34 +01:00
892bf45671 chore: rename evaluate server script function 2024-12-27 22:05:40 +01:00
dfee34b7eb feat: reuse Config.components types on jsdoc 2024-12-27 22:02:05 +01:00
9e26b4015f chore: remove .astro type for lint-staged config 2024-12-27 22:01:03 +01:00
7d49c7ff1e chore: clean up tests 2024-12-27 21:48:52 +01:00
03f7119f65 chore: test precommit 2024-12-27 21:48:23 +01:00
26792ecd2b chore: gitignore eslint cache 2024-12-27 16:55:09 +01:00
7a61d3e7c8 chore: add check script & use in precommit 2024-12-27 16:54:43 +01:00
628243214a feat(core): add jsdoc for components configuration property 2024-12-27 15:05:13 +01:00
7d1de4481f chore: use .gitignore patterns in eslint ignores 2024-12-27 14:44:28 +01:00
291580bc32 chore: remove commented out vscode setting 2024-12-27 14:37:47 +01:00