SAP / generator-easy-ui5

Meta-generator various project types within the UI5 Universe
https://blogs.sap.com/2021/04/09/easy-ui5-3.0-from-community-contributions-to-community-plugins/
Apache License 2.0
235 stars 72 forks source link

fix(postinstall): allow usage of NPM config for ghAuthToken #104

Closed petermuessig closed 2 years ago

petermuessig commented 2 years ago

Using the GH Octokit API to often (unauthenticated) may lead to rate limit or blocking of requests. Therefore, the generator supports setting the NPM config:

npm config set easy-ui5_ghAuthToken ghp_xxxx

With this configuration you won't reach any rate limit or blocking anymore and setting it in your NPM config should be safe enough.

Fixes #100

petermuessig commented 2 years ago

This fix is FYI - I'll tested it locally and this fixes the problems of some colleagues with the postinstall when the API rate limit has been reached.

petermuessig commented 2 years ago

I'll go ahead and release 3.4.0