Permalink
Browse files

Remove Craft CMS

  • Loading branch information...
davidhellmann committed Jan 8, 2018
1 parent 44159ae commit badbfb05298b5012d357789205c65a3916e0cfa8
Showing 2,640 changed files with 5,011 additions and 801,619 deletions.
View
@@ -42,9 +42,7 @@ And last but not least thanks to all members from our Slack Channel [webdevs](ht
## What's inside? A lot! :-)
### This three scenarios are covered by the generator:
- Craft CMS — Up to Date
- Craft CMS Beta 3 — Not for production
- WordPress — No up to date but a good startpoint
- Prototyping (with Twig) — No up to date but a good startpoint
### Settings
You can find this stuff here: `___src/assets/css/_______settings`
View
@@ -11,7 +11,7 @@ const project = {
description: 'A small Test Driven Generator',
version: '0.0.1',
proxy: 'awesome.test',
type: 'craftCMS'
type: 'craftCMS3'
}
const author = {
name: 'David Hellmann',
View

This file was deleted.

Oops, something went wrong.
@@ -2,66 +2,17 @@ module.exports = {
files: [
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/imager/imager.php',
dest: '___dist/craft/config/imager.php'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/db.php',
dest: '___dist/craft/config/db.php'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/general.php',
dest: '___dist/craft/config/general.php'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/public/index.php',
dest: '___dist/public/index.php'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/.env.php',
dest: '___dist/.env.php'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/example.env.php',
dest: '___dist/example.env.php'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/.craft-cli.php',
dest: '.craft-cli.php'
},
{
projectContext: [
'craftCMS'
'craftCMS3'
],
src: '___src/_craftCMS/redactor/Baukasten.json',
dest: '___dist/craft/config/redactor/Baukasten.json'
src: '___src/_craftCMS3/imager/imager.php',
dest: '___dist/config/imager.php'
},
{
projectContext: [
'craftCMS3'
],
src: '___src/_craftCMS3/imager/imager.php',
dest: '___dist/config/imager.php'
src: '___src/_craftCMS3/image-optimize/image-optimize.php',
dest: '___dist/config/image-optimize.php'
},
{
projectContext: [
@@ -112,13 +63,6 @@ module.exports = {
src: '___src/_craftCMS3/example.env.php',
dest: '___dist/example.env.php'
},
{
projectContext: [
'craftCMS3'
],
src: '___src/_craftCMS3/plugins/craft3-plugins.sh',
dest: '___dist/craft3-plugins.sh'
},
{
projectContext: [
'craftCMS3'
@@ -2,7 +2,6 @@ module.exports = {
files: [
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -11,7 +10,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -20,33 +18,11 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3'
],
src: '___src/_imports/',
dest: '___src/_imports/'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/public/uploads/',
dest: '___dist/public/uploads'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/plugins/',
dest: '___dist/craft/plugins'
},
{
projectContext: [
'craftCMS'
],
src: '___src/_craftCMS/translations/',
dest: '___dist/craft/translations'
},
{
projectContext: [
'craftCMS3'
@@ -56,31 +32,27 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3'
],
src: '___src/scripts/lang/',
dest: 'scripts/lang/'
},
{
projectContext: [
'craftCMS',
'craftCMS3'
],
src: '___src/scripts/module/',
dest: 'scripts/module/'
},
{
projectContext: [
'craftCMS',
'craftCMS3'
],
src: '___src/scripts/ferdi/',
dest: 'scripts/ferdi/'
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -89,7 +61,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -98,7 +69,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3'
],
src: '___src/templates/webpack-craftcms/',
@@ -2,7 +2,6 @@ module.exports = {
files: [
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -11,39 +10,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3',
],
src: '___src/templates/globals/twig/_atoms/',
dest: '___src/templates/_atoms/'
},
{
projectContext: [
'craftCMS',
'craftCMS3',
],
src: '___src/templates/globals/twig/_embeds/',
dest: '___src/templates/_embeds/'
},
{
projectContext: [
'craftCMS',
'craftCMS3',
],
src: '___src/templates/globals/twig/_molecules/',
dest: '___src/templates/_molecules/'
},
{
projectContext: [
'craftCMS',
'craftCMS3',
],
src: '___src/templates/globals/twig/_organisms/',
dest: '___src/templates/_organisms/'
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -52,7 +18,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -61,7 +26,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -70,7 +34,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3',
'wordpress'
],
@@ -79,7 +42,6 @@ module.exports = {
},
{
projectContext: [
'craftCMS',
'craftCMS3'
],
src: '___src/templates/craftcms/',
View
@@ -12,8 +12,6 @@ const branding = require('./helpers/messages/_branding')
const logMessage = require('./helpers/messages/_logMessage')
// Install CMS Stuff
// const installCraftCMS = require('./modules/installs/_instsallCraftCMS')
const installCraftCMS = require('./modules/writings/craftCMS')
const installCraftCMS3 = require('./modules/writings/craftCMS3')
const installWordpress = require('./modules/writings/wordpress')
@@ -52,7 +50,6 @@ module.exports = class extends Generator {
this.foldersProjectTpl = foldersProjectTpl
// CMS Stuff
this.installCraftCMS = installCraftCMS.bind(this)
this.installCraftCMS3 = installCraftCMS3.bind(this)
this.installWordpress = installWordpress.bind(this)
@@ -107,15 +104,6 @@ module.exports = class extends Generator {
async configuration() {
this.logMessage({message: 'Configure Project', short: false})
// Install Craft CMS
if (this.props.projectType === 'craftCMS' && this.props.craftCMSInstall) {
try {
await this.installCraftCMS().download(this)
} catch (e) {
console.error(e)
}
}
// Install Craft CMS 3
if (this.props.projectType === 'craftCMS3' && this.props.craftCMS3Install && this.commands.composer) {
try {
@@ -142,16 +130,6 @@ module.exports = class extends Generator {
// Package JSON
this.writePackageJSON().writing(this)
// Craft CMS
if (this.props.projectType === 'craftCMS') {
this.logMessage({message: 'Moving Craft Folders'});
try {
await this.installCraftCMS().writing(this)
} catch (e) {
console.error(e)
}
}
// Craft CMS 3
if (this.props.projectType === 'craftCMS3') {
this.logMessage({message: 'Moving Craft Folders'});
Oops, something went wrong.

0 comments on commit badbfb0

Please sign in to comment.