From 26e78f3a26cd47c0d2e4f020e9c01a08b8f7f8be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Wouts?= Date: Mon, 16 Dec 2024 22:43:15 +1100 Subject: [PATCH] chore: fix release script --- scripts/release-apps.ts | 16 ++++++++-------- tsconfig.json | 3 +++ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/scripts/release-apps.ts b/scripts/release-apps.ts index bfece9b2bb8..4ed27ef368d 100644 --- a/scripts/release-apps.ts +++ b/scripts/release-apps.ts @@ -28,42 +28,42 @@ async function main() { const { default: { version: coreVersion }, } = await import("../core/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: vfsVersion }, } = await import("../vfs/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: preactPluginVersion }, } = await import("../framework-plugins/preact/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: reactPluginVersion }, } = await import("../framework-plugins/react/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: solidPluginVersion }, } = await import("../framework-plugins/solid/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: sveltePluginVersion }, } = await import("../framework-plugins/svelte/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: vue2PluginVersion }, } = await import("../framework-plugins/vue2/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const { default: { version: vue3PluginVersion }, } = await import("../framework-plugins/vue3/package.json", { - type: { type: "json" }, + with: { type: "json" }, }); const releaseDirPath = path.join( __dirname, diff --git a/tsconfig.json b/tsconfig.json index 342e2a3129f..34550a80701 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,5 +2,8 @@ "extends": "./tsconfig.base.json", "compilerOptions": { "resolveJsonModule": true + }, + "ts-node": { + "transpileOnly": true } }