Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use np to handle package releases #145

Merged
merged 1 commit into from May 30, 2019
Merged

Conversation

chrisblossom
Copy link
Collaborator

@chrisblossom chrisblossom commented May 29, 2019

This is an alternate to #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:

  • Removed Node 6 support
  • Removed webpack 2 support
  • cleanOnceBeforeBuildPatterns use emit hook instead of compile
  • Do not clean files if webpack errors are present during initial build
  • Replaced default export with named export CleanWebpackPlugin
// es modules
import { CleanWebpackPlugin } from 'clean-webpack-plugin';

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

@chrisblossom chrisblossom mentioned this pull request May 29, 2019
@codecov-io
Copy link

codecov-io commented May 29, 2019

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.

@johnagan johnagan merged commit 67eb0bd into johnagan:master May 30, 2019
@chrisblossom chrisblossom deleted the use-np branch May 30, 2019 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants