Skip to content

Add Apache 2.0 license - #81

Merged
NateshR merged 2 commits into
masterfrom
chore/apache-2.0-license
Aug 14, 2026
Merged

Add Apache 2.0 license#81
NateshR merged 2 commits into
masterfrom
chore/apache-2.0-license

Conversation

@usmansalimLM

Copy link
Copy Markdown
Contributor

Licenses this repo and @likeminds.community/likeminds-chat-reactjs under Apache 2.0.

Changes

File Change
LICENSE new — canonical Apache 2.0 text, repo root
NOTICE new — LikeMinds copyright attribution (required by Apache §4(d))
core/LICENSE new — same text, so it ships inside the npm tarball
core/package.json added "license": "Apache-2.0" — there was no license field at all
core/README.md added a ## License section
ai-chatbot-webflow-integration/package.json "license" ISCApache-2.0 (see below)

The published package declared no license at all

core/package.json had no license field. npm therefore showed
@likeminds.community/likeminds-chat-reactjs with no license, which is the strongest possible
signal 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.json change
matters as much as the LICENSE file. It takes effect on the next published version only;
1.7.1 and earlier keep "no license" on npm permanently.

Why two LICENSE files

The root LICENSE is what GitHub reads for the repository license badge. But npm packs only
the files inside core/, so the root file would not reach npm consumers. Both are needed and
both are byte-identical. Standard practice for a monorepo that publishes a subdirectory.

The one non-obvious change

ai-chatbot-webflow-integration/package.json declared "license": "ISC". That package is
not published to npm (I checked the registry — 404) and is an npm init default 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, and networking-chat are all marked
"private": true and 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 not
reformat them or fill in the Copyright [yyyy] [name of copyright owner] placeholder in the
Appendix — 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

@likeminds.community/likeminds-chat-reactjs -> likeminds-chat-reactjs (this repo, public)
└── @likeminds.community/chat-js            -> likeminds-chat-js-data (PRIVATE)

The chat-js dependency is already covered by
LikeMindsCommunity/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 the
monorepo layout. Not added here to avoid inventing project documentation.

usmansalimLM and others added 2 commits August 13, 2026 14:09
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>
@usmansalimLM
usmansalimLM requested a review from NateshR August 13, 2026 10:52
@NateshR
NateshR merged commit aba774a into master Aug 14, 2026
1 check failed
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.

2 participants