Skip to content

Commit a0f0464

Browse files
Merge pull request #4 from hellotham/fix-url
Upgrade to astro v2.x
2 parents 872c426 + dda375f commit a0f0464

File tree

5 files changed

+786
-1112
lines changed

5 files changed

+786
-1112
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,5 @@ All commands are run from the root of the project, from a terminal:
123123

124124
- 1.0.0: Initial Release
125125
- 1.0.1: Moved social images to src, improved coverImage processing
126-
- 1.0.2: Upgrade packages to latest
126+
- 1.0.2: Upgrade packages to latest
127+
- 1.1.0: Update to astro v2.x, now works with node 18 and 19

package.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -14,38 +14,38 @@
1414
"devDependencies": {
1515
"@akebifiky/remark-simple-plantuml": "^1.0.2",
1616
"@astrojs/alpinejs": "^0.1.2",
17-
"@astrojs/image": "^0.10.0",
18-
"@astrojs/mdx": "^0.11.4",
17+
"@astrojs/image": "^0.13.0",
18+
"@astrojs/mdx": "^0.15.0",
1919
"@astrojs/sitemap": "^1.0.0",
20-
"@astrojs/tailwind": "^2.1.1",
20+
"@astrojs/tailwind": "^3.0.0",
2121
"@tailwindcss/aspect-ratio": "^0.4.2",
2222
"@tailwindcss/forms": "^0.5.3",
2323
"@tailwindcss/line-clamp": "^0.4.2",
24-
"@tailwindcss/typography": "^0.5.7",
25-
"@types/alpinejs": "^3.0.0",
24+
"@tailwindcss/typography": "^0.5.9",
25+
"@types/alpinejs": "^3.7.1",
2626
"@types/leaflet": "^1.9.0",
27-
"alpinejs": "^3.10.4",
28-
"astro": "1.5.2",
29-
"astro-robots-txt": "^0.3.10",
27+
"alpinejs": "^3.11.1",
28+
"astro": "2.0.1",
29+
"astro-robots-txt": "^0.3.11",
3030
"exifr": "^7.1.3",
31-
"mdast-util-to-string": "^3.1.0",
32-
"prettier-plugin-astro": "^0.6.0",
31+
"mdast-util-to-string": "^3.1.1",
32+
"prettier-plugin-astro": "^0.7.2",
3333
"reading-time": "^1.5.0",
3434
"rehype-katex": "^6.0.2",
3535
"remark-math": "^5.1.1",
3636
"schema-dts": "^1.1.0",
37-
"tailwindcss": "^3.2.1",
38-
"unist-util-visit": "^4.1.1"
37+
"tailwindcss": "^3.2.4",
38+
"unist-util-visit": "^4.1.2"
3939
},
4040
"dependencies": {
41-
"@astrojs/rss": "^1.0.2",
42-
"astro-icon": "^0.7.3",
43-
"astro-seo": "^0.6.0",
41+
"@astrojs/rss": "^2.1.0",
42+
"astro-icon": "^0.8.0",
43+
"astro-seo": "^0.7.0",
4444
"hero-patterns": "^2.1.0",
45-
"katex": "^0.16.2",
46-
"leaflet": "^1.9.2",
45+
"katex": "^0.16.4",
46+
"leaflet": "^1.9.3",
4747
"lunr": "^2.3.9",
48-
"photoswipe": "^5.3.2",
48+
"photoswipe": "^5.3.4",
4949
"photoswipe-dynamic-caption-plugin": "^1.2.7"
5050
}
5151
}

src/pages/author/[author]/[...page].astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import type { MarkdownInstance, PaginateFunction, Page } from 'astro'
3-
import { DefaultAuthor, Frontmatter , SiteMetadata, authorDetail, PAGE_SIZE } from '../../../config'
3+
import { Frontmatter , SiteMetadata, authorDetail, PAGE_SIZE } from '../../../config'
44
import Base from '../../../layouts/base.astro'
55
import Img from '../../../components/img.astro'
66
import PageHero from '../../../components/pagehero.astro'

src/pages/blog/2022-08-28-roadmap.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: ../../layouts/blog.astro
33
title: Roadmap
44
description: List of features to be considered for future versions of this starter.
55
author: Chris Tham
6-
publishDate: 2022-08-28T00:00:00.000Z
6+
publishDate: 2023-01-26T00:00:00.000Z
77
coverSVG: ../svg/undraw/undraw_scrum_board.svg
88
socialImage: ../images/undraw/undraw_scrum_board.png
99
categories:
@@ -17,6 +17,7 @@ tags:
1717
The following are some potential features that are being considered as enhancements to this starter. Please consider [sponsoring](https://github.com/sponsors/hellotham) us if these features are important to you and you would like them to be implemented sooner. Alternately, if you want to implement any of these features, please let us know and we will be happy to support you!
1818

1919
- Automatic optimization of images in Markdown/MDX posts
20+
- Use Astro collections
2021

2122
Current issues:
2223

0 commit comments

Comments
 (0)