Skip to content

docs: update CLI setup and site accessibility - #2

Merged
drav0011 merged 1 commit into
mainfrom
reorg
Sep 21, 2026
Merged

drav0011 merged 1 commit into
mainfrom
reorg

Conversation

@drav0011

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI lite review requested due to automatic review settings September 21, 2026 17:23
@drav0011
drav0011 merged commit e5699e0 into main Sep 21, 2026
@drav0011
drav0011 deleted the reorg branch September 21, 2026 17:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The documentation contains contradictory Git prerequisites, inconsistent render-pack filenames, and a grammatical error.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 4 Low severity

Open (4)
What changed in this PR

Improves documentation tooling, light-theme accessibility, and CLI/package-manager setup guidance.

Changes:

  • Adds synchronized npm, Yarn, and pnpm command tabs.
  • Introduces text-safe category/status colors and accessibility styling.
  • Updates CLI, installation, render-pack, and CI documentation.
File Description
src/​theme/​MDXComponents.tsx Registers PackageCommands.
src/​data/​sections.ts Adds category text color tokens.
src/​css/​bedrock/​infima-bridge.css Improves light-theme accessibility.
src/​css/​bedrock/​colors.css Adds text-safe color aliases.
src/​components/​PackageManager.tsx Supports configurable command languages and variants.
src/​components/​PackageGrid/​index.tsx Applies text-safe category colors.
src/​components/​Home/​home.module.css Adjusts light-theme step colors.
src/​components/​ds/​index.tsx Adds text-safe card accents.
src/​components/​ds/​ds.module.css Uses accessible warning and CTA colors.
docs/​ui/​installation.md Updates prerequisites and render-pack dependency.
docs/​ui/​guides/​render-pack.md Documents versioned render-pack names.
docs/​server/​installation.md Updates prerequisites and imports.
docs/​filters/​ci.md Adds package-manager CI workflows.
docs/​cli/​index.md Documents package-manager setup and CLI output.
.gitignore Ignores review artifacts.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/cli/index.md
### GameTests

`packs/BP/scripts/tests/index.ts` registers one GameTest tagged `example` through `@minecraft/server-gametest`, a beta module only `manifest.test.json` declares. `gametest.ts` — the entry `tsconfig.test.json` names — imports `./main` then `./tests`, so a release build (`main.ts`) never pulls in the test suite or the beta module. `yarn build:test` produces the pack [`bds-runner`](/docs/bds-runner) runs the suite against.
`packs/BP/scripts/tests/index.ts` registers one GameTest tagged `example` through `@minecraft/server-gametest`, a beta module only `manifest.test.json` declares. `gametest.ts` — the entry `tsconfig.test.json` names — imports `./main` then `./tests`, so a release build (`main.ts`) never pulls in the test suite or the beta module. The `build:test` script produces the pack [`bds-runner`](/docs/bds-runner) runs the suite against.

- Node.js 20+ and Yarn (or npm) — https://nodejs.org/
- Regolith (recommended) — https://regolith-docs.readthedocs.io/en/stable
- Node.js 22.18+ and Git — [https://nodejs.org/](https://nodejs.org/)
## Getting the matching pack

The render pack ships as the `core-ui-v*.mcpack` attached to each `@bedrock-core/ui` release, and the [CLI](/docs/cli) downloads the latest one into new projects automatically. **Take the pack from the same release as the library** — that pairing is the compatibility contract.
The render pack ships as `core-ui-<UI version>.mcpack`, attached to the matching `@bedrock-core/ui` release. For example, UI `0.12.1` uses `core-ui-0.12.1.mcpack`. The [CLI](/docs/cli) downloads that matching asset into new projects. **Take the pack from the same release as the library** — that pairing is the compatibility contract.
Comment thread docs/ui/installation.md

- Node.js 22.18.0+ and Yarn or npm — https://nodejs.org
- Regolith — https://regolith-docs.readthedocs.io/en/stable
- Node.js 22.18+ and Git — [https://nodejs.org/](https://nodejs.org/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants