Compare commits
16 commits
new-conten
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ff600876a1 | |||
| 44b22a9918 | |||
| 4b521a9cf0 | |||
| 48fe85378e | |||
| 9cc18759a1 | |||
| c6e449b26e | |||
| 6c4e139810 | |||
| f72dff3551 | |||
| e15a70770b | |||
| b14b85a96d | |||
| ff584aae95 | |||
| 1ddf5c3fc4 | |||
| 92bf304f4f | |||
| b490eeb353 | |||
| 2d4bbaf8c5 | |||
| 8d464c475a |
6 changed files with 5197 additions and 2735 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
|
|
||||||
3
.husky/post-commit
Executable file
3
.husky/post-commit
Executable file
|
|
@ -0,0 +1,3 @@
|
||||||
|
echo "post-commit..."
|
||||||
|
git push gh
|
||||||
|
git push sh
|
||||||
1
.husky/pre-commit
Normal file → Executable file
1
.husky/pre-commit
Normal file → Executable file
|
|
@ -1 +1,2 @@
|
||||||
|
echo "pre-commit..."
|
||||||
npx lint-staged
|
npx lint-staged
|
||||||
|
|
@ -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.
|
||||||
|
|
||||||
|
|
|
||||||
22
package.json
22
package.json
|
|
@ -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}": [
|
||||||
|
|
|
||||||
7865
pnpm-lock.yaml
7865
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue