From 90701eec3d84d15bd5efa52514b6c643169bda09 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Thu, 23 Apr 2026 23:10:24 -0300 Subject: [PATCH] feat: fixes project dependecies and publish script --- package.json | 4 +--- publish.ts | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 33d91e5..258da29 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,7 @@ "description": "Personal Screeps codebase for Hideyoshi", "scripts": { "build": "node esbuild.config.mjs", - "push:main": "npm run build && screeps-api --server main upload dist/*.js", - "push:sim": "npm run build && screeps-api --server main upload --branch sim dist/*.js", - "push:local": "npm run build && screeps-api --server local upload dist/*.js", + "push": "npm run build && ts-node publish.ts", "format": "prettier --check --ignore-path .gitignore .", "format:fix": "prettier --write --ignore-path .gitignore ." }, diff --git a/publish.ts b/publish.ts index c2a79b7..004be63 100644 --- a/publish.ts +++ b/publish.ts @@ -83,7 +83,6 @@ const main = async () => { branch: env.SCREEPS_BRANCH, modules: parseDist(env.DIST_PATH), }; - console.log(JSON.stringify(payload)); const headers: ScreepsHeaders = { 'X-Token': env.SCREEPS_TOKEN, };