microsoft / microsoft/kiota

`kiota info -l TypeScript` should not automatically emit the `kiota-authentication-azure` package

Open
#3,019 2 comments 0 reactions 1 assignee Assigned to @sebastienlevert View on GitHub
enhancement generator needs more information
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

Based on my experience, adding this package to all apps being build is not necessary. Do we have a way to identify that azure identity is required? I feel it bloats an app that doesn't rely on azure.

## Generation

```bash
kiota generate -l typescript -o generated -d https://raw.githubusercontent.com/nytimes/public_api_specs/master/movie_reviews/movie_reviews_v2.json -c NytMovieClient -n Nyt
```

## Information

```bash
kiota info -l TypeScript

The language TypeScript is currently in Experimental maturity level.
After generating code for this language, you need to install the following packages:
npm install @microsoft/kiota-abstractions@1.0.0-preview.22 -S
npm install @microsoft/kiota-http-fetchlibrary@1.0.0-preview.21 -S
npm install @microsoft/kiota-serialization-form@1.0.0-preview.11 -S
npm install @microsoft/kiota-serialization-json@1.0.0-preview.20 -S
npm install @microsoft/kiota-authentication-azure@1.0.0-preview.17 -S
npm install @microsoft/kiota-serialization-text@1.0.0-preview.19 -S
```

Thoughts on this @baywet and @koros?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.