johnagan / clean-webpack-plugin

A webpack plugin to remove your build folder(s) before building
MIT License
1.96k stars 137 forks source link

use np to handle package releases #145

Closed chrisblossom closed 5 years ago

chrisblossom commented 5 years ago

This is an alternate to https://github.com/johnagan/clean-webpack-plugin/pull/144. Only merge one, close other.

This PR adds the package np to handle package releases. It will automate most everything you need to do when releasing an updated version. See the readme for a more detailed explanation on why.

Use the script npm run release instead of npm publish and follow the prompts.

Note: you might need to update your version of npm using npm install -g npm@latest

Changelog:

// common js const { CleanWebpackPlugin } = require('clean-webpack-plugin');

codecov-io commented 5 years ago

Codecov Report

Merging #145 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #145   +/-   ##
=======================================
  Coverage   98.86%   98.86%           
=======================================
  Files           1        1           
  Lines          88       88           
  Branches       30       30           
=======================================
  Hits           87       87           
  Misses          1        1

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f2e58bf...6bc3b44. Read the comment docs.