Repository navigation
Change the hyperformula-ui licence to MIT - #1840
Merged
Merged
Conversation
The hyperformula-ui package now ships its own MIT LICENSE.txt, kept under version control in the package directory, instead of a prepack copy of the root GPL-3.0 licence. The engine's licence is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1840 +/- ##
========================================
Coverage 97.28% 97.28%
========================================
Files 207 207
Lines 16218 16218
Branches 3556 3556
========================================
Hits 15777 15777
Misses 433 433
Partials 8 8 🚀 New features to boost your workflow:
|
Merged
9 of 12 tasks
Performance comparison of head (58d3d99) vs base (79899ee) |
Merged
5 of 12 tasks
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.
Context
The
hyperformula-uipackage changes its licence from GPL-3.0-only to MIT. The engine,hyperformula, keeps its GPL-3.0-only and commercial licensing unchanged.Until now the package's
prepackcopied the rootLICENSE.txt(the engine's GPL licence) into the package andpostpackremoved it. That copy no longer fits, because the two packages now have different licences. The package now keeps its own MITLICENSE.txtunder version control inhyperformula-ui/packages/core/. npm includesLICENSE*files in the tarball automatically, so the copy scripts are removed.Changes:
hyperformula-ui/packages/core/package.jsonandpackage-lock.json:licenseisMIT. Thecopy-root-files,prepackandpostpackscripts are removed.hyperformula-ui/packages/core/LICENSE.txt: new, the MIT licence, with the same copyright holder as the root licence.hyperformula-ui/.gitignore: the package'sLICENSE.txtis no longer ignored.hyperformula-ui/packages/core/README.mdand the rootREADME.md: the licence sections name the right licence for each package.hyperformula-ui/dev-docs/RELEASE.md: the steps that copied and removed the licence are gone.dev-docs/STRUCTURE.md: the decision about UI licensing records MIT and the package's own licence file.script/check-licenses.mjs: a comment no longer says every workspace package is GPL.How did you test your changes?
npm pack --dry-run --ignore-scripts --workspace=hyperformula-ui/packages/core: the tarball containsLICENSE.txt(the MIT text),README.md,DOCS.mdandpackage.json, with no copy step.npm install --package-lock-only --ignore-scripts: the lockfile stays consistent with the one-linelicensechange.node script/check-licenses.mjs: OK, 3 production dependencies, all permissively licensed.npm run lint --workspace=hyperformula-ui/packages/core: no issues.npm run build:ui,npm run typecheck,npm run test:ui: all green, 88 test files, 1083 tests.Compatibility with Excel and Google Sheets
Not applicable.
Public API changes
None. The published package's licence changes from GPL-3.0-only to MIT from the next release. Versions up to and including 0.3.5 stay as they were published.
Out of scope and follow-ups
prepackcopy of the rootLICENSE.txtandCHANGELOG.mdare unchanged.Types of changes
Related issues
None.
Checklist
dev-docs/pages this change affects – or none needed it.🤖 Generated with Claude Code
Note
Low Risk
No runtime or public API changes; only licence metadata, packaging scripts, and documentation, with the engine’s GPL licensing untouched.
Overview
Re-licenses the published
hyperformula-uinpm package from GPL-3.0-only to MIT, while thehyperformulaengine stays GPL-3.0-only (plus commercial terms).The UI package now ships a version-controlled MIT
LICENSE.txtunderhyperformula-ui/packages/core/instead of copying the root GPL file at pack time.copy-root-files,prepack, andpostpackare removed fromhyperformula-ui/packages/core/package.jsonbecause npm includesLICENSE*in the tarball automatically.Docs and process are aligned: root and package READMEs split licences by package,
dev-docs/STRUCTURE.mdrecords MIT for the UI,hyperformula-ui/CHANGELOG.mdnotes the change, andhyperformula-ui/dev-docs/RELEASE.mddrops manual licence copy/cleanup steps.hyperformula-ui/.gitignoreno longer ignores the package licence file;package-lock.jsonandscript/check-licenses.mjsreflect the metadata-only tweak (comment only in the checker).Reviewed by Cursor Bugbot for commit d76f612. Bugbot is set up for automated code reviews on this repo. Configure here.