Skip to content

Commit d06570c

Browse files
authored
Merge pull request #49 from devloco/3.4.1
3.4.1
2 parents 61cab88 + a262d79 commit d06570c

File tree

12 files changed

+356
-2097
lines changed

12 files changed

+356
-2097
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Create React WP Theme <!-- omit in toc -->
22

3-
## Update to 3.4.1 Coming Soon
3+
## Up To Date!
44

5-
Apr. 12, 2020
5+
Apr. 15, 2020
66
<br />
7-
Facebook released [v3.4.1](https://github.com/facebook/create-react-app/releases/tag/v3.4.1) of `Create-React-App`. I'm preparing an update and should be done soon.
7+
Facebook recently released [v3.4.1](https://github.com/facebook/create-react-app/releases/tag/v3.4.1) of [Create-React-App](https://create-react-app.dev/).
88

9-
Until then you can continue to create new projects using [v3.4.0](https://github.com/facebook/create-react-app/releases/tag/v3.4.0). When the new release is ready,
10-
[updating is easy](#updating-existing-themes)!
9+
And now `create-react-wptheme` is up-to-date.<br>
10+
If you have a theme made with an earlier version of `create-react-wptheme` and want to update it to the latest code, [just follow these instructions](#updating-existing-themes).
1111

1212
---
1313

packages/cra-template-wptheme-typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cra-template-wptheme-typescript",
3-
"version": "3.4.0-wp.3",
3+
"version": "3.4.1-wp.1",
44
"keywords": [
55
"react",
66
"create-react-app",

packages/cra-template-wptheme-typescript/template/src/index.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
import React from "react";
2-
import ReactDOM from "react-dom";
3-
import "./index.css";
4-
import App from "./App";
5-
import * as serviceWorker from "./serviceWorker";
1+
import React from 'react';
2+
import ReactDOM from 'react-dom';
3+
import './index.css';
4+
import App from './App';
5+
import * as serviceWorker from './serviceWorker';
66

7-
ReactDOM.render(<App />, document.getElementById("root"));
7+
ReactDOM.render(
8+
<React.StrictMode>
9+
<App />
10+
</React.StrictMode>,
11+
document.getElementById('root')
12+
);
813

914
// If you want your app to work offline and load faster, you can change
1015
// unregister() to register() below. Note this comes with some pitfalls.

packages/cra-template-wptheme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cra-template-wptheme",
3-
"version": "3.4.0-wp.2",
3+
"version": "3.4.1-wp.1",
44
"keywords": [
55
"wordpress",
66
"create-react-app",

packages/cra-template-wptheme/template/src/index.js

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
import React from "react";
2-
import ReactDOM from "react-dom";
3-
import "./index.css";
4-
import App from "./App";
5-
import * as serviceWorker from "./serviceWorker";
1+
import React from 'react';
2+
import ReactDOM from 'react-dom';
3+
import './index.css';
4+
import App from './App';
5+
import * as serviceWorker from './serviceWorker';
66

7-
ReactDOM.render(<App />, document.getElementById("root"));
7+
ReactDOM.render(
8+
<React.StrictMode>
9+
<App />
10+
</React.StrictMode>,
11+
document.getElementById('root')
12+
);
813

914
// If you want your app to work offline and load faster, you can change
1015
// unregister() to register() below. Note this comes with some pitfalls.

packages/cra-template-wptheme/template/src/serviceWorker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function registerValidSW(swUrl, config) {
101101
function checkValidServiceWorker(swUrl, config) {
102102
// Check if the service worker can be found. If it can't reload the page.
103103
fetch(swUrl, {
104-
headers: { 'Service-Worker': 'script' }
104+
headers: { 'Service-Worker': 'script' },
105105
})
106106
.then(response => {
107107
// Ensure service worker exists, and that we really are getting a JS file.

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devloco/create-react-wptheme-error-overlay",
3-
"version": "3.4.0-wp.1",
3+
"version": "3.4.1-wp.1",
44
"description": "create-react-wptheme client with error overlay",
55
"main": "wptheme-error-overlay.js",
66
"scripts": {
@@ -17,15 +17,15 @@
1717
"wpThemeErrorOverlay.js"
1818
],
1919
"dependencies": {
20-
"react-dev-utils": "^10.2.0",
21-
"react-error-overlay": "^6.0.6"
20+
"react-dev-utils": "^10.2.1",
21+
"react-error-overlay": "^6.0.7"
2222
},
2323
"devDependencies": {
2424
"@babel/code-frame": "^7.8.3",
25-
"@babel/core": "^7.8.4",
25+
"@babel/core": "^7.9.0",
2626
"@webpack-cli/info": "^0.2.0",
27-
"babel-loader": "^8.0.6",
28-
"webpack": "^4.41.6",
27+
"babel-loader": "^8.1.0",
28+
"webpack": "^4.42.1",
2929
"webpack-cli": "^3.3.11"
3030
}
3131
}

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

Lines changed: 2 additions & 2 deletions
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.12",
3+
"version": "3.4.1-wp.1",
44
"description": "Utilities used by create-react-wptheme.",
55
"engines": {
66
"node": ">=8"
@@ -32,7 +32,7 @@
3232
"chokidar": "^3.3.1",
3333
"shelljs": "^0.8.3",
3434
"fs-extra": "^8.1.0",
35-
"ws": "^7.2.1"
35+
"ws": "^7.2.3"
3636
},
3737
"devDependencies": {}
3838
}

0 commit comments

Comments
 (0)