Skip to content

wip #1961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 20 commits into from
Closed

wip #1961

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use npm instead of yarn
  • Loading branch information
cpsievert committed Jun 17, 2021
commit 8e4bf05e285092f8e472b572c01bf6dfd07abfcc
22 changes: 9 additions & 13 deletions inst/htmlwidgets/lib/plotlyjs/plotly-latest.min.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions tools/update_plotlyjs.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ withr::with_dir(tmpdir, {
)
}

# build
system("yarn install")
system("yarn build")
# build just the main bundle
# (also builds schema and locales)
system("npm install")
system("npm run bundle")

# copy assets to R package source
file.copy(
Expand Down