Skip to content

Commit

Permalink
Specify supported versions of node and yarn (gardener#876)
Browse files Browse the repository at this point in the history
* remove spdx header from generates files

* fix yamlrc lint error

* require node version 14 and yarn version 2 via engines

* Only >= latest stable versions
  • Loading branch information
holgerkoser authored Nov 9, 2020
1 parent fec8875 commit 8e113d4
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Files:
.secrets.baseline
CODEOWNERS
VERSION
.pnp.js
yarn.lock
Copyright: 2017-2020 SAP SE or an SAP affiliate company and Gardener contributors
License: Apache-2.0
Expand Down
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: Apache-2.0

enableTelemetry: 0
enableTelemetry: false

enableTransparentWorkspaces: false

Expand Down
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"socket.io-client": "^2.3.0"
},
"engines": {
"node": ">= 14.5.0",
"yarn": ">= 1.22.4"
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,9 @@
"setupFiles": [
"<rootDir>/jest.setup.js"
]
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,9 @@
"vue-template-compiler": "^2.6.11",
"vuetify-loader": "^1.3.0",
"webpack": "^4.44.2"
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,9 @@
],
"devDependencies": {
"eslint": "^6.8.0"
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions packages/kube-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,9 @@
"statements": 92
}
}
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions packages/kube-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,9 @@
"statements": 100
}
}
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,9 @@
"statements": 96
}
}
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}
4 changes: 4 additions & 0 deletions packages/request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,9 @@
"statements": 100
}
}
},
"engines": {
"node": "^14.15.0",
"yarn": "^2.3.3"
}
}

0 comments on commit 8e113d4

Please sign in to comment.