Commit graph

149 commits

Author SHA1 Message Date
Ayo
6c3efdec32 chore: add serve command TODO 2026-06-04 09:28:40 +02:00
Ayo
903c01c005 refactor: remove unused type import 2026-06-03 22:20:13 +02:00
Ayo
b285e0a73b feat: expose mcfly logger to server framework; log api URL 2026-06-03 22:17:05 +02:00
Ayo
7c0949c518 chore: comment todo 2026-05-25 22:57:42 +02:00
Ayo
08c2497fab feat: use fastify as server
- remove nitropack
- new @mcflyjs/fastify package
- test-core workspace for testing the new setup
2026-05-25 22:43:15 +02:00
Ayo
7807ded369 fix(core): please the typescript gods 2026-05-11 10:48:38 +02:00
Ayo
1957d71170 chore: update format, lint, & pre-commit scripts; fix lint error 2026-04-27 09:38:13 +02:00
Ayo
43acc3a8f5 refactor(core): JSDoc for evaluate script 2025-06-28 09:31:06 +02:00
Ayo
a1b1451913 feat(cozy): use my-head & awesome-header 2025-06-28 09:20:09 +02:00
Ayo
270a6ca76c feat(core): send event props as McFly props 2025-06-28 09:08:32 +02:00
Ayo
0bf0a09300 feat(cozy): set input value to received query url 2025-06-28 00:28:18 +02:00
Ayo
012db337ae feat(core): send request as global 2025-06-27 22:35:30 +02:00
Ayo
abaab2b73f feat(core): expose McFly global to app server scripts 2025-06-27 22:17:59 +02:00
ayo
6281c1516f
chore: housekeeping (#60)
* chore: remove .build.yml

* chore: update attribution
2025-06-07 23:33:58 +02:00
d56dda9ff4 chore(core): bump patch for release 2025-04-20 18:34:08 +02:00
b673422622 chore(core): bump for prerelease 2025-04-20 18:22:47 +02:00
dff28ba4e1 refactor: remove unneeded import 2025-04-20 17:16:54 +02:00
5f513343d9 chore: add estree types 2025-04-20 15:17:20 +02:00
50047f3533 chore: appease the gatekeepers 2025-04-20 15:13:17 +02:00
dce88c2708 refactor: migrate to ts initial 2025-04-20 15:12:47 +02:00
b36ef663f0 chore(deps): update esprima 2025-04-20 11:57:10 +02:00
69f48d89d4 chore: update lint-staged config 2025-04-04 22:52:46 +02:00
924d5c21a2 refactor(core): remove console logs 2025-04-04 22:49:36 +02:00
8da6d4e994 test(core): use vitest it 2025-03-22 22:49:06 +01:00
f675887f10 chore(core): ship dist dir 2025-03-22 22:47:44 +01:00
9899a25d9d test: organize test files 2025-03-22 21:17:45 +01:00
e58c3473b4 chore: update deps; add @types/node 2025-03-22 19:47:02 +01:00
98b48e13e0 refactor: skip failing test (for now) 2025-03-15 23:34:15 +01:00
fee04025bb refactor(cli): return object instead of array in getMcFlyConfig 2025-03-15 23:33:30 +01:00
708ead451c chore: try failing test 2025-03-15 20:31:34 +01:00
93e0c956e9 test(core): update cli tests 2025-03-15 20:22:53 +01:00
87c6cffb2f refactor(core): use renamed util 2025-03-15 20:13:39 +01:00
c6c3fc608a refactor(core): rename and add jsdoc 2025-03-15 20:13:09 +01:00
45e8b657f9 chore(core): rewrite cli to ts 2025-02-28 23:50:29 +01:00
f3ee5eebb5 chore(core): initial migration to typescript 2025-02-28 23:24:28 +01:00
34ebcd939a refactor: remove relativePath processing 2025-01-14 20:35:57 +01:00
8b3b7fdfa2 chore: try relative dynamic import 2025-01-14 20:23:31 +01:00
5af6747c29 feat: remove manual copy during build cmd 2025-01-14 18:40:22 +01:00
07970ea442 fix: add netlify workaround 2025-01-14 01:06:21 +01:00
1c9bbdb10e refactor(core): use nitro runtimeConfig to pass mcfly config file path 2025-01-14 01:01:00 +01:00
3b8c6e6d11 feat(core): use dynamic import to resolve mcfly config 2025-01-14 00:41:38 +01:00
c977615759 feat(core): use getNitroConfig in prepare command 2025-01-10 20:33:51 +01:00
5556329c83 feat: copy mcfly config to dist 2025-01-10 18:19:21 +01:00
8020987ccd fix(core): build command to consider nitroConfig.preset when not provided as arg 2025-01-10 17:48:00 +01:00
62fbf5c4b8 fix(core): use c12 to load mcfly config from route middleware
- Can pass functions; while nitro's runtimeConfig cannot. This makes plugins possible
2025-01-10 17:43:25 +01:00
c282f37fae refactor: add getNitroConfig for consolidating different nitro config sources 2025-01-10 17:23:31 +01:00
5095810077 chore(core): patch version for release 2025-01-10 10:21:14 +01:00
8b9825d761 fix(core): import from file instead of the runtime directory 2025-01-10 10:20:08 +01:00
02a3edb3e3 chore: update links from gh to sh 2025-01-09 22:02:50 +01:00
d918d476f1 chore: import as file 2025-01-09 20:23:29 +01:00