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

[JENKINS-68699] Upgrade Yarn from 1.22.19 to 3.2.0 #5824

Merged
merged 14 commits into from
Jul 21, 2022
Merged
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,5 @@
*.png binary
*.war binary
*.zip binary
/war/.yarn/releases/** binary
/war/.yarn/plugins/** binary
9 changes: 9 additions & 0 deletions war/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ work
/rebel.xml
junit.xml

# yarn
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Node
node/
node_modules/
Expand Down
631 changes: 631 additions & 0 deletions war/.yarn/releases/yarn-berry.cjs

Large diffs are not rendered by default.

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

yarnPath: .yarn/releases/yarn-berry.cjs
7 changes: 2 additions & 5 deletions war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ THE SOFTWARE.
<contextPath>/jenkins</contextPath><!-- context path during test -->
<host>localhost</host><!-- HTTP listener host/interface -->
<port>8080</port><!-- HTTP listener port -->
<node.version>14.16.0</node.version>
<yarn.version>1.22.10</yarn.version>
<node.version>14.18.1</node.version>
<yarn.version>1.22.15</yarn.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -588,9 +588,6 @@ THE SOFTWARE.
<goal>yarn</goal>
</goals>
<configuration>
<!-- ensure only one concurrent 'yarn install' -->
<!-- when yarn cache is empty, multiple yarns performing network fetches frequently results in opaque errors -->
<arguments>--mutex network</arguments>
</configuration>
</execution>

Expand Down
Loading