Skip to content

Commit 710b1d4

Browse files
Merge pull request #22 from tomByrer/main
upgrade to Astro3.0
2 parents 6a8145f + 7e4ca93 commit 710b1d4

File tree

6 files changed

+633
-450
lines changed

6 files changed

+633
-450
lines changed

.vscode/settings.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,25 @@
1515
},
1616
"files.associations": {
1717
"*.mdoc": "markdown"
18-
}
18+
},
19+
"workbench.colorCustomizations": {
20+
"activityBar.activeBackground": "#c14c58",
21+
"activityBar.background": "#c14c58",
22+
"activityBar.foreground": "#e7e7e7",
23+
"activityBar.inactiveForeground": "#e7e7e799",
24+
"activityBarBadge.background": "#64c659",
25+
"activityBarBadge.foreground": "#15202b",
26+
"commandCenter.border": "#e7e7e799",
27+
"sash.hoverBorder": "#c14c58",
28+
"statusBar.background": "#a23843",
29+
"statusBar.foreground": "#e7e7e7",
30+
"statusBarItem.hoverBackground": "#c14c58",
31+
"statusBarItem.remoteBackground": "#a23843",
32+
"statusBarItem.remoteForeground": "#e7e7e7",
33+
"titleBar.activeBackground": "#a23843",
34+
"titleBar.activeForeground": "#e7e7e7",
35+
"titleBar.inactiveBackground": "#a2384399",
36+
"titleBar.inactiveForeground": "#e7e7e799"
37+
},
38+
"peacock.color": "#a23843"
1939
}

astro.config.mjs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ export default defineConfig({
2222
}
2323
},
2424
site: 'https://hellotham.github.io',
25-
base: '/hello-astro',
25+
base: '/hello-astro/',
2626
integrations: [tailwind(), sitemap(), mdx(), alpinejs(), robotsTxt(), markdoc()],
2727
experimental: {
28-
viewTransitions: true,
29-
assets: true
3028
},
3129
markdown: {
3230
extendDefaultPlugins: true,
@@ -37,6 +35,7 @@ export default defineConfig({
3735
langs: [],
3836
// Enable word wrap to prevent horizontal scrolling
3937
wrap: true
40-
}
41-
}
38+
},
39+
},
40+
scopedStyleStrategy: "where",
4241
});

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
},
1717
"devDependencies": {
1818
"@akebifiky/remark-simple-plantuml": "^1.0.2",
19-
"@astrojs/alpinejs": "^0.2.2",
20-
"@astrojs/mdx": "^0.19.7",
21-
"@astrojs/sitemap": "^2.0.2",
22-
"@astrojs/tailwind": "^4.0.0",
19+
"@astrojs/alpinejs": "^0.3.0",
20+
"@astrojs/mdx": "^1.0.2",
21+
"@astrojs/sitemap": "^3.0.0",
22+
"@astrojs/tailwind": "^5.0.0",
2323
"@tailwindcss/aspect-ratio": "^0.4.2",
2424
"@tailwindcss/forms": "^0.5.4",
2525
"@tailwindcss/line-clamp": "^0.4.4",
@@ -29,10 +29,10 @@
2929
"@types/photoswipe": "^4.1.2",
3030
"@typescript-eslint/parser": "^6.4.0",
3131
"alpinejs": "^3.12.3",
32-
"astro": "^2.10.9",
33-
"astro-robots-txt": "^0.5.0",
32+
"astro": "^3.0.10",
33+
"astro-robots-txt": "^1.0.0",
3434
"eslint": "^8.47.0",
35-
"eslint-plugin-astro": "^0.28.0",
35+
"eslint-plugin-astro": "^0.29.0",
3636
"eslint-plugin-css": "^0.8.1",
3737
"eslint-plugin-jsx-a11y": "^6.7.1",
3838
"eslint-plugin-markdown": "^3.0.1",
@@ -41,23 +41,23 @@
4141
"mdast-util-to-string": "^4.0.0",
4242
"prettier": "^3.0.2",
4343
"prettier-config-standard": "^7.0.0",
44-
"prettier-plugin-astro": "^0.11.1",
44+
"prettier-plugin-astro": "^0.12.0",
4545
"prettier-plugin-tailwindcss": "^0.5.3",
4646
"reading-time": "^1.5.0",
4747
"rehype-katex": "^6.0.3",
4848
"remark-emoji": "^4.0.0",
4949
"remark-math": "^5.1.1",
5050
"schema-dts": "^1.1.2",
5151
"tailwindcss": "^3.3.3",
52-
"typescript": "~5.1.6",
52+
"typescript": "~5.2.2",
5353
"unist-util-visit": "^5.0.0",
5454
"vite": "^4.4.9"
5555
},
5656
"dependencies": {
57-
"@astrojs/markdoc": "^0.4.4",
58-
"@astrojs/rss": "^2.4.4",
57+
"@astrojs/markdoc": "^0.5.0",
58+
"@astrojs/rss": "^3.0.0",
5959
"astro-icon": "^0.8.1",
60-
"astro-seo": "^0.7.5",
60+
"astro-seo": "^0.8.0",
6161
"hero-patterns": "^2.1.0",
6262
"katex": "^0.16.8",
6363
"leaflet": "^1.9.4",

0 commit comments

Comments
 (0)