DEV Community

Cover image for We just got NestJS latest patch merged automatically, and it's really cool
Geoffroy Empain
Geoffroy Empain

Posted on • Edited on

2 1

We just got NestJS latest patch merged automatically, and it's really cool

So I just got a Mattermost message from our bot:

Alt Text

NestJS has just published version 7.4.2 of all their packages, and we've already got all of them updated, thanks to pmbot.

Every day, when I get to work, I open our projects from our private Gitlab, and during the night, our Npm dependencies have gracefully been updated and a cheerful message awaits me in our Mattermost bot channel. Using Slack ? No problem, that'll work as well ! Using something else ? Write your own plugin to do something after an update:

module.exports = {
  version: '1.0.0',
  type: 'ACTION', // ACTION | PACKAGE_MANAGER_ADAPTER
  name: 'my-plugin',
  core: class {
    constructor(context) {
      // ...
    }
    execute(actionConfig, actionContext) {
      // plugin logic
    } 
  },
  parser: config => config,
  validator: config => Promise.resolve([]),
};
Enter fullscreen mode Exit fullscreen mode

Knowing that all your dependencies are always up to date when you get to work is somehow quite rewarding. And when something breaks, I just check our CI with the link provided in Pmbot's UI, fix the issue manually, and I'm good to go.

Are you using Go ? No problem !
Are you using Maven ? No problem !
Are you using another language ? Write your package manager adapter a simple plugin.

Thanks for reading !

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay