From b7e86d75eca441d83f1a2cbe744bf971f5856f61 Mon Sep 17 00:00:00 2001 From: Frank Zhu Date: Fri, 18 Aug 2023 15:24:42 -0500 Subject: [PATCH 1/3] update changeset config - changelog-github --- .changeset/config.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index d08f5e9a..eacbc9a4 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,6 +1,11 @@ { "$schema": "https://unpkg.com/@changesets/config@2.1.1/schema.json", - "changelog": "@changesets/cli/changelog", + "changelog": [ + "@changesets/changelog-github", + { + "repo": "smartcontractkit/operator-ui" + } + ], "commit": false, "fixed": [], "linked": [], From 05ff98f9a054f2bd570225c38aef808a36c6647c Mon Sep 17 00:00:00 2001 From: Frank Zhu Date: Fri, 18 Aug 2023 20:35:25 -0500 Subject: [PATCH 2/3] add changelog-github pkg --- package.json | 1 + yarn.lock | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/package.json b/package.json index b66dd7bf..6eedffb6 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "yup": "^0.32.9" }, "devDependencies": { + "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.24.4", "@graphql-codegen/cli": "^2.2.2", "@graphql-codegen/fragment-matcher": "^3.2.0", diff --git a/yarn.lock b/yarn.lock index d555864a..8964d8d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -736,6 +736,15 @@ dependencies: "@changesets/types" "^5.1.0" +"@changesets/changelog-github@^0.4.8": + version "0.4.8" + resolved "https://registry.yarnpkg.com/@changesets/changelog-github/-/changelog-github-0.4.8.tgz#b7f8ae85d0c0ff08028d924c5e59a1cbd3742634" + integrity sha512-jR1DHibkMAb5v/8ym77E4AMNWZKB5NPzw5a5Wtqm1JepAuIF+hrKp2u04NKM14oBZhHglkCfrla9uq8ORnK/dw== + dependencies: + "@changesets/get-github-info" "^0.5.2" + "@changesets/types" "^5.2.1" + dotenv "^8.1.0" + "@changesets/cli@^2.24.4": version "2.24.4" resolved "https://registry.yarnpkg.com/@changesets/cli/-/cli-2.24.4.tgz#35b200d49403342cb657b5a941d5c8ef32583eb1" @@ -806,6 +815,14 @@ fs-extra "^7.0.1" semver "^5.4.1" +"@changesets/get-github-info@^0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@changesets/get-github-info/-/get-github-info-0.5.2.tgz#0cde2cadba57db85c714dc303c077da919a574e5" + integrity sha512-JppheLu7S114aEs157fOZDjFqUDpm7eHdq5E8SSR0gUBTEK0cNSHsrSR5a66xs0z3RWuo46QvA3vawp8BxDHvg== + dependencies: + dataloader "^1.4.0" + node-fetch "^2.5.0" + "@changesets/get-release-plan@^3.0.14": version "3.0.14" resolved "https://registry.yarnpkg.com/@changesets/get-release-plan/-/get-release-plan-3.0.14.tgz#b4423028a90c63feec12e22c48078f106f8d01f4" @@ -886,6 +903,11 @@ resolved "https://registry.yarnpkg.com/@changesets/types/-/types-5.1.0.tgz#e0733b69ddc3efb68524d374d3c44f53a543c8d5" integrity sha512-uUByGATZCdaPkaO9JkBsgGDjEvHyY2Sb0e/J23+cwxBi5h0fxpLF/HObggO/Fw8T2nxK6zDfJbPsdQt5RwYFJA== +"@changesets/types@^5.2.1": + version "5.2.1" + resolved "https://registry.yarnpkg.com/@changesets/types/-/types-5.2.1.tgz#a228c48004aa8a93bce4be2d1d31527ef3bf21f6" + integrity sha512-myLfHbVOqaq9UtUKqR/nZA/OY7xFjQMdfgfqeZIBK4d0hA6pgxArvdv8M+6NUzzBsjWLOtvApv8YHr4qM+Kpfg== + "@changesets/write@^0.2.0": version "0.2.0" resolved "https://registry.yarnpkg.com/@changesets/write/-/write-0.2.0.tgz#59821dc811d04c0c1908ae6ee6ce346dfa312420" @@ -4919,6 +4941,11 @@ dataloader@2.1.0: resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.1.0.tgz#c69c538235e85e7ac6c6c444bae8ecabf5de9df7" integrity sha512-qTcEYLen3r7ojZNgVUaRggOI+KM7jrKxXeSHhogh/TWxYMeONEMqY+hmkobiYQozsGIyg9OYVzO4ZIfoB4I0pQ== +dataloader@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-1.4.0.tgz#bca11d867f5d3f1b9ed9f737bd15970c65dff5c8" + integrity sha512-68s5jYdlvasItOJnCuI2Q9s4q98g0pCyL3HrcKJu8KNugUl8ahgmZYg38ysLTgQjjXX3H8CJLkAvWrclWfcalw== + debounce@^1.1.0: version "1.2.0" resolved "https://registry.npmjs.org/debounce/-/debounce-1.2.0.tgz#44a540abc0ea9943018dc0eaa95cce87f65cd131" @@ -5213,6 +5240,11 @@ dotenv@^16.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.2.tgz#0b0f8652c016a3858ef795024508cddc4bffc5bf" integrity sha512-JvpYKUmzQhYoIFgK2MOnF3bciIZoItIIoryihy0rIA+H4Jy0FmgyKYAHCTN98P5ybGSJcIFbh6QKeJdtZd1qhA== +dotenv@^8.1.0: + version "8.6.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8.6.0.tgz#061af664d19f7f4d8fc6e4ff9b584ce237adcb8b" + integrity sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g== + dset@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.2.tgz#89c436ca6450398396dc6538ea00abc0c54cd45a" @@ -8292,6 +8324,13 @@ node-fetch@^1.0.1: encoding "^0.1.11" is-stream "^1.0.1" +node-fetch@^2.5.0: + version "2.6.13" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.13.tgz#a20acbbec73c2e09f9007de5cda17104122e0010" + integrity sha512-StxNAxh15zr77QvvkmveSQ8uCQ4+v5FkvNTj0OESmiHu+VRi/gXArXtkWMElOsOUNLtUEvI4yS+rdtOHZTwlQA== + dependencies: + whatwg-url "^5.0.0" + node-forge@^1: version "1.3.1" resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" From 432dacdb145117500828658856ee181374d2c215 Mon Sep 17 00:00:00 2001 From: Frank Zhu Date: Tue, 29 Aug 2023 16:35:17 -0500 Subject: [PATCH 3/3] update .tool-versions and lint --- .tool-versions | 2 +- .../ConfigurationV2Card/ConfigurationV2Card.tsx | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.tool-versions b/.tool-versions index 52e118f9..f6efb75c 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs lts +nodejs 18.17.1 diff --git a/src/screens/Configuration/ConfigurationV2Card/ConfigurationV2Card.tsx b/src/screens/Configuration/ConfigurationV2Card/ConfigurationV2Card.tsx index 2eb4131a..652929b1 100644 --- a/src/screens/Configuration/ConfigurationV2Card/ConfigurationV2Card.tsx +++ b/src/screens/Configuration/ConfigurationV2Card/ConfigurationV2Card.tsx @@ -69,11 +69,12 @@ const TOMLPanel = ({ loading, toml, error = '', title, expanded }: Props) => { } const AllowSimplePasswordsNotification = () => { - const allowSimplePasswordsNotification = "Starting in 2.6.0, chainlink nodes will no longer AllowSimplePasswords=true for production builds. Any TOML configuration that sets the following line will fail validation checks in `node start` or `node validate`." + const allowSimplePasswordsNotification = + 'Starting in 2.6.0, chainlink nodes will no longer AllowSimplePasswords=true for production builds. Any TOML configuration that sets the following line will fail validation checks in `node start` or `node validate`.' return ( {allowSimplePasswordsNotification}} /> - + ) } @@ -91,7 +92,7 @@ export const ConfigurationV2Card = () => { - + { - +