From 6fab16664d44698fad303ca548e15ccaddbc66d8 Mon Sep 17 00:00:00 2001 From: Vaclav Vancura Date: Sun, 22 Mar 2026 19:09:40 +0100 Subject: [PATCH] chore: remove changesets and CHANGELOG Remove @changesets/cli dependency, all changeset scripts, the changeset-check CI workflow, .changeset/ folder, and CHANGELOG.md. Version bumps and publishing now done manually via pnpm release. Clean up all references in CLAUDE.md, README.md, renovate.json, cspell.json, and the PR template. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Vaclav Vancura --- .changeset/README.md | 8 --- .changeset/config.json | 11 ---- .changeset/great-ants-rush.md | 5 -- .changeset/silly-eels-find.md | 5 -- .github/PULL_REQUEST_TEMPLATE.md | 1 - .github/workflows/changeset-check.yml | 72 --------------------------- CHANGELOG.md | 53 -------------------- CLAUDE.md | 3 -- README.md | 3 -- cspell.json | 14 +----- package.json | 8 +-- renovate.json | 5 -- 12 files changed, 2 insertions(+), 186 deletions(-) delete mode 100644 .changeset/README.md delete mode 100644 .changeset/config.json delete mode 100644 .changeset/great-ants-rush.md delete mode 100644 .changeset/silly-eels-find.md delete mode 100644 .github/workflows/changeset-check.yml delete mode 100644 CHANGELOG.md diff --git a/.changeset/README.md b/.changeset/README.md deleted file mode 100644 index 7d3e451..0000000 --- a/.changeset/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Changesets - -Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works with -multi-package repos, or single-package repos to help you version and publish your code. You can find the full -documentation for it [in our repository](https://github.com/changesets/changesets) - -We have a quick list of common questions to get you started engaging with this project in -[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.changeset/config.json b/.changeset/config.json deleted file mode 100644 index b821332..0000000 --- a/.changeset/config.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://unpkg.com/@changesets/config@3.1.2/schema.json", - "changelog": "@changesets/cli/changelog", - "commit": false, - "fixed": [], - "linked": [], - "access": "public", - "baseBranch": "main", - "updateInternalDependencies": "patch", - "ignore": [] -} diff --git a/.changeset/great-ants-rush.md b/.changeset/great-ants-rush.md deleted file mode 100644 index b3ae978..0000000 --- a/.changeset/great-ants-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'blit-tech': patch ---- - -Pin PNPM version and use environment variables for commitlint diff --git a/.changeset/silly-eels-find.md b/.changeset/silly-eels-find.md deleted file mode 100644 index a068a92..0000000 --- a/.changeset/silly-eels-find.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'blit-tech': patch ---- - -Add the DCO support and improve documentation for contributors diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index fcbdfa5..66d8ec9 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -10,7 +10,6 @@ - [ ] `pnpm preflight` passes - [ ] Manual testing completed -- [ ] Changeset added (if user-facing) ## Checklist diff --git a/.github/workflows/changeset-check.yml b/.github/workflows/changeset-check.yml deleted file mode 100644 index 9f0c50e..0000000 --- a/.github/workflows/changeset-check.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Changeset Check - -on: - pull_request: - branches: [main] - -jobs: - changeset: - name: Verify Changeset - runs-on: ubuntu-latest - if: github.actor != 'dependabot[bot]' - - steps: - - name: Checkout code - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: '20' - cache: 'pnpm' - - - name: Install dependencies - run: pnpm install --frozen-lockfile - - - name: Check for changeset - id: changeset-check - run: | - if pnpm changeset status --since=origin/main 2>/dev/null; then - echo "Changeset found" - echo "has_changeset=true" >> $GITHUB_OUTPUT - else - echo "has_changeset=false" >> $GITHUB_OUTPUT - fi - - - name: Check for changeset skip label - id: skip-check - run: | - if [[ "${{ contains(github.event.pull_request.labels.*.name, 'skip-changeset') }}" == "true" ]]; then - echo "skip=true" >> $GITHUB_OUTPUT - else - echo "skip=false" >> $GITHUB_OUTPUT - fi - - - name: Fail if no changeset - if: steps.changeset-check.outputs.has_changeset == 'false' && steps.skip-check.outputs.skip == 'false' - run: | - echo "::error::No changeset found for this PR." - echo "" - echo "Please add a changeset by running:" - echo "" - echo " pnpm changeset" - echo "" - echo "Then commit the generated file in the .changeset directory." - echo "" - echo "If this PR does not require a changeset (e.g., docs-only, CI changes)," - echo "add the 'skip-changeset' label to bypass this check." - exit 1 - - - name: Changeset check passed - if: steps.changeset-check.outputs.has_changeset == 'true' || steps.skip-check.outputs.skip == 'true' - run: | - if [[ "${{ steps.skip-check.outputs.skip }}" == "true" ]]; then - echo "Changeset check skipped via label" - else - echo "Changeset verification passed" - fi diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index f2d112b..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,53 +0,0 @@ -# Blit-Tech - -## 0.2.0 - -### Minor Changes - -- Add bootstrap utilities for streamlined game initialization - -### Patch Changes - -- Add comprehensive CI checks and local development safeguards - - Add changeset verification workflow to enforce changelog entries on PRs - - Add PR checks for commit message linting, bundle size monitoring, and documentation links - - Add spell checking with cspell to CI and pre-commit hooks - - Add pre-push hook to run full project checks before pushing - - Add `preflight` script for running all checks locally before creating PRs - -- Fix the miscellaneous issues like project naming, ignore files, and rule descriptions -- Remove Electron support from the repo -- Refactor AI rules -- Optimize line drawing and update vertex limits -- Fix the Biome formatting on Windows -- Improve project documentation -- Clean up the repo for cleaner public consumption -- Move examples to Blit-Tech Demos -- Remove unused dependencies and update configuration -- Unify examples styling with main landing page - -## 0.1.0 - -### Minor Changes - -- Add display size and tick counter APIs to Core -- Add cache checking APIs to `AssetLoader` -- Add modern variable-width bitmap font system with `.btfont` format -- Add `ImageBitmap` support and `destroy()` method to `SpriteSheet` -- Add `TextSize` type and measurement caching to `BitmapFont` -- Enhance `Color32`, `Rect2i`, and `Vector2i` utility classes with new methods - -### Patch Changes - -- Add Cloudflare Pages deployment configuration -- Refactor `Renderer` texture handling and frame state management -- Add Plausible Analytics tracking to examples for production deployments -- Update developer experience guide, testing guide, and refine examples documentation -- Add new animation and sprite effects demos to examples -- 576de03: Add Electron desktop packaging for Steam Deck deployment -- Reorganize root directories and consolidate scripts into unified location -- Add `sync-rules` script to manage AI assistant rules across the project -- Fix double `requestAnimationFrame` wait for canvas initialization -- Add Uberspace auto-deployment workflow -- a9e3543: Support multiple textures per frame with proper sprite batch queue -- Upgrade dependencies including new ESLint plugins for security and code quality diff --git a/CLAUDE.md b/CLAUDE.md index 08206ca..482d784 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -13,7 +13,6 @@ fantasy-console-style API. - **Spelling:** cspell - **Dead code:** knip - **Commits:** Conventional Commits + DCO sign-off + commitlint -- **Versioning:** Changesets - **Package manager:** pnpm ## Architecture @@ -84,8 +83,6 @@ pnpm typecheck # TypeScript type checking pnpm spellcheck # cspell check pnpm knip # Find unused exports/deps pnpm preflight # All checks (format + lint + typecheck + spellcheck + knip) -pnpm changeset # Create a changeset -pnpm changeset:check # Check changeset status ``` ## Git diff --git a/README.md b/README.md index 1d8a477..c15d59f 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,6 @@ The demos showcase all engine features with a guided learning path from basic co | `pnpm preflight` | Run all quality checks (format, lint, typecheck, spellcheck, knip) | | `pnpm knip` | Find unused exports and dependencies | | `pnpm clean` | Remove dist and cache directories | -| `pnpm changeset` | Create a changeset for version bump | -| `pnpm changeset:check` | Check for pending changesets | -| `pnpm version:bump` | Bump version based on changesets | | `pnpm release` | Build library and publish to npm | | `pnpm convert-font` | Convert BMFont to .btfont format | diff --git a/cspell.json b/cspell.json index 2a8986a..30728b5 100644 --- a/cspell.json +++ b/cspell.json @@ -15,7 +15,6 @@ "Bresenham", "BTAPI", "btfont", - "changesets", "Chebyshev", "Cietwierkowski", "codecov", @@ -57,18 +56,7 @@ "yoffset" ], "flagWords": ["cant", "dont", "hte", "teh", "wont"], - "ignorePaths": [ - "*.map", - "*.min.js", - ".changeset/*.md", - ".git", - ".pnpm-store", - "CHANGELOG.md", - "coverage", - "dist", - "node_modules", - "pnpm-lock.yaml" - ], + "ignorePaths": ["*.map", "*.min.js", ".git", ".pnpm-store", "coverage", "dist", "node_modules", "pnpm-lock.yaml"], "ignoreRegExpList": ["/#[0-9A-Fa-f]{3,8}/", "/0x[0-9A-Fa-f]+/", "/@[a-zA-Z0-9_-]+\\/[a-zA-Z0-9_-]+/"], "overrides": [ { diff --git a/package.json b/package.json index 954b6c1..39f2000 100644 --- a/package.json +++ b/package.json @@ -55,12 +55,7 @@ "spellcheck": "cspell \"src/**/*.{ts,md,mdx}\" \"docs/**/*.{md,mdx}\" \"README.md\" --no-progress", "preflight": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm spellcheck && pnpm knip", "clean": "rm -rf dist node_modules/.vite", - "changeset": "changeset", - "changeset:check": "changeset status --since=origin/main", - "changeset:version": "changeset version", - "changeset:publish": "pnpm build && changeset publish", - "version:bump": "pnpm changeset:version && pnpm install --no-frozen-lockfile", - "release": "pnpm build && pnpm changeset:publish", + "release": "pnpm build && pnpm publish", "knip": "knip", "knip:fix": "knip --fix", "convert-font": "node scripts/convert-bmfont.mjs", @@ -78,7 +73,6 @@ }, "devDependencies": { "@biomejs/biome": "^2.3.8", - "@changesets/cli": "^2.29.8", "@commitlint/cli": "^20.2.0", "@commitlint/config-conventional": "^20.2.0", "@eslint/js": "^9.39.2", diff --git a/renovate.json b/renovate.json index 56c4187..0b0d864 100644 --- a/renovate.json +++ b/renovate.json @@ -30,11 +30,6 @@ "matchPackageNames": ["^@types/"], "groupName": "type definitions" }, - { - "description": "Changesets", - "matchPackageNames": ["^@changesets/"], - "groupName": "changesets" - }, { "description": "GitHub Actions", "matchManagers": ["github-actions"], -- 2.51.2