resource 위치 변경

This commit is contained in:
2026-01-05 16:12:55 +00:00
parent 10e9c80eb4
commit f4bc8e42f3
102 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
"endOfLine": "lf",
"overrides": [
{
"files": "app/game-engine/resources/scenario/*.json",
"files": "resources/scenario/*.json",
"options": {
"printWidth": 1000
}
+2 -1
View File
@@ -6,7 +6,8 @@ import type { MapDefinition } from '@sammo-ts/logic';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const DEFAULT_MAP_ROOT = path.resolve(__dirname, '..', '..', 'resources', 'map');
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..', '..');
const DEFAULT_MAP_ROOT = path.resolve(REPO_ROOT, 'resources', 'map');
export interface MapLoaderOptions {
mapRoot?: string;
@@ -11,7 +11,8 @@ import {
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const DEFAULT_SCENARIO_ROOT = path.resolve(__dirname, '..', '..', 'resources', 'scenario');
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..', '..');
const DEFAULT_SCENARIO_ROOT = path.resolve(REPO_ROOT, 'resources', 'scenario');
export interface ScenarioLoaderOptions {
scenarioRoot?: string;
@@ -6,7 +6,8 @@ import { parseUnitSetDefinition, type UnitSetDefinition } from '@sammo-ts/logic'
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const DEFAULT_UNIT_SET_ROOT = path.resolve(__dirname, '..', '..', 'resources', 'unitset');
const REPO_ROOT = path.resolve(__dirname, '..', '..', '..', '..');
const DEFAULT_UNIT_SET_ROOT = path.resolve(REPO_ROOT, 'resources', 'unitset');
export interface UnitSetLoaderOptions {
unitSetRoot?: string;

Some files were not shown because too many files have changed in this diff Show More