From 02dc9dfa9eb760322f63e9e3dd2af2dd254e2e82 Mon Sep 17 00:00:00 2001
From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
Date: Mon, 18 Dec 2023 12:37:05 +1100
Subject: [PATCH] chore: Move `pageList.ts` to lib (#525)
---
src/{routes => lib}/pageList.ts | 0
src/routes/events/+page.ts | 4 ++--
src/routes/recipes/+layout.ts | 4 ++--
src/routes/recipes/stores/+page.svx | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
rename src/{routes => lib}/pageList.ts (100%)
diff --git a/src/routes/pageList.ts b/src/lib/pageList.ts
similarity index 100%
rename from src/routes/pageList.ts
rename to src/lib/pageList.ts
diff --git a/src/routes/events/+page.ts b/src/routes/events/+page.ts
index 44dca6ea0..bd2829d55 100644
--- a/src/routes/events/+page.ts
+++ b/src/routes/events/+page.ts
@@ -1,6 +1,6 @@
import { error } from '@sveltejs/kit';
-import { getPages } from '../pageList';
-import type { SvxMetadata } from '../pageList';
+import { getPages } from '$lib/pageList';
+import type { SvxMetadata } from '$lib/pageList';
import type { EventMetadata } from '$lib/Mdsvx';
export async function load() {
diff --git a/src/routes/recipes/+layout.ts b/src/routes/recipes/+layout.ts
index e854cb233..14ab9be41 100644
--- a/src/routes/recipes/+layout.ts
+++ b/src/routes/recipes/+layout.ts
@@ -1,7 +1,7 @@
import { error } from '@sveltejs/kit';
import '$styles/highlight.css';
-import { getPages } from '../pageList';
-import type { SvxMetadata } from '../pageList';
+import { getPages } from '$lib/pageList';
+import type { SvxMetadata } from '$lib/pageList';
import type { RecipeMetadata } from '$lib/Mdsvx';
export async function load() {
diff --git a/src/routes/recipes/stores/+page.svx b/src/routes/recipes/stores/+page.svx
index 46ed5f5f7..ff1769a22 100644
--- a/src/routes/recipes/stores/+page.svx
+++ b/src/routes/recipes/stores/+page.svx
@@ -6,7 +6,7 @@ published: 2021-06-14T11:30:41-07:00
updated: 2023-01-27T20:05:46-08:00
---
-
+
## This needs to be re-organised into separate recipes