Skip to content
Merged
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
78 changes: 75 additions & 3 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,76 @@ import { fileURLToPath } from 'url';
import pagefindIntegration from './src/integrations/pagefind';
import rehypeExternalLinks from './src/utils/rehype-external-links.mjs';

const tablerIcons = [
'alert-circle',
'alert-triangle',
'arrow-back',
'arrow-left',
'arrow-narrow-right',
'arrow-right',
'arrow-up',
'arrow-up-right',
'book',
'brand-apple',
'brand-discord',
'brand-github',
'brand-twitch',
'brand-windows',
'brand-x',
'bug',
'bulb',
'camera',
'chart-dots',
'check',
'checklist',
'chevron-down',
'chevron-right',
'clock-pause',
'code',
'confetti',
'copy',
'cpu',
'database',
'device-desktop',
'device-laptop',
'devices',
'disc',
'download',
'external-link',
'feather',
'file-code',
'file-text',
'folder',
'gauge',
'help-circle',
'home',
'info-circle',
'menu-2',
'network',
'photo',
'player-play',
'pointer',
'question-mark',
'refresh',
'refresh-alert',
'rocket',
'scale',
'search',
'settings',
'shield',
'shield-check',
'shield-lock',
'sparkles',
'speakerphone',
'spy-off',
'test-pipe',
'thumb-up',
'tools',
'users',
'world',
'x',
];

export default defineConfig({
site: 'https://atlasos.net',
output: 'static',
Expand Down Expand Up @@ -73,7 +143,11 @@ export default defineConfig({

integrations: [
partytown(),
icon(),
icon({
include: {
tabler: tablerIcons,
},
}),
mdx({
optimize: true,
}),
Expand All @@ -82,8 +156,6 @@ export default defineConfig({
priority: 0.8,
}),
pagefindIntegration({
rootSelector: '[data-pagefind-body]',
excludeSelectors: ['[data-pagefind-ignore]'],
outputSubdir: 'pagefind',
failOnError: true,
}),
Expand Down
426 changes: 272 additions & 154 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import js from '@eslint/js';
import tseslint from 'typescript-eslint';
import astro from 'eslint-plugin-astro';
import astroParser from 'astro-eslint-parser';
import * as astroParser from 'astro-eslint-parser';
import prettierConfig from 'eslint-config-prettier';

export default [
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
},
"dependencies": {
"@astrojs/markdown-remark": "^7.2.0",
"@astrojs/mdx": "^6.0.3",
"@astrojs/mdx": "^7.0.0",
"@astrojs/partytown": "^2.1.7",
"@astrojs/sitemap": "^3.7.3",
"@cloudflare/puppeteer": "^1.1.0",
"@iconify-json/tabler": "^1.2.35",
"@tailwindcss/vite": "^4.3.1",
"astro": "^6.4.8",
"astro": "^7.0.3",
"astro-icon": "^1.1.5",
"satori": "^0.26.0",
"sharp": "^0.35.1",
"sharp": "^0.35.2",
"tailwindcss": "^4.3.1"
},
"devDependencies": {
Expand All @@ -53,21 +53,21 @@
"@eslint/js": "^10.0.1",
"@tailwindcss/typography": "^0.5.20",
"@types/bun": "^1.3.14",
"@types/node": "^25.9.3",
"@typescript-eslint/eslint-plugin": "^8.61.1",
"@typescript-eslint/parser": "^8.61.1",
"astro-eslint-parser": "^1.4.0",
"@types/node": "^26.0.1",
"@typescript-eslint/eslint-plugin": "^8.62.0",
"@typescript-eslint/parser": "^8.62.0",
"astro-eslint-parser": "^2.1.0",
"eslint": "^10.5.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-astro": "^1.7.0",
"eslint-plugin-astro": "^2.1.1",
"lightningcss": "^1.32.0",
"pagefind": "^1.5.2",
"prettier": "^3.8.4",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-astro-organize-imports": "^0.4.12",
"prettier-plugin-tailwindcss": "^0.8.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.61.1",
"wrangler": "^4.101.0"
"typescript-eslint": "^8.62.0",
"wrangler": "^4.105.0"
}
}
Loading
Loading