Skip to content

Commit 3d640c7

Browse files
committed
run update, bump deps
1 parent 862e988 commit 3d640c7

7 files changed

Lines changed: 26 additions & 25 deletions

File tree

.editorconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ indent_style = space
99
insert_final_newline = true
1010
trim_trailing_whitespace = true
1111

12-
[{**/{actual,fixtures,expected,templates}/**,*.md}]
12+
[*.md]
1313
trim_trailing_whitespace = false
14-
insert_final_newline = false

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ sudo: false
22
os:
33
- linux
44
- osx
5+
- windows
56
language: node_js
67
node_js:
78
- node
9+
- '11'
10+
- '10'
811
- '9'
912
- '8'

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015-2018, Jon Schlinkert.
3+
Copyright (c) 2015-present, Jon Schlinkert.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,20 @@ $ npm install --save base-task
1717
```js
1818
const Base = require('base');
1919
const tasks = require('base-task');
20-
2120
const base = new Base();
21+
2222
base.use(tasks());
2323

2424
/**
2525
* Define tasks
2626
*/
2727

28-
base.task('foo', function(cb) {
28+
base.task('foo', cb => {
2929
console.log('this is foo!');
3030
cb();
3131
});
32-
base.task('bar', function(cb) {
32+
33+
base.task('bar', cb => {
3334
console.log('this is bar!');
3435
cb();
3536
});
@@ -139,12 +140,12 @@ Compose task or list of tasks into a single function that runs the tasks in seri
139140
**Example**
140141

141142
```js
142-
app.task('foo', function(cb) {
143+
app.task('foo', cb => {
143144
console.log('this is foo');
144145
cb();
145146
});
146147

147-
const build = app.series('foo', function(cb) {
148+
const build = app.series('foo', cb => {
148149
console.log('this is bar');
149150
cb();
150151
});
@@ -170,14 +171,14 @@ Compose task or list of tasks into a single function that runs the tasks in para
170171
**Example**
171172

172173
```js
173-
app.task('foo', function(cb) {
174+
app.task('foo', cb => {
174175
setTimeout(function() {
175176
console.log('this is foo');
176177
cb();
177178
}, 500);
178179
});
179180

180-
const build = app.parallel('foo', function(cb) {
181+
const build = app.parallel('foo', cb => {
181182
console.log('this is bar');
182183
cb();
183184
});
@@ -273,19 +274,19 @@ Other base plugins you might be interested in:
273274

274275
### Contributors
275276

276-
| **Commits** | **Contributor** |
277-
| --- | --- |
278-
| 52 | [jonschlinkert](https://github.com/jonschlinkert) |
279-
| 6 | [doowb](https://github.com/doowb) |
280-
| 2 | [davequick](https://github.com/davequick) |
277+
| **Commits** | **Contributor** |
278+
| --- | --- |
279+
| 60 | [jonschlinkert](https://github.com/jonschlinkert) |
280+
| 6 | [doowb](https://github.com/doowb) |
281+
| 2 | [davequick](https://github.com/davequick) |
281282

282283
### Author
283284

284285
**Jon Schlinkert**
285286

286-
* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
287287
* [GitHub Profile](https://github.com/jonschlinkert)
288288
* [Twitter Profile](https://twitter.com/jonschlinkert)
289+
* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)
289290

290291
### License
291292

@@ -294,4 +295,4 @@ Released under the [MIT License](LICENSE).
294295

295296
***
296297

297-
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on March 03, 2018._
298+
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on November 22, 2018._

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
"test": "mocha"
2626
},
2727
"dependencies": {
28-
"composer": "^2.0.2",
28+
"composer": "^4.1.0",
2929
"define-property": "^2.0.2"
3030
},
3131
"devDependencies": {
3232
"base": "^3.0.0",
33-
"gulp-format-md": "^1.0.0",
34-
"mocha": "^3.5.3"
33+
"gulp-format-md": "^2.0.0",
34+
"mocha": "^5.2.0"
3535
},
3636
"keywords": [
3737
"api",

test.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,9 @@ describe('tasks', function() {
9393

9494
base.on('task', task => {
9595
switch (task.status) {
96-
case 'register':
9796
case 'starting':
98-
case 'finished':
97+
case 'finished': {
9998
count++;
100-
default: {
101-
break;
10299
}
103100
}
104101
});
@@ -107,6 +104,6 @@ describe('tasks', function() {
107104
base.task('b', next => next());
108105

109106
await base.build(['a', 'b']);
110-
assert.equal(count, 6);
107+
assert.equal(count, 4);
111108
});
112109
});

0 commit comments

Comments
 (0)