Set up an Exercode course repository
Prepare the repository tooling required to author and evaluate Exercode course content. Do not create or modify learning content.
Tracked tooling setup
The repository tracks its tooling instead of ignoring it.
package.jsoncontainsprivate: true,type: "module", and the repository name.@exercode/problem-utilsis an exact production dependency at its latest published version.bun.lockis tracked.- Bun and Node.js are managed by mise with exact versions. Preserve an existing
mise.toml,.mise.toml, or.tool-versions; when none exists, create.tool-versions. .gitignoreincludesnode_modules/,.DS_Store, and.tmp/. It does not ignorepackage.jsonorbun.lock.- Preserve compatible existing runtime versions, tools, dependencies, and scripts. Do not replace an existing mise or package setup wholesale.
Workflow
- Read the repository instructions and inspect only the tracked root tooling files, including
mise.toml,.mise.toml, and.tool-versionswhen present. - Keep the repository's existing mise format. Ensure it pins exact Bun and Node.js versions, preserving compatible exact versions and every unrelated tool. If multiple mise files exist, do not duplicate a tool already declared in any of them; add missing tools to an existing TOML config. If none exists, create
.tool-versionswith the exact current stable Bun version and current LTS Node.js version. - If a mise TOML config is present, run
mise trust --yes. Runmise install, then use the installedbuncommand normally for the remaining setup. - Create or update
package.json, then runbun add --exact @exercode/problem-utils@latestsopackage.jsonandbun.lockagree. - Ensure
.gitignorecontains the required tooling entries without removing compatible existing entries. - Do not create, modify, move, validate, or evaluate any course, lecture, material, problem, contest, asset, or other learning-content file.