Skip to content

Commit e9300e5

Browse files
don't ignore srcjs for git
@alandipert I didn't think this through. I believe we should include srcjs in git, or otherwise the package is not reproducible.
1 parent cdbb20a commit e9300e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/scaffold.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ scaffoldReactWidget <- function(name, npmPkgs = NULL, edit = interactive()){
3434
addExampleApp(name)
3535

3636
usethis::use_build_ignore(c("node_modules", "srcjs"))
37-
usethis::use_git_ignore(c("node_modules", "srcjs"))
37+
usethis::use_git_ignore(c("node_modules"))
3838
lapply(c("htmltools", "htmlwidgets", "reactR"), usethis::use_package)
3939

4040
message("To install dependencies from npm run: yarn install")

0 commit comments

Comments
 (0)