This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c1d76260-3e1f-4789-9c6a-12c02bc6afec XWIKI-25430 Open

Publish npm packages with the release manager's two-factor authentication

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7a472730-8c8b-4ecb-84ae-c41c1809015f Manuel Leduc created this issue on 21/Oct/26 10:03
 
Summary: Publish npm packages with the release manager's two-factor authentication
Issue Type: cid:jira-generated-image-avatar-c1d76260-3e1f-4789-9c6a-12c02bc6afec Task
Affects Versions: 18.0.0
Assignee: Unassigned
Components: Development Issues only
Created: 21/Oct/26 10:03
Priority: cid:jira-generated-image-static-major-f9ce1f6d-8694-4315-b222-d743b9ac12db Major
Reporter: Manuel Leduc
Description:

From January 2027, npm no longer lets a token that bypasses two-factor authentication publish packages. Our releases publish the @xwiki/platform-* packages with such a token, so the first release after that date will fail to publish them.

Proposed change

  • The release manager approves the npm publication with their own npm account and two-factor authentication, at the end of the release.
  • The release token no longer bypasses two-factor authentication.
  • A failed npm publication can be resumed without publishing the already published packages again.
  • The Release Plan checks that every package version is available on npm before the release is announced.
 
 

2 updates

 
cid:jira-generated-image-avatar-7a472730-8c8b-4ecb-84ae-c41c1809015f Changes by Manuel Leduc on 21/Oct/26 10:03
 
Description: From January 2027, npm no longer lets a token that bypasses two-factor authentication publish packages. Our releases publish the {{@xwiki/platform-*}} packages with such a token, so the first release after that date will fail to publish them.

h2. Proposed change

* The release manager approves the npm publication with their own npm account and two-factor authentication, at the end of the release.
* The release token no longer bypasses two-factor authentication.
* A failed npm publication can be resumed without publishing the already published packages again.

* The Release Plan checks that every package version is available on npm before the release is announced.
Assignee: Manuel Leduc