resource 위치 변경
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
|||||||
"endOfLine": "lf",
|
"endOfLine": "lf",
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": "app/game-engine/resources/scenario/*.json",
|
"files": "resources/scenario/*.json",
|
||||||
"options": {
|
"options": {
|
||||||
"printWidth": 1000
|
"printWidth": 1000
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ import type { MapDefinition } from '@sammo-ts/logic';
|
|||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = path.dirname(__filename);
|
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 {
|
export interface MapLoaderOptions {
|
||||||
mapRoot?: string;
|
mapRoot?: string;
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ import {
|
|||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = path.dirname(__filename);
|
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 {
|
export interface ScenarioLoaderOptions {
|
||||||
scenarioRoot?: string;
|
scenarioRoot?: string;
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ import { parseUnitSetDefinition, type UnitSetDefinition } from '@sammo-ts/logic'
|
|||||||
|
|
||||||
const __filename = fileURLToPath(import.meta.url);
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
const __dirname = path.dirname(__filename);
|
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 {
|
export interface UnitSetLoaderOptions {
|
||||||
unitSetRoot?: string;
|
unitSetRoot?: string;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user