New features: - Automatic error reporting (enabled by default) - Increase build times by leveraging docker build caches - Fixes: - Fix error handling - Fix vue autodetect - Custom dockerfile is not the default Others: - Cleanup `logs-servers` collection, because old errors are not standardized - New Traefik proxy version - Standardized directory configurations
51 lines
932 B
JavaScript
51 lines
932 B
JavaScript
const defaultBuildAndDeploy = {
|
|
installation: 'yarn install',
|
|
build: 'yarn build'
|
|
}
|
|
|
|
const templates = {
|
|
next: {
|
|
pack: 'nodejs',
|
|
...defaultBuildAndDeploy,
|
|
port: 3000,
|
|
name: 'Next.js'
|
|
},
|
|
nuxt: {
|
|
pack: 'nodejs',
|
|
...defaultBuildAndDeploy,
|
|
port: 8080,
|
|
name: 'Nuxt'
|
|
},
|
|
'react-scripts': {
|
|
pack: 'static',
|
|
...defaultBuildAndDeploy,
|
|
directory: 'build',
|
|
name: 'Create React'
|
|
},
|
|
'parcel-bundler': {
|
|
pack: 'static',
|
|
...defaultBuildAndDeploy,
|
|
directory: 'dist',
|
|
name: 'Parcel'
|
|
},
|
|
'@vue/cli-service': {
|
|
pack: 'static',
|
|
...defaultBuildAndDeploy,
|
|
directory: 'dist',
|
|
name: 'Vue CLI'
|
|
},
|
|
gatsby: {
|
|
pack: 'static',
|
|
...defaultBuildAndDeploy,
|
|
directory: 'public',
|
|
name: 'Gatsby'
|
|
},
|
|
'preact-cli': {
|
|
pack: 'static',
|
|
...defaultBuildAndDeploy,
|
|
directory: 'build',
|
|
name: 'Preact CLI'
|
|
}
|
|
}
|
|
|
|
export default templates
|