chore: update license text to fix GitHub license recognition #122
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.
The current, incorrect format of the
LICENSE
file prevents GitHub from recognizing the license type which leads to the GitHub API response giving a response without any relevant license info and prevents the GitHub web interface from displaying any license details and information.The issue can be solved by just putting
MIT License
at the top of the file instead ofSatchelJS
, but it also seemed prudent to update the formatting to match the standard MIT license included in most projects and follow the format of the MIT LicenseLICENSE
file from other Microsoft projects.I took the license text in this PR from the VS Code project's
LICENSE.txt
file, and updated the copyright date to match the year of the first commit in this repo.Here is the GitHub API response for basic license information from
microsoft/satcheljs
:And here is the response for basic license information for
microsoft/vscode
:You can see an example of the extended License information that GitHub shows in it's web interface by looking at the
LICENSE.txt
file for VS Code and in the included screenshot below.