Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const task: TaskFn = async (absPath, _app, state) => {
const pkg = new PackageFile(absPath)
pkg.set('name', state.name)
pkg.set('version', '0.0.0')
pkg.set('private', true)
pkg.setScript('build', 'node ace build')
pkg.setScript('start', 'node ace serve --watch')
/**
* Set by `yarn create`
*/
if (state.client === 'yarn') {
pkg.yarn(true)
}
/**