Skip to content
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

Use yarn 3.6.3 #788

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ inst/lib/bsw3/.npmignore
^tsconfig\.json$
^yarn\.lock$
^\.eslintrc\.yml$
^\.yarn$
^\.yarnrc\.yml$

^\.github$
^\.gitattributes$
Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ node_modules/
inst/doc

# yarn
inst/yarn.lock
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
yarn-error.log


inst/rmarkdown/templates/*/skeleton/skeleton.html

Expand Down
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.3.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.6.3.cjs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"checks": "yarn run check_types && yarn run check_lint",
"check_lint": "node --eval \"console.log('linting code...')\" && eslint --fix --ext .ts srcts/src",
"check_types": "tsc --noEmit -p tsconfig.json"
}
},
"packageManager": "yarn@3.6.3"
}
2 changes: 1 addition & 1 deletion tools/yarn_install.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ system("yarn install")
system("yarn build")

# only install the direct deps
with_dir("inst", system("yarn install --production"))
with_dir("inst", system("yarn workspaces focus -A --production"))

unlink("inst/lib", recursive = TRUE)
file.rename("inst/node_modules/", "inst/lib/")
Expand Down
3,930 changes: 2,299 additions & 1,631 deletions yarn.lock

Large diffs are not rendered by default.