Skip to content

Commit 4f843b3

Browse files
committedDec 6, 2019
Update dependencies
1 parent a31ef18 commit 4f843b3

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed
 

‎package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Copy files",
55
"license": "MIT",
66
"repository": "sindresorhus/cpy-cli",
7+
"funding": "https://github.com/sponsors/sindresorhus",
78
"author": {
89
"name": "Sindre Sorhus",
910
"email": "sindresorhus@gmail.com",
@@ -49,14 +50,14 @@
4950
"contents"
5051
],
5152
"dependencies": {
52-
"cpy": "^7.2.0",
53+
"cpy": "^8.0.0",
5354
"meow": "^5.0.0"
5455
},
5556
"devDependencies": {
56-
"ava": "^1.4.1",
57+
"ava": "^2.4.0",
5758
"execa": "^1.0.0",
5859
"path-exists": "^4.0.0",
5960
"tempfile": "^3.0.0",
60-
"xo": "^0.24.0"
61+
"xo": "^0.25.3"
6162
}
6263
}

‎readme.md

-4
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,19 @@
22

33
> Copy files
44
5-
65
## Why
76

87
- Fast by using streams.
98
- Resilient by using [graceful-fs](https://github.com/isaacs/node-graceful-fs).
109
- User-friendly by accepting [globs](https://github.com/sindresorhus/globby#globbing-patterns) and creating non-existant destination directories.
1110
- User-friendly error messages.
1211

13-
1412
## Install
1513

1614
```
1715
$ npm install --global cpy-cli
1816
```
1917

20-
2118
## Usage
2219

2320
```
@@ -42,7 +39,6 @@ $ cpy --help
4239
$ cpy '**/*.html' '../dist/' --cwd=src --parents
4340
```
4441

45-
4642
## Related
4743

4844
- [cpy](https://github.com/sindresorhus/cpy) - API for this module

‎test.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ test.beforeEach(t => {
1212
});
1313

1414
test('missing file operands', async t => {
15-
await t.throwsAsync(execa('./cli.js'), /`files` and `destination` required/);
15+
await t.throwsAsync(execa('./cli.js'), /`source` and `destination` required/);
1616
});
1717

18-
// TODO: Blocked by https://github.com/mrmlnc/fast-glob/issues/110
19-
test.failing('source file does not exist', async t => {
18+
test('source file does not exist', async t => {
2019
await t.throwsAsync(execa('./cli.js', [path.join(t.context.tmp, 'nonexistentfile'), t.context.tmp]), /nonexistentfile/);
2120
});
2221

0 commit comments

Comments
 (0)
Please sign in to comment.