Skip to content

🔧 Exclude @reedsy/* from min-release-age - #62

Closed
alecgibson wants to merge 44 commits into
LibreOffice:masterfrom
reedsy:npmrc-min-release-age-exclude
Closed

alecgibson wants to merge 44 commits into
LibreOffice:masterfrom
reedsy:npmrc-min-release-age-exclude

Conversation

@alecgibson

Copy link
Copy Markdown

See https://github.com/reedsy/reedsy-editor/issues/14160

Two weeks ago, Dependabot started honouring the min-release-age setting in our .npmrc. While this is desirable for external dependencies, it means we now have to wait a week before bumps to our own @reedsy/* packages can land — even though we already trust them.

npm@11.17.0 added support for a new min-release-age-exclude setting, which lets us exempt specific scopes from the age restriction.

This change adds @reedsy/* to the exclusion list, which restores immediate local installability for our own packages. Once Dependabot picks up the new setting, automatic bumps for @reedsy/* will resume too.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

alecgibson and others added 30 commits July 9, 2021 10:20
Our "normal" development script is designed for use with our TypeScript
libraries that need compilation. This change removes the extra work we
do to handle this.
We should actually reencode the dictionaries to the UTF-8 encoding as
there is [issue](https://github.com/kwonoj/hunspell-asm#things-to-note) with the `hunspell-asm` package which only allows to use
the UTF-8 encoded dictionaries otherwise it returns garbage

BREAKING CHANGE
---
The breaking change is that now the dictionaries should be loaded from
the build folder
Update spellchecking dictionaries
👷 Add reencoding github action for publish
The folder is missing, because npm by default uses the .gitignore file
which ignores the build folder
🐛 Missing build folder in the published package
We are missing the ca dictionaries as the dictionaries folder is inside
ca folder, so before reencoding dictionaries we move them to ca folder.
🔨 Fix script for running encoding locally
At the moment, we have two Github Action workflows:

  - `test.yml`: runs build and test, then tags when bumping the version
    in `main`
  - `publish.yml`: releases the package when a new tag is published

The issue with this setup is that the built-in `GITHUB_TOKEN`
[will not trigger another workflow][1], so we had to add a separate
PAT with write permissions to our repos, which was a bit of a
security concern.

In order to avoid the need for this extra token, with its associated
risks and administrative overheads (like rotating), this change
combines our workflows into a single workflow.

We tweak the `tag.sh` to `release.sh`, and it's now also in charge of
publishing (since it knows when we've pushed a new tag).

[1]: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
* ✨ Add Finnish dictionary

* Update dictionary source

Don't use GPL anymore
* ✨ Word analysis action

* PR review comments
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
github-actions Bot and others added 14 commits April 1, 2026 07:24
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: GitHub Action <github@reedsy.com>
- Add `min-release-age=7` to `.npmrc` to avoid installing brand-new dependency releases
- Use `--min-release-age=0` in CI to allow Dependabot PRs to build immediately

See reedsy/reedsy-editor#13717 for context.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
chore: reduce supply chain attack exposure
* 📝 Update en/en_GB dictionary

* Update en_GB_reedsy.dic

---------

Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: Tom Newton <newton.thomasjames@gmail.com>
* 📝 Update en/en_ZA dictionary

* Update en_ZA_reedsy.dic

---------

Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: Tom Newton <newton.thomasjames@gmail.com>
* 📝 Update en/en_CA dictionary

* Update en_CA_reedsy.dic

---------

Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: Tom Newton <newton.thomasjames@gmail.com>
* 📝 Update en/en_AU dictionary

* Update en_AU_reedsy.dic

---------

Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: Tom Newton <newton.thomasjames@gmail.com>
* 📝 Update en/en_US dictionary

* Update en_US_reedsy.dic

---------

Co-authored-by: GitHub Action <github@reedsy.com>
Co-authored-by: Tom Newton <newton.thomasjames@gmail.com>
See reedsy/reedsy-editor#14160

Two weeks ago, Dependabot [started honouring][1] the `min-release-age`
setting in our `.npmrc`. While this is desirable for external
dependencies, it means we now have to wait a week before bumps to our
own `@reedsy/*` packages can land — even though we already trust them.

`npm@11.17.0` [added support][2] for a new `min-release-age-exclude`
setting, which lets us exempt specific scopes from the age restriction.

This change adds `@reedsy/*` to the exclusion list, which restores
immediate local installability for our own packages. Once Dependabot
picks up the new setting, automatic bumps for `@reedsy/*` will resume
too.

[1]: dependabot/dependabot-core#15132
[2]: npm/cli#9532

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@alecgibson

Copy link
Copy Markdown
Author

Closing — opened by mistake against the upstream fork. Will re-open against reedsy/dictionaries.

@alecgibson alecgibson closed this Jun 18, 2026
@alecgibson
alecgibson deleted the npmrc-min-release-age-exclude branch July 1, 2026 14:16
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.

3 participants