Move ./srcts configs to top level to support types installation from GitHub (#3425)

This commit is contained in:
Barret Schloerke
2021-06-15 14:18:53 -04:00
committed by GitHub
parent 91f920e14c
commit b3247d5a3b
154 changed files with 1387 additions and 12264 deletions

View File

@@ -24,7 +24,7 @@ writeLines(
# Update TypeScript installation
withr::with_dir(
rprojroot::find_package_root_file("srcts"),
rprojroot::find_package_root_file(),
{
exit_code <- system(paste0("yarn add --dev strftime@", version))
if (exit_code != 0) stop("yarn could not install strftime")