File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,17 @@ function App() {
3838 syncWithLocation : false ,
3939 warnWhenUnsavedChanges : true ,
4040 projectId : 'wp-refine-plugin' ,
41+ reactQuery : {
42+ clientConfig : {
43+ defaultOptions : {
44+ queries : {
45+ staleTime : 1000 * 60 * 10 ,
46+ cacheTime : 1000 * 60 * 10 ,
47+ retry : 0 ,
48+ } ,
49+ } ,
50+ } ,
51+ } ,
4152 } }
4253 >
4354 < Routes >
Original file line number Diff line number Diff line change @@ -28,10 +28,11 @@ module.exports = {
2828 push : release ,
2929 } ,
3030 hooks : {
31- // 'before:init': [], // run before initialization
31+ 'before:init' : [
32+ 'yarn build && echo ✅ build success' ,
33+ ] , // run before initialization
3234 // 'after:[my-plugin]:bump': './bin/my-script.sh', // run after bumping version of my-plugin
3335 'after:bump' : [
34- 'yarn build && echo ✅ build success' ,
3536 release
3637 ? 'yarn sync:version && echo ✅ sync version success'
3738 : 'echo 🚫 skip sync version' ,
You can’t perform that action at this time.
0 commit comments