code: function findSourceFiles(pattern) {
    return pglob(pattern, { nodir: true })
      .then(files => {
        return files.map(file => {
          const ext = path.extname(file)
          const name = path.basename(file, ext)
          return {
            ext,
            name,
            fullname: `${name}${ext}`,
            path: file
          }
        })
      })
  }
docs: @typedef {Object} FindSourceFilesResult
  @property {string} ext The file extension.
  @property {string} name The file name without extension.
  @property {string} fullname The file name with extension.
  @property {string} path The file path.
   
  Find source files using a glob pattern.
  
  @param {String} pattern The glob pattern
  
  @return {Promise<FindSourceFilesResult[]>, Error>}