Skip to content

chore: Prepare Release v10.2.0 (auto-deploy) - #9125

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release-draft
Open

chore: Prepare Release v10.2.0 (auto-deploy)#9125
github-actions[bot] wants to merge 1 commit into
mainfrom
release-draft

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Release v10.2.0

Release Notes

Details

Features

feat: Add `--force-check` cli option (#9080)

feat: Add --force-check cli option (#9080)

This pull request introduces a new --force-check option to the CLI, allowing users to force specific files to be checked even if they would normally be excluded. It also standardizes dependency configuration naming, improves error handling and reporting for the CLI, and updates TypeScript target versions in config files. The most important changes are grouped below.

New CLI Feature: Force Check

  • Added a --force-check option to the lint command, allowing files specified with --file, --files, or --file-list to be checked even if they would normally be excluded. This includes updates to the CLI interface, validation logic, and documentation/help output. [1] [2] [3] [4] [5]
  • Implemented logic in the file determination and processing flow to honor the forceCheck flag, ensuring excluded files can be checked when requested, and updated reporting of skipped files. [1] [2] [3] [4] [5] [6]

CLI Error Handling and Testing

  • Improved error handling for invalid combinations of CLI options (e.g., using --force-check without specifying files, or mixing globs and --file), with corresponding error messages and test cases. [1] [2]
  • Enhanced test coverage for the new --force-check option, including snapshot updates for help and error outputs. [1] [2] [3] [4] [5] [6] [7]

Dependency Configuration Standardization

  • Renamed the dependency configuration property from onlyAllowBundle to onlyBundle across all relevant config files and documentation for consistency. [1] [2] [3] [4]

Other Improvements

  • Updated TypeScript target version in default config from Node20 to Node22.
  • Improved CLI process exit code handling for error scenarios.
  • Minor improvement to CLI reporter logic to avoid emitting empty results.
  • Cleaned up and simplified the coverage collection script in package.json.

Fixes

fix: Reduce the size of cspell types when bundled (#9119)

fix: Reduce the size of cspell types when bundled (#9119)

This pull request introduces a new test package, test-cspell-types-define-config, designed to verify the size and correct bundling of the defineConfig function from @cspell/cspell-types. It also includes minor internal refactoring in the mergeConfig logic. The main themes are the addition of the test package and improvements to configuration merging.

New test package: test-cspell-types-define-config

  • Added the test-cspell-types-define-config package with configuration files (package.json, tsconfig.json, tsdown.config.ts) and a basic test harness to ensure the defineConfig utility is small when bundled and functions as expected. The tests check that the output files remain below specified size thresholds and that defineConfig is a function returning the same config object when called twice. [1] [2] [3] [4] [5] [6]

  • Updated pnpm-lock.yaml to add the new test package to the workspace and ensure it depends on the local @cspell/cspell-types package.

Internal refactoring

  • Moved the creation of the mergeIndividualSettingsFns array inside the mergeConfig function in merge.ts to avoid unnecessary computation and improve encapsulation.

fix(ci): push release tag with GitHub App token so publish.yml triggers (#9097)

fix(ci): push release tag with GitHub App token so publish.yml triggers (#9097)

Summary

publish.yml (the NPM trusted-publishing workflow) is triggered by a push: tags: v* event, among other triggers. build-version-release.yml creates that tag via pnpm lerna version, but the tag was never actually triggering publish.yml.

Root cause: lerna version pushes the version commit/tag to the origin remote, and origin's credentials were still the default GITHUB_TOKEN persisted by actions/checkout (the Setup Git step's gh-token remote was unused — lerna pushes to origin, not gh-token — and was seeded before the GitHub App token even existed). GitHub explicitly does not trigger downstream workflow runs for pushes authenticated with the default GITHUB_TOKEN, to avoid recursive triggering. So the tag got created, but publish.yml never fired.

Changes

  • actions/checkout: set persist-credentials: false so the default token isn't left wired into origin.
  • Setup Git: drop the unused/misconfigured gh-token remote (it referenced the default token anyway, and nothing pushed to it).
  • Push Version: before running lerna version, point origin at the already-generated GitHub App installation token (x-access-token:${GITHUB_TOKEN}) so the resulting tag push is authenticated as the GitHub App and correctly triggers publish.yml's push: tags: v* trigger.

Test plan

  • YAML validated (python3 -c "import yaml; yaml.safe_load(open(...))" passes).
  • Run build-version-release.yml via workflow_dispatch with dry_run: false (or the next real release) and confirm publish.yml fires automatically off the resulting tag push, without needing a manual workflow_dispatch.

Generated by Claude Code


fix: Updated package.json exports (#8965)

fix: Updated package.json exports (#8965)

This fixes a few package exports that were wrong or inconsistent (e.g. exports["."] not the same path as main).

The pnpm test script was failing locally due to my ~/.npmrc having ignore-scripts=true, which prevented the preinstall script from running. I updated test:prep to call the preinstall script, which should be fast if you already have yarn installed.


Dictionary Updates

fix: Workflow Bot -- Update Dictionaries (main) (#9102)

fix: Workflow Bot -- Update Dictionaries (main) (#9102)

Update Dictionaries (main)

Summary

 .../snapshots/gitbucket/gitbucket/report.yaml      |   3 +-
 .../snapshots/gitbucket/gitbucket/snapshot.txt     |   3 +-
 .../snapshots/neovim/nvim-lspconfig/report.yaml    |   3 +-
 .../snapshots/neovim/nvim-lspconfig/snapshot.txt   |   5 +-
 .../snapshots/wireapp/wire-webapp/report.yaml      | 184 +--------------------
 .../snapshots/wireapp/wire-webapp/snapshot.txt     | 182 +-------------------
 packages/cspell-bundled-dicts/package.json         |   4 +-
 pnpm-lock.yaml                                     |  20 ++-
 8 files changed, 26 insertions(+), 378 deletions(-)

fix: Workflow Bot -- Update Dictionaries (main) (#9067)

fix: Workflow Bot -- Update Dictionaries (main) (#9067)

Update Dictionaries (main)

Summary

 .../snapshots/django/django/report.yaml            | 82 ++++++++++------------
 .../snapshots/django/django/snapshot.txt           | 51 ++++++--------
 packages/cspell-bundled-dicts/package.json         |  6 +-
 pnpm-lock.yaml                                     | 30 +++++---
 4 files changed, 84 insertions(+), 85 deletions(-)

Version Information

  • Tag: v10.2.0
  • Version: 10.2.0

Summary

 .release.json                                    |   6 +-
 CHANGELOG.md                                     | 150 +++++++++++++++++++++++
 packages/cspell-bundled-dicts/CHANGELOG.md       |  18 +++
 packages/cspell-config-lib/CHANGELOG.md          |  18 +++
 packages/cspell-dictionary/CHANGELOG.md          |  18 +++
 packages/cspell-eslint-plugin/CHANGELOG.md       |  18 +++
 packages/cspell-filetypes/CHANGELOG.md           |  18 +++
 packages/cspell-gitignore/CHANGELOG.md           |  18 +++
 packages/cspell-glob/CHANGELOG.md                |  18 +++
 packages/cspell-grammar/CHANGELOG.md             |  18 +++
 packages/cspell-io/CHANGELOG.md                  |  18 +++
 packages/cspell-json-reporter/CHANGELOG.md       |  18 +++
 packages/cspell-lib/CHANGELOG.md                 |  18 +++
 packages/cspell-normalize-json/CHANGELOG.md      |  18 +++
 packages/cspell-performance-monitor/CHANGELOG.md |  18 +++
 packages/cspell-pipe/CHANGELOG.md                |  18 +++
 packages/cspell-resolver/CHANGELOG.md            |  18 +++
 packages/cspell-service-bus/CHANGELOG.md         |  18 +++
 packages/cspell-strong-weak-map/CHANGELOG.md     |  18 +++
 packages/cspell-tools-alias/CHANGELOG.md         |  18 +++
 packages/cspell-tools/CHANGELOG.md               |  18 +++
 packages/cspell-trie-lib/CHANGELOG.md            |  18 +++
 packages/cspell-trie/CHANGELOG.md                |  18 +++
 packages/cspell-types/CHANGELOG.md               |  18 +++
 packages/cspell-url/CHANGELOG.md                 |  18 +++
 packages/cspell-worker/CHANGELOG.md              |  18 +++
 packages/cspell/CHANGELOG.md                     | 150 +++++++++++++++++++++++
 packages/dynamic-import/CHANGELOG.md             |  18 +++
 packages/flatpack-json/CHANGELOG.md              |  18 +++
 packages/hunspell-reader/CHANGELOG.md            |  18 +++
 packages/rpc/CHANGELOG.md                        |  18 +++
 31 files changed, 807 insertions(+), 3 deletions(-)

@github-actions
github-actions Bot force-pushed the release-draft branch 2 times, most recently from 55fd313 to 3a6649b Compare August 30, 2026 10:35
@github-actions github-actions Bot changed the title chore: Prepare Release v10.2.0-alpha.8 (auto-deploy) chore: Prepare Release v10.2.0 (auto-deploy) Aug 30, 2026
@github-actions
github-actions Bot force-pushed the release-draft branch 3 times, most recently from 2c6a049 to 7a507b7 Compare August 30, 2026 13:58
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.

0 participants