(id: string, opts: BuildOptions)
| 36 | }; |
| 37 | |
| 38 | const buildVariablePackage = async (id: string, opts: BuildOptions) => { |
| 39 | consola.info(`Downloading ${id} ${colors.bold(colors.yellow('[VARIABLE]'))}`); |
| 40 | const optsNew = { |
| 41 | ...opts, |
| 42 | isVariable: true, |
| 43 | dir: path.join(opts.dir, 'variable', id), |
| 44 | }; |
| 45 | await build(id, optsNew); |
| 46 | consola.success( |
| 47 | `Finished processing ${id} ${colors.bold(colors.yellow('[VARIABLE]'))}`, |
| 48 | ); |
| 49 | }; |
| 50 | |
| 51 | const buildIconPackage = async (id: string, opts: BuildOptions) => { |
| 52 | consola.info(`Downloading ${id} ${colors.bold(colors.green('[ICON]'))}`); |
no test coverage detected