Commit graph

89 commits

Author SHA1 Message Date
00fc0d1e56 chore: hide images on redme files 2025-01-09 12:05:04 +01:00
ab224f0258 chore: update readme files with correct image url 2025-01-09 12:03:59 +01:00
081d78936d chore: update readme files with correct api path 2025-01-09 12:02:22 +01:00
ef5b7c76da feat(site, template): add api endpoint example 2025-01-08 23:26:56 +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
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
0c5fc3d056 feat: sever.logs configuration 2024-12-31 02:06:22 +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
fb64905535 feat(site): update landing page content 2024-12-27 23:49:11 +01:00
be3191547b feat(site): update demp page to show js expression 2024-12-27 22:52:08 +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
43fa3dfb12 feat(site): update demo page to have no semicolon server:setup script 2024-12-27 11:53:37 +01:00
c25c5e03d4 chore: format code 2024-12-19 23:11:07 +01:00
1491c5b35f chore(site): update nitro 2024-12-08 20:32:13 +01:00
dd28ee48c2 feat(site): framework -> meta-framework 2024-09-28 23:46:13 +02:00
Ayo
eece84dc22 feat(site): indicate PoC; add link to repo 2024-03-15 13:10:12 +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
1694511af8 chore: publish link to chat rooms 2024-01-11 23:26:06 +01:00
Ayo
0f023b1219 feat(site, templates): use new WebComponent.io features 2023-12-11 17:57:21 +01:00
Ayo
9736015c29 refactor(site, templates): use non-single tag 2023-12-08 17:58:29 +01:00
Ayo
b3695f7219 chore: update links to WebComponent.io 2023-11-27 16:49:38 +01:00
Ayo
f12bb73fc8 feat(site, templates): use NitroConfig.extends 2023-11-25 22:32:26 +01:00
Ayo
f5ec717fd3 perf(site): compress public assets 2023-11-24 20:59:06 +01:00
Ayo
f5dfdcc0c8 feat(site): defer prism.js in demo page 2023-11-23 06:42:00 +01:00
Ayo
2b0f85c2eb refactor(site): update vanilla observed attribute 2023-11-18 01:55:57 +01:00
Ayo
1c38ec8e1e chore(site, templates): remove console.log 2023-11-18 01:49:23 +01:00
Ayo
84738d6a63 fix(site): demo input not updating correct attrib 2023-11-18 00:55:46 +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
5d4702b1a6 refactor(site): different prop access examples
- HTMLElement.dataset for vanilla
- WebComponent camelCase counterpart for custom base
2023-11-17 20:53:41 +01:00
Ayo
ac1e839ca4 refactor(site, templates): use HTMLElement.dataset 2023-11-17 20:28:59 +01:00
Ayo
b4c7bab3df feat(site, templates): use HTMLElement.dataset 🤗 2023-11-17 19:15:56 +01:00
Ayo
7c7dfa87bb feat(site): fix pages
- absolute path for reset.css
- code-block support for inline
- unique title for pages
2023-11-17 15:24:22 +01:00
Ayo
97935f49e1 fix(site): linear-gradient in oklch not working in firefox 2023-11-12 22:50:34 +01:00
Ayo
18263e1fee refactor(site): use const instead of class prop; 2023-11-12 18:01:07 +01:00
Ayo
635337d973 refactor(site, templates): code-block scoped styles 2023-11-12 17:12:18 +01:00
Ayo
7cd863dc22 refactor(site): proper dom styling logic 2023-11-12 17:02:02 +01:00
Ayo
cb503f7ca3 refactor(core): simpler code-block element 2023-11-12 16:42:23 +01:00
Ayo
93989ac1e5 chore(core): update web-component-base dep 2023-11-12 16:13:15 +01:00
Ayo
93e07d4928 fix(site): escaped quote on demo page 2023-11-10 22:27:39 +01:00
Ayo
cb85e3eafc feat(site): show nested setup object in demo page 2023-11-10 22:26:16 +01:00
Ayo
6b0e0a46f0 feat(core): allow nested objects in setup scripts 2023-11-10 22:19:51 +01:00
Ayo
db95acc488 fix(site): demo warning block not showing textw 2023-11-09 11:49:49 +01:00
Ayo Ayco
17c5b810f9 feat(core): named slots (#21) 2023-11-09 11:35:14 +01:00
Ayo Ayco
72874430a0 style(site): add initial color theme variables 2023-11-09 11:32:41 +01:00