Semantic Release is a Node module that will automate package publishing to NPM. It can detect breaking changes, abort releases with insufficient test coverage, and generate change logs from commit messages. Kent spends a few minutes sharing some use cases for Semantic Release.
- We're going to talk about automating releases a little bit…but before we get too far into that…I want to talk about why…you would ever want to automate releases.…So, even earlier right after I ran npm publish,…I just realized that I forgot to run the build.…Luckily I'd run the build like earlier…so it wasn't that big of a deal…but if you had like a fresh clone of this,…you deleted the dist or something…and you run npm publish,…you're going to be publishing nothing…and then you'll have to do npm deprecate 1.0.1…or whatever or it would actually be…email@example.com,…say I think the command line flag is M…and like I am not smart…or like, you know,…it would be so embarrassing…and then you'd give everybody's npm console…when they install your package deprecation warning…and like it's really frustrating.…
So, the fact of the matter is there a lot…of manual steps associated with releasing a package,…and that's why we want to automate things.…And so, like there's actually even more things…that we haven't covered that you probably want to do,…
Note: This course was created by Frontend Masters. It was originally released on 08/09/2016. We're pleased to host this training in our library.
- Creating an open-source library
- Linting and testing
- Code coverage
- Installing and configuring Babel
- Peer dependencies
- Forking and renaming
- Continuous integration and automating releases
Skill Level Intermediate
1. Creating an Open-Source Library
2. Linting and Testing
3. Git Hooks, Babel, and Webpack
4. Continuous Integration and Automating Releases
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.