chore: yarn v4 migration#318
Conversation
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
…der devfile Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
b1e41cf to
5a79287
Compare
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
Jdubrick
left a comment
There was a problem hiding this comment.
Small comments, generally lgtm
Dockerfile
Outdated
| npm install -g corepack@0.34.6 | ||
|
|
||
| # Install yarn v4 | ||
| RUN corepack install -g yarn@4 |
There was a problem hiding this comment.
Same as above, is it possible to pin?
Signed-off-by: Michael Valdron <mvaldron@redhat.com>
| RUN microdnf install -y python3 gcc-c++ make && \ | ||
| npm install --build-from-resource node-gyp@12.2.0 && \ | ||
| npm install -g corepack@0.34.6 |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
| RUN microdnf install -y python3 gcc-c++ make && \ | ||
| npm install --build-from-resource node-gyp@12.2.0 && \ | ||
| npm install -g corepack@0.34.6 |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
| curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo && \ | ||
| microdnf install -y yarn | ||
| # Install corepack | ||
| RUN npm install -g corepack@0.34.6 |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
|
|
||
| # Install react-env to update environment variables during runtime | ||
| RUN npm install -g @beam-australia/react-env | ||
| RUN npm install -g @beam-australia/react-env@3.1.1 |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Jdubrick, michael-valdron The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of Changes
With yarn classic development slowing down, we are moving to yarn v4 to continue receiving patches and support modern package managers.
Related Issue(s)
resolves devfile/api#1766
Acceptance Criteria
Update the sidebar if there is a new file added or an existing filename is changed
Tests Performed
Explain what tests you personally ran to ensure the changes are functioning as expected.
How To Test
Instructions for the reviewer on how to test your changes.
Notes To Reviewer
Any notes you would like to include for the reviewer.