Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
1,883 additions
and
18 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
package jenkins.plugins.nodejs; | ||
|
||
public final class NodeJSConstants { | ||
|
||
private NodeJSConstants() { | ||
// constructor | ||
} | ||
|
||
/** | ||
* Default extension for javascript file. | ||
*/ | ||
public static final String JAVASCRIPT_EXT = ".js"; | ||
|
||
/** | ||
* The location of user-level configuration settings. | ||
*/ | ||
public static final String NPM_USERCONFIG = "npm_config_userconfig"; | ||
|
||
/** | ||
* Force npm to always require authentication when accessing the registry, | ||
* even for GET requests. | ||
* <p> | ||
* Default: false<br> | ||
* Type: Boolean | ||
* </p> | ||
*/ | ||
public static final String NPM_SETTINGS_ALWAYS_AUTH = "always-auth"; | ||
/** | ||
* The base URL of the npm package registry. | ||
* <p> | ||
* Default: https://registry.npmjs.org/<br> | ||
* Type: url | ||
* </p> | ||
*/ | ||
public static final String NPM_SETTINGS_REGISTRY = "registry"; | ||
/** | ||
* The authentication base64 string >USER<:>PASSWORD< used to | ||
* login to the global registry. | ||
*/ | ||
public static final String NPM_SETTINGS_AUTH = "_auth"; | ||
|
||
} |
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
Oops, something went wrong.