chore: npm dependencies upgrade, node 18 > 22 (#15748)
This commit is contained in:
parent
f53d4deb8d
commit
0d7cdbeae9
5 changed files with 1230 additions and 461 deletions
6
.github/workflows/default.yml
vendored
6
.github/workflows/default.yml
vendored
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
|
||||
- run: mkdir dist && touch dist/empty
|
||||
|
|
@ -148,7 +148,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
|
||||
- name: Install
|
||||
|
|
@ -199,7 +199,7 @@ jobs:
|
|||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "18"
|
||||
node-version: "22"
|
||||
cache: "npm"
|
||||
|
||||
- name: Build UI
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#### Development environment
|
||||
|
||||
Developing evcc requires [Go][1] 1.23 and [Node][2] 18. We recommend VSCode with the [Go](https://marketplace.visualstudio.com/items?itemName=golang.Go), [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) and [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) extensions.
|
||||
Developing evcc requires [Go][1] 1.23 and [Node][2] 22. We recommend VSCode with the [Go](https://marketplace.visualstudio.com/items?itemName=golang.Go), [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) and [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) extensions.
|
||||
|
||||
We use linters (golangci-lint, Prettier) to keep a coherent source code formatting. It's recommended to use the format-on-save feature of your editor. You can manually reformat your code by running:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# STEP 1 build ui
|
||||
FROM --platform=$BUILDPLATFORM node:18-alpine as node
|
||||
FROM --platform=$BUILDPLATFORM node:22-alpine as node
|
||||
|
||||
RUN apk update && apk add --no-cache make
|
||||
|
||||
|
|
|
|||
1675
package-lock.json
generated
1675
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -40,7 +40,7 @@
|
|||
"eslint-plugin-prettier": "^5.0.0-alpha.1",
|
||||
"eslint-plugin-promise": "^6.0.0",
|
||||
"eslint-plugin-vue": "^9.3.0",
|
||||
"happy-dom": "^14.0.0",
|
||||
"happy-dom": "^15.0.0",
|
||||
"histoire": "^0.17.0",
|
||||
"markty-toml": "^0.1.1",
|
||||
"prettier": "^3.0.0",
|
||||
|
|
@ -59,8 +59,8 @@
|
|||
"wait-on": "^8.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"npm": ">=8.0.0",
|
||||
"node": ">=18.0.0"
|
||||
"npm": ">=10.0.0",
|
||||
"node": ">=22.0.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": "github:evcc-io/evcc",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue