Compare commits

...

16 commits

6 changed files with 5197 additions and 2735 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

3
.husky/post-commit Executable file
View file

@ -0,0 +1,3 @@
echo "post-commit..."
git push gh
git push sh

1
.husky/pre-commit Normal file → Executable file
View file

@ -1 +1,2 @@
echo "pre-commit..."
npx lint-staged npx lint-staged

View file

@ -11,7 +11,8 @@
<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.

View file

@ -19,19 +19,19 @@
"prepare": "husky" "prepare": "husky"
}, },
"devDependencies": { "devDependencies": {
"@eslint/compat": "^1.2.7", "@eslint/compat": "^2.0.2",
"@eslint/js": "^9.23.0", "@eslint/js": "^10.0.1",
"eslint": "^9.23.0", "eslint": "^10.0.1",
"eslint-config-prettier": "^10.1.1", "eslint-config-prettier": "^10.1.8",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.2.3", "eslint-plugin-prettier": "^5.5.5",
"globals": "^16.0.0", "globals": "^17.3.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"netlify-cli": "^19.0.3", "netlify-cli": "^23.15.1",
"prettier": "^3.5.3", "prettier": "^3.8.1",
"tsup": "^8.4.0", "tsup": "^8.5.1",
"typescript": "^5.8.2", "typescript": "^5.9.3",
"vitest": "^3.0.9" "vitest": "^4.0.18"
}, },
"lint-staged": { "lint-staged": {
"*.{js,ts,mjs,cjs,json,.*rc}": [ "*.{js,ts,mjs,cjs,json,.*rc}": [

File diff suppressed because it is too large Load diff