-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from zowe/add-dep-reg
Add dep reg
- Loading branch information
Showing
3 changed files
with
77 additions
and
15 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
35 changes: 35 additions & 0 deletions
35
src/org/zowe/pipelines/nodejs/models/DependencyDefinition.groovy
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,35 @@ | ||
/* | ||
* This program and the accompanying materials are made available under the terms of the | ||
* Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Copyright Contributors to the Zowe Project. | ||
*/ | ||
|
||
package org.zowe.pipelines.nodejs.models | ||
|
||
class DependencyDefinition { | ||
/** | ||
* Package name of the specified dependency | ||
* | ||
* @Note Remember to use the pull package name which can include a scope | ||
*/ | ||
String name | ||
|
||
/** | ||
* Package version or tag of the specified depencency | ||
*/ | ||
String version | ||
|
||
/** | ||
* Registry URL to which the specified dependecy should be associated | ||
* | ||
* <p>If the registry is not specified, it will default to the public NPM registry</p> | ||
* | ||
* @default "https://registry.npmjs.org/" | ||
*/ | ||
String registry = "https://registry.npmjs.org/" | ||
} | ||
|
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