Better NCU config inside ncurc

This commit is contained in:
DrMint 2023-04-30 11:53:25 +02:00
parent 6cc6635988
commit 0c1f252641
3 changed files with 6 additions and 14 deletions

View File

@ -1,13 +0,0 @@
/*
COMMENTS
- graphql-request: we are stuck at version 5.1.0 because 5.2.0 has a typescript bug
see https://github.com/dotansimha/graphql-code-generator/issues/9046
- react-hotkeys-hook: we are stuck at version 3.4.7 because 4.X is not working well.
Need more experimenting.
*/
{
"upgrade": false,
"reject": ["react-hotkeys-hook", "graphql-request"]
}

5
.ncurc.yml Normal file
View File

@ -0,0 +1,5 @@
interactive: true
format: "group"
reject:
- "react-hotkeys-hook" # we are stuck at version 3.4.7 because 4.X is not working well. Need more experimenting.
- "graphql-request" # we are stuck at version 5.1.0 because 5.2.0 has a typescript bug see https://github.com/dotansimha/graphql-code-generator/issues/9046

View File

@ -17,7 +17,7 @@
"generate": "graphql-codegen --config graphql-codegen.config.js", "generate": "graphql-codegen --config graphql-codegen.config.js",
"tsc": "tsc", "tsc": "tsc",
"prettier": "prettier --end-of-line auto --write .", "prettier": "prettier --end-of-line auto --write .",
"upgrade": "ncu --interactive --format group" "upgrade": "ncu"
}, },
"dependencies": { "dependencies": {
"@fontsource/noto-serif-jp": "^4.5.12", "@fontsource/noto-serif-jp": "^4.5.12",