Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trunk is slowing down the project #173

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 3 additions & 61 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,git,zsh,visualstudiocode,node,astro
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,git,zsh,visualstudiocode,node,astro
# Created by https://www.toptal.com/developers/gitignore/api/linux,git,zsh,visualstudiocode,node,astro
# Edit at https://www.toptal.com/developers/gitignore?templates=linux,git,zsh,visualstudiocode,node,astro

### Astro ###
# Gitignore template for Astro projects
Expand Down Expand Up @@ -36,38 +36,6 @@
# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### macOS Patch ###
# iCloud generated files
*.icloud

### Node ###
# Logs
logs
Expand Down Expand Up @@ -227,32 +195,6 @@ dist
.history
.ionide

### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

### Zsh ###
# Zsh compiled script + zrecompile backup
*.zwc
Expand Down Expand Up @@ -289,5 +231,5 @@ zsdoc/data
/tests/_output/*
!/tests/_output/.gitkeep

# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,git,zsh,visualstudiocode,node,astro
# End of https://www.toptal.com/developers/gitignore/api/linux,git,zsh,visualstudiocode,node,astro
.pnpm-store
2 changes: 0 additions & 2 deletions .trunk/configs/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// @ts-check

// import effect from "@effect/eslint-plugin";
import js from "@eslint/js";
import astro from "eslint-plugin-astro";
import * as mdx from "eslint-plugin-mdx";
Expand All @@ -16,7 +15,6 @@ export default ts.config(
...tailwind.configs["flat/recommended"],
...astro.configs.recommended,
...astro.configs["jsx-a11y-strict"],
// ...effect.configs.recommended,
{
languageOptions: {
globals: {
Expand Down
13 changes: 1 addition & 12 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import sectionize from "@hbsnow/rehype-sectionize";
import icon from "astro-icon";
import pagefind from "astro-pagefind";
import { defineConfig } from "astro/config";

export default defineConfig({
site: "https://rockthejvm.com",
trailingSlash: "never",
build: {
format: "file",
},
integrations: [
icon({
include: {
Expand All @@ -24,7 +19,7 @@ export default defineConfig({
"youtube",
],
"fa6-solid": ["caret-up", "house", "table-list", "rss"],
heroicons: ["computer-desktop", "magnifying-glass", "moon", "sun"],
heroicons: ["computer-desktop", "moon", "sun"],
},
}),
mdx(),
Expand All @@ -34,7 +29,6 @@ export default defineConfig({
}),
react(),
sitemap(),
pagefind(), // Should be last
],
markdown: {
remarkPlugins: [],
Expand All @@ -57,11 +51,6 @@ export default defineConfig({
"/p/privacy": "/legal/privacy",
"/p/team-pack": "/memberships",
"/p/terms": "/legal/terms",
"/black-friday-2024": "/black-friday",
"/black-friday": {
status: 302,
destination: "/",
},
// Courses
"/p/advanced-kotlin": "/courses/advanced-kotlin",
"/p/advanced-scala": "/courses/advanced-scala",
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.9",
"@types/react-dom": "^18.3.0",
"astro": "^4.16.18",
"astro": "^4.15.6",
"astro-embed": "^0.7.2",
"astro-icon": "^1.1.1",
"astro-pagefind": "^1.6.0",
"effect": "^3.10.13",
"fp-ts": "^2.16.9",
"mdast-util-to-string": "^4.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -39,7 +36,6 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241022.0",
"@effect/eslint-plugin": "^0.2.0",
"@eslint/js": "^9.10.0",
"@fec/remark-a11y-emoji": "^4.0.2",
"@hbsnow/rehype-sectionize": "^1.0.7",
Expand Down
Loading