Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop node 14 support and browsers not supporting ES2021 #407

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: Upgrade to node 16 & chrome 94
BREAKING CHANGE: Drop node 14 support and browsers not supporting ES2021
  • Loading branch information
marcbachmann committed Sep 27, 2023
commit 8a20cbb5f598629d3c5cd905429b78f06b32a5ae
8 changes: 4 additions & 4 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ steps:
from_secret: GH_TOKEN

- name: install
image: cypress/browsers:node14.15.0-chrome86-ff82
image: cypress/browsers:node16.5.0-chrome94-ff93
commands: [npm ci]

- name: build
image: cypress/browsers:node14.15.0-chrome86-ff82
image: cypress/browsers:node16.5.0-chrome94-ff93
commands: ["npm run build -s"]
depends_on: [install]

- name: test
image: cypress/browsers:node14.15.0-chrome86-ff82
image: cypress/browsers:node16.5.0-chrome94-ff93
commands: ["npm run test:ci -s"]
depends_on: [install]

Expand Down Expand Up @@ -52,6 +52,6 @@ trigger:
event: [push, tag, pull_request]
---
kind: signature
hmac: eb464a2613271948ef65fd8922a217d90f89a6faecaea006cace700b5acaeeb4
hmac: fbd7cb3397c4f9cd9376301fbb2a72e10367cfeec9432c4c2098b2b1f0430f7e

...
4 changes: 1 addition & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"parserOptions": {
// Node 14 already supports ES2020, Node 12 only supports ES2019
// https://node.green/#ES2020
"ecmaVersion": 2020,
"ecmaVersion": 2021,
"ecmaFeatures": {
"jsx": true
},
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
16
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"webpack-dev-server": "^4.7.3"
},
"engines": {
"node": ">=12",
"npm": ">=6"
"node": ">=16",
"npm": ">=8"
},
"files": [
"src",
Expand Down