Skip to content

Commit

Permalink
Updates Yarn version and packages used (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecharp authored Jan 12, 2024
1 parent eb6e4c2 commit 2927af8
Show file tree
Hide file tree
Showing 5 changed files with 248 additions and 244 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@ node_modules/
### IDE
*.iml
*.idea

### Other
war/.yarnrc.yml
5 changes: 4 additions & 1 deletion docs/CONTRIBUTING.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ When building, Yarn will bundle the front-end files only.
. Install tools
.. Java 17
.. Maven 3.8.6
.. Node 18.10.0 and Yarn 3.2.4 (these should be done in the "war" directory)
.. Node 20.10.0 and Yarn 4.0.2 (these should be done in the "war" directory)
.. Optional: have Docker installed in your environment
. Open the project in your favorite IDE.

NOTE: Optionally, you can use the Maven wrapper in the repository.
In that case, replace the `mvn` command by `./mvnw` in the command listed bellow.

WARNING: Make sure that you follow the instruction to install Yarn 2+.
See https://yarnpkg.com/getting-started/install.

Please see the link:ARCHITECTURE.adoc[architecture] document to better understand the structure of the code.

== How to build locally the application
Expand Down
4 changes: 4 additions & 0 deletions war/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
compressionLevel: mixed
enableGlobalCache: false
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.0.2.cjs
2 changes: 1 addition & 1 deletion war/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plugin-health-scoring",
"packageManager": "yarn@3.2.4",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
Loading

0 comments on commit 2927af8

Please sign in to comment.