code: function changeDir () {
      return resolvePackageRoot('package.json')
        .then(root => {
          /* istanbul ignore if: Situation very hard to reproduce */
          if (!root.packageJson) {
            throw new Error('package.json not found!\n' +
              'Please run me from within a node module.\n' +
              'My working directory is "' + process.cwd() + '".')
          }
          process.chdir(root.packageRoot)
          // eslint-disable-next-line no-console
          console.log('I\'m running inside module \'' + root.packageJson.name + '\' in \'' + process.cwd())
        })
    }
docs: ---------------------------------------- chdir to local module root ----------------------------------------