From 0c1f2526414917e57546ba3d1c23f84c7d0c0a86 Mon Sep 17 00:00:00 2001 From: DrMint <29893320+DrMint@users.noreply.github.com> Date: Sun, 30 Apr 2023 11:53:25 +0200 Subject: [PATCH] Better NCU config inside ncurc --- .ncurc.json | 13 ------------- .ncurc.yml | 5 +++++ package.json | 2 +- 3 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 .ncurc.json create mode 100644 .ncurc.yml diff --git a/.ncurc.json b/.ncurc.json deleted file mode 100644 index 09883a4..0000000 --- a/.ncurc.json +++ /dev/null @@ -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"] -} diff --git a/.ncurc.yml b/.ncurc.yml new file mode 100644 index 0000000..7f17147 --- /dev/null +++ b/.ncurc.yml @@ -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 diff --git a/package.json b/package.json index f18cafa..0792891 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "generate": "graphql-codegen --config graphql-codegen.config.js", "tsc": "tsc", "prettier": "prettier --end-of-line auto --write .", - "upgrade": "ncu --interactive --format group" + "upgrade": "ncu" }, "dependencies": { "@fontsource/noto-serif-jp": "^4.5.12",