Skip to content

Commit b442e6f

Browse files
committed
3.0.1 update readme and license
1 parent 71ae7a0 commit b442e6f

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2013-present, Facebook, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Create React WP Theme
22

3-
`*UPDATED* to support create-react-app v2.1.8`
4-
- [Updating Existing Themes](#updating-existing-themes)
3+
`*UPDATED* to support create-react-app v3.0.1`
4+
5+
- [Updating Existing Themes](#updating-existing-themes)
56

67
The intention of this project is to maintain a set of custom `react-scripts` that will allow you to
78
create React WordPress themes as easily as `create-react-app` allows other devs to create their apps.
@@ -20,8 +21,8 @@ To create a WordPress theme using the `create-react-wptheme`, follow these steps
2021
- Use `npx create-react-wptheme` to make a new theme
2122
- For example: (**replace "my_react_theme" with whatever you want your theme to be named**):
2223
- `npx create-react-wptheme my_react_theme`
23-
- If you want to use TypeScript, then the command would be:
24-
- `npx create-react-wptheme my_react_theme --typescript`
24+
- If you want to use TypeScript, then the command would be:
25+
- `npx create-react-wptheme my_react_theme --typescript`
2526
- When it finishes it'll tell you to change into your new theme's folder and run the Nodejs watcher (replace "my_react_theme" with the same name you used in the previous step):
2627
- `cd my_react_theme/react-src`
2728
- `npm run wpstart`
@@ -150,11 +151,7 @@ To configure the Browser Refresh Server to use SSL, follow these steps:
150151

151152
- Remove WebPackDevServer and use your WordPress dev server instead.
152153
- Also, do not proxy the WordPress server.
153-
- This has many benefits:
154-
- One: Never CORS me again.
155-
- Two: Never CORS me again.
156-
- Just a little _Pacific Rim_ joke for ya.
157-
- Just a little _Thor: Ragnarok_ joke for ya.
154+
- Thus removing CORS as a concern.
158155
- Maintain feature parity(ish) with `create-react-app`
159156
- Touch the original `react-scripts` as little as possible.
160157
- Add new files where possible.
@@ -178,4 +175,4 @@ I'm grateful to the authors of existing related projects for their ideas and col
178175

179176
## License
180177

181-
Create React WP Theme is open source software [licensed as MIT](https://github.com/facebook/create-react-app/blob/master/LICENSE).
178+
Create React WP Theme is open source software [licensed as MIT](https://github.com/devloco/create-react-wptheme/blob/master/LICENSE).

0 commit comments

Comments
 (0)