File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ async function main() {
152
152
generateLockfile : true ,
153
153
sharp : true ,
154
154
skipConfig : true , // Do not copy the payload.config.ts file from the base template
155
+ skipReadme : true , // Do not copy the README.md file from the base template
155
156
storage : 'localDisk' ,
156
157
// The blank template is used as a base for create-payload-app functionality,
157
158
// so we do not configure the payload.config.ts file, which leaves the placeholder comments.
@@ -262,10 +263,10 @@ async function main() {
262
263
263
264
if ( generateLockfile ) {
264
265
log ( 'Generating pnpm-lock.yaml' )
265
- execSyncSafe ( `pnpm install --ignore-workspace` , { cwd : destDir } )
266
+ execSyncSafe ( `pnpm install --ignore-workspace --no-frozen-lockfile ` , { cwd : destDir } )
266
267
} else {
267
268
log ( 'Installing dependencies without generating lockfile' )
268
- execSyncSafe ( `pnpm install --ignore-workspace` , { cwd : destDir } )
269
+ execSyncSafe ( `pnpm install --ignore-workspace --no-frozen-lockfile ` , { cwd : destDir } )
269
270
await fs . rm ( `${ destDir } /pnpm-lock.yaml` , { force : true } )
270
271
}
271
272
You can’t perform that action at this time.
0 commit comments