From 465cde6ea11744f71a337708a2a1edb18d8f6fd2 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sat, 21 Oct 2023 17:58:03 +0200 Subject: [PATCH] =?UTF-8?q?refactor:=20all=20.ts=20to=20.js=20files=20?= =?UTF-8?q?=F0=9F=98=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/{mcfly.config.ts => mcfly.config.mjs} | 0 site/{nitro.config.ts => nitro.config.mjs} | 0 site/routes/{[...index].ts => [...index].js} | 2 +- templates/basic/{mcfly.config.ts => mcfly.config.mjs} | 0 templates/basic/{nitro.config.ts => nitro.config.mjs} | 0 templates/basic/routes/{[...index].ts => [...index].js} | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) rename site/{mcfly.config.ts => mcfly.config.mjs} (100%) rename site/{nitro.config.ts => nitro.config.mjs} (100%) rename site/routes/{[...index].ts => [...index].js} (78%) rename templates/basic/{mcfly.config.ts => mcfly.config.mjs} (100%) rename templates/basic/{nitro.config.ts => nitro.config.mjs} (100%) rename templates/basic/routes/{[...index].ts => [...index].js} (78%) diff --git a/site/mcfly.config.ts b/site/mcfly.config.mjs similarity index 100% rename from site/mcfly.config.ts rename to site/mcfly.config.mjs diff --git a/site/nitro.config.ts b/site/nitro.config.mjs similarity index 100% rename from site/nitro.config.ts rename to site/nitro.config.mjs diff --git a/site/routes/[...index].ts b/site/routes/[...index].js similarity index 78% rename from site/routes/[...index].ts rename to site/routes/[...index].js index 986b716..ec85707 100644 --- a/site/routes/[...index].ts +++ b/site/routes/[...index].js @@ -2,5 +2,5 @@ * McFly SSR logic */ import { defineRoute } from "@mcflyjs/core/event-handler.mjs"; -import config from "../mcfly.config"; +import config from "../mcfly.config.mjs"; export default defineRoute({ config, storage: useStorage() }); diff --git a/templates/basic/mcfly.config.ts b/templates/basic/mcfly.config.mjs similarity index 100% rename from templates/basic/mcfly.config.ts rename to templates/basic/mcfly.config.mjs diff --git a/templates/basic/nitro.config.ts b/templates/basic/nitro.config.mjs similarity index 100% rename from templates/basic/nitro.config.ts rename to templates/basic/nitro.config.mjs diff --git a/templates/basic/routes/[...index].ts b/templates/basic/routes/[...index].js similarity index 78% rename from templates/basic/routes/[...index].ts rename to templates/basic/routes/[...index].js index 986b716..ec85707 100644 --- a/templates/basic/routes/[...index].ts +++ b/templates/basic/routes/[...index].js @@ -2,5 +2,5 @@ * McFly SSR logic */ import { defineRoute } from "@mcflyjs/core/event-handler.mjs"; -import config from "../mcfly.config"; +import config from "../mcfly.config.mjs"; export default defineRoute({ config, storage: useStorage() });