File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @onozaty/prisma-db-comments-generator" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.1 " ,
44 "description" : " Generate database comments from Prisma schema" ,
55 "bin" : {
66 "prisma-db-comments-generator" : " ./dist/generator.js"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ generator client {
44}
55
66generator comments {
7- provider = " tsx src/ generator.ts "
7+ provider = " node ./dist/ generator.js "
88 ignorePattern = " _view $"
99 includeEnumInFeildComment = true
1010}
Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
12/**
23 * This code is based on the following code by @Jyrno42
34 * https://github.com/prisma/prisma/issues/8703#issuecomment-1614360386
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "target" : " ES2022" ,
4- "module" : " ESNext" ,
5- "moduleResolution" : " Bundler" ,
4+ "module" : " commonjs" ,
65 "esModuleInterop" : true ,
76 "forceConsistentCasingInFileNames" : true ,
87 "strict" : true ,
98 "skipLibCheck" : true ,
109 "declaration" : true ,
1110 "sourceMap" : true ,
11+ "resolveJsonModule" : true ,
1212 "outDir" : " ./dist" ,
1313 "rootDir" : " ./src"
1414 },
You can’t perform that action at this time.
0 commit comments