Skip to content

Commit 3d5cd5a

Browse files
authored
Merge pull request #12 from Atlas-OS/jacksyrm/modernize-package-integrations
Modernize package integrations
2 parents 3e244eb + 67668e2 commit 3d5cd5a

11 files changed

Lines changed: 857 additions & 422 deletions

File tree

astro.config.mjs

Lines changed: 75 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,76 @@ import { fileURLToPath } from 'url';
1010
import pagefindIntegration from './src/integrations/pagefind';
1111
import rehypeExternalLinks from './src/utils/rehype-external-links.mjs';
1212

13+
const tablerIcons = [
14+
'alert-circle',
15+
'alert-triangle',
16+
'arrow-back',
17+
'arrow-left',
18+
'arrow-narrow-right',
19+
'arrow-right',
20+
'arrow-up',
21+
'arrow-up-right',
22+
'book',
23+
'brand-apple',
24+
'brand-discord',
25+
'brand-github',
26+
'brand-twitch',
27+
'brand-windows',
28+
'brand-x',
29+
'bug',
30+
'bulb',
31+
'camera',
32+
'chart-dots',
33+
'check',
34+
'checklist',
35+
'chevron-down',
36+
'chevron-right',
37+
'clock-pause',
38+
'code',
39+
'confetti',
40+
'copy',
41+
'cpu',
42+
'database',
43+
'device-desktop',
44+
'device-laptop',
45+
'devices',
46+
'disc',
47+
'download',
48+
'external-link',
49+
'feather',
50+
'file-code',
51+
'file-text',
52+
'folder',
53+
'gauge',
54+
'help-circle',
55+
'home',
56+
'info-circle',
57+
'menu-2',
58+
'network',
59+
'photo',
60+
'player-play',
61+
'pointer',
62+
'question-mark',
63+
'refresh',
64+
'refresh-alert',
65+
'rocket',
66+
'scale',
67+
'search',
68+
'settings',
69+
'shield',
70+
'shield-check',
71+
'shield-lock',
72+
'sparkles',
73+
'speakerphone',
74+
'spy-off',
75+
'test-pipe',
76+
'thumb-up',
77+
'tools',
78+
'users',
79+
'world',
80+
'x',
81+
];
82+
1383
export default defineConfig({
1484
site: 'https://atlasos.net',
1585
output: 'static',
@@ -73,7 +143,11 @@ export default defineConfig({
73143

74144
integrations: [
75145
partytown(),
76-
icon(),
146+
icon({
147+
include: {
148+
tabler: tablerIcons,
149+
},
150+
}),
77151
mdx({
78152
optimize: true,
79153
}),
@@ -82,8 +156,6 @@ export default defineConfig({
82156
priority: 0.8,
83157
}),
84158
pagefindIntegration({
85-
rootSelector: '[data-pagefind-body]',
86-
excludeSelectors: ['[data-pagefind-ignore]'],
87159
outputSubdir: 'pagefind',
88160
failOnError: true,
89161
}),

bun.lock

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

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import js from '@eslint/js';
22
import tseslint from 'typescript-eslint';
33
import astro from 'eslint-plugin-astro';
4-
import astroParser from 'astro-eslint-parser';
4+
import * as astroParser from 'astro-eslint-parser';
55
import prettierConfig from 'eslint-config-prettier';
66

77
export default [

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
},
3636
"dependencies": {
3737
"@astrojs/markdown-remark": "^7.2.0",
38-
"@astrojs/mdx": "^6.0.3",
38+
"@astrojs/mdx": "^7.0.0",
3939
"@astrojs/partytown": "^2.1.7",
4040
"@astrojs/sitemap": "^3.7.3",
4141
"@cloudflare/puppeteer": "^1.1.0",
4242
"@iconify-json/tabler": "^1.2.35",
4343
"@tailwindcss/vite": "^4.3.1",
44-
"astro": "^6.4.8",
44+
"astro": "^7.0.3",
4545
"astro-icon": "^1.1.5",
4646
"satori": "^0.26.0",
47-
"sharp": "^0.35.1",
47+
"sharp": "^0.35.2",
4848
"tailwindcss": "^4.3.1"
4949
},
5050
"devDependencies": {
@@ -53,21 +53,21 @@
5353
"@eslint/js": "^10.0.1",
5454
"@tailwindcss/typography": "^0.5.20",
5555
"@types/bun": "^1.3.14",
56-
"@types/node": "^25.9.3",
57-
"@typescript-eslint/eslint-plugin": "^8.61.1",
58-
"@typescript-eslint/parser": "^8.61.1",
59-
"astro-eslint-parser": "^1.4.0",
56+
"@types/node": "^26.0.1",
57+
"@typescript-eslint/eslint-plugin": "^8.62.0",
58+
"@typescript-eslint/parser": "^8.62.0",
59+
"astro-eslint-parser": "^2.1.0",
6060
"eslint": "^10.5.0",
6161
"eslint-config-prettier": "^10.1.8",
62-
"eslint-plugin-astro": "^1.7.0",
62+
"eslint-plugin-astro": "^2.1.1",
6363
"lightningcss": "^1.32.0",
6464
"pagefind": "^1.5.2",
6565
"prettier": "^3.8.4",
6666
"prettier-plugin-astro": "^0.14.1",
6767
"prettier-plugin-astro-organize-imports": "^0.4.12",
6868
"prettier-plugin-tailwindcss": "^0.8.0",
6969
"typescript": "^6.0.3",
70-
"typescript-eslint": "^8.61.1",
71-
"wrangler": "^4.101.0"
70+
"typescript-eslint": "^8.62.0",
71+
"wrangler": "^4.105.0"
7272
}
7373
}

0 commit comments

Comments
 (0)