tabby/scripts/build-typings.mjs

10 lines
264 B
JavaScript
Raw Normal View History

2020-03-01 15:40:26 +00:00
#!/usr/bin/env node
import sh from 'shelljs'
import * as vars from './vars.mjs'
import log from 'npmlog'
2020-03-01 15:40:26 +00:00
vars.builtinPlugins.forEach(plugin => {
log.info('typings', plugin)
2022-01-16 18:41:01 +00:00
sh.exec(`yarn tsc --project ${plugin}/tsconfig.typings.json`, { fatal: true })
2020-03-01 15:40:26 +00:00
})