Skip to content

Commit 91707a5

Browse files
committed
24.0 RC2
[general] - migrate to cloudflare pages - upload and use assets from R2 [projects] - new project: packages - new minor project: starlined [til] - fix description generation
1 parent a6781e9 commit 91707a5

18 files changed

Lines changed: 2483 additions & 203 deletions

File tree

‎.eleventy.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module.exports = function (eleventyConfig) {
2424
});
2525

2626
eleventyConfig.addPassthroughCopy("./src/static/js"); // css is compiled by sass
27-
eleventyConfig.addPassthroughCopy("./assets");
28-
eleventyConfig.addPassthroughCopy("**.json");
27+
eleventyConfig.addPassthroughCopy("./assets"); // solo favicon, todo lo demás desde r2
28+
eleventyConfig.addPassthroughCopy("./src/content/data/*.json"); // solo json de contenido
2929

3030
eleventyConfig.setQuietMode(true); // suppresses the "Writing" log message
3131
eleventyConfig.setDataFileSuffixes([".data", ""]);

‎.env.example‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Cloudflare R2 Configuration (for uploading assets)
2+
R2_ACCOUNT_ID=your_account_id
3+
R2_ACCESS_KEY_ID=your_access_key_id
4+
R2_SECRET_ACCESS_KEY=your_secret_access_key
5+
R2_BUCKET_NAME=mier-info-assets

‎.firebaserc‎

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

‎.github/workflows/codeql.yml‎

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

‎.github/workflows/deploy-merge.yml‎

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

‎.github/workflows/deploy-pull-request.yml‎

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

‎.gitignore‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
node_modules
22
_site
3-
.firebase
4-
target
5-
firebase-debug.log
6-
**.report.html
73
.vscode
4+
**.report.html
85
changelog.json
6+
.env
7+
.dev.vars
8+
.wrangler
9+
r2-assets-mapping.json
10+
.firebase

‎README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# [mier.info](https://mier.info)
2+
23
personal portfolio built with eleventy.
34

45
### [see more](https://mier.info/mier.info/)

‎build-changelog.rb‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# encoding: utf-8
2+
# frozen_string_literal: true
3+
14
class Commit
25
attr_accessor :message, :date, :version, :title, :hash, :author, :body
36

@@ -43,7 +46,7 @@ def log(msg)
4346
start = Time.now
4447

4548
branch = `git rev-parse --abbrev-ref HEAD`.strip
46-
raw = `git log origin/#{branch} --pretty=format:"%B||%ad||%H||%an#{delim}" --date=short`
49+
raw = `git log #{branch} --pretty=format:"%B||%ad||%H||%an#{delim}" --date=short`.force_encoding('UTF-8')
4750
log("found #{raw.split(delim).length} commits")
4851

4952
commits = []

‎firebase.json‎

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

0 commit comments

Comments
 (0)