From 667cd64f3b898ba5ff082352e9ed3026fb96e0a3 Mon Sep 17 00:00:00 2001 From: Zack Rauen Date: Wed, 27 Sep 2023 16:28:08 -0400 Subject: [PATCH] Rename main to scripts --- scripts/build.ts | 2 +- src/{main => scripts}/fixes/activelink.ts | 0 src/{main => scripts}/fixes/externallinks.ts | 0 src/{main => scripts}/fixes/submenu.ts | 0 src/{main => scripts}/fixes/tableheaders.ts | 0 src/{main => scripts}/index.ts | 0 src/{main => scripts}/navigation/breadcrumbs.ts | 0 src/{main => scripts}/navigation/sidenav.ts | 0 src/{main => scripts}/navigation/toc.ts | 0 src/{main => scripts}/other/highlight.ts | 0 src/{main => scripts}/other/mobile.ts | 0 src/{main => scripts}/other/swagger.ts | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename src/{main => scripts}/fixes/activelink.ts (100%) rename src/{main => scripts}/fixes/externallinks.ts (100%) rename src/{main => scripts}/fixes/submenu.ts (100%) rename src/{main => scripts}/fixes/tableheaders.ts (100%) rename src/{main => scripts}/index.ts (100%) rename src/{main => scripts}/navigation/breadcrumbs.ts (100%) rename src/{main => scripts}/navigation/sidenav.ts (100%) rename src/{main => scripts}/navigation/toc.ts (100%) rename src/{main => scripts}/other/highlight.ts (100%) rename src/{main => scripts}/other/mobile.ts (100%) rename src/{main => scripts}/other/swagger.ts (100%) diff --git a/scripts/build.ts b/scripts/build.ts index 4591c6db3..ad74c7a11 100644 --- a/scripts/build.ts +++ b/scripts/build.ts @@ -19,7 +19,7 @@ dotenv.config(); if (process.env.TRILIUM_ETAPI_TOKEN) tepi.token(process.env.TRILIUM_ETAPI_TOKEN); const bundleMap = { - "main.js": process.env.JS_NOTE_ID, + "scripts.js": process.env.JS_NOTE_ID, "styles.css": process.env.CSS_NOTE_ID }; diff --git a/src/main/fixes/activelink.ts b/src/scripts/fixes/activelink.ts similarity index 100% rename from src/main/fixes/activelink.ts rename to src/scripts/fixes/activelink.ts diff --git a/src/main/fixes/externallinks.ts b/src/scripts/fixes/externallinks.ts similarity index 100% rename from src/main/fixes/externallinks.ts rename to src/scripts/fixes/externallinks.ts diff --git a/src/main/fixes/submenu.ts b/src/scripts/fixes/submenu.ts similarity index 100% rename from src/main/fixes/submenu.ts rename to src/scripts/fixes/submenu.ts diff --git a/src/main/fixes/tableheaders.ts b/src/scripts/fixes/tableheaders.ts similarity index 100% rename from src/main/fixes/tableheaders.ts rename to src/scripts/fixes/tableheaders.ts diff --git a/src/main/index.ts b/src/scripts/index.ts similarity index 100% rename from src/main/index.ts rename to src/scripts/index.ts diff --git a/src/main/navigation/breadcrumbs.ts b/src/scripts/navigation/breadcrumbs.ts similarity index 100% rename from src/main/navigation/breadcrumbs.ts rename to src/scripts/navigation/breadcrumbs.ts diff --git a/src/main/navigation/sidenav.ts b/src/scripts/navigation/sidenav.ts similarity index 100% rename from src/main/navigation/sidenav.ts rename to src/scripts/navigation/sidenav.ts diff --git a/src/main/navigation/toc.ts b/src/scripts/navigation/toc.ts similarity index 100% rename from src/main/navigation/toc.ts rename to src/scripts/navigation/toc.ts diff --git a/src/main/other/highlight.ts b/src/scripts/other/highlight.ts similarity index 100% rename from src/main/other/highlight.ts rename to src/scripts/other/highlight.ts diff --git a/src/main/other/mobile.ts b/src/scripts/other/mobile.ts similarity index 100% rename from src/main/other/mobile.ts rename to src/scripts/other/mobile.ts diff --git a/src/main/other/swagger.ts b/src/scripts/other/swagger.ts similarity index 100% rename from src/main/other/swagger.ts rename to src/scripts/other/swagger.ts