File Explorer

/var/lang/lib/node_modules/npm/lib/commands/stage

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

index.js667 B · 26 lines
const BaseCommand = require('../../base-cmd.js') class Stage extends BaseCommand {  static description = 'Stage packages for publishing, deferring proof-of-presence (2FA) to a later point in time'  static name = 'stage'   static subcommands = {    publish: require('./publish.js'),    list: require('./list.js'),    view: require('./view.js'),    approve: require('./approve.js'),    reject: require('./reject.js'),    download: require('./download.js'),  }   static async completion (opts) {    const argv = opts.conf.argv.remain    if (argv.length === 2) {      return Object.keys(Stage.subcommands)    }    return []  }} module.exports = Stage