Skip to content

Commit 59cee5f

Browse files
committed
Sync branch 'master' into create-blog
2 parents df8a2d2 + 77e91a5 commit 59cee5f

7 files changed

Lines changed: 118 additions & 26 deletions

File tree

.github/workflows/check.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Type Check
2+
on:
3+
pull_request:
4+
branches: [master]
5+
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}
8+
cancel-in-progress: true
9+
10+
jobs:
11+
typecheck:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 18
19+
cache: "npm"
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run type check
25+
run: npm run check

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33

44
### MacOS ###
55
.DS_Store
6+
7+
### Node.js ###
8+
node_modules/

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Luis Victoria
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Makefile

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ _Repository hosting my personal blog: [luis.vi](https://luis.vi/)_
44
It follows the [Plain Vanilla Web guildelines](https://plainvanillaweb.com/pages/sites.html).
55

66
## Pre-requisites
7-
- `make` for running the `Makefile`
7+
- `npm` for managing dependencies and building the project
88
- `python3` for HTTP server and for running scripts
9-
- `typescript` for type checking `*.js` files

package-lock.json

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "lv.github.io",
3+
"version": "0.1.0",
4+
"description": "My personal blog: luis.vi",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "python3 -m http.server -d public",
8+
"serve": "python3 -m http.server -d public",
9+
"check": "tsc --pretty",
10+
"feedgen": "python3 scripts/feedgen.py",
11+
"build": "npm run check && npm run feedgen"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "git+https://github.com/LV/lv.github.io.git"
16+
},
17+
"keywords": [
18+
"blog",
19+
"personal-website",
20+
"static-site",
21+
"plain-vanilla-web"
22+
],
23+
"author": "Luis Victoria",
24+
"license": "MIT",
25+
"bugs": {
26+
"url": "https://github.com/LV/lv.github.io/issues"
27+
},
28+
"homepage": "https://luis.vi",
29+
"devDependencies": {
30+
"typescript": "^5.0.0"
31+
},
32+
"engines": {
33+
"node": ">=16.0.0"
34+
}
35+
}

0 commit comments

Comments
 (0)