Skip to content

Commit a362a57

Browse files
committed
chore: add args
1 parent ace5dab commit a362a57

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

js/src/App1.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

release/.release-it.cjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)