Schemas and utilities for the stitch.config.json file.
npm install @bscotch/stitch-configstitch.config.json file, which lives alongside a GameMaker project's .yyp file and is used for configuration of various Stitch features.
stitch.config.json file is used for configuration options that:
ts
import { stitchConfigSchema } from '@bscotch/stitch-config';
`
And a few GameMaker project-management functions from the 'projects' entrypoint:
`ts
import {
findProjectConfigPath,
ensureProjectConfig, // Initialize a config file
loadProjectConfig,
saveProjectConfig,
applyGroupAssignments, // Apply texture group and audio group assignments from a config to its project
} from '@bscotch/stitch-config/project';
`
$3
If you install globally you can use the CLI via stitch-config. Otherwise you can call it in a local install with npx stitch-config.
- stitch-config init : Ensure a Stitch config file exists for the target project
- stitch-config sync-groups