tabby/scripts/build-typings.js
2022-01-16 19:41:01 +01:00

9 lines
270 B
JavaScript
Executable file

#!/usr/bin/env node
const sh = require('shelljs')
const vars = require('./vars')
const log = require('npmlog')
vars.builtinPlugins.forEach(plugin => {
log.info('typings', plugin)
sh.exec(`yarn tsc --project ${plugin}/tsconfig.typings.json`, { fatal: true })
})