@circleci/circleci-config-sdk
Advanced tools
Comparing version 0.10.1 to 0.11.0
@@ -19,2 +19,9 @@ import { GenerableType } from '../../../../Config/exports/Mapping'; | ||
get generableType(): GenerableType; | ||
/** | ||
* Enable docker image layer caching | ||
* @param enabled - If true, docker layer caching is enabled for the job. | ||
* @returns SetupRemoteDocker - The current instance of the SetupRemoteDocker Command. | ||
* @see {@link https://circleci.com/docs/2.0/docker-layer-caching/} | ||
*/ | ||
setDockerLayerCaching(enabled: boolean): SetupRemoteDocker; | ||
} | ||
@@ -30,2 +37,3 @@ /** | ||
version: StringParameter; | ||
docker_layer_caching?: boolean; | ||
} | ||
@@ -32,0 +40,0 @@ /** |
@@ -15,7 +15,15 @@ import { GenerableType } from '../../../Config/exports/Mapping'; | ||
image: string; | ||
constructor(resource_class?: MachineResourceClass, image?: string); | ||
docker_layer_caching?: boolean; | ||
constructor(resource_class?: MachineResourceClass, image?: string, docker_layer_caching?: boolean); | ||
generateContents(): MachineExecutorShape; | ||
get generableType(): GenerableType; | ||
get executorLiteral(): ExecutorLiteral; | ||
/** | ||
* Enable docker image layer caching | ||
* @param enabled - If true, docker layer caching is enabled for the machine executor. | ||
* @returns MachineExecutor - The current instance of the MachineExecutor Command. | ||
* @see {@link https://circleci.com/docs/2.0/docker-layer-caching/} | ||
*/ | ||
setDockerLayerCaching(enabled: boolean): MachineExecutor; | ||
} | ||
//# sourceMappingURL=MachineExecutor.d.ts.map |
{ | ||
"name": "@circleci/circleci-config-sdk", | ||
"version": "v0.10.1", | ||
"version": "v0.11.0", | ||
"description": "An SDK for building CircleCI Configuration files with JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -52,3 +52,3 @@ # CircleCI Config SDK | ||
In Node.js: | ||
In Browser: | ||
@@ -59,3 +59,3 @@ ```typescript | ||
In Browser: | ||
In Node.js: | ||
@@ -62,0 +62,0 @@ ```javascript |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
871514
2765