chore(build): add a script to run the ts compiler and send the new files to closure compiler (#5894)

* chore(build): add a script to run the ts compiler and send the new files to closure compiler

* chore(build): clean up tsconfig

* chore: apply suggestions from code review

Cleanup from Chris

Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>

Co-authored-by: Christopher Allen <cpcallen+github@gmail.com>
This commit is contained in:
Rachel Fenichel
2022-01-25 15:33:34 -08:00
committed by GitHub
parent efdb6549d9
commit f68043d3eb
5 changed files with 71 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ var path = require('path');
//
// TODO(#5007): If you modify these values, you must also modify the
// corresponding values in the following files:
//
//
// - tests/scripts/compile_typings.sh
// - tests/scripts/check_metadata.sh
module.exports = {
@@ -28,4 +28,8 @@ module.exports = {
// Directory to write typings output to.
TYPINGS_BUILD_DIR: path.join('build', 'typings'),
// Directory where typescript compiler output can be found.
// Matches the value in tsconfig.json: outDir
TSC_OUTPUT_DIR: path.join('build', 'ts'),
};