Skip to content

Commit 0302324

Browse files
committed
cleaned up defaults, updated readme and version
1 parent bca484b commit 0302324

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
+ Uncompress the other projects to the “src” directory
3434
+ Clean up the “src” directory so that only the files I want are set up nicely for me
3535
+ Create a basic style.less for my WordPress project
36+
+ Create the wp-config.php file
3637
+ Create a Gruntfile that is setup to watch the LESS file and compiles it to the proper directory in the WordPress theme
3738
+ Set up the database table that WordPress will be installed to
3839

@@ -48,4 +49,4 @@ Yeoman will prompt you which version of WordPress you want to use (latest stable
4849

4950
## Plans
5051

51-
I plan on getting a few more smaller items done in the near future, including better error catching (mainly around the MySQL database), creating the actual wp-config file and hopefully integrating with wp-cli to run the WordPress install.
52+
I plan on getting a few more smaller items done in the near future, including better error catching (mainly around the MySQL database) and hopefully integrating with wp-cli to run the WordPress install.

app/index.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,6 @@ util.inherits(WPGenerator, yeoman.generators.NamedBase)
3838
WPGenerator.prototype.initGenerator = function initGenerator() {
3939
var self = this
4040

41-
this.themeNameOriginal = 'My Theme'
42-
this.themeName = 'mytheme'
43-
this.authorName = 'My Name'
44-
this.authorURI = 'My Site'
45-
this.dbtable = 'wordpress'
46-
this.dbuser = 'root'
47-
this.dbpass = 'root'
48-
self.themeOriginalURL = 'https://github.com/theREDspace/wp_starter/tarball/master'
49-
self.themeBoilerplate = 'https://github.com/theREDspace/wp_starter/tarball/master'
50-
self.wordpressVersion = '3.5.1'
51-
self.bootstrapVersion = '2.3.1'
52-
self.fontAwesomeVersion = '3.0.2'
53-
self.dbprefix = 'wp_'
54-
5541
self.log.writeln('')
5642
self.log.writeln('Intializing WP Generator'.bold)
5743

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "generator-yo-trs-wordpress",
3-
"version": "2.1.0",
3+
"version": "2.2.0",
44
"description": "Yeoman generator for Wordpress project for theREDspace",
55
"homepage": "https://github.com/theREDspace/yeoman-wordpress",
66
"author": {

0 commit comments

Comments
 (0)