Skip to content

Commit

Permalink
Merge pull request #47 from devloco/3.4.0-Issue.45
Browse files Browse the repository at this point in the history
Issue 45 again
  • Loading branch information
devloco committed Apr 13, 2020
2 parents 2123e4c + 1869aaf commit 61cab88
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions packages/create-react-wptheme-utils/getUserConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ module.exports = function (paths, nodeEnv) {

// Create both files ASAP.
if (!wpThemePostInstallerInfo.postInstallerExists(paths)) {
nodeEnv = "init"; // Issue 45; this should only happen during setup of a new theme...
_getUserConfig(paths, _userDevConfigName, defaultUserDevConfig);
_getUserConfig(paths, _userProdConfigName, defaultUserProdConfig);
}
Expand All @@ -82,7 +81,6 @@ module.exports = function (paths, nodeEnv) {
switch (nodeEnv) {
case "dev":
case "development":
case "init":
return _getUserConfig(paths, _userDevConfigName, defaultUserDevConfig);
case "build":
case "prod":
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-wptheme-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devloco/create-react-wptheme-utils",
"version": "3.4.0-wp.11",
"version": "3.4.0-wp.12",
"description": "Utilities used by create-react-wptheme.",
"engines": {
"node": ">=8"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-wptheme/createReactWpTheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const _wpThemeVersion = packageJson.version;
const _createReactAppVersion = _wpThemeVersion.split("-wp.")[0];

// Check these!!!!
const _reactScriptsWpThemeVersion = "^3.4.0-wp.9";
const _reactScriptsWpThemeVersion = "^3.4.0-wp.10";
const _getScriptsPath = function () {
return scriptsFromNpm();
};
Expand Down
2 changes: 1 addition & 1 deletion packages/create-react-wptheme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-react-wptheme",
"version": "3.4.0-wp.7",
"version": "3.4.0-wp.8",
"description": "Create React-enabled WP themes.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 61cab88

Please sign in to comment.