Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
at main 345 B view raw
1#!/usr/bin/env node 2 3import { listPackages } from './lib/packages.mjs'; 4import { buildPackage } from './lib/commands.mjs'; 5 6(async () => { 7 try { 8 const packages = await listPackages(); 9 const builds = packages.map(buildPackage); 10 await Promise.all(builds); 11 } catch (e) { 12 console.error(e.message); 13 process.exit(1); 14 } 15})();