(id: string, opts: BuildOptions)
| 26 | |
| 27 | // Modify opts to output in correct folders |
| 28 | const buildPackage = async (id: string, opts: BuildOptions) => { |
| 29 | consola.info(`Downloading ${id}`); |
| 30 | const optsNew = { |
| 31 | ...opts, |
| 32 | dir: path.join(opts.dir, 'google', id), |
| 33 | }; |
| 34 | await build(id, optsNew); |
| 35 | consola.success(`Finished processing ${id}`); |
| 36 | }; |
| 37 | |
| 38 | const buildVariablePackage = async (id: string, opts: BuildOptions) => { |
| 39 | consola.info(`Downloading ${id} ${colors.bold(colors.yellow('[VARIABLE]'))}`); |
no test coverage detected