diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 60b97cfc3..8ae1102f3 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -97,7 +97,7 @@ jobs: uses: actions/checkout@v3 with: repository: NotEnoughUpdates/NotEnoughUpdates-REPO - path: src/lib/constants/NotEnoughUpdates-REPO/items + path: src/lib/server/constants/NotEnoughUpdates-REPO/ token: ${{ secrets.GITHUB_TOKEN }} - name: PNPM Install diff --git a/.gitmodules b/.gitmodules index 5ed9afa61..183a6ea17 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "src/lib/constants/NotEnoughUpdates-REPO"] - path = src/lib/constants/NotEnoughUpdates-REPO +[submodule "src/lib/constants/server/NotEnoughUpdates-REPO"] + path = src/lib/constants/server/NotEnoughUpdates-REPO url = https://github.com/NotEnoughUpdates/NotEnoughUpdates-REPO diff --git a/src/hooks.server.ts b/src/hooks.server.ts index a1376ca8a..bd627255e 100644 --- a/src/hooks.server.ts +++ b/src/hooks.server.ts @@ -1,11 +1,11 @@ -import { startMongo } from "./lib/server/db/mongo"; -import { startRedis } from "./lib/server/db/redis"; import { init } from "$lib/custom_resources"; -import { parseNEURepository } from "$lib/scripts/parseNEURepository"; -import { updateNotEnoughUpdatesRepository } from "$lib/scripts/updateNEURepository"; -import { getPrices } from "skyhelper-networth"; -import { updateItems } from "$lib/server/constants/update-items"; import { updateCollections } from "$lib/server/constants/update-collections"; +import { updateItems } from "$lib/server/constants/update-items"; +import { parseNEURepository } from "$lib/server/helper/NotEnoughUpdates/parseNEURepository"; +import { updateNotEnoughUpdatesRepository } from "$lib/server/helper/NotEnoughUpdates/updateNEURepository"; +import { getPrices } from "skyhelper-networth"; +import { startMongo } from "./lib/server/db/mongo"; +import { startRedis } from "./lib/server/db/redis"; init(); diff --git a/src/lib/components/AdditionStat.svelte b/src/lib/components/AdditionStat.svelte index f56bf7fd7..77e6e87c2 100644 --- a/src/lib/components/AdditionStat.svelte +++ b/src/lib/components/AdditionStat.svelte @@ -1,6 +1,6 @@