machinepack-fs
Advanced tools
Comparing version 2.0.3 to 2.1.0
module.exports = { | ||
friendlyName: 'Create directory', | ||
description: 'Create a new directory.', | ||
inputs: { | ||
destination: { | ||
description: 'The destination path where the new directory should be created.', | ||
extendedDescription: 'If a relative path is provided, it will be resolved to an absolute path using the current working directory.', | ||
example: '/Users/mikermcneil/.tmp/bar', | ||
required: true | ||
}, | ||
force: { | ||
description: 'Whether or not to overwrite a file or directory which already exists at the specified destination.', | ||
example: true | ||
} | ||
}, | ||
defaultExit: 'success', | ||
exits: { | ||
error: {}, | ||
success: {}, | ||
alreadyExists: { | ||
description: 'Something already exists at the specified path (overwrite by enabling the `force` input)' | ||
} | ||
}, | ||
fn: function (inputs, exits) { | ||
@@ -59,2 +79,4 @@ | ||
} | ||
}; |
{ | ||
"name": "machinepack-fs", | ||
"version": "2.0.3", | ||
"version": "2.1.0", | ||
"description": "Work with the local filesystem; list files, write files, etc.", | ||
@@ -23,3 +23,3 @@ "scripts": { | ||
"walker": "~1.0.6", | ||
"machine": "^2.0.0", | ||
"machine": "^4.0.0", | ||
"async": "^0.9.0", | ||
@@ -46,5 +46,7 @@ "machinepack-util": "^0.7.0" | ||
"mv", | ||
"mkdir" | ||
] | ||
"mkdir", | ||
"ensure-dir" | ||
], | ||
"testsUrl": "https://travis-ci.org/mikermcneil/machinepack-fs" | ||
} | ||
} |
24028
17
624
10
+ Addedmachine@4.1.1(transitive)
Updatedmachine@^4.0.0