un-ts / changesets-gitlab

GitLab CI cli for changesets like its GitHub Action.
https://opencollective.com/unts/projects/changesets-gitlab
MIT License
86 stars 33 forks source link

feat: add PREFER_PROJECT_LEVEL_NPMRC #172

Open h3rmanj opened 6 months ago

h3rmanj commented 6 months ago

Implements the PREFER_PROJECT_LEVEL_NPMRC suggested in https://github.com/un-ts/changesets-gitlab/pull/161#issuecomment-1918968523

I had to move the computation of npmrcPath to it's own function to avoid getting an error with the sonar/cognitive-complexity rule.

Also restructured the publishing docs a bit to try to clarify the available options valid with changesets-gitlab.

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: 7e1f66fd0b6fd410817f3ec8504e19db58f1be48

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | changesets-gitlab | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codesandbox-ci[bot] commented 6 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.