Skip to content

Added filepaths to support the .config directory proposal ahead of time (adopted by prisma)#3225

Open
5m1Ly wants to merge 2 commits intomaterial-extensions:mainfrom
5m1Ly:patch-1
Open

Added filepaths to support the .config directory proposal ahead of time (adopted by prisma)#3225
5m1Ly wants to merge 2 commits intomaterial-extensions:mainfrom
5m1Ly:patch-1

Conversation

@5m1Ly
Copy link

@5m1Ly 5m1Ly commented Oct 14, 2025

Description

I've added file paths to the prisma icon because i found that some files don't match with the current configured file paths.

As stated in the documentation page provided below:

"Prisma Config files can be named as prisma.config.* or .config/prisma.* with the extensions js, ts, mjs, cjs, mts, or cts. Other extensions are supported to ensure compatibility with different TypeScript compiler settings."

Recommendation

Use prisma.config.ts for small TypeScript projects.
Use .config/prisma.ts for larger TypeScript projects with multiple configuration files (following the .config directory proposal).

https://www.prisma.io/docs/orm/reference/prisma-config-reference#supported-file-extensions

Contribution Guidelines

@github-actions github-actions bot added the icons PR with new icons label Oct 14, 2025
@5m1Ly 5m1Ly changed the title Add '.config/prisma.ts' to prisma file names Added filepaths to support the .config directory proposal ahead of time (adopted by prisma) Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

icons PR with new icons

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant