chore: migrate to pnpm with a monorepo
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
export interface PackOptions {
|
||||
/** Path to the folder containing character assets. */
|
||||
input: string;
|
||||
/** Path where atlases and character.json should be written. */
|
||||
output: string;
|
||||
/** Path to overrides JSON. Defaults to `<input>/character.config.json` if present. */
|
||||
config?: string;
|
||||
/** Max atlas dimension in pixels. Default 2048. */
|
||||
maxAtlasSize?: number;
|
||||
/** Report what would be done without writing files. */
|
||||
dryRun?: boolean;
|
||||
}
|
||||
|
||||
export interface PackResult {
|
||||
ok: boolean;
|
||||
/** Populated on success. */
|
||||
characterConfig?: unknown;
|
||||
/** Populated on failure. */
|
||||
errors?: Array<{ path: string; message: string }>;
|
||||
/** Non-fatal issues. */
|
||||
warnings?: string[];
|
||||
}
|
||||
|
||||
export async function pack(_options: PackOptions): Promise<PackResult> {
|
||||
throw new Error("shimejic-packer: not implemented yet");
|
||||
}
|
||||
Reference in New Issue
Block a user