lapeh 2.6.13 → 2.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +4 -1
- package/package.json +1 -1
package/bin/index.js
CHANGED
|
@@ -545,7 +545,7 @@ function createProject(skipFirstArg = false) {
|
|
|
545
545
|
'node_modules', 'dist', '.git', '.env', 'bin', 'lib',
|
|
546
546
|
'package-lock.json', '.DS_Store', 'prisma/migrations',
|
|
547
547
|
'prisma/dev.db', 'prisma/dev.db-journal', 'website',
|
|
548
|
-
'init', 'test-local-run', 'coverage', projectName
|
|
548
|
+
'init', 'test-local-run', 'coverage', 'doc', projectName
|
|
549
549
|
];
|
|
550
550
|
|
|
551
551
|
function copyDir(src, dest) {
|
|
@@ -610,6 +610,9 @@ function createProject(skipFirstArg = false) {
|
|
|
610
610
|
// Ensure @prisma/client is in dependencies for the new project
|
|
611
611
|
if (usePrisma) {
|
|
612
612
|
packageJson.dependencies["@prisma/client"] = "^6.0.0";
|
|
613
|
+
packageJson.prisma = {
|
|
614
|
+
seed: "npx ts-node -r tsconfig-paths/register prisma/seed.ts"
|
|
615
|
+
};
|
|
613
616
|
}
|
|
614
617
|
|
|
615
618
|
packageJson.version = '1.0.0';
|