You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cloudbuild-task-contracts

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudbuild-task-contracts - npm Package Compare versions

Comparing version

to
0.1.64-alpha

8

lib/PullRequest.d.ts
export interface PullRequestSource {
ref: string;
sha?: string;
readonly ref: string;
readonly sha?: string;
}
export interface PullRequestTarget {
ref: string;
sha?: string;
readonly ref: string;
readonly sha?: string;
}

@@ -9,0 +9,0 @@ export interface PullRequest {

export interface RepoInfo {
path: string;
ref?: string;
sha: string;
uri?: string;
readonly path: string;
readonly ref?: string;
readonly sha: string;
readonly uri?: string;
}
//# sourceMappingURL=RepoInfo.d.ts.map
{
"name": "cloudbuild-task-contracts",
"version": "0.1.52-alpha",
"version": "0.1.64-alpha",
"description": "Abstractions that most/all cloud build services can fulfill in order to allow the development of tasks for submission to the various cloud build marketplaces while maintaining primarily just one codebase.",
"main": "lib/index.js",
"engines": {
"node": ">= 6.0"
"node": ">= 10.0"
},
"scripts": {
"build": "tsc",
"watch": "tsc -watch"
"watch": "tsc -watch",
"test": "jest"
},

@@ -13,0 +14,0 @@ "repository": {

# cloudbuild-task-contracts
![These NPM packages are typed with TypeScript](https://img.shields.io/npm/types/cloudbuild-task-contracts)
![MIT license](https://img.shields.io/npm/l/cloudbuild-task-contracts)
![Required Node](https://img.shields.io/node/v/cloudbuild-task-contracts)
This package defines a common abstraction around potentially any cloud build (PR/CI build system)

@@ -4,0 +8,0 @@ that defines special 'tasks' that may take inputs and perform built-in operations.

export interface PullRequestSource {
/** The branch name. Includes the `refs/heads/` prefix. */
ref: string;
readonly ref: string;
/** The full git commit ID */
sha?: string;
readonly sha?: string;
}

@@ -10,5 +10,5 @@

/** The branch name. Includes the `refs/heads/` prefix. */
ref: string;
readonly ref: string;
/** The full git commit ID */
sha?: string;
readonly sha?: string;
}

@@ -15,0 +15,0 @@

/** Describes the branch, tag or commit being built. */
export interface RepoInfo {
/** The full path to the root of the cloned repo. */
path: string;
readonly path: string;
/** The ref that was checked out. Includes the `refs/heads/` or `refs/tags/` prefix. */
ref?: string;
readonly ref?: string;
/** The full git commit ID that was checked out. */
sha: string;
readonly sha: string;
/** The git remote URL */
uri?: string;
readonly uri?: string;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet