kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Delete the kolibri-tools package

Open rtibbles opened this issue 5 months ago • 2 comments

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

The kolibri-tools package has been whittled down to just the migrate codemod used for the core API migration. That migration is complete, so the package and the migrate-core-api script in the root package.json are dead weight and can be removed.

Complexity: Low Target branch: develop

The Change

Remove the kolibri-tools package and all remaining references to it:

  • Delete packages/kolibri-tools/
  • Remove the migrate-core-api script and the kolibri-tools workspace dependency from the root package.json
  • Remove the packages/kolibri-tools/**/* glob from .github/labeler.yml
  • Correct docs/howtos/preview_on_mobile.md, which references the long-gone kolibri-tools build prod command — the per-plugin rebuild advice should use kolibri-build instead
  • Remove kolibri-tools from the project structure listing in AGENTS.md

Out of Scope

  • Historical kolibri-tools mentions in CHANGELOG.md are left as-is
  • eslint-plugin-kolibri and browserslist-config-kolibri (which share the labeler glob) are not affected
  • No npm deprecation or unpublishing of the previously published kolibri-tools package

Acceptance Criteria

  • [ ] packages/kolibri-tools is deleted and grep -r kolibri-tools (excluding CHANGELOG.md) returns no matches
  • [ ] pnpm install, pnpm run build, and pnpm devserver work
  • [ ] The corrected per-plugin rebuild command in docs/howtos/preview_on_mobile.md works as documented

AI usage

This issue was drafted interactively with Claude Code: it surveyed the remaining references to kolibri-tools in the repo and drafted each section, which I reviewed and corrected (e.g. the lockfile needs no grep exclusion since pnpm install regenerates it). The scope and decisions are mine.

rtibbles avatar Jun 06 '26 03:06 rtibbles

Plan: Remove the dead kolibri-tools package and all remaining references to it from the repository.

  • [ ] Delete the kolibri-tools package directory
  • [ ] Remove kolibri-tools from root package.json
  • [ ] Update remaining file references
  • [ ] Regenerate lockfile and verify acceptance criteria

status


@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?
  • Implemented code following the pre-approved plan using test-driven development (red-green-refactor)
  • Ran the project's full test suite and linter before committing
  • For UI changes: captured live screenshots to verify rendering
  • For backend changes: verified with example API/CLI output

rtibblesbot avatar Jun 06 '26 04:06 rtibblesbot

The bot has been waiting for a response for 2 hour(s). It will resume automatically when someone replies.

rtibblesbot avatar Jun 06 '26 06:06 rtibblesbot