Browse Source

feat: migrate to Prisma configuration file (#5472)

Add prisma.config.ts to centralize Prisma setup; remove prisma config from package.json; seed via node prisma/seed.mts
pull/5489/head
David Requeno 2 months ago
parent
commit
6432e007d3
  1. 20
      CHANGELOG.md
  2. 3
      package.json
  3. 11
      prisma.config.ts

20
CHANGELOG.md

@ -5,29 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 2.198.0 - 2025-09-11
## Unreleased
### Changed
- Extended the variations of the interstitials for the subscription
- Renamed the job identifier column in the jobs queue view of the admin control panel
- Refactored the markets page to standalone
- Refactored the fear and greed index component to standalone
- Migrated to Prisma Configuration File (`prisma.config.ts`) to prepare for Prisma 7
- Refactored the header component to standalone
- Refactored the investment chart component to standalone
- Refactored the rule component to standalone
- Refactored the rules component to standalone
- Refactored the subscription interstitial dialog component to standalone
- Removed the `IonIcon` import from the landing page
- Improved the language localization for German (`de`)
- Upgraded `angular` from version `20.1.3` to `20.2.4`
- Upgraded `eslint` dependencies
- Upgraded `Nx` from version `21.3.9` to `21.5.1`
- Upgraded `storybook` from version `9.0.17` to `9.1.5`
### Fixed
- Fixed the holdings table on the public page
## 2.197.0 - 2025-09-07
@ -35,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Enabled automatic data gathering for custom currencies added via the currency management in the admin control panel
- Added a _Storybook_ story for the world map chart component
- Migrated to Prisma Configuration File (`prisma.config.ts`) to prepare for Prisma 7
### Changed

3
package.json

@ -209,8 +209,5 @@
},
"engines": {
"node": ">=22.18.0"
},
"prisma": {
"seed": "node prisma/seed.mts"
}
}

11
prisma.config.ts

@ -0,0 +1,11 @@
import 'dotenv/config';
import { join } from 'node:path';
import { defineConfig } from 'prisma/config';
export default defineConfig({
schema: join('prisma', 'schema.prisma'),
migrations: {
path: join('prisma', 'migrations'),
seed: 'node prisma/seed.mts'
}
});
Loading…
Cancel
Save