Skip to content

Commit

Permalink
✨ Update tooling and configure CI
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiorivera committed Jan 27, 2024
1 parent 8be73d3 commit 15c60d9
Show file tree
Hide file tree
Showing 18 changed files with 112 additions and 4,475 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 🚨 Check Quality and Types

on:
push:

jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
- name: 🏗️ Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- name: 🎨 Run Biome
run: biome ci src
- name: 🏗️ Setup Bun
uses: oven-sh/setup-bun@v1
- name: 📦 Install Dependencies
run: bun install
- name: 🏷️ Check Types
run: bun typecheck
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
package.json
package-lock.json
pnpm-lock.yaml
bun.lockb
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Next.js Server",
"type": "node-terminal",
"request": "launch",
"command": "pnpm dev"
"command": "bun dev"
}
]
}
12 changes: 12 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
Binary file added bun.lockb
Binary file not shown.
6 changes: 6 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@ module.exports = {
images: {
domains: ["picsum.photos"],
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
};
90 changes: 42 additions & 48 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,44 @@
{
"name": "claudiorivera-com",
"private": true,
"description": "My website",
"version": "2.1.0",
"packageManager": "pnpm@8.14.3",
"dependencies": {
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.3",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.11.0",
"@fontsource/eb-garamond": "5.0.16",
"@fontsource/inter": "5.0.16",
"@fontsource/roboto": "5.0.8",
"@mui/icons-material": "5.15.6",
"@mui/material": "5.15.6",
"@vercel/analytics": "1.1.2",
"clsx": "2.1.0",
"dayjs": "1.11.10",
"gray-matter": "4.0.3",
"next": "14.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"remark": "14.0.3",
"remark-html": "15.0.2",
"remark-prism": "1.3.6",
"sharp": "0.33.2"
},
"devDependencies": {
"@types/node": "20.11.7",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@types/remark-prism": "1.3.7",
"eslint": "8.56.0",
"eslint-config-next": "14.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-simple-import-sort": "10.0.0",
"eslint-plugin-unused-imports": "3.0.0",
"prettier": "3.2.4",
"typescript": "5.1.6"
},
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "prettier --write ."
}
"name": "claudiorivera-com",
"private": true,
"description": "My website",
"version": "2.1.0",
"dependencies": {
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.3",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.11.0",
"@fontsource/eb-garamond": "5.0.16",
"@fontsource/inter": "5.0.16",
"@fontsource/roboto": "5.0.8",
"@mui/icons-material": "5.15.6",
"@mui/material": "5.15.6",
"@vercel/analytics": "1.1.2",
"clsx": "2.1.0",
"dayjs": "1.11.10",
"gray-matter": "4.0.3",
"next": "14.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"remark": "14.0.3",
"remark-html": "15.0.2",
"remark-prism": "1.3.6",
"sharp": "0.33.2"
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@types/node": "20.11.7",
"@types/react": "18.2.48",
"@types/react-dom": "18.2.18",
"@types/remark-prism": "1.3.7",
"typescript": "5.1.6"
},
"license": "MIT",
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"check:fix": "bunx @biomejs/biome check --apply src",
"typecheck": "tsc --noEmit"
}
}
Loading

0 comments on commit 15c60d9

Please sign in to comment.