From 3e56ca2da5949519cfff807372535eec2fafd3f0 Mon Sep 17 00:00:00 2001 From: HexaField Date: Tue, 15 Oct 2024 13:05:06 +1100 Subject: [PATCH 1/2] revert vite node --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 86dab1a..a76d412 100755 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "scripts": { "build": "tsc", "check-errors": "tsc --noemit", - "dev": "vite-node ./src/index.ts", - "dev-koa": "vite-node ./src/index_koa.ts", + "dev": "ts-node --swc ./src/index.ts", + "dev-koa": "ts-node --swc ./src/index_koa.ts", "format": "prettier --write \"**/*.{ts,tsx}\"", "format-scss": "stylelint \"**/*.scss\" --fix", "format-staged": "lint-staged", From a5b86ef93b31629d676ca8bf29cf133aaf23f794 Mon Sep 17 00:00:00 2001 From: HexaField Date: Tue, 15 Oct 2024 13:07:24 +1100 Subject: [PATCH 2/2] revert type module --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index a76d412..3392534 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "@ir-engine/ir-bot", "version": "0.5.8", - "type": "module", "description": "A test bot using puppeteer", "repository": { "type": "git",