Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Task/migrate execution of seed.ts without additional configuration (#5302)

Kenrick Tandriandbc9b9ae0b34
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 15355fabcc..0a8e4fc546 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,8 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
+- Removed `ts-node` from the database seeding process
- Improved the language localization for Catalan (`ca`)
- Improved the language localization for German (`de`)
+- Upgraded the `Node.js` engine from version `>=22` to `>=22.18.0` (`package.json`)
## 2.188.0 - 2025-08-02
diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md
index 31b0507bbf..6ea0b5e40a 100644
--- a/DEVELOPMENT.md
+++ b/DEVELOPMENT.md
@@ -5,7 +5,7 @@
### Prerequisites
- [Docker](https://www.docker.com/products/docker-desktop)
-- [Node.js](https://nodejs.org/en/download) (version 22+)
+- [Node.js](https://nodejs.org/en/download) (version `>=22.18.0`)
- Create a local copy of this Git repository (clone)
- Copy the file `.env.dev` to `.env` and populate it with your data (`cp .env.dev .env`)
diff --git a/package-lock.json b/package-lock.json
index a3e675fa63..a2b7fa6286 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -163,7 +163,7 @@
"webpack-bundle-analyzer": "4.10.2"
},
"engines": {
- "node": ">=22"
+ "node": ">=22.18.0"
}
},
"node_modules/@adobe/css-tools": {
diff --git a/package.json b/package.json
index 396a9cfd90..0a1c435e36 100644
--- a/package.json
+++ b/package.json
@@ -209,9 +209,9 @@
"webpack-bundle-analyzer": "4.10.2"
},
"engines": {
- "node": ">=22"
+ "node": ">=22.18.0"
},
"prisma": {
- "seed": "npx ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
+ "seed": "node prisma/seed.ts"
}
}