Skip to content

Commit

Permalink
Upgrade Node.js to version 21
Browse files Browse the repository at this point in the history
  • Loading branch information
phjardas committed Jan 21, 2024
1 parent 602479e commit ba2db3f
Show file tree
Hide file tree
Showing 14 changed files with 3,942 additions and 8,778 deletions.
9 changes: 9 additions & 0 deletions .changeset/moody-papayas-learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"taktische-zeichen-cli": minor
"taktische-zeichen-core": minor
"taktische-zeichen-react": minor
"taktische-zeichen-web-component": minor
"taktische-zeichen-website": minor
---

Upgrade Node.js version to 21
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
pull_request:
branches:
- main
types: [assigned]
types:
- assigned

jobs:
test:
Expand All @@ -19,17 +20,12 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
# keep in sync with package.json/volta
node-version: 16.13.2
node-version-file: package.json
cache: npm
cache-dependency-path: |
package-lock.json
packages/*/package-lock.json
- name: Install npm
# keep in sync with package.json/volta
run: npm i -g [email protected]

- run: npm ci
- run: npm run bootstrap

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Vielen Dank, dass du an der Entwicklung der Taktischen Zeichen mitarbeiten möch

## Voraussetzungen

Du benötigst [Node 16](https://nodejs.org/en/download/). Fertig. Wir empfehlen [Volta](https://volta.sh/).
Du benötigst [Node 21](https://nodejs.org/en/download/). Fertig. Wir empfehlen [Volta](https://volta.sh/).

## Installation

Expand Down
56 changes: 28 additions & 28 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"nodemon": "^2.0.15"
},
"volta": {
"node": "16.13.2",
"npm": "8.3.0"
"node": "21.6.0"
}
}
3 changes: 1 addition & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"shx": "^0.3.4"
},
"volta": {
"node": "16.13.2",
"npm": "8.3.0"
"node": "21.6.0"
}
}
106 changes: 30 additions & 76 deletions packages/core/package-lock.json

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

5 changes: 2 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^27.4.0",
"@types/node": "^17.0.8",
"@types/node": "^20.11.5",
"jest": "^27.4.7",
"prettier": "^2.5.1",
"shx": "^0.3.4",
Expand All @@ -43,7 +43,6 @@
"typescript": "^4.5.4"
},
"volta": {
"node": "16.13.2",
"npm": "8.3.0"
"node": "21.6.0"
}
}
Loading

0 comments on commit ba2db3f

Please sign in to comment.