Skip to content

Commit

Permalink
fix: helia-ts-node for node@20 (#257)
Browse files Browse the repository at this point in the history
* chore: update aegir

* fix: helia-ts-node test

* deps: update helia-ts-node deps
  • Loading branch information
SgtPooki committed Jan 16, 2024
1 parent 04b928b commit 4954e28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions examples/helia-ts-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
"type": "module",
"description": "Running Helia with ts-node",
"scripts": {
"start": "ts-node --esm ./src/index.ts",
"test": "test-node-example test/*"
"start": "cross-env NODE_OPTIONS=\"--loader=ts-node/esm\" node src/index.ts",
"test": "cross-env NODE_OPTIONS=\"--loader=ts-node/esm\" test-node-example test/*"
},
"dependencies": {
"helia": "^2.0.3"
"helia": "^3.0.0"
},
"devDependencies": {
"ts-node": "^10.9.1",
"test-ipfs-example": "^1.0.0",
"typescript": "^5.1.6"
"cross-env": "^7.0.3",
"test-ipfs-example": "^1.2.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"homepage": "https://github.com/ipfs-examples/helia-examples#readme",
"devDependencies": {
"aegir": "^41.0.4"
"aegir": "^42.1.0"
},
"workspaces": [
"examples/*"
Expand Down

0 comments on commit 4954e28

Please sign in to comment.