chore: remove axios dependency from CLI ()

This commit is contained in:
Ben McCann 2024-02-05 11:29:00 -08:00 committed by GitHub
commit 6ed33da2a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
218 changed files with 22789 additions and 237 deletions

View file

@ -18,7 +18,8 @@ function dart {
function typescript {
rm -rf ./typescript-sdk/client
npx --yes @openapitools/openapi-generator-cli generate -g typescript-axios -i ./immich-openapi-specs.json -o ./typescript-sdk/client --additional-properties=useSingleRequestParameter=true
npx --yes @openapitools/openapi-generator-cli generate -g typescript-axios -i ./immich-openapi-specs.json -o ./typescript-sdk/axios-client --additional-properties=useSingleRequestParameter=true,supportsES6=true
npx --yes @openapitools/openapi-generator-cli generate -g typescript-fetch -i ./immich-openapi-specs.json -o ./typescript-sdk/fetch-client --additional-properties=useSingleRequestParameter=true,supportsES6=true
npm --prefix typescript-sdk ci && npm --prefix typescript-sdk run build
}