DevOps

Watch User Created Playlist (12)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

Writing conventional commits with commitizen

Automating Releases with semantic-release

Automatically Releasing with TravisCI

Practical Git: Use semantic versioning with git tag

Releasing a new version to npm

Committing a new feature with commitizen

Automatically running tests before commits with ghooks

Adding badges to your README

Publishing a beta version

Limit Built Branches on Travis

Add manifest files to npm packages using npm init

Publish npm packages using npm publish

git tutorial about Writing conventional commits with commitizen

Writing conventional commits with commitizen

4:47 git

Because semantic-release requires a specific message format, it's easier to follow this convention using a tool called commitizen. In this lesson, we'll use it to write our first conventional commit message.

npm tutorial about Automating Releases with semantic-release

Automating Releases with semantic-release

5:49 npm

There are so many repeated steps when releasing a new version of a library. The tool semantic-release automates this process by pushing off the responsibility of your releases to continuous integration. Trust us, this will change your workflow for the better.

javascript tutorial about Automatically Releasing with TravisCI

Automatically Releasing with TravisCI

3:52 javascript

Now that we have everything set up with semantic-release and we have a feature commit, let's push that up and watch TravisCI use semantic-release do our library release automatically.

git tutorial about Practical Git: Use semantic versioning with git tag

Practical Git: Use semantic versioning with git tag

2:14 git

Using git tag we can create references to commits that are immutable; this is usually used for making public releases. In this lesson, we show how to use git tag and go over common Semantic Versioning (AKA semver) conventions.

npm tutorial about Releasing a new version to npm

Releasing a new version to npm

3:24 npm

When you want to add a new feature, fix a bug, or push out a breaking API change, you need to take Semantic Versioning into account. In this lesson, learn what each number means as well as how to push out a new version of your library.

git tutorial about Committing a new feature with commitizen

Committing a new feature with commitizen

3:49 git

In this lesson, we'll add a new feature to our library and use commitizen to generate our commit message that follows the convention for semantic-release to know it needs to bump the minor version.

javascript tutorial about Automatically running tests before commits with ghooks

Automatically running tests before commits with ghooks

3:02 javascript

Wouldn't it be nice if everyone ran the tests before committing code? With ghooks, you can automatically add a githook when dependencies are installed which will allow you to define common scripts to be run at various points during git actions (like committing). In this lesson, we'll add a githook for running the tests before we commit code to make sure we don't commit anything that breaks the tests.

javascript tutorial about Adding badges to your README

Adding badges to your README

2:28 javascript

It's nice to know the status of a project. Adding badges to your readme gives first-timers and old-timers an at-a-glance peek into the status of your project. In this lesson, we'll add several badges using shields.io

npm tutorial about Publishing a beta version

Publishing a beta version

3:37 npm

Sometimes you're not quite ready to release a full on version of your open source library to npm. In this lesson, learn how to publish a beta version so people can try it out without tampering with anyone else using your library.

javascript tutorial about Limit Built Branches on Travis

Limit Built Branches on Travis

3:38 javascript

By default, Travis will build all branches, tags, and Pull Requests. Because we're building our master branch before we release, we don't need Travis building our releases. Also, we don't care to have Travis build all the branches. So we're going to limit Travis to only build our master branch and Pull Requests by configuring travis via our .travis.yml file.

npm tutorial about Add manifest files to npm packages using npm init

Add manifest files to npm packages using npm init

2:00 npm

We can create a package.json automatically by running npm init and answering the questions it gives. This becomes the “manifest” file for our package; it is used to populate the published npm page as well as to help the package manager to know how to install the package in consuming projects.

npm tutorial about Publish npm packages using npm publish

Publish npm packages using npm publish

1:29 npm

In this lesson we will publish our package. We will first add a prepublish script that runs our build script; this will ensure the built folder gets added to npm when published. We will also add a .npmignore so that only our built files get installed. We need to run npm adduser to log in to an npm account. We can then run npm publish to publish our package and view it on npm.

Note: if you want to actually publish the package from this course, you'll need to rename it since sensitive-words is already taken. You can use a scoped package name for this as well.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?