Update README

This commit is contained in:
daydreamer-json
2026-01-22 19:15:05 +09:00
parent 65e0b0fe2e
commit 24c78b048f
4 changed files with 22 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
import path from 'node:path';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
import cmds from './cmds.js';
@@ -33,7 +34,7 @@ async function parseCommand() {
'output-dir': {
alias: ['o'],
desc: 'Output root directory',
default: appConfig.file.outputDirPath,
default: path.resolve('output'),
normalize: true,
type: 'string',
},

View File

@@ -1,4 +1,3 @@
import path from 'node:path';
import deepmerge from 'deepmerge';
import YAML from 'yaml';
// import * as TypesGameEntry from '../types/GameEntry.js';
@@ -13,9 +12,6 @@ type AllRequired<T> = Required<{
type ConfigType = AllRequired<
Freeze<{
file: {
outputDirPath: string;
};
network: {
api: {
akEndfield: {
@@ -56,9 +52,6 @@ type ConfigType = AllRequired<
>;
const initialConfig: ConfigType = {
file: {
outputDirPath: path.resolve('output'),
},
network: {
api: {
akEndfield: {