ef60386dbd
fix(core): pkg bin path
2025-01-08 23:29:51 +01:00
b526da063f
feat(core): use src/api
as api dir; don't render if event path is public asset
2025-01-08 23:26:27 +01:00
8746f976af
refactor(core): move modules to /runtime
2025-01-08 22:02:51 +01:00
014deadf75
fix(core): catch undefined plugins
2025-01-08 21:32:55 +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
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
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
aeae9a80c3
chore(core): patch version for release
2024-12-27 22:53:22 +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
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
628243214a
feat(core): add jsdoc for components
configuration property
2024-12-27 15:05:13 +01:00
7385117308
chore: add npm scripts to packages
2024-12-27 12:03:14 +01:00
cfd7e7ba9a
chore(core): patch version for release
2024-12-27 11:58:19 +01:00
d50b67f3f4
feat: allow no semicolon server:setup scripts
2024-12-27 11:52:25 +01:00
4e10f7d92d
chore(core): add esbuild as dependency
2024-12-27 11:38:00 +01:00
c25c5e03d4
chore: format code
2024-12-19 23:11:07 +01:00
5a4f8b9b30
chore: set up husky
2024-12-19 23:07:49 +01:00
4975bb8206
chore: add todo
2024-12-19 22:57:56 +01:00
Ayo
ed4045b96d
chore(config, core): patch version for release
2024-03-11 12:57:10 +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
da849d6953
chore: bump versions
2023-12-22 05:01:21 +01:00
Ayo
cc60a683ac
feat: ignore search param in resolving .html files
2023-12-22 05:00:42 +01:00
Ayo
52345451f8
feat(core): update WebComponent version
2023-12-16 12:23:56 +01:00
Ayo
1cafa7326f
feat(core, config): update WebComponent base class
...
- update to WebComponent v2.0.0
- provide new auto imports: html, attachEffect
2023-12-11 17:41:37 +01:00
Ayo
b3695f7219
chore: update links to WebComponent.io
2023-11-27 16:49:38 +01:00
Ayo
1f66e726d3
chore(core): bump versions for release
2023-11-23 22:25:27 +01:00
Ayo
12c7c7d651
chore(core): update WebComonent to v1.13.2
2023-11-23 22:24:33 +01:00
Ayo
7c69e0ba94
chore(core): bump version for release
2023-11-19 00:45:20 +01:00
Ayo
c329070dc1
feat(chore): use minified WebComponent class
2023-11-19 00:43:55 +01:00
Ayo
65b8b4a3d6
chore(core): bump version for release
2023-11-18 02:54:19 +01:00
Ayo
534de63500
feat(core): update web-component-base
2023-11-18 02:53:38 +01:00
Ayo
cb8cfd7c5e
fix: apply web-component-base patch
2023-11-18 00:48:18 +01:00
Ayo
0671658197
feat(core): easy prop access on WebComponent v1.12
...
- update web-component-base to v1.12
- update site and template examples
2023-11-18 00:03:54 +01:00
Ayo Ayco
47600f5f45
feat(core): support for boolean attributes in web-component-base ( #25 )
2023-11-17 16:25:19 +01:00
Ayo
09e5418a3b
chore(core): bump version for release
2023-11-12 16:43:24 +01:00
Ayo
93989ac1e5
chore(core): update web-component-base dep
2023-11-12 16:13:15 +01:00
Ayo
6b0e0a46f0
feat(core): allow nested objects in setup scripts
2023-11-10 22:19:51 +01:00
Ayo
111c53d2fb
fix(core): allow non-element slot child
2023-11-09 11:56:20 +01:00
Ayo Ayco
17c5b810f9
feat(core): named slots ( #21 )
2023-11-09 11:35:14 +01:00
Ayo
51be11da89
chore(packages): update LICENSEs
2023-11-09 11:33:02 +01:00
Ayo Ayco
065209a5ad
feat(core): update unpkg imported version
2023-11-09 11:32:56 +01:00
Ayo
2e4d3f6598
refactor(core): explicit exports
2023-10-31 09:53:41 +01:00
Ayo
c2f7201b49
chore: patch versions
2023-10-29 18:29:02 +01:00
Ayo
b7f2ac2620
feat: auto imports
2023-10-29 18:21:43 +01:00
Ayo
de736d3177
chore: some clean up
2023-10-29 15:30:02 +01:00
Ayo
924534e98f
refactor(core): clean up return types
2023-10-29 11:53:26 +01:00
Ayo
8bd1491dc8
refactor(core): add return type to useMcFlyRoute
2023-10-29 11:48:49 +01:00
Ayo
d7297f6b3f
chore: bump versions
2023-10-29 00:07:28 +02:00
Ayo
12b538a6ab
fix: global route interceptor
2023-10-28 23:26:30 +02:00
Ayo
27237f7e9f
chore(packages): esm all-the-way
2023-10-26 21:38:30 +02:00
Ayo
91c25b7865
chore(packages): bump versions
2023-10-25 07:41:10 +02:00
Ayo
3e1ca3b1a6
chore(packages): update packages readme
2023-10-25 07:39:02 +02:00
Ayo
d341de9179
refactor: strictly type all packages
2023-10-24 20:51:32 +02:00
Ayo
e66ce3bbc5
refactor(core): strictly type
2023-10-24 20:47:26 +02:00
Ayo
9f59da48b1
chore(packages): add licenses
2023-10-22 18:02:08 +02:00
Ayo
a833dde978
chore(core): remove unneeded deps; bump patch
2023-10-22 16:15:35 +02:00
Ayo
db6e73047a
chore(core): bump version
2023-10-22 03:39:44 +02:00
Ayo
f67cc3f4ca
fix(core): message on error 404
2023-10-22 03:37:53 +02:00
Ayo
5bf0940868
chore(packages): initialize README; bump versions
2023-10-22 01:13:25 +02:00
Ayo
979fbf4ab5
chore(core): bump version
2023-10-22 00:51:36 +02:00
Ayo
9c2e0cfed6
fix(core): error 500 when no 404.html is found
2023-10-22 00:51:22 +02:00
Ayo
03815d3918
chore(chore): update versions
2023-10-21 17:37:50 +02:00
Ayo
abea79edd4
refactor(core): use defineRoute() instead of default export; single object param
2023-10-21 17:36:34 +02:00
Ayo
58c1e56b57
chore: update versions
2023-10-21 16:36:35 +02:00
Ayo
b913e11e10
refactor: publish .mjs files
2023-10-21 16:34:34 +02:00
Ayo
df2b47e1d6
chore(core): update version
2023-10-21 15:57:43 +02:00
Ayo
fb8192f367
fix(core): use mcfly config in eventHandler
2023-10-21 15:56:36 +02:00
Ayo
9523e751f6
feat: decouple route with @mcflyjs/core logic
2023-10-21 15:19:43 +02:00
Ayo
d87a4260e3
feat: initial packages @mcflyjs/core, @templates/basic
2023-10-21 13:32:22 +02:00