File tree 4 files changed +5
-6
lines changed
4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 19
19
"gatsby-transformer-json" : " next" ,
20
20
"gatsby-transformer-remark" : " next" ,
21
21
"gatsby-transformer-sharp" : " next" ,
22
- "node-fetch" : " ^2.6.9 " ,
22
+ "node-fetch" : " ^3.3.1 " ,
23
23
"react" : " ^18.2.0" ,
24
24
"react-dom" : " ^18.2.0" ,
25
25
"sass" : " ^1.62.1"
44
44
"reset" : " node scripts/reset.js" ,
45
45
"reset:preview" : " curl -X POST http://localhost:8000/__refresh" ,
46
46
"update" : " node scripts/update.js" ,
47
- "update:webhook" : " node scripts/webhook.js " ,
48
- "update:cms-webhook" : " node scripts/cms-webhook.js " ,
47
+ "update:webhook" : " node scripts/webhook.mjs " ,
48
+ "update:cms-webhook" : " node scripts/cms-webhook.mjs " ,
49
49
"update:preview" : " curl -X POST -d \" { \\\" fake-data-update\\\" : true }\" -H \" Content-Type: application/json\" http://localhost:8000/__refresh" ,
50
50
"start-server-and-test" : " start-server-and-test develop http://localhost:8000 serve-static-files http://localhost:8888 combined" ,
51
51
"start-server-and-test:locally" : " start-server-and-test develop http://localhost:8000 serve-static-files http://localhost:8888 cy:open" ,
Original file line number Diff line number Diff line change 1
- const fetch = require ( ` node-fetch` )
1
+ import fetch from " node-fetch"
2
2
3
3
fetch ( `http://localhost:8000/__refresh/${ process . argv [ 2 ] } ` , {
4
4
method : `POST` ,
Original file line number Diff line number Diff line change 1
- const fetch = require ( ` node-fetch` )
1
+ import fetch from " node-fetch"
2
2
3
3
fetch ( `http://localhost:8000/__refresh` , {
4
4
method : `POST` ,
Original file line number Diff line number Diff line change 16
16
"gatsby-plugin-sharp" : " next" ,
17
17
"gatsby-plugin-stylus" : " next" ,
18
18
"gatsby-source-filesystem" : " next" ,
19
- "glob" : " ^8.1.0" ,
20
19
"react" : " ^18.2.0" ,
21
20
"react-dom" : " ^18.2.0" ,
22
21
"sass" : " ^1.62.1" ,
You can’t perform that action at this time.
0 commit comments