Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@circleci/circleci-config-sdk

Package Overview
Dependencies
Maintainers
154
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@circleci/circleci-config-sdk - npm Package Compare versions

Comparing version 0.5.0-alpha.2 to 0.5.0-alpha.3

3

dist/src/lib/Components/Commands/Reusable/index.d.ts

@@ -6,3 +6,3 @@ import { Component } from '../..';

import { Command, CommandSchema } from '../Command';
declare type CustomCommandSchema = {
export declare type CustomCommandSchema = {
[name: string]: {

@@ -25,3 +25,2 @@ parameters: CustomParametersSchema;

}
export {};
//# sourceMappingURL=index.d.ts.map

@@ -1,2 +0,2 @@

import { Command } from '../Components/Commands/Command';
import { CustomCommand } from '../Components/Commands/Reusable';
import { ReusableExecutor } from '../Components/Executor';

@@ -27,3 +27,3 @@ import { Job } from '../Components/Job';

*/
commands: Command[];
commands: CustomCommand[];
/**

@@ -51,3 +51,3 @@ * A Workflow is comprised of one or more uniquely named jobs.

*/
constructor(setup?: boolean, jobs?: Job[], workflows?: Workflow[], executors?: ReusableExecutor[], commands?: Command[], parameters?: CustomParametersList<PrimitiveParameterLiteral>);
constructor(setup?: boolean, jobs?: Job[], workflows?: Workflow[], executors?: ReusableExecutor[], commands?: CustomCommand[], parameters?: CustomParametersList<PrimitiveParameterLiteral>);
/**

@@ -59,2 +59,7 @@ * Add a Workflow to the current Config. Chainable

/**
* Add a Custom Command to the current Config. Chainable
* @param command - Injectable command
*/
addCustomCommand(command: CustomCommand): this;
/**
* Add a Workflow to the current Config. Chainable

@@ -69,2 +74,11 @@ * @param workflow - Injectable Workflow

addJob(job: Job): this;
/**
* Define a pipeline parameter for the current Config. Chainable
*
* @param name - The name of the parameter
* @param type - The type of parameter
* @param defaultValue - The default value of the parameter
* @param description - A description of the parameter
* @param enumValues - An array of possible values for parameters of enum type
*/
defineParameter(name: string, type: PrimitiveParameterLiteral, defaultValue?: unknown, description?: string, enumValues?: string[]): Config;

@@ -87,3 +101,3 @@ private prependVersionComment;

jobs?: Job[];
commands?: Command[];
commands?: CustomCommand[];
workflows?: Workflow[];

@@ -90,0 +104,0 @@ }

{
"name": "@circleci/circleci-config-sdk",
"version": "0.5.0-alpha.2",
"version": "0.5.0-alpha.3",
"description": "An SDK for building CircleCI Configuration files with JavaScript.",

@@ -5,0 +5,0 @@ "main": "dist/circleci-config-sdk.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc