Skip to content

Commit 796ae3f

Browse files
authored
chore(javascript): add license to the root of the repo (#3610)
1 parent 3484756 commit 796ae3f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

clients/algoliasearch-client-javascript/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://npmjs.org/package/algoliasearch"><img src="https://img.shields.io/npm/v/algoliasearch.svg?style=flat-square" alt="NPM version"></img></a>
1010
<a href="http://npm-stat.com/charts.html?package=algoliasearch"><img src="https://img.shields.io/npm/dm/algoliasearch.svg?style=flat-square" alt="NPM downloads"></a>
1111
<a href="https://www.jsdelivr.com/package/npm/algoliasearch"><img src="https://data.jsdelivr.com/v1/package/npm/algoliasearch/badge" alt="jsDelivr Downloads"></img></a>
12-
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>
12+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>
1313
</p>
1414
</p>
1515

@@ -71,4 +71,4 @@ Encountering an issue? Before reaching out to support, we recommend heading to o
7171

7272
## 📄 License
7373

74-
The Algolia JavaScript API Client is an open-sourced software licensed under the [MIT license](LICENSE).
74+
The Algolia JavaScript API Client is an open-sourced software licensed under the [MIT license](LICENSE).

generators/src/main/java/com/algolia/codegen/AlgoliaJavascriptGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public void processOpts() {
6060
supportingFiles.add(new SupportingFile("index.d.mustache", "", "index.d.ts"));
6161

6262
supportingFiles.add(new SupportingFile("LICENSE", "", "LICENSE"));
63+
supportingFiles.add(new SupportingFile("LICENSE", "", "../../LICENSE"));
6364
supportingFiles.add(new SupportingFile("issue.yml", "../../.github/workflows", "issue.yml"));
6465

6566
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));

templates/javascript/clients/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://npmjs.org/package/{{npmPackageName}}"><img src="https://img.shields.io/npm/v/{{npmPackageName}}.svg?style=flat-square" alt="NPM version"></img></a>
1010
<a href="http://npm-stat.com/charts.html?package={{npmPackageName}}"><img src="https://img.shields.io/npm/dm/{{npmPackageName}}.svg?style=flat-square" alt="NPM downloads"></a>
1111
<a href="https://www.jsdelivr.com/package/npm/{{npmPackageName}}"><img src="https://data.jsdelivr.com/v1/package/npm/{{npmPackageName}}/badge" alt="jsDelivr Downloads"></img></a>
12-
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>
12+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>
1313
</p>
1414
</p>
1515

0 commit comments

Comments
 (0)