From 20ba30b58fc40104c0a8b6ecaabf441b1a79dda7 Mon Sep 17 00:00:00 2001 From: Elia Ritzmann Date: Fri, 21 Jun 2024 16:12:35 +0200 Subject: [PATCH 1/4] fix: Set disabled countdown to 0 in ConfirmButton.tsx --- package.json | 2 +- src/elements/ConfirmButton/ConfirmButton.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 04ec95f..7d8f3a3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "srf-feathers", - "version": "1.7.0", + "version": "1.7.1", "main": "build/index.js", "module": "build/index.esm.js", "files": [ diff --git a/src/elements/ConfirmButton/ConfirmButton.tsx b/src/elements/ConfirmButton/ConfirmButton.tsx index e8a40df..40200b6 100644 --- a/src/elements/ConfirmButton/ConfirmButton.tsx +++ b/src/elements/ConfirmButton/ConfirmButton.tsx @@ -26,7 +26,7 @@ const ConfirmButton: React.FC = ({ icon, }) => { const [confirming, setConfirming] = useState(false); - const [disabledCountdown, setDisabledCountdown] = useState(3); + const [disabledCountdown, setDisabledCountdown] = useState(0); useEffect(() => { if (disabledCountdown > 0) { From 100a5b00dfd93b95274e92f2200625271a633224 Mon Sep 17 00:00:00 2001 From: Simon Albrecht Date: Mon, 24 Jun 2024 10:11:30 +0200 Subject: [PATCH 2/4] feat: configure dependabot auto-updates --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..9849d3b --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + allow: + # Allow both direct and indirect updates for all packages + - dependency-type: "all" + open-pull-requests-limit: 10 From 615a905d7e63ad1817c5d58ec50f240670d8f2a1 Mon Sep 17 00:00:00 2001 From: Simon Albrecht Date: Mon, 24 Jun 2024 10:39:17 +0200 Subject: [PATCH 3/4] refactor: only allow direct dependencies --- .github/dependabot.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9849d3b..2bc3295 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,6 +10,5 @@ updates: schedule: interval: "weekly" allow: - # Allow both direct and indirect updates for all packages - - dependency-type: "all" + - dependency-type: "direct" open-pull-requests-limit: 10 From f842e20825adf68aa0443773206fd302bfe405ea Mon Sep 17 00:00:00 2001 From: Simon Albrecht Date: Mon, 24 Jun 2024 10:43:28 +0200 Subject: [PATCH 4/4] feat: increase dependency version always in package.json --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2bc3295..117dbd0 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,3 +12,4 @@ updates: allow: - dependency-type: "direct" open-pull-requests-limit: 10 + versioning-strategy: increase