@ts.adligo.org/slink
Version:
This is a simple Type Script Application that will create symbolic links from webpack config files with links created by webpack-link inside of your source folder, which improves speed of changing upstream Javascript or Typescript in a multiple project sy
21 lines (16 loc) • 537 B
JavaScript
const BaseCommand = require('./base-cmd.js')
// The implementation of commands that are just "run a script"
// restart, start, stop, test
class LifecycleCmd extends BaseCommand {
static usage = ['[-- <args>]']
static isShellout = true
static workspaces = true
static ignoreImplicitWorkspace = false
async exec (args) {
return this.npm.exec('run', [this.constructor.name, ...args])
}
async execWorkspaces (args) {
return this.npm.exec('run', [this.constructor.name, ...args])
}
}
module.exports = LifecycleCmd