Commit graph

48 commits

Author SHA1 Message Date
280e2f6150 chore(create-mcfly, config): migrate to typescript
- initial migration before we do the core
2025-02-28 21:50:28 +01:00
b5b08dbe55 chore: revert only-allow & pnpm removal 2025-01-14 20:32:56 +01:00
0c5e8435e6 chore: try to remove only allow for now 2025-01-14 20:29:40 +01:00
0bc718a81f chore: try build & deploy 2025-01-09 21:26:45 +01:00
608f4f80e8 chore: run deploy from root 2025-01-09 21:16:09 +01:00
8d41b411ae chore: set up auto deploy from sr.ht to netlify 2025-01-09 19:57:10 +01:00
c5db814387 chore: fix root pkg 2025-01-08 23:29:17 +01:00
879fe3d988 chore: update site workspace filters 2025-01-08 21:49:32 +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
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
a36d622634 chore: update eslint action & eslint-prettier config for endOfLine 2024-12-29 00:23:56 +01:00
0807640462 chore: add eslint-plugin-prettier 2024-12-27 23:10:41 +01:00
9e26b4015f chore: remove .astro type for lint-staged config 2024-12-27 22:01:03 +01:00
03f7119f65 chore: test precommit 2024-12-27 21:48:23 +01:00
7a61d3e7c8 chore: add check script & use in precommit 2024-12-27 16:54:43 +01:00
7d1de4481f chore: use .gitignore patterns in eslint ignores 2024-12-27 14:44:28 +01:00
e9bf384e2f chore: update prettier ignore 2024-12-26 00:34:32 +01:00
058d720b11 chore(deps): add vitest to root 2024-12-19 23:37:25 +01:00
9e1b9d1328 chore: use .mjs config files 2024-12-19 23:15:23 +01:00
a362adab90 chore: set up prettier 2024-12-19 23:10:55 +01:00
5a4f8b9b30 chore: set up husky 2024-12-19 23:07:49 +01:00
49c8f00a1e chore: set up eslint 2024-12-19 22:57:44 +01:00
a60b7412df chore: remove patch:all script 2024-12-08 21:18:28 +01:00
17f631baaf test(cli): main subcommands list 2024-12-08 19:54:23 +01:00
Ayo Ayco
56592bdeef
test(cli): add tests for cli commands (#37)
* chore(cli): add vitest & add test script

* chore: add test:cli script

* test(cli): initial tests for build command

* chore(cli): add nitropack as devDepencency for tests

* chore(cli): add vitest config

* test(cli): add tests for build command

* test(cli): add tests for new command
2024-12-07 02:44:38 +01:00
Ayo
2f4a22ac8d chore: migrate to pnpm 2024-03-09 21:23:06 +01:00
Ayo
12c7c7d651 chore(core): update WebComonent to v1.13.2 2023-11-23 22:24:33 +01:00
Ayo
9c7cd8c43c feat(cli): declare global class 2023-10-26 22:13:40 +02:00
Ayo
27237f7e9f chore(packages): esm all-the-way 2023-10-26 21:38:30 +02:00
Ayo
4ac710ca69 feat(cli): initial cli package 2023-10-25 21:50:25 +02:00
Ayo
9f59da48b1 chore(packages): add licenses 2023-10-22 18:02:08 +02:00
Ayo
5095f504e7 feat(create-mcfly): install deps & init git 2023-10-22 17:32:36 +02:00
Ayo
2a1edda533 chore: move app to site 2023-10-21 16:42:17 +02:00
Ayo
fb8192f367 fix(core): use mcfly config in eventHandler 2023-10-21 15:56:36 +02:00
Ayo
f7a41de130 chore(landing-page): move all deps to app workspace 2023-10-21 14:06:41 +02:00
Ayo
fa4711031c feat(templates): add content to basic template 2023-10-21 13:47:02 +02:00
Ayo
d87a4260e3 feat: initial packages @mcflyjs/core, @templates/basic 2023-10-21 13:32:22 +02:00
Ayo
5603e3a5ee feat(create-mcfly): initial script 2023-10-21 08:24:15 +02:00
Ayo
68f155848d always use nitropack@latest 2023-10-21 07:57:49 +02:00
Ayo
8ae570a44f publish @mcflyjs/config 2023-10-21 07:56:59 +02:00
Ayo
2385aafb62 use nitro config extends mcfly 2023-10-21 07:41:27 +02:00
Ayo
3b246cb711 feat: parseScript to get variables 2023-10-10 22:42:43 +02:00
Ayo
9608cb6f56 feat: really crude server:setup logic 2023-10-10 17:49:50 +02:00
Ayo
3b0f3a9a7c test if no copying 2023-10-08 09:15:10 +02:00
Ayo
0e4bc2e8fa chore(deps): remove fs 2023-10-08 04:16:54 +02:00
Ayo
f6ed8ead7b feat: use pages directory for custom server assets 2023-10-07 23:51:40 +02:00
Ayo
6d9a3f2847 feat: enable file-based pages 2023-10-07 22:38:35 +02:00
Ayo
c1266ed75b initial commit 2023-10-07 20:06:23 +02:00