scaffold.Rd
Similar to packer::scaffold_widget()
but replace javascript with typescript, yarn with pnpm and webpack with esbuild
scaffold(
dir,
path,
rstudio = rstudioapi::isAvailable(),
open = rlang::is_interactive(),
is_package = FALSE
)
scaffold_widget(...)
scaffold_quarto_book(...)
scaffold_bookdown_book(...)
directory to copy, relative to to inst/
project path
if rstudio is available
if rstudio is open
the new project path
if (FALSE) {
scaffold_widget("~/mywidget")
}