Installations
npm install fork-ts-checker-notifier-webpack-plugin
Developer
johnnyreilly
Developer Guide
Module System
CommonJS
Min. Node Version
>=16
Typescript Support
Yes
Node Version
16.20.2
NPM Version
8.19.4
Statistics
53 Stars
76 Commits
12 Forks
4 Watching
8 Branches
15 Contributors
Updated on 23 Oct 2023
Languages
TypeScript (82%)
JavaScript (9.71%)
Dockerfile (8.29%)
Total Downloads
Cumulative downloads
Total Downloads
7,479,592
Last day
-16.8%
4,737
Compared to previous day
Last week
-0.9%
26,604
Compared to previous week
Last month
0.3%
112,478
Compared to previous month
Last year
-22.9%
1,449,396
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
fork-ts-checker-notifier-webpack-plugin
This is a webpack plugin that uses the node-notifier package to display build status system notifications to the user. It's purpose is to work with the fork-ts-checker-webpack-plugin. This deliberately has a similar API as the excellent webpack-notifier plugin. If you are not using fork-ts-checker-webpack-plugin and you want system notifications then you probably want webpack-notifier.
The plugin will notify you about the first run (success/fail), all failed runs and the first successful run after recovering from a build failure. In other words: it will stay silent if everything is fine with your build.
Installation
This plugin requires minimum fork-ts-checker-webpack-plugin@6, webpack 4, see fork-ts-checker-webpack-plugin for minimum requirements.
Use yarn
to install packages:
yarn add --dev fork-ts-checker-webpack-plugin fork-ts-checker-notifier-webpack-plugin
Alternatively, use npm
:
npm install --save-dev fork-ts-checker-webpack-plugin fork-ts-checker-notifier-webpack-plugin
Usage
In the webpack.config.js
file:
1var ForkTsCheckerNotifierWebpackPlugin = require('fork-ts-checker-notifier-webpack-plugin'); 2var ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); 3 4var config = module.exports = { 5 /** 6 * Plugin order is important. 7 * A wrong order will cause some hooks to be undefined 8 * and the build to fail 9 */ 10 plugins: [ 11 new ForkTsCheckerWebpackPlugin(), 12 new ForkTsCheckerNotifierWebpackPlugin({ excludeWarnings: true }), 13 ] 14},
Configuration
Title
Title prefix shown in the notifications.
1new ForkTsCheckerNotifierWebpackPlugin({ title: 'Webpack' });
Exclude Warnings
If set to true
, warnings will not cause a notification.
1new ForkTsCheckerNotifierWebpackPlugin({ excludeWarnings: true });
Always Notify
Trigger a notification every time. Call it "noisy-mode".
1new ForkTsCheckerNotifierWebpackPlugin({ alwaysNotify: true });
Skip Notification on the First Build
Do not notify on the first build. This allows you to receive notifications on subsequent incremental builds without being notified on the initial build.
1new ForkTsCheckerNotifierWebpackPlugin({ skipFirstNotification: true });
Skip Notification for successfull builds
Skip notifications for successful builds.
1new ForkTsCheckerNotifierWebpackPlugin({ skipSuccessful: true });
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
Found 9/18 approved changesets -- score normalized to 5
Reason
9 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/push.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/push.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/push.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/johnnyreilly/fork-ts-checker-notifier-webpack-plugin/release.yml/master?enable=pin
- Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating node:16 to node:16@sha256:f77a1aef2da8d83e45ec990f45df50f1a286c5fe8bbfb8c6e4246c6389705c0b
- Warn: npmCommand not pinned by hash: .github/workflows/push.yml:18
- Warn: npmCommand not pinned by hash: .github/workflows/release.yml:21
- Info: 0 out of 4 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 containerImage dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 27 are checked with a SAST tool
Score
3.1
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreOther packages similar to fork-ts-checker-notifier-webpack-plugin
fork-ts-checker-webpack-plugin
Runs typescript type checker and linter on separate process.
webpack-notifier
webpack + node-notifier = build status system notifications
@vue/cli-plugin-typescript
typescript plugin for vue-cli
fork-ts-checker-webpack-plugin-alt
Runs typescript type checker and linter on separate process.