test: missing test dir deps, update cpa create project suite
This commit is contained in:
@@ -78,6 +78,7 @@ describe('create-payload-app', () => {
|
||||
'--debug': true,
|
||||
projectDir,
|
||||
useDistFiles: true, // create-payload-app/dist/app/(payload)
|
||||
packageManager: 'pnpm',
|
||||
})
|
||||
|
||||
expect(result.success).toBe(true)
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
"create-payload-app": "workspace:*",
|
||||
"eslint-plugin-playwright": "1.5.3",
|
||||
"eslint-plugin-payload": "workspace:*",
|
||||
"payload": "workspace:*"
|
||||
"payload": "workspace:*",
|
||||
"execa": "5.1.1",
|
||||
"tempy": "^1.0.1",
|
||||
"comment-json": "^4.2.3",
|
||||
"typescript": "5.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ export const createTestHooks = async (testSuiteName = '_community') => {
|
||||
|
||||
await writeFile(tsConfigPath, JSON.stringify(tsConfig, null, 2) + '\n')
|
||||
|
||||
execSync(`prettier --write ${tsConfigPath}`, { cwd: path.resolve(dirname, '../') })
|
||||
execSync(`pnpm prettier --write ${tsConfigPath}`, { cwd: path.resolve(dirname, '../') })
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user