Skip to content

Commit

Permalink
chore: replace lodash.camelCase with camelcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Jul 18, 2024
1 parent 89d588a commit 72394be
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
20 changes: 17 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
"@types/sinon": "^17.0.0",
"camelcase": "^8.0.0",
"esbuild": "^0.23.0",
"fetch-mock": "npm:@gr2m/fetch-mock@^9.11.0-pull-request-644.1",
"github-openapi-graphql-query": "^4.3.1",
Expand Down
4 changes: 2 additions & 2 deletions scripts/update-endpoints/types.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { writeFileSync, readFileSync } from "node:fs";
import { join as pathJoin } from "node:path";

import camelCase from "lodash.camelcase";
import camelcase from "camelcase";
import { format } from "prettier";
import { stringToJsdocComment } from "string-to-jsdoc-comment";
import sortKeys from "sort-keys";
Expand Down Expand Up @@ -39,7 +39,7 @@ async function generateTypes() {
);

return namespaces.concat({
namespace: camelCase(namespace),
namespace: camelcase(namespace),
methods,
});
}, []);
Expand Down

0 comments on commit 72394be

Please sign in to comment.