chore: housekeeping (#60)
* chore: remove .build.yml * chore: update attribution
This commit is contained in:
parent
89a4a11a27
commit
6281c1516f
7 changed files with 14 additions and 53 deletions
38
.build.yml
38
.build.yml
|
@ -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
|
|
19
README.md
19
README.md
|
@ -11,7 +11,6 @@
|
||||||
<img src="https://img.shields.io/badge/status-legit-purple?style=flat" />
|
<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>
|
<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>
|
</p>
|
||||||
|
|
||||||
## Why
|
## Why
|
||||||
|
|
||||||
I often wonder what it would look like to build sites & apps knowing just the basics.
|
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 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/)?
|
- 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
|
## 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.
|
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
|
## 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:
|
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 |  |
|
| [`@mcflyjs/config`](https://ayco.io/n/@mcflyjs/config) | Nitro server config for McFly projects |  |
|
||||||
| [`@mcflyjs/core`](https://ayco.io/n/@mcflyjs/core) | Route event and config handlers |  |
|
| [`@mcflyjs/core`](https://ayco.io/n/@mcflyjs/core) | Route event and config handlers |  |
|
||||||
| [`create-mcfly`](https://ayco.io/n/create-mcfly) | Script for scaffolding a new McFly workspace |  |
|
| [`create-mcfly`](https://ayco.io/n/create-mcfly) | Script for scaffolding a new McFly workspace |  |
|
||||||
|
|
||||||
## Project setup
|
## 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.
|
The following commands are available to you on this project. Add more, or modify them as needed in your `./package.json` file.
|
||||||
|
|
||||||
| Command | Action |
|
| Command | Action |
|
||||||
| ----------------------- | ----------------------------------------------------- |
|
| ----------------------- | :---------------------------------------------------- |
|
||||||
| pnpm run site | Start the development server for https://mcfly.js.org |
|
| 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 template:basic | Start the development server for the basic template |
|
||||||
| pnpm run build | Locally generate the app's build files to `./output` |
|
| 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 />
|
*Just keep building.*<br>
|
||||||
_A project by [Ayo Ayco](https://ayo.ayco.io)_
|
*A project by [Ayo](https://ayo.ayco.io)*
|
||||||
|
|
|
@ -85,4 +85,4 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
|
||||||
---
|
---
|
||||||
|
|
||||||
_Just keep building_<br />
|
_Just keep building_<br />
|
||||||
_A project by [Ayo Ayco](https://ayco.io)_
|
_A project by [Ayo](https://ayco.io)_
|
||||||
|
|
|
@ -85,4 +85,4 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
|
||||||
---
|
---
|
||||||
|
|
||||||
_Just keep building_<br />
|
_Just keep building_<br />
|
||||||
_A project by [Ayo Ayco](https://ayco.io)_
|
_A project by [Ayo](https://ayco.io)_
|
||||||
|
|
|
@ -67,4 +67,4 @@ This framework is a result of [an exploration](https://social.ayco.io/@ayo/11119
|
||||||
---
|
---
|
||||||
|
|
||||||
_Just keep building_<br />
|
_Just keep building_<br />
|
||||||
_A project by [Ayo Ayco](https://ayco.io)_
|
_A project by [Ayo](https://ayco.io)_
|
||||||
|
|
|
@ -47,4 +47,4 @@ export default defineConfig({
|
||||||
---
|
---
|
||||||
|
|
||||||
_Just keep building_<br />
|
_Just keep building_<br />
|
||||||
_A project by [Ayo Ayco](https://ayco.io)_
|
_A project by [Ayo](https://ayco.io)_
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<footer style="text-align: right; font-style: italic; padding: 0.5em 1em">
|
<footer style="text-align: right; font-style: italic; padding: 0.5em 1em">
|
||||||
<p>
|
<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>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue