Skip to content

Commit

Permalink
Feature/stop using react fast refresh fork (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Oct 4, 2023
1 parent 3010e95 commit 5a8f979
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/six-crabs-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"10up-toolkit": patch
---

Stop using react fast refresh fork in favor of the upstream package
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"scripts": {
"build": "npm run build --workspaces --if-present",
"test": "npm run test --workspaces --if-present",
"lint": "npm run lint --workspaces --if-present"
"lint": "npm run lint --workspaces --if-present",
"dev": "npm run wp-env start -- --xdebug -w=projects/10up-theme && npm run start -w=projects/10up-theme"
},
"workspaces": [
"packages/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@babel/core": "^7.21.8",
"@babel/eslint-parser": "^7.21.8",
"@pmmmwh/react-refresh-webpack-plugin": "https://github.com/nicholasio/react-refresh-webpack-plugin.git",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
"@svgr/webpack": "^8.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
Expand Down
5 changes: 4 additions & 1 deletion projects/10up-theme/.wp-env.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"themes": [ "." ]
"themes": [ "." ],
"config": {
"WP_ENVIRONMENT_TYPE": "local"
}
}

0 comments on commit 5a8f979

Please sign in to comment.