File tree Expand file tree Collapse file tree 16 files changed +14
-20
lines changed
main/java/com/devonfw/tools/ide/tool/node
java/com/devonfw/tools/ide/tool
ng/repository/node/node/default
yarn/repository/node/node/default Expand file tree Collapse file tree 16 files changed +14
-20
lines changed Original file line number Diff line number Diff line change 22
33This file documents all notable changes to https://github.com/devonfw/IDEasy[IDEasy].
44
5+ == 2025.10.002
6+
7+ Release with new features and bugfixes:
8+
9+ * https://github.com/devonfw/IDEasy/issues/1545[#1545]: Yarn can not be installed after corepack
10+
11+ The full list of changes for this release can be found in https://github.com/devonfw/IDEasy/milestone/36?closed=1[milestone 2025.10.002].
12+
513== 2025.10.001
614
715Release with new features and bugfixes:
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ protected void runPackageUninstall(String npmPackage) {
134134 */
135135 protected void runPackageInstall (String npmPackage ) {
136136
137- runPackageManager ("install" , "-g " , npmPackage ).failOnError ();
137+ runPackageManager ("install" , "-gf " , npmPackage ).failOnError ();
138138 }
139139
140140 /**
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public void testCorepackRun(WireMockRuntimeInfo wireMockRuntimeInfo) {
8787
8888 private void checkInstallation (IdeTestContext context ) {
8989
90- assertThat (context ).logAtInfo ().hasMessageContaining ("npm install -g corepack@0.34.0" );
90+ assertThat (context ).logAtInfo ().hasMessageContaining ("npm install -gf corepack@0.34.0" );
9191 assertThat (context ).logAtSuccess ().hasMessageContaining ("Setting npm config prefix to: " + context .getSoftwarePath ().resolve ("node" ) + " was successful" );
9292 assertThat (context ).logAtSuccess ().hasMessage ("Successfully installed corepack in version 0.34.0" );
9393 }
Original file line number Diff line number Diff line change 44
55import com .devonfw .tools .ide .context .AbstractIdeContextTest ;
66import com .devonfw .tools .ide .context .IdeTestContext ;
7- import com .devonfw .tools .ide .os .SystemInfo ;
8- import com .devonfw .tools .ide .os .SystemInfoMock ;
97import com .github .tomakehurst .wiremock .junit5 .WireMockRuntimeInfo ;
108import com .github .tomakehurst .wiremock .junit5 .WireMockTest ;
119
@@ -85,7 +83,7 @@ public void testNgRun(WireMockRuntimeInfo wireMockRuntimeInfo) {
8583
8684 private void checkInstallation (IdeTestContext context ) {
8785
88- assertThat (context ).logAtInfo ().hasMessageContaining ("npm install -g @angular/cli@18.0.1" );
86+ assertThat (context ).logAtInfo ().hasMessageContaining ("npm install -gf @angular/cli@18.0.1" );
8987
9088 assertThat (context ).logAtSuccess ().hasMessage ("Successfully installed ng in version 18.0.1" );
9189 }
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public void testYarnRun(WireMockRuntimeInfo wireMockRuntimeInfo) {
8484
8585 private void checkInstallation (IdeTestContext context ) {
8686
87- assertThat (context ).logAtInfo ().hasMessageContaining ("npm install -g yarn@2.4.3" );
87+ assertThat (context ).logAtInfo ().hasMessageContaining ("npm install -gf yarn@2.4.3" );
8888 assertThat (context ).logAtSuccess ().hasMessageContaining ("Setting npm config prefix to: " + context .getSoftwarePath ().resolve ("node" ) + " was successful" );
8989 assertThat (context ).logAtSuccess ().hasMessage ("Successfully installed yarn in version 2.4.3" );
9090 }
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments