Skip to content

Commit 42512e2

Browse files
committed
3.3.0 RC 1
1 parent a2c6199 commit 42512e2

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
const fs = require("fs-extra");
1111
const path = require("path");
1212
const { rm, cp } = require("shelljs");
13-
const wpThemePostInstallerInfo = require("@devloco/react-scripts-wptheme-utils/postInstallerInfo");
14-
const wpThemeUserConfig = require("@devloco/react-scripts-wptheme-utils/getUserConfig"); //(paths, process.env.NODE_ENV);
13+
const wpThemePostInstallerInfo = require("@devloco/create-react-wptheme-utils/postInstallerInfo");
14+
const wpThemeUserConfig = require("@devloco/create-react-wptheme-utils/getUserConfig"); //(paths, process.env.NODE_ENV);
1515

1616
const _doNotEditFileName = "!DO_NOT_EDIT_THESE_FILES!.txt";
1717
const _readyToDeployFileName = "!READY_TO_DEPLOY!.txt";

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
const fs = require("fs-extra");
1111
const chalk = require("chalk");
1212
const path = require("path");
13-
const wpThemePostInstallerInfo = require("@devloco/react-scripts-wptheme-utils/postInstallerInfo");
13+
const wpThemePostInstallerInfo = require("@devloco/create-react-wptheme-utils/postInstallerInfo");
1414

1515
const _userDevConfigName = "user.dev.json";
1616
const _userProdConfigName = "user.prod.json";

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@devloco/create-react-wptheme-utils",
3-
"version": "3.3.0-wp.1",
4-
"description": "Utilities used by react-scripts-wptheme.",
3+
"version": "3.3.0-wp.2",
4+
"description": "Utilities used by create-react-wptheme.",
55
"engines": {
66
"node": ">=8"
77
},
@@ -10,14 +10,13 @@
1010
},
1111
"repository": {
1212
"type": "git",
13-
"url": "git+https://github.com/devloco/react-scripts-wptheme-utils.git"
13+
"url": "https://github.com/devloco/create-react-wptheme"
1414
},
1515
"author": "devloco",
1616
"license": "MIT",
1717
"bugs": {
18-
"url": "https://github.com/devloco/react-scripts-wptheme-utils/issues"
18+
"url": "https://github.com/devloco/create-react-wptheme/issues"
1919
},
20-
"homepage": "https://github.com/devloco/react-scripts-wptheme-utils#readme",
2120
"files": [
2221
"fileFunctions.js",
2322
"fileWatcherPlugin.js",

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const url = require("url");
1313
const https = require("https");
1414
const WebSocket = require("ws");
1515

16-
const _getUserConfig = require("@devloco/react-scripts-wptheme-utils/getUserConfig");
16+
const _getUserConfig = require("@devloco/create-react-wptheme-utils/getUserConfig");
1717
const _typeBuildError = "errors";
1818
const _typeBuildContentChanged = "content-changed";
1919
const _typeBuildSuccess = "success";
@@ -204,8 +204,8 @@ const wpThemeServer = {
204204

205205
const phpStuff = `<?php $BRC_TEMPLATE_PATH = parse_url(get_template_directory_uri(), PHP_URL_PATH); ?>`;
206206
const jsTags = [
207-
"<script src='<?php echo $BRC_TEMPLATE_PATH; ?>/react-src/node_modules/@devloco/react-scripts-wptheme-utils/wpThemeClient.js'></script>",
208-
"<script src='<?php echo $BRC_TEMPLATE_PATH; ?>/react-src/node_modules/@devloco/react-scripts-wptheme-error-overlay/wpThemeErrorOverlay.js'></script>\n"
207+
"<script src='<?php echo $BRC_TEMPLATE_PATH; ?>/react-src/node_modules/@devloco/create-react-wptheme-utils/wpThemeClient.js'></script>\n",
208+
"<script src='<?php echo $BRC_TEMPLATE_PATH; ?>/react-src/node_modules/@devloco/create-react-wptheme-utils/wpThemeErrorOverlay.js'></script>\n"
209209
];
210210
const jsCall = `<script> wpThemeClient.start("${_webSocketServerProtocol}", "${_configHost}", "${_serverPort}"); </script>\n`;
211211

packages/create-react-wptheme/createReactWpTheme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const _wpThemeVersion = packageJson.version;
5050
const _createReactAppVersion = _wpThemeVersion.split("-wp.")[0];
5151

5252
// Check these!!!!
53-
const _reactScriptsWpThemeVersion = "3.3.0-wp.1";
53+
const _reactScriptsWpThemeVersion = "3.3.0-wp.2";
5454
const _getScriptsPath = function() {
5555
return scriptsFromNpm();
5656
};
@@ -161,7 +161,7 @@ function printValidationResults(results) {
161161

162162
console.log(program.name() + " version: " + chalk.magenta(_wpThemeVersion));
163163
console.log("@devloco/react-scripts-wptheme version: " + chalk.magenta(_reactScriptsWpThemeVersion));
164-
console.log("create-react-app version: " + chalk.magenta(_createReactAppVersion));
164+
console.log();
165165
createApp(projectName, program.verbose, program.scriptsVersion, program.useNpm, program.usePnp, program.typescript);
166166

167167
function createApp(name, verbose, version, useNpm, usePnp, useTypescript, template) {

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.3.0-wp.1",
3+
"version": "3.3.0-wp.2",
44
"description": "Create React-enabled WP themes.",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)