diff --git a/content/panorama/scripts/custom_game/hud.ts b/content/panorama/scripts_ts/custom_game/hud.ts similarity index 100% rename from content/panorama/scripts/custom_game/hud.ts rename to content/panorama/scripts_ts/custom_game/hud.ts diff --git a/content/panorama/scripts/custom_game/manifest.ts b/content/panorama/scripts_ts/custom_game/manifest.ts similarity index 100% rename from content/panorama/scripts/custom_game/manifest.ts rename to content/panorama/scripts_ts/custom_game/manifest.ts diff --git a/content/panorama/scripts/custom_game/tsconfig.json b/content/panorama/scripts_ts/custom_game/tsconfig.json similarity index 82% rename from content/panorama/scripts/custom_game/tsconfig.json rename to content/panorama/scripts_ts/custom_game/tsconfig.json index 4d9983d..5c19c42 100644 --- a/content/panorama/scripts/custom_game/tsconfig.json +++ b/content/panorama/scripts_ts/custom_game/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "rootDir": ".", + "outDir": "../../scripts/custom_game", "target": "es2017", "lib": ["es2017"], "types": ["@moddota/panorama-types"], diff --git a/game/scripts/vscripts/GameMode.ts b/game/scripts/vscripts_ts/GameMode.ts similarity index 100% rename from game/scripts/vscripts/GameMode.ts rename to game/scripts/vscripts_ts/GameMode.ts diff --git a/game/scripts/vscripts/abilities/heroes/meepo/earthbind_ts_example.ts b/game/scripts/vscripts_ts/abilities/heroes/meepo/earthbind_ts_example.ts similarity index 100% rename from game/scripts/vscripts/abilities/heroes/meepo/earthbind_ts_example.ts rename to game/scripts/vscripts_ts/abilities/heroes/meepo/earthbind_ts_example.ts diff --git a/game/scripts/vscripts/addon_game_mode.ts b/game/scripts/vscripts_ts/addon_game_mode.ts similarity index 100% rename from game/scripts/vscripts/addon_game_mode.ts rename to game/scripts/vscripts_ts/addon_game_mode.ts diff --git a/game/scripts/vscripts/lib/dota_ts_adapter.ts b/game/scripts/vscripts_ts/lib/dota_ts_adapter.ts similarity index 100% rename from game/scripts/vscripts/lib/dota_ts_adapter.ts rename to game/scripts/vscripts_ts/lib/dota_ts_adapter.ts diff --git a/game/scripts/vscripts/lib/timers.d.ts b/game/scripts/vscripts_ts/lib/timers.d.ts similarity index 100% rename from game/scripts/vscripts/lib/timers.d.ts rename to game/scripts/vscripts_ts/lib/timers.d.ts diff --git a/game/scripts/vscripts/lib/tstl-utils.ts b/game/scripts/vscripts_ts/lib/tstl-utils.ts similarity index 100% rename from game/scripts/vscripts/lib/tstl-utils.ts rename to game/scripts/vscripts_ts/lib/tstl-utils.ts diff --git a/game/scripts/vscripts/modifiers/modifier_panic.ts b/game/scripts/vscripts_ts/modifiers/modifier_panic.ts similarity index 100% rename from game/scripts/vscripts/modifiers/modifier_panic.ts rename to game/scripts/vscripts_ts/modifiers/modifier_panic.ts diff --git a/game/scripts/vscripts/tsconfig.json b/game/scripts/vscripts_ts/tsconfig.json similarity index 92% rename from game/scripts/vscripts/tsconfig.json rename to game/scripts/vscripts_ts/tsconfig.json index 863ea2b..797e205 100644 --- a/game/scripts/vscripts/tsconfig.json +++ b/game/scripts/vscripts_ts/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "rootDir": ".", + "outDir": "../vscripts", "target": "esnext", "lib": ["esnext"], "types": ["@moddota/dota-lua-types"], diff --git a/package.json b/package.json index b2f1ec3..bb7e2ce 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,11 @@ "postinstall": "node scripts/install.js", "launch": "node scripts/launch.js", "build": "run-p build:*", - "build:panorama": "tsc --project content/panorama/scripts/custom_game/tsconfig.json", - "build:vscripts": "tstl --project game/scripts/vscripts/tsconfig.json", + "build:panorama": "tsc --project content/panorama/scripts_ts/custom_game/tsconfig.json", + "build:vscripts": "tstl --project game/scripts/vscripts_ts/tsconfig.json", "dev": "run-p dev:*", - "dev:panorama": "tsc --project content/panorama/scripts/custom_game/tsconfig.json --watch", - "dev:vscripts": "tstl --project game/scripts/vscripts/tsconfig.json --watch" + "dev:panorama": "tsc --project content/panorama/scripts_ts/custom_game/tsconfig.json --watch", + "dev:vscripts": "tstl --project game/scripts/vscripts_ts/tsconfig.json --watch" }, "devDependencies": { "@moddota/dota-lua-types": "^4.10.0",