Skip to content

Commit 61cab88

Browse files
authored
Merge pull request #47 from devloco/3.4.0-Issue.45
Issue 45 again
2 parents 2123e4c + 1869aaf commit 61cab88

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

packages/create-react-wptheme-utils/getUserConfig.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ module.exports = function (paths, nodeEnv) {
6666

6767
// Create both files ASAP.
6868
if (!wpThemePostInstallerInfo.postInstallerExists(paths)) {
69-
nodeEnv = "init"; // Issue 45; this should only happen during setup of a new theme...
7069
_getUserConfig(paths, _userDevConfigName, defaultUserDevConfig);
7170
_getUserConfig(paths, _userProdConfigName, defaultUserProdConfig);
7271
}
@@ -82,7 +81,6 @@ module.exports = function (paths, nodeEnv) {
8281
switch (nodeEnv) {
8382
case "dev":
8483
case "development":
85-
case "init":
8684
return _getUserConfig(paths, _userDevConfigName, defaultUserDevConfig);
8785
case "build":
8886
case "prod":

packages/create-react-wptheme-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devloco/create-react-wptheme-utils",
3-
"version": "3.4.0-wp.11",
3+
"version": "3.4.0-wp.12",
44
"description": "Utilities used by create-react-wptheme.",
55
"engines": {
66
"node": ">=8"

packages/create-react-wptheme/createReactWpTheme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const _wpThemeVersion = packageJson.version;
4343
const _createReactAppVersion = _wpThemeVersion.split("-wp.")[0];
4444

4545
// Check these!!!!
46-
const _reactScriptsWpThemeVersion = "^3.4.0-wp.9";
46+
const _reactScriptsWpThemeVersion = "^3.4.0-wp.10";
4747
const _getScriptsPath = function () {
4848
return scriptsFromNpm();
4949
};

packages/create-react-wptheme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-react-wptheme",
3-
"version": "3.4.0-wp.7",
3+
"version": "3.4.0-wp.8",
44
"description": "Create React-enabled WP themes.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)