Skip to content

Commit

Permalink
refactor: drop PathUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-ogi committed Sep 6, 2023
1 parent 1b8eb50 commit a5a5f55
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 303 deletions.
2 changes: 1 addition & 1 deletion src/Module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PathUtil } from "@akashic/game-configuration/lib/utils/PathUtil";
import type { Module as PdiModule, ScriptAssetRuntimeValue, ScriptAssetRuntimeValueBase } from "@akashic/pdi-types";
import { PathUtil } from "./PathUtil";
import type { Require } from "./Require";

export interface ModuleParameterObject {
Expand Down
2 changes: 1 addition & 1 deletion src/ModuleManager.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { PathUtil } from "@akashic/game-configuration/lib/utils/PathUtil";
import type { Asset, ScriptAssetRuntimeValueBase } from "@akashic/pdi-types";
import type { AssetManager, OneOfAsset } from "./AssetManager";
import { ExceptionFactory } from "./ExceptionFactory";
import { Module } from "./Module";
import { PathUtil } from "./PathUtil";
import type { RequireCacheable } from "./RequireCacheable";
import { RequireCachedValue } from "./RequireCachedValue";
import { ScriptAssetContext } from "./ScriptAssetContext";
Expand Down
126 changes: 0 additions & 126 deletions src/PathUtil.ts

This file was deleted.

174 changes: 0 additions & 174 deletions src/__tests__/PathUtilSpec.ts

This file was deleted.

4 changes: 3 additions & 1 deletion src/index.common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export { Module } from "./Module";
export { ShaderProgram } from "./ShaderProgram";
export { VideoSystem } from "./VideoSystem";

// 後方互換性のため PathUtil のみ reexport する。
export { PathUtil } from "@akashic/game-configuration/lib/utils/PathUtil";

export * from "./entities/CacheableE";
export * from "./entities/E";
export * from "./entities/FilledRect";
Expand Down Expand Up @@ -59,7 +62,6 @@ export * from "./OperationPlugin";
export * from "./OperationPluginManager";
export * from "./OperationPluginOperation";
export * from "./OperationPluginStatic";
export * from "./PathUtil";
export * from "./Player";
export * from "./PointEventResolver";
export * from "./RandomGenerator";
Expand Down

0 comments on commit a5a5f55

Please sign in to comment.