astro-accelerator 4.0.39 → 4.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.0.39",
2
+ "version": "4.0.41",
3
3
  "author": "Steve Fenton",
4
4
  "name": "astro-accelerator",
5
5
  "description": "A super-lightweight, accessible, SEO-friendly starter project for Astro",
@@ -32,9 +32,9 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@astrojs/mdx": "^2.3.1",
35
- "astro": "^4.12.2",
36
- "astro-accelerator-utils": "^0.3.10",
37
- "cspell": "^8.12.1",
35
+ "astro": "^4.13.0",
36
+ "astro-accelerator-utils": "^0.3.12",
37
+ "cspell": "^8.13.1",
38
38
  "csv": "^6.3.10",
39
39
  "hast-util-from-selector": "^3.0.0",
40
40
  "html-to-text": "^9.0.5",
@@ -39,7 +39,7 @@ const _ = Lang(lang);
39
39
 
40
40
  // Logic
41
41
  export async function getData() {
42
- const sourcePosts = await Astro.glob('./**/*.md', './**/*.mdx') as MarkdownInstance[];
42
+ const sourcePosts = await Astro.glob('./**/*.md*') as MarkdownInstance[];
43
43
  const posts = sourcePosts
44
44
  .filter(PostFiltering.isListable)
45
45
  .sort(PostOrdering.sortByPubDateDesc);
@@ -59,7 +59,7 @@ type AuthorData = {
59
59
  }
60
60
 
61
61
  export async function getData() {
62
- const sourcePosts = await Astro.glob(['../../**/*.md', '../../**/*.mdx']) satisfies MarkdownInstance[];
62
+ const sourcePosts = await Astro.glob(['../../**/*.md*']) satisfies MarkdownInstance[];
63
63
  const data: AuthorData = { posts: [], authors: []};
64
64
 
65
65
  data.posts = sourcePosts
@@ -49,7 +49,7 @@ type CategoryData = {
49
49
 
50
50
  export async function getData() {
51
51
  // TODO: Replace with call to Posts.all()
52
- const sourcePosts = await Astro.glob(['../../**/*.md', '../../**/*.mdx']) as MarkdownInstance[];
52
+ const sourcePosts = await Astro.glob(['../../**/*.md*']) as MarkdownInstance[];
53
53
 
54
54
  const data: CategoryData = { posts: [], categories: []};
55
55
 
@@ -48,7 +48,7 @@ type CacheData = {
48
48
  }
49
49
 
50
50
  export async function getData() {
51
- const sourcePosts = await Astro.glob(['../../**/*.md', '../../**/*.mdx']) satisfies MarkdownInstance[];
51
+ const sourcePosts = await Astro.glob(['../../**/*.md*']) satisfies MarkdownInstance[];
52
52
 
53
53
  const data: CacheData = { posts: [], tags: []};
54
54