Repository navigation
🔧 Exclude @reedsy/* from min-release-age - #62
Closed
alecgibson wants to merge 44 commits into
Closed
alecgibson wants to merge 44 commits into
alecgibson wants to merge 44 commits into
Conversation
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 issue with ca
🔨 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
Catch up to upstream
* ✨ 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>
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>
Author
|
Closing — opened by mistake against the upstream fork. Will re-open against reedsy/dictionaries. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See https://github.com/reedsy/reedsy-editor/issues/14160
Two weeks ago, Dependabot started honouring the
min-release-agesetting 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.0added support for a newmin-release-age-excludesetting, 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