chore: housekeeping (#60)

* chore: remove .build.yml

* chore: update attribution
This commit is contained in:
ayo 2025-06-07 23:33:58 +02:00 committed by GitHub
parent 89a4a11a27
commit 6281c1516f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 53 deletions

View file

@ -1,38 +0,0 @@
image: alpine/edge
packages:
- nodejs
- npm
- pnpm
secrets:
- 34883663-8684-41cb-9920-8e96345ef166
- bbfcb6dc-7c4a-42ee-a11a-022f0339a133
environment:
NETLIFY_SITE_ID: 390b392a-a898-491b-8500-79aa30f724d6
GH_USER: ayoayco
REPO: mcfly
tasks:
- push-mirror: |
cd ~/"${REPO}"
git config --global credential.helper store
git push --mirror "https://github.com/${GH_USER}/${REPO}"
- install-deps: |
cd ~/"${REPO}"
pnpm i --ignore-scripts
- test: |
cd ~/"${REPO}"
npx vitest run
- build: |
cd ~/"${REPO}"
pnpm -F ./packages/core build
pnpm -F ./packages/config build
pnpm -F site i --ignore-scripts
pnpm -F site build
- deploy: |
cd mcfly
{
set +x
. ~/.buildsecrets
set -x
}
export NETLIFY_AUTH_TOKEN
pnpm -F site run deploy

View file

@ -11,7 +11,6 @@
<img src="https://img.shields.io/badge/status-legit-purple?style=flat" />
<a href="https://mcfly.js.org/demo" target="_blank"><img src="https://img.shields.io/badge/see-the_demo_↗-blue?style=flat&colorB=28CF8D" /></a>
</p>
## Why
I often wonder what it would look like to build sites & apps knowing just the basics.
@ -23,7 +22,7 @@ I thought:
- What if I can write [HTML fragments](https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment) and [assemble them](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) easily in a page?
- What if I did not have to worry about the [ever-growing number of ways to have a place on the Web](https://ayos.blog/places-in-the-web/)?
**McFly** is my reimagination of web development: Back to the basics. Into the future.
**McFly** is my reimagination of web development: *Back to the basics. Into the future.*
## Project Status
@ -43,7 +42,7 @@ npm create mcfly@latest
It is primarily a runtime middleware for [Nitro](https://nitro.build). Every time a page is requested, the McFly middleware intercepts and assembles the view for the requestor. McFly does this with the assets it knows about which are mostly: pages, components, public assets.
A plugin system allows for the core functionality to only "lean" on platform. Anything not yet a standard is implemented as a plugin which will be easily "swapped" away when the platform catches up.
The idea is to have a plugin system which allows for the core functionality to only "lean" on web platform features. Anything not yet a standard is implemented as a plugin which will be easily "swapped" away when the platform catches up.
## Features
@ -76,11 +75,11 @@ A plugin system allows for the core functionality to only "lean" on platform. An
The following are the project packages published on the NPM registry:
| Package | Description | Version |
| ------------------------------------------------------ | -------------------------------------------- | ---------------------------------------------------------------- |
| Package | Description | Version |
| :----------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------ |
| [`@mcflyjs/config`](https://ayco.io/n/@mcflyjs/config) | Nitro server config for McFly projects | ![npm version](https://img.shields.io/npm/v/%40mcflyjs%2Fconfig) |
| [`@mcflyjs/core`](https://ayco.io/n/@mcflyjs/core) | Route event and config handlers | ![npm version](https://img.shields.io/npm/v/%40mcflyjs%2Fcore) |
| [`create-mcfly`](https://ayco.io/n/create-mcfly) | Script for scaffolding a new McFly workspace | ![npm version](https://img.shields.io/npm/v/create-mcfly) |
| [`@mcflyjs/core`](https://ayco.io/n/@mcflyjs/core) | Route event and config handlers | ![npm version](https://img.shields.io/npm/v/%40mcflyjs%2Fcore) |
| [`create-mcfly`](https://ayco.io/n/create-mcfly) | Script for scaffolding a new McFly workspace | ![npm version](https://img.shields.io/npm/v/create-mcfly) |
## Project setup
@ -94,7 +93,7 @@ pnpm i
The following commands are available to you on this project. Add more, or modify them as needed in your `./package.json` file.
| Command | Action |
| ----------------------- | ----------------------------------------------------- |
| ----------------------- | :---------------------------------------------------- |
| pnpm run site | Start the development server for https://mcfly.js.org |
| pnpm run template:basic | Start the development server for the basic template |
| pnpm run build | Locally generate the app's build files to `./output` |
@ -108,5 +107,5 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
---
_Just keep building_<br />
_A project by [Ayo Ayco](https://ayo.ayco.io)_
*Just keep building.*<br>
*A project by [Ayo](https://ayo.ayco.io)*

View file

@ -85,4 +85,4 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
---
_Just keep building_<br />
_A project by [Ayo Ayco](https://ayco.io)_
_A project by [Ayo](https://ayco.io)_

View file

@ -85,4 +85,4 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
---
_Just keep building_<br />
_A project by [Ayo Ayco](https://ayco.io)_
_A project by [Ayo](https://ayco.io)_

View file

@ -67,4 +67,4 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
---
_Just keep building_<br />
_A project by [Ayo Ayco](https://ayco.io)_
_A project by [Ayo](https://ayco.io)_

View file

@ -47,4 +47,4 @@ export default defineConfig({
---
_Just keep building_<br />
_A project by [Ayo Ayco](https://ayco.io)_
_A project by [Ayo](https://ayco.io)_

View file

@ -1,5 +1,5 @@
<footer style="text-align: right; font-style: italic; padding: 0.5em 1em">
<p>
<small>A project by <a href="https://ayo.ayco.io">Ayo Ayco</a></small>
<small>A project by <a href="https://ayo.ayco.io">Ayo</a></small>
</p>
</footer>