Skip to content

Commit 72d555a

Browse files
committed
Upgrade frontend library versions and node/npm/pnpm versions
1 parent b085a45 commit 72d555a

29 files changed

Lines changed: 3736 additions & 6355 deletions

File tree

README.md

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ present).
112112
</execution>
113113
</executions>
114114
<configuration>
115-
<nodeVersion>v4.6.0</nodeVersion>
115+
<nodeVersion>v24.12.0</nodeVersion>
116116

117117
<!-- optional: with node version greater than 4.0.0 will use npm provided by node distribution -->
118-
<npmVersion>2.15.9</npmVersion>
118+
<npmVersion>11.6.2</npmVersion>
119119

120120
<!-- optional: where to download node and npm from. Defaults to https://nodejs.org/dist/ -->
121121
<downloadRoot>http://myproxy.example.org/nodejs/</downloadRoot>
@@ -175,13 +175,13 @@ https://github.com/eirslett/frontend-maven-plugin/blob/master/frontend-maven-plu
175175
<phase>generate-resources</phase>
176176
</execution>
177177
<configuration>
178-
<nodeVersion>v6.9.1</nodeVersion>
178+
<nodeVersion>v24.12.0</nodeVersion>
179179
<yarnVersion>v0.16.1</yarnVersion>
180180

181181
<!-- optional: where to download node from. Defaults to https://nodejs.org/dist/ -->
182182
<nodeDownloadRoot>http://myproxy.example.org/nodejs/</nodeDownloadRoot>
183183
<!-- optional: where to download yarn from. Defaults to https://github.com/yarnpkg/yarn/releases/download/ -->
184-
<yarnDownloadRoot>http://myproxy.example.org/yarn/</yarnDownloadRoot>
184+
<yarnDownloadRoot>http://myproxy.example.org/yarn/</yarnDownloadRoot>
185185
</configuration>
186186
</plugin>
187187
```
@@ -217,7 +217,7 @@ if you need to override the version of corepack in use.
217217
<phase>generate-resources</phase>
218218
</execution>
219219
<configuration>
220-
<nodeVersion>v20.12.2</nodeVersion>
220+
<nodeVersion>v24.12.0</nodeVersion>
221221

222222
<!-- Optional - only needed if Node <16.9, or if you need to use a version different
223223
from the one packaged with Node -->
@@ -663,10 +663,9 @@ If you want to disable proxy for Yarn you can use `yarnInheritsProxyConfigFromMa
663663

664664
```
665665

666-
667666
#### Environment variables
668667

669-
If you need to pass some variable to Node, you can set that using the property `environmentVariables` in configuration
668+
If you need to pass some variable to Node, you can set that using the property `environmentVariables` in configuration
670669
tag of an execution like this:
671670

672671
```xml
@@ -675,16 +674,16 @@ tag of an execution like this:
675674
<!-- Simple var -->
676675
<Jon>Snow</Jon>
677676
<Tyrion>Lannister</Tyrion>
678-
677+
679678
<!-- Var value take from maven properties -->
680679
<NODE_ENV>${NODE_ENV}</NODE_ENV>
681-
</environmentVariables>
680+
</environmentVariables>
682681
</configuration>
683682
```
684683

685684
#### Ignoring Failure
686685

687-
**Ignoring failed tests:** If you want to ignore test failures in specific execution you can set that using the property `maven.test.failure.ignore` in configuration tag of an execution like this:
686+
**Ignoring failed tests:** If you want to ignore test failures in specific execution you can set that using the property `maven.test.failure.ignore` in configuration tag of an execution like this:
688687

689688
```xml
690689
<configuration>
@@ -703,15 +702,15 @@ For example, in a project using npm and gulp, if npm is skipped, gulp must also
703702

704703
Tools and property to enable skipping
705704

706-
* npm `-Dskip.npm`
707-
* yarn `-Dskip.yarn`
708-
* bower `-Dskip.bower`
709-
* bun `-Dskip.bun`
710-
* grunt `-Dskip.grunt`
711-
* gulp `-Dskip.gulp`
712-
* jspm `-Dskip.jspm`
713-
* karma `-Dskip.karma`
714-
* webpack `-Dskip.webpack`
705+
- npm `-Dskip.npm`
706+
- yarn `-Dskip.yarn`
707+
- bower `-Dskip.bower`
708+
- bun `-Dskip.bun`
709+
- grunt `-Dskip.grunt`
710+
- gulp `-Dskip.gulp`
711+
- jspm `-Dskip.jspm`
712+
- karma `-Dskip.karma`
713+
- webpack `-Dskip.webpack`
715714

716715
## Eclipse M2E support
717716

@@ -732,11 +731,10 @@ Run `$ mvn clean install`
732731

733732
## Issues, Contributing
734733

735-
Please post any issues on the [Github's Issue tracker](https://github.com/eirslett/frontend-maven-plugin/issues).
736-
[Pull requests](https://github.com/eirslett/frontend-maven-plugin/pulls) are welcome!
734+
Please post any issues on the [Github's Issue tracker](https://github.com/eirslett/frontend-maven-plugin/issues).
735+
[Pull requests](https://github.com/eirslett/frontend-maven-plugin/pulls) are welcome!
737736
You can find a full list of [contributors here](https://github.com/eirslett/frontend-maven-plugin/graphs/contributors).
738737

739738
## License
740739

741740
[Apache 2.0](LICENSE)
742-
1.21 KB
Binary file not shown.

frontend-maven-plugin/src/it/bun-integration/package-lock.json

Lines changed: 0 additions & 20 deletions
This file was deleted.

frontend-maven-plugin/src/it/bun-integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "example",
33
"version": "0.0.1",
44
"dependencies": {
5-
"classnames": "^2.3.2"
5+
"classnames": "^2.5.1"
66
},
77
"scripts": {
88
"prebuild": "npm install"

frontend-maven-plugin/src/it/bun-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<goal>install-bun</goal>
2828
</goals>
2929
<configuration>
30-
<bunVersion>v1.1.27</bunVersion>
30+
<bunVersion>v1.3.5</bunVersion>
3131
</configuration>
3232
</execution>
3333

frontend-maven-plugin/src/it/corepack-integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "example",
33
"version": "0.0.1",
44
"dependencies": {
5-
"less": "~3.0.2"
5+
"less": "~4.5.1"
66
},
77
"packageManager": "[email protected]"
88
}

frontend-maven-plugin/src/it/corepack-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<goal>install-node-and-corepack</goal>
2828
</goals>
2929
<configuration>
30-
<nodeVersion>v20.12.2</nodeVersion>
30+
<nodeVersion>v24.12.0</nodeVersion>
3131
<corepackVersion>0.25.2</corepackVersion>
3232
</configuration>
3333
</execution>

frontend-maven-plugin/src/it/corepack-provided-integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "example",
33
"version": "0.0.1",
44
"dependencies": {
5-
"less": "~3.0.2"
5+
"less": "~4.5.1"
66
},
77
"packageManager": "[email protected]"
88
}

frontend-maven-plugin/src/it/corepack-provided-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<goal>install-node-and-corepack</goal>
2828
</goals>
2929
<configuration>
30-
<nodeVersion>v20.12.2</nodeVersion>
30+
<nodeVersion>v24.12.0</nodeVersion>
3131
</configuration>
3232
</execution>
3333

0 commit comments

Comments
 (0)