Skip to content

Commit

Permalink
use node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
elf-pavlik committed Sep 16, 2024
1 parent e69f38f commit 05c773a
Show file tree
Hide file tree
Showing 8 changed files with 538 additions and 315 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- service
- api-messages
steps:
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
- name: Check out repository
uses: actions/checkout@v4
- name: Modify .npmrc
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- service
- api-messages
steps:
- name: Use Node.js 20.x
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x

- name: Check out repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
registry-url: https://registry.npmjs.org/

- name: Modify .npmrc
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ The setup is using modified `Makefile` and `docker-compose.yaml` from [docker-s

### Node, corepack and pnpm

Requires node.js 20 or higher with corepack ([Volta](https://volta.sh/) may help with managing node versions).
Requires node.js 22 or higher with corepack
Uses pnpm as package manager.

```bash
volta install node@20
volta install corepack
corepack prepare pnpm@latest --activate
corepack enable pnpm
```

### Github packages
Expand Down
23 changes: 10 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"name": "interop",
"private": true,
"devDependencies": {
"@eslint/js": "^9.5.0",
"@inrupt/base-rollup-config": "^3.1.0",
"@eslint/js": "^9.10.0",
"@inrupt/base-rollup-config": "^3.2.3",
"@types/eslint__js": "^8.42.3",
"@types/node": "^20.8.6",
"@types/node": "^22.5.5",
"@vitest/coverage-v8": "^1.6.0",
"componentsjs-generator": "^3.1.2",
"eslint": "^9.5.0",
"eslint-plugin-vue": "^9.26.0",
"eslint": "^9.10.0",
"eslint-plugin-vue": "^9.28.0",
"husky": "^8.0.3",
"jest-rdf": "^1.8.0",
"lint-staged": "^15.0.1",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"rollup": "^4.13.0",
"tslib": "^2.6.3",
"rollup": "^4.21.3",
"tslib": "^2.7.0",
"turbo": "^1.10.16",
"turbowatch": "^2.29.4",
"typescript": "^5.4.5",
"typescript-eslint": "^7.13.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.5.0",
"vitest": "^1.6.0"
},
"scripts": {
Expand All @@ -32,10 +32,7 @@
"watch": "./node_modules/.bin/turbowatch turbowatch.ts",
"lint": "eslint"
},
"volta": {
"node": "20.7.0"
},
"packageManager": "[email protected]",
"packageManager": "[email protected]+sha256.355a8ab8dbb6ad41befbef39bc4fd6b5df85e12761d2724bd01f13e878de4b13",
"lint-staged": {
"*.ts": [
"prettier --write",
Expand Down
3 changes: 0 additions & 3 deletions packages/data-model/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,5 @@
"@janeirodigital/interop-test-utils": "^1.0.0-rc.24",
"@rdfjs/types": "^1.1.0",
"@types/n3": "^1.16.2"
},
"volta": {
"node": "20.7.0"
}
}
3 changes: 0 additions & 3 deletions packages/service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,5 @@
"@types/web-push": "^3.6.1",
"@types/yargs": "^17.0.28",
"@solid-notifications/types": "^0.1.2"
},
"volta": {
"node": "20.7.0"
}
}
Loading

0 comments on commit 05c773a

Please sign in to comment.