Add Apache 2.0 license - #144
Merged
Merged
Conversation
Adds the canonical Apache License 2.0 text at the repo root and inside the published npm package directory, a NOTICE file with the LikeMinds copyright attribution, and a License section in the core README. The published package @likeminds.community/likeminds-feed-reactjs had no license field in package.json at all; it now declares Apache-2.0. The two sample apps are marked private and declare no license, so they are left unchanged and are covered by the root LICENSE. The LICENSE files are byte-identical to the text published at https://www.apache.org/licenses/LICENSE-2.0.txt Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Licenses this repo and
@likeminds.community/likeminds-feed-reactjsunder Apache 2.0.Changes
LICENSENOTICEcore/LICENSEcore/package.json"license": "Apache-2.0"— there was no license field at allcore/README.md## LicensesectionThe published package declared no license at all
core/package.jsonhad nolicensefield. npm therefore showed@likeminds.community/likeminds-feed-reactjswith no license, which is the strongest possiblesignal to a consumer's compliance tooling that the package cannot be used. This adds it.
npm consumers' scanners read registry metadata, not this repo, so the
package.jsonchangematters as much as the LICENSE file. It takes effect on the next published version only;
1.12.0and earlier keep "no license" on npm permanently.Why two LICENSE files
The root
LICENSEis what GitHub reads for the repository license badge. But npm packs onlythe files inside
core/, so the root file would not reach npm consumers. Both are needed andboth are byte-identical. Standard practice for a monorepo that publishes a subdirectory.
The two sample apps are intentionally untouched
social-feedandqna-feedare both marked"private": trueand declare no license field.They are not published and are covered by the root
LICENSE.Notes for the reviewer
The LICENSE files are byte-identical to https://www.apache.org/licenses/LICENSE-2.0.txt
(SHA-256
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30). Please do notreformat them or fill in the
Copyright [yyyy] [name of copyright owner]placeholder in theAppendix — that placeholder is part of the Appendix's instructions, not this repo's copyright
notice. Editing the text makes scanners report "Other" instead of "Apache-2.0". The repo's
copyright notice lives in
NOTICE.Context
The
feed-jsdependency is already covered byLikeMindsCommunity/likeminds-feed-js-data#93, but that repo is still private and must be
opened for this SDK to be usable as open source. That is a separate decision.
Flagged, not changed
This repo has no root
README.md. One would normally carry the License section and explain themonorepo layout. Not added here to avoid inventing project documentation.