Skip to content

Commit bb5f061

Browse files
chore: prepare 2.1.1
1 parent 0d7ee32 commit bb5f061

File tree

8 files changed

+3920
-4989
lines changed

8 files changed

+3920
-4989
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ max_line_length = 80
1212

1313
[*.php]
1414
indent_size = 4
15-
max_line_length = 120
15+
max_line_length = 80
1616

1717
[*.py]
1818
indent_size = 4

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ matrix:
3737
sudo: required
3838

3939
before_install:
40-
- npm i -g npm
40+
- npm i -g npm@latest
4141
- nvm --version
4242
- node --version
4343
- npm --version

CHANGELOG.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,51 +4,56 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](http://semver.org).
66

7+
## 2.1.1 - 2018-08-24
8+
9+
- Chore: minimum required `execa` version is now `^0.11.0`.
10+
- Chore: minimum required `webpack-log` version is now `^2.0.0`.
11+
712
## 2.1.0 - 2018-04-26
813

9-
* Feature: support options for commands.
10-
* Fix: don't crash when `bail: true` in sync event.
14+
- Feature: support options for commands.
15+
- Fix: don't crash when `bail: true` in sync event.
1116

1217
## 2.0.1 - 2018-04-19
1318

14-
* Fix: don't crash when argument is empty (string/array/object).
15-
* Fix: improve output error on empty or invalid event.
19+
- Fix: don't crash when argument is empty (string/array/object).
20+
- Fix: improve output error on empty or invalid event.
1621

1722
## 2.0.0 - 2018-04-19
1823

19-
* Changed: remove `webpack@2` and `webpack@3` support.
20-
* Removed: `onBuildStart`, `onBuildEnd` and `onBuildExit` options. Use new events `onCompile`, `onAfterEmit` and `onDone` options.
24+
- Changed: remove `webpack@2` and `webpack@3` support.
25+
- Removed: `onBuildStart`, `onBuildEnd` and `onBuildExit` options. Use new events `onCompile`, `onAfterEmit` and `onDone` options.
2126

2227
## 1.1.0 - 2018-04-18
2328

24-
* Feature: run `onBuildEnd` and `onBuildExit` in async mode for `webpack@4`.
29+
- Feature: run `onBuildEnd` and `onBuildExit` in async mode for `webpack@4`.
2530

2631
## 1.0.6 - 2018-03-15
2732

28-
* Chore: minimum required `execa` version is now `^0.10.0`.
33+
- Chore: minimum required `execa` version is now `^0.10.0`.
2934

3035
## 1.0.5 - 2018-03-07
3136

32-
* Refactor: reduce memory usage and increase performance.
37+
- Refactor: reduce memory usage and increase performance.
3338

3439
## 1.0.4 - 2018-02-27
3540

36-
* Fixed: compatibility with `webpack >= 4.0.0`.
37-
* Fixed: add `webpack` in `peerDependencies`.
41+
- Fixed: compatibility with `webpack >= 4.0.0`.
42+
- Fixed: add `webpack` in `peerDependencies`.
3843

3944
## 1.0.3 - 2018-01-15
4045

41-
* Chore: minimum required `execa` version is now `^0.9.0`.
46+
- Chore: minimum required `execa` version is now `^0.9.0`.
4247

4348
## 1.0.2 - 2018-01-11
4449

45-
* Chore: simplify error handling.
46-
* Tests: improve code coverage.
50+
- Chore: simplify error handling.
51+
- Tests: improve code coverage.
4752

4853
## 1.0.1 - 2017-12-22
4954

50-
* Fixed: remove unnecessary output `stdout:` and `stderr:`.
55+
- Fixed: remove unnecessary output `stdout:` and `stderr:`.
5156

5257
## 1.0.0 - 2017-12-22
5358

54-
* Chore: public initial release.
59+
- Chore: public initial release.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Supports log [levels](https://github.com/webpack-contrib/webpack-log#level).
145145

146146
## Thanks
147147

148-
* [execa](https://github.com/sindresorhus/execa) - API.
148+
- [execa](https://github.com/sindresorhus/execa) - API.
149149

150150
## [Changelog](CHANGELOG.md)
151151

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`execa-webpack-plugin should not throw error with \`bail: false\` option (async event): errors 1`] = `Array []`;
4+
5+
exports[`execa-webpack-plugin should not throw error with \`bail: false\` option (async event): warnings 1`] = `Array []`;
6+
7+
exports[`execa-webpack-plugin should not throw error with \`bail: false\` option (sync event): errors 1`] = `Array []`;
8+
9+
exports[`execa-webpack-plugin should not throw error with \`bail: false\` option (sync event): warnings 1`] = `Array []`;
10+
11+
exports[`execa-webpack-plugin should throw error invalid \`onFooBar\` option (no events) 1`] = `"Cannot read property 'tap' of undefined"`;
12+
13+
exports[`execa-webpack-plugin should throw error on \`on*\` options are empty (no events) 1`] = `"Known events not found"`;
14+
15+
exports[`execa-webpack-plugin should throw error with \`bail: true\` option (async event) 1`] = `[Error: spawn not-found ENOENT]`;
16+
17+
exports[`execa-webpack-plugin should throw error with \`bail: true\` option (sync event) 1`] = `[Error: spawnSync not-found ENOENT]`;
18+
19+
exports[`execa-webpack-plugin should works and output 'stdout' and 'stderr' with \`logLevel: 'info'\` command (async event): errors 1`] = `Array []`;
20+
21+
exports[`execa-webpack-plugin should works and output 'stdout' and 'stderr' with \`logLevel: 'info'\` command (async event): warnings 1`] = `Array []`;
22+
23+
exports[`execa-webpack-plugin should works and output 'stdout' and 'stderr' with \`logLevel: 'info'\` command (sync event): errors 1`] = `Array []`;
24+
25+
exports[`execa-webpack-plugin should works and output 'stdout' and 'stderr' with \`logLevel: 'info'\` command (sync event): warnings 1`] = `Array []`;
26+
27+
exports[`execa-webpack-plugin should works when nested commands return nothing and 'bail: false' (async event): errors 1`] = `Array []`;
28+
29+
exports[`execa-webpack-plugin should works when nested commands return nothing and 'bail: false' (async event): warnings 1`] = `Array []`;
30+
31+
exports[`execa-webpack-plugin should works when nested commands return nothing and 'bail: false' (sync event): errors 1`] = `Array []`;
32+
33+
exports[`execa-webpack-plugin should works when nested commands return nothing and 'bail: false' (sync event): warnings 1`] = `Array []`;
34+
35+
exports[`execa-webpack-plugin should works with \`on*\` options: errors 1`] = `Array []`;
36+
37+
exports[`execa-webpack-plugin should works with \`on*\` options: warnings 1`] = `Array []`;
38+
39+
exports[`execa-webpack-plugin should works with \`onCompile\` and \`dev\` is \`false\` option (sync event): errors 1`] = `Array []`;
40+
41+
exports[`execa-webpack-plugin should works with \`onCompile\` and \`dev\` is \`false\` option (sync event): warnings 1`] = `Array []`;
42+
43+
exports[`execa-webpack-plugin should works with \`onCompile\` option (sync event): errors 1`] = `Array []`;
44+
45+
exports[`execa-webpack-plugin should works with \`onCompile\` option (sync event): warnings 1`] = `Array []`;
46+
47+
exports[`execa-webpack-plugin should works with \`onCompile\` option with empty argument (sync event) : errors 1`] = `Array []`;
48+
49+
exports[`execa-webpack-plugin should works with \`onCompile\` option with empty argument (sync event) : warnings 1`] = `Array []`;
50+
51+
exports[`execa-webpack-plugin should works with \`onDone\` and \`dev\` is \`false\` options (async event): errors 1`] = `Array []`;
52+
53+
exports[`execa-webpack-plugin should works with \`onDone\` and \`dev\` is \`false\` options (async event): warnings 1`] = `Array []`;
54+
55+
exports[`execa-webpack-plugin should works with \`onDone\` option (async event): errors 1`] = `Array []`;
56+
57+
exports[`execa-webpack-plugin should works with \`onDone\` option (async event): warnings 1`] = `Array []`;
58+
59+
exports[`execa-webpack-plugin should works with \`onDone\` option with empty argument (async event) : errors 1`] = `Array []`;
60+
61+
exports[`execa-webpack-plugin should works with \`onDone\` option with empty argument (async event) : warnings 1`] = `Array []`;
62+
63+
exports[`execa-webpack-plugin should works with deep nested commands (async event): errors 1`] = `Array []`;
64+
65+
exports[`execa-webpack-plugin should works with deep nested commands (async event): warnings 1`] = `Array []`;
66+
67+
exports[`execa-webpack-plugin should works with deep nested commands (sync event): errors 1`] = `Array []`;
68+
69+
exports[`execa-webpack-plugin should works with deep nested commands (sync event): warnings 1`] = `Array []`;
70+
71+
exports[`execa-webpack-plugin should works with multiple nested commands (async event): errors 1`] = `Array []`;
72+
73+
exports[`execa-webpack-plugin should works with multiple nested commands (async event): warnings 1`] = `Array []`;
74+
75+
exports[`execa-webpack-plugin should works with multiple nested commands(sync event): errors 1`] = `Array []`;
76+
77+
exports[`execa-webpack-plugin should works with multiple nested commands(sync event): warnings 1`] = `Array []`;
78+
79+
exports[`execa-webpack-plugin should works with nested commands (async event): errors 1`] = `Array []`;
80+
81+
exports[`execa-webpack-plugin should works with nested commands (async event): warnings 1`] = `Array []`;
82+
83+
exports[`execa-webpack-plugin should works with nested commands (sync event): errors 1`] = `Array []`;
84+
85+
exports[`execa-webpack-plugin should works with nested commands (sync event): warnings 1`] = `Array []`;
86+
87+
exports[`execa-webpack-plugin should works with options (async event): errors 1`] = `Array []`;
88+
89+
exports[`execa-webpack-plugin should works with options (async event): warnings 1`] = `Array []`;
90+
91+
exports[`execa-webpack-plugin should works with options (sync event): errors 1`] = `Array []`;
92+
93+
exports[`execa-webpack-plugin should works with options (sync event): warnings 1`] = `Array []`;

0 commit comments

Comments
 (0)