Skip to content

Commit 4954e28

Browse files
authored
fix: helia-ts-node for node@20 (#257)
* chore: update aegir * fix: helia-ts-node test * deps: update helia-ts-node deps
1 parent 04b928b commit 4954e28

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

examples/helia-ts-node/package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
"type": "module",
66
"description": "Running Helia with ts-node",
77
"scripts": {
8-
"start": "ts-node --esm ./src/index.ts",
9-
"test": "test-node-example test/*"
8+
"start": "cross-env NODE_OPTIONS=\"--loader=ts-node/esm\" node src/index.ts",
9+
"test": "cross-env NODE_OPTIONS=\"--loader=ts-node/esm\" test-node-example test/*"
1010
},
1111
"dependencies": {
12-
"helia": "^2.0.3"
12+
"helia": "^3.0.0"
1313
},
1414
"devDependencies": {
15-
"ts-node": "^10.9.1",
16-
"test-ipfs-example": "^1.0.0",
17-
"typescript": "^5.1.6"
15+
"cross-env": "^7.0.3",
16+
"test-ipfs-example": "^1.2.0",
17+
"ts-node": "^10.9.2",
18+
"typescript": "^5.3.3"
1819
}
1920
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"homepage": "https://github.com/ipfs-examples/helia-examples#readme",
2525
"devDependencies": {
26-
"aegir": "^41.0.4"
26+
"aegir": "^42.1.0"
2727
},
2828
"workspaces": [
2929
"examples/*"

0 commit comments

Comments
 (0)