From c0e4b4a9a9b295f4aba7b2c5a2e7386ccbbdb74f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 24 Dec 2023 22:25:32 -0500 Subject: [PATCH] refactor: move bridge server to scripts folder --- package.json | 2 +- bridge.mts => scripts/bridge.mts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename bridge.mts => scripts/bridge.mts (92%) diff --git a/package.json b/package.json index e0d2a1a..ee029d4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "generate:css": "sass styles/:app/styles/", "start": "remix-serve ./build/server/index.js", "typecheck": "tsc", - "bridge": "bun run bridge.mts", + "bridge": "bun run scripts/bridge.mts", "postinstall": "patch-package" }, "dependencies": { diff --git a/bridge.mts b/scripts/bridge.mts similarity index 92% rename from bridge.mts rename to scripts/bridge.mts index 09cb8ea..2be4247 100644 --- a/bridge.mts +++ b/scripts/bridge.mts @@ -1,7 +1,7 @@ import { S5Client } from "@lumeweb/s5-js"; import { CID } from "@lumeweb/libs5"; import axios from "axios"; -import { getAvailableSites } from "./app/utils.js"; +import { getAvailableSites } from "app/utils.js"; const sites = getAvailableSites();