-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: use a separate script to publish to the npm registry
(refs eslint/eslint#10631) This updates the release API to not publish to npm when initially called, and to only publish to npm when invoked as a separate process. This will make it possible to pause the build to ask the user for a TOTP code before publishing, provided that consumers of the package are updated accordingly.
- Loading branch information
1 parent
80a2e80
commit 839f095
Showing
7 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env node | ||
|
||
/** | ||
* @fileoverview CLI to publish a package to npm after changelog and package.json have been updated | ||
* @author Teddy Katz | ||
* @copyright jQuery Foundation and other contributors, https://jquery.org/ | ||
* MIT License | ||
*/ | ||
|
||
"use strict"; | ||
|
||
var ReleaseOps = require("../lib/release-ops"); | ||
|
||
ReleaseOps.publishReleaseToNpm(); |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters