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 1
1
{
2
2
"name" : " @onozaty/prisma-db-comments-generator" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Generate database comments from Prisma schema" ,
5
5
"bin" : {
6
6
"prisma-db-comments-generator" : " ./dist/generator.js"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ generator client {
4
4
}
5
5
6
6
generator comments {
7
- provider = " tsx src/ generator.ts "
7
+ provider = " node ./dist/ generator.js "
8
8
ignorePattern = " _view $"
9
9
includeEnumInFeildComment = true
10
10
}
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env node
1
2
/**
2
3
* This code is based on the following code by @Jyrno42
3
4
* https://github.com/prisma/prisma/issues/8703#issuecomment-1614360386
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"target" : " ES2022" ,
4
- "module" : " ESNext" ,
5
- "moduleResolution" : " Bundler" ,
4
+ "module" : " commonjs" ,
6
5
"esModuleInterop" : true ,
7
6
"forceConsistentCasingInFileNames" : true ,
8
7
"strict" : true ,
9
8
"skipLibCheck" : true ,
10
9
"declaration" : true ,
11
10
"sourceMap" : true ,
11
+ "resolveJsonModule" : true ,
12
12
"outDir" : " ./dist" ,
13
13
"rootDir" : " ./src"
14
14
},
You can’t perform that action at this time.
0 commit comments