Skip to content

Commit

Permalink
Upgrade to node version 16 (gardener#1008)
Browse files Browse the repository at this point in the history
* upgrade to node 16

* Update required node version

* update yarn plugins
  • Loading branch information
holgerkoser authored May 19, 2021
1 parent c877f25 commit b5a618b
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions .yarn/plugins/@yarnpkg/plugin-production-install.cjs

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ logFilters:
level: discard

packageExtensions:
"@octokit/rest@*":
dependencies:
"@octokit/core": "*"
"@babel/plugin-syntax-jsx@*":
dependencies:
"@babel/core": "*"
"@octokit/rest@*":
dependencies:
"@octokit/core": "*"
"@vue/cli-service@*":
peerDependencies:
"@vue/cli-plugin-babel": "*"
Expand All @@ -24,6 +24,12 @@ packageExtensions:
"@vue/cli-plugin-unit-jest": "*"
"@vue/cli-plugin-vuex": "*"
vue-cli-plugin-vuetify: "*"
eslint-import-resolver-webpack@*:
dependencies:
webpack: ^4.44.2
vue-cli-plugin-vuetify@*:
dependencies:
webpack: ^4.44.2
vue-eslint-parser@*:
dependencies:
babel-eslint: "*"
Expand All @@ -32,20 +38,14 @@ packageExtensions:
convert-source-map: "*"
vue: "*"
vue-template-compiler: "*"
eslint-import-resolver-webpack@*:
dependencies:
webpack: &webpack ^4.44.2
vue-cli-plugin-vuetify@*:
dependencies:
webpack: *webpack

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-production-install.cjs
spec: "https://gitlab.com/holgerkoser/yarn-contrib/-/raw/1.0.0-beta.2/packages/plugin-production-install/bundles/@yarnpkg/plugin-production-install.js"
spec: "https://gitlab.com/holgerkoser/yarn-contrib/-/raw/1.0.0-beta.3/packages/plugin-production-install/bundles/@yarnpkg/plugin-production-install.js"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@yarnpkg/plugin-constraints.cjs
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

#### Builder ####
FROM eu.gcr.io/gardener-project/3rd/node:15-alpine3.13 as builder
FROM eu.gcr.io/gardener-project/3rd/node:16-alpine3.13 as builder

WORKDIR /usr/src/app

Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
]
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
]
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, DependencyRange2, Depende
gen_enforced_field(WorkspaceCwd, 'license', 'Apache-2.0').

% This rule will enforce that all packages must have certain engines fields
gen_enforced_field(WorkspaceCwd, 'engines.node', '^15.11.0').
gen_enforced_field(WorkspaceCwd, 'engines.node', '^16.1.0').
gen_enforced_field(WorkspaceCwd, 'engines.yarn', '^2.4.1').

% Required to make the package work with the GitHub Package Registry
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"webpack": "^4.44.2"
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"node-gyp": "latest"
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/kube-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
]
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/kube-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
]
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
},
"engines": {
"node": "^15.11.0",
"node": "^16.1.0",
"yarn": "^2.4.1"
}
}

0 comments on commit b5a618b

Please sign in to comment.