Skip to content

Commit 027a2ac

Browse files
r@lclaude
andcommitted
fix: rename license files to fix GitHub license detection (#2024)
GitHub's licensee detection returns NOASSERTION because LICENSE.md contains only a short markdown wrapper instead of actual license text. Rename license files to match the pattern used by vis-network (which is detected correctly): * LICENSE.md → LICENSE (keeps the wrapper/index file) * LICENSE.Apache-2.0.txt → LICENSE-APACHE-2.0 * LICENSE.MIT.txt → LICENSE-MIT Update references in README.md and package snapshot test accordingly. Closes #2024 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4106771 commit 027a2ac

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

LICENSE.md renamed to LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Copyright (c) 2014-2017 Almende B.V. and contributors
44
Copyright (c) 2017-2019 vis.js contributors
55

6-
This work is dual-licensed under [Apache-2.0](./LICENSE.Apache-2.0.txt) and [MIT](./LICENSE.MIT.txt).
6+
This work is dual-licensed under [Apache-2.0](./LICENSE-APACHE-2.0) and [MIT](./LICENSE-MIT).
77
You can choose between one of them if you use this work.
88

99
`SPDX-License-Identifier: Apache-2.0 OR MIT`
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
211211
Copyright (c) 2014-2017 Almende B.V. and contributors
212212
Copyright (c) 2017-2025 vis.js contributors
213213

214-
This work is dual-licensed under [Apache-2.0](./LICENSE.Apache-2.0.txt) and [MIT](./LICENSE.MIT.txt).
214+
This work is dual-licensed under [Apache-2.0](./LICENSE-APACHE-2.0) and [MIT](./LICENSE-MIT).
215215
You can choose between one of them if you use this work.
216216

217217
`SPDX-License-Identifier: Apache-2.0 OR MIT`

__snapshots__/package.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ exports['Package Exported files 1'] = {
44
"HISTORY.md": {
55
"empty": false
66
},
7-
"LICENSE.Apache-2.0.txt": {
7+
"LICENSE": {
88
"empty": false
99
},
10-
"LICENSE.md": {
10+
"LICENSE-APACHE-2.0": {
1111
"empty": false
1212
},
13-
"LICENSE.MIT.txt": {
13+
"LICENSE-MIT": {
1414
"empty": false
1515
},
1616
"README.md": {

0 commit comments

Comments
 (0)