vowel 0.1.38 → 0.1.39

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
4
4
 
5
+ ## [0.1.39](https://github.com/samlfair/vowel/compare/v0.1.38...v0.1.39) (2024-10-17)
6
+
5
7
  ## [0.1.38](https://github.com/samlfair/vowel/compare/v0.1.37...v0.1.38) (2024-10-17)
6
8
 
7
9
  ## [0.1.37](https://github.com/samlfair/vowel/compare/v0.1.36...v0.1.37) (2024-10-17)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vowel",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "homepage": "https://vowel.cc",
5
5
  "author": "Sam Littlefair (https://littlefair.ca)",
6
6
  "repository": {
@@ -11,7 +11,6 @@ export const prerender = true;
11
11
 
12
12
  async function getPublishedData(domain) {
13
13
  try {
14
- console.log({domain})
15
14
  const publishedURL = new URL("/$vowel/published.json", domain)
16
15
  const publishedDataResponse = await fetch(publishedURL.href)
17
16
  const publushedDataJSON = await publishedDataResponse.json()
@@ -31,12 +30,13 @@ export async function GET() {
31
30
  const settingsExists = await checkFileExists(settingsPath);
32
31
  if(settingsExists) {
33
32
  settings = await readMarkdownFile(settingsPath)
34
- console.log({settings})
35
33
  }
36
34
 
37
35
  // Get published articles from live site
38
36
  const publishedData = await getPublishedData(settings.frontmatter.domain)
39
37
 
38
+ console.log({publish: $publish[0]})
39
+
40
40
  if($publish[0]) {
41
41
  const initialCache = await loadCache($home[0]);
42
42