Skip to content

Commit

Permalink
Merge branch '449-update-the-rosen-service-package-to-replace-the-nod…
Browse files Browse the repository at this point in the history
…e-js-version-dependency-from-18-17-to-20' into 'dev'

Resolve "Update the rosen-service package to replace the Node.js version dependency from 18.17 to 20"

Closes #449

See merge request ergo/rosen-bridge/ui!374
  • Loading branch information
vorujack committed Dec 25, 2024
2 parents 4681f15 + 035779b commit 5dc1b8f
Show file tree
Hide file tree
Showing 6 changed files with 526 additions and 66 deletions.
5 changes: 5 additions & 0 deletions .changeset/perfect-planes-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rosen-bridge/rosen-service': major
---

Update the Node.js version dependency from 18.17 to 20
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.17.0
20.11.0
13 changes: 6 additions & 7 deletions apps/rosen-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"main": "dist/main.js",
"types": "dist/main.d.ts",
"scripts": {
"start": "node --watch --experimental-specifier-resolution=node --loader ./ts-node-esm-loader.js ./src/main.ts",
"start:prod": "node --experimental-specifier-resolution=node ./dist/main.js",
"start": "tsx watch ./src/main.ts",
"start:prod": "tsx ./src/main.ts",
"type-check": "tsc --noEmit",
"typeorm": "NODE_OPTIONS=--experimental-specifier-resolution=node typeorm-ts-node-esm",
"typeorm": "NODE_OPTIONS='--import tsx' typeorm",
"typeorm:generate": "npm run typeorm migration:generate ./src/db/migrations/migration -- -p -d ./src/data-source.ts",
"typeorm:migrate": "npm run typeorm migration:run -- -d ./src/data-source.ts",
"get-config": "npx @rosen-bridge/cli download-assets --chain-type mainnet --out config --include-prereleases"
"get-config": "npx @rosen-bridge/cli download-assets --chain-type public-launch --out config"
},
"dependencies": {
"@rosen-bridge/abstract-extractor": "^0.3.1",
Expand All @@ -32,9 +32,8 @@
},
"devDependencies": {
"@types/config": "^0.0.41",
"@types/node": "^18.11.18",
"ts-node": "^10.7.0",
"tsconfig-paths": "^4.1.2",
"@types/node": "^20.11.0",
"tsx": "^4.19.2",
"typescript": "^5.0.0"
}
}
15 changes: 0 additions & 15 deletions apps/rosen-service/ts-node-esm-loader.js

This file was deleted.

5 changes: 1 addition & 4 deletions apps/rosen-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,5 @@
"strict": true,
"target": "esnext"
},
"include": ["src"],
"ts-node": {
"esm": true
}
"include": ["src"]
}
Loading

0 comments on commit 5dc1b8f

Please sign in to comment.