Skip to content

Commit

Permalink
fix(javascript): missing search dependency (#3988)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Oct 18, 2024
1 parent 77d4f78 commit b076b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ private void setDefaultGeneratorOptions() {
dependencies.add(dependency);
}
additionalProperties.put("dependencies", dependencies);
additionalProperties.put("searchVersion", Helpers.getPackageJsonVersion("client-search"));

// Files used to generate the `lite` client
clientName = "lite" + Helpers.API_SUFFIX;
Expand Down
1 change: 1 addition & 0 deletions templates/javascript/clients/package.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
{{#dependencies}}
"{{{dependencyPackage}}}": "{{{dependencyVersion}}}",
{{/dependencies}}
"@algolia/client-search": "{{searchVersion}}",
"@algolia/client-common": "{{utilsPackageVersion}}",
"@algolia/requester-browser-xhr": "{{utilsPackageVersion}}",
"@algolia/requester-node-http": "{{utilsPackageVersion}}",
Expand Down

0 comments on commit b076b69

Please sign in to comment.