build-typings.js 252 B

123456789
  1. #!/usr/bin/env node
  2. const sh = require('shelljs')
  3. const vars = require('./vars')
  4. const log = require('npmlog')
  5. vars.builtinPlugins.forEach(plugin => {
  6. log.info('typings', plugin)
  7. sh.exec(`npx tsc --project ${plugin}/tsconfig.typings.json`)
  8. })