mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 19:48:12 +00:00

PR-URL: https://github.com/nodejs/node/pull/43210 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
18 lines
508 B
JavaScript
18 lines
508 B
JavaScript
const BaseCommand = require('../base-command.js')
|
|
const log = require('../utils/log-shim')
|
|
|
|
class Birthday extends BaseCommand {
|
|
static name = 'birthday'
|
|
static description = 'Birthday, deprecated'
|
|
static ignoreImplicitWorkspace = true
|
|
static isShellout = true
|
|
|
|
async exec () {
|
|
this.npm.config.set('yes', true)
|
|
log.warn('birthday', 'birthday is deprecated and will be removed in a future release')
|
|
return this.npm.exec('exec', ['@npmcli/npm-birthday'])
|
|
}
|
|
}
|
|
|
|
module.exports = Birthday
|