Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/database seed (#5792)
Arshad Jamaled364fc25f19
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 08201a1758..7690d90ed1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Formatted the holdings table in the _Copy portfolio data to clipboard for AI prompt_ action on the analysis page (experimental)- Improved the language localization for German (`de`)+### Fixed++- Fixed an issue in the database seeding process caused by unresolved environment variables in `DATABASE_URL`+## 2.209.0 - 2025-10-18### Addeddiff --git a/package-lock.json b/package-lock.jsonindex 74b9936a9d..16a8381b49 100644--- a/package-lock.json+++ b/package-lock.json@@ -65,6 +65,8 @@"countries-list": "3.1.1","countup.js": "2.9.0","date-fns": "4.1.0",+ "dotenv": "17.2.3",+ "dotenv-expand": "12.0.3","envalid": "8.1.0","fuse.js": "7.1.0","google-spreadsheet": "3.2.0",@@ -9081,6 +9083,33 @@"rxjs": "^7.1.0"}},+ "node_modules/@nestjs/config/node_modules/dotenv": {+ "version": "16.4.7",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",+ "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://dotenvx.com"+ }+ },+ "node_modules/@nestjs/config/node_modules/dotenv-expand": {+ "version": "12.0.1",+ "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-12.0.1.tgz",+ "integrity": "sha512-LaKRbou8gt0RNID/9RoI+J2rvXsBRPMV7p+ElHlPhcSARbCPDYcYG2s1TIzAfWv4YSgyY5taidWzzs31lNV3yQ==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "dotenv": "^16.4.5"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://dotenvx.com"+ }+ },"node_modules/@nestjs/core": {"version": "11.1.3","resolved": "https://registry.npmjs.org/@nestjs/core/-/core-11.1.3.tgz",@@ -21037,9 +21066,9 @@}},"node_modules/dotenv": {- "version": "16.4.7",- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",- "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",+ "version": "17.2.3",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.2.3.tgz",+ "integrity": "sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==","license": "BSD-2-Clause","engines": {"node": ">=12"@@ -21049,9 +21078,9 @@}},"node_modules/dotenv-expand": {- "version": "12.0.1",- "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-12.0.1.tgz",- "integrity": "sha512-LaKRbou8gt0RNID/9RoI+J2rvXsBRPMV7p+ElHlPhcSARbCPDYcYG2s1TIzAfWv4YSgyY5taidWzzs31lNV3yQ==",+ "version": "12.0.3",+ "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-12.0.3.tgz",+ "integrity": "sha512-uc47g4b+4k/M/SeaW1y4OApx+mtLWl92l5LMPP0GNXctZqELk+YGgOPIIC5elYmUH4OuoK3JLhuRUYegeySiFA==","license": "BSD-2-Clause","dependencies": {"dotenv": "^16.4.5"@@ -21063,6 +21092,18 @@"url": "https://dotenvx.com"}},+ "node_modules/dotenv-expand/node_modules/dotenv": {+ "version": "16.6.1",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.6.1.tgz",+ "integrity": "sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://dotenvx.com"+ }+ },"node_modules/dunder-proto": {"version": "1.0.1","resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",@@ -33459,6 +33500,19 @@"node": ">=8"}},+ "node_modules/nx/node_modules/dotenv": {+ "version": "16.4.7",+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz",+ "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==",+ "dev": true,+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://dotenvx.com"+ }+ },"node_modules/nx/node_modules/dotenv-expand": {"version": "11.0.7","resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-11.0.7.tgz",diff --git a/package.json b/package.jsonindex ff8adc51f0..403ce7f7b7 100644--- a/package.json+++ b/package.json@@ -111,6 +111,8 @@"countries-list": "3.1.1","countup.js": "2.9.0","date-fns": "4.1.0",+ "dotenv": "17.2.3",+ "dotenv-expand": "12.0.3","envalid": "8.1.0","fuse.js": "7.1.0","google-spreadsheet": "3.2.0",diff --git a/prisma.config.ts b/prisma.config.tsindex 24da6d886b..60597cbf12 100644--- a/prisma.config.ts+++ b/prisma.config.ts@@ -1,7 +1,10 @@-import 'dotenv/config';+import { config } from 'dotenv';+import { expand } from 'dotenv-expand';import { join } from 'node:path';import { defineConfig } from 'prisma/config';+expand(config({ quiet: true }));+export default defineConfig({migrations: {path: join('prisma', 'migrations'),