[LMPLUGIN-8] Allow reading the npm auth-token from .npmrc Created: 22/Apr/16 Updated: 11/May/16 Resolved: 10/May/16 |
|
| Status: | Closed |
| Project: | Magnolia Light Module Maven Plugin |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.0.1 |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Espen Jervidalo | Assignee: | Espen Jervidalo |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.5h | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Sprint: | Basel 43 |
| Story Points: | 1 |
| Description |
|
Even after the final release of nexus3 it seems the user-token authentication used in nexus2 does not seem to work properly or the realm has changed. Either way adding the possibility to use the npm Bearer token is a legit use case, so you can use the generated '.npmrc' file for obtaining the auth token generated by:
npm login --registry=https://npm.magnolia-cms.com/repository/npm-internal/
Note: the tailing '/' is important. Otherwise it will add an entry with 'https://npm.magnolia-cms.com/repository' in .npmrc. Weird.. Reference: |