Skip to content

docs: npm install @tumaet/apollon is the whole install command - #825

Merged
FelixTJDietrich merged 1 commit into
mainfrom
docs/simplify-install-commands
Jul 18, 2026
Merged

docs: npm install @tumaet/apollon is the whole install command#825
FelixTJDietrich merged 1 commit into
mainfrom
docs/simplify-install-commands

Conversation

@FelixTJDietrich

Copy link
Copy Markdown
Contributor

What

npm install @tumaet/apollon is the whole install command on modern package managers — but every quickstart surface led with the five-peer variant, implying the peers must be added by hand. Two claims in the docs were outright wrong. This PR makes the install story accurate and consistent everywhere.

Facts (verified against library/package.json + package-manager docs)

Changes

  • Lead with the one-liner everywhere: root README, npm README (library/README.md), docs landing hero, library quickstart, user-guide overview, install + Angular guides. The explicit five-peer command stays as the Yarn / pin-versions-yourself path.
  • Fix false claims: install.md and upgrading.md said "pnpm and yarn users must add them explicitly" — wrong for pnpm 8+.
  • Fix renderer wording in install.md, api/export.md, and the npm README: optional dependencies install automatically; the explicit command only matters under --omit=optional.
  • Patch changeset so the corrected README ships to npmjs.com on the next release.

Verification

  • pnpm run lint:docs clean, Prettier clean, docs site builds.
  • Peer/optional facts checked against library/package.json (peerDependencies, optionalDependencies).

🤖 Generated with Claude Code

Every quickstart surface led with the five-peer install command, implying
the peers must be installed by hand. They don't: npm 7+, pnpm 8+ (via
auto-install-peers, default true since pnpm 8), and Bun install missing
required peer dependencies automatically. Only Yarn never installs peers.

- Lead every install snippet (root README, npm README, docs landing,
  quickstart, user overview, install/angular guides) with the bare
  one-liner, with the explicit peer list kept as the Yarn / pin-it-yourself
  path.
- Fix the false claim in install.md and upgrading.md that pnpm users must
  add peers explicitly.
- Fix the PNG/PDF renderer story: @resvg/resvg-wasm, jspdf, and svg2pdf.js
  are optionalDependencies of @tumaet/apollon, so a normal install brings
  them in automatically — they are not "optional peers" the consumer
  installs (explicit install only matters under --omit=optional).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@FelixTJDietrich
FelixTJDietrich merged commit cd5b5f1 into main Jul 18, 2026
20 checks passed
@FelixTJDietrich
FelixTJDietrich deleted the docs/simplify-install-commands branch July 18, 2026 23:27
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Apollon Development Jul 18, 2026
@github-actions github-actions Bot mentioned this pull request Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant