zzau13 / prisma-schema-transformer Goto Github PK
View Code? Open in Web Editor NEWPrisma schema post-processor for change names and fields to camelcase and pluralize for push db to a prisma schema
License: MIT License
Prisma schema post-processor for change names and fields to camelcase and pluralize for push db to a prisma schema
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are pending. To force PRs open, click the checkbox below.
@prisma/generator-helper
, @prisma/internals
, prisma
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)@vitest/coverage-c8
, vitest
).github/workflows/test.yml
actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
actions/setup-node v4
pnpm/action-setup v2.4.0
actions/cache v3
codecov/codecov-action v4
package.json
@prisma/engine-core ^4.3.1
@prisma/generator-helper ^5.0.0
@prisma/internals ^5.0.0
camelcase ^8.0.0
commander ^11.0.0
dotenv ^16.0.2
immer ^10.0.0
pluralize ^8.0.0
prisma ^5.0.0
ts-toolbelt ^9.6.0
@commitlint/cli 18.2.0
@commitlint/config-conventional 18.1.0
@release-it/conventional-changelog 7.0.2
@types/jest 29.5.8
@types/node 20.8.10
@types/pluralize 0.0.31
@typescript-eslint/eslint-plugin 6.2.0
@typescript-eslint/parser 6.2.0
@vitest/coverage-c8 0.24.4
dotenv-cli 7.3.0
eslint 8.45.0
eslint-config-prettier 9.0.0
eslint-plugin-prettier 5.0.1
fp-ts 2.16.1
husky 8.0.3
lint-staged 15.0.2
prettier 3.0.3
prettier-plugin-prisma 5.0.0
release-it 16.2.1
typescript 5.2.2
vitest 0.24.4
node >=16.17
.nvmrc
Currently, the database specific fields (such as @db.Timestamp(6)
or @db.Uuid()
) is removed after transform. Is there any way to keep them?
Add transform modifiers by options.
Object<regular expression string -> transform function(string) -> string>
Thanks to @ebg1223 for the idea.
The database can contain a list of scalars (e.g. string[]
). Prisma does not support these as mentioned at the end of this page. Handle this gracefully instead of crashing.
See linked PR for the fix.
When running this transformer, the previewFeatures
and binaryTargets
options are being removed from the client generator.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.