Skip to content

Commit

Permalink
update(webpack-notifier): emoji support in 1.8
Browse files Browse the repository at this point in the history
- `emoji` option support
- version bump
- tests updated

Turbo87/webpack-notifier#54
Turbo87/webpack-notifier@v1.7.0...v1.8.0

Thanks!
  • Loading branch information
peterblazejewicz committed Apr 29, 2020
1 parent 9fb059a commit 1664781
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions types/webpack-notifier/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Type definitions for webpack-notifier 1.5
// Type definitions for webpack-notifier 1.8
// Project: https://github.com/Turbo87/webpack-notifier#readme
// Definitions by: Benjamin Lim <https://github.com/bumbleblym>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3

import { Plugin } from 'webpack';

Expand All @@ -19,6 +19,11 @@ declare namespace WebpackNotifierPlugin {
excludeWarnings?: boolean;
skipFirstNotification?: boolean;
title?: string;
/**
* Use emoji in notifications
* @default false
*/
emoji?: boolean;
}

/** @deprecated use Options */
Expand Down
1 change: 1 addition & 0 deletions types/webpack-notifier/webpack-notifier-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const optionsArray: WebpackNotifierPlugin.Options[] = [
excludeWarnings: true,
alwaysNotify: true,
skipFirstNotification: true,
emoji: true,
},
];

Expand Down

0 comments on commit 1664781

Please sign in to comment.