Add Apache 2.0 license - #81
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-chat-reactjs had no license field in package.json at all; it now declares Apache-2.0. The unpublished ai-chatbot-webflow-integration scaffold declared ISC, which would conflict with the repo license when a scanner walks the source tree; it is aligned to Apache-2.0. The four 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-chat-reactjsunder Apache 2.0.Changes
LICENSENOTICEcore/LICENSEcore/package.json"license": "Apache-2.0"— there was no license field at allcore/README.md## Licensesectionai-chatbot-webflow-integration/package.json"license"ISC→Apache-2.0(see below)The published package declared no license at all
core/package.jsonhad nolicensefield. npm therefore showed@likeminds.community/likeminds-chat-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.7.1and 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 one non-obvious change
ai-chatbot-webflow-integration/package.jsondeclared"license": "ISC". That package isnot published to npm (I checked the registry — 404) and is an
npm initdefault scaffold:version
1.0.0,main: index.js, empty description, no publish script.Because it is not private, a license scanner walking this repo will read that ISC declaration
and report a license conflict inside an otherwise Apache-2.0 repository. Aligning it to
Apache-2.0 removes that. Revert this one line if you'd rather leave it alone — it has no
effect on any published artifact either way.
The four sample apps are intentionally untouched
ai-chatbot,community-chat,community-hybrid-chat, andnetworking-chatare all marked"private": trueand declare no license field. They are not published and are covered by theroot
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
chat-jsdependency is already covered byLikeMindsCommunity/likeminds-chat-js-data#107, 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.