From 27ee82dbdf7c747537e89a10c096ac3ca19a5cf6 Mon Sep 17 00:00:00 2001 From: torreyatcitty Date: Thu, 13 Jun 2024 12:58:46 -0700 Subject: [PATCH] Update codeowners & git/elm dependencies (#81) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update codeownders for palisade. * Update node versions in build ymls * It looks like the pr comment action has been deprecated as of 2022. Removing from build.yml. * Looks like there are issues with webpack’s crypto library on node 18, downgrading to 16. * Update date format dependency * Update the elm visualization dependencies to remove invalid dateformat package. * Small update to infura ipfs gateway host. --- .github/CODEOWNERS | 2 +- .github/workflows/build-workflow.yml | 12 ++---------- .github/workflows/release-hash.yml | 4 ++-- elm.json | 21 +++++++++++---------- scripts/ipfs.js | 2 +- 5 files changed, 17 insertions(+), 24 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 4279775..aa4e805 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @hayesgm @torreyatcitty @alexandfox @alysiawu @banky +* @torreyatcitty @alexandfox diff --git a/.github/workflows/build-workflow.yml b/.github/workflows/build-workflow.yml index 56d92f0..125c0bf 100644 --- a/.github/workflows/build-workflow.yml +++ b/.github/workflows/build-workflow.yml @@ -14,9 +14,9 @@ jobs: uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '15.x' + node-version: '16' - name: Cache Node Modules uses: actions/cache@v2 @@ -85,11 +85,3 @@ jobs: with: name: .release path: .release - - - name: Add Deploy Comment - uses: machine-learning-apps/pr-comment@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - path: .release-notes - if: ${{ github.event_name == 'pull_request' }} diff --git a/.github/workflows/release-hash.yml b/.github/workflows/release-hash.yml index 61838cf..7d3b791 100644 --- a/.github/workflows/release-hash.yml +++ b/.github/workflows/release-hash.yml @@ -19,9 +19,9 @@ jobs: uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: - node-version: '15.x' + node-version: '16' - name: Install Release Dependencies run: yarn install --ignore-optional --ignore-platform diff --git a/elm.json b/elm.json index 2e9aa10..69240bc 100644 --- a/elm.json +++ b/elm.json @@ -27,8 +27,7 @@ "elm-community/list-extra": "8.2.4", "elm-community/maybe-extra": "5.2.0", "elm-community/typed-svg": "6.0.0", - "folkertdev/one-true-path-experiment": "4.0.3", - "gampleman/elm-visualization": "2.1.1", + "folkertdev/one-true-path-experiment": "6.0.0", "hecrj/html-parser": "2.3.4", "jinjor/elm-debounce": "3.0.0", "justinmimbs/date": "3.1.2", @@ -38,26 +37,28 @@ "prozacchiwawa/elm-keccak": "2.0.0", "rtfeldman/elm-hex": "1.0.0", "rtfeldman/elm-iso8601-date-strings": "1.1.3", - "ryannhg/date-format": "2.0.1", + "ryan-haskell/date-format": "1.0.0", "toastal/either": "3.5.2", "torreyatcitty/the-best-decimal": "1.1.0" }, "indirect": { + "elm/random": "1.0.0", "elm/virtual-dom": "1.0.2", "folkertdev/elm-deque": "3.0.1", - "folkertdev/svg-path-lowlevel": "3.0.0", + "folkertdev/svg-path-lowlevel": "4.0.1", + "ianmackenzie/elm-1d-parameter": "1.0.1", "ianmackenzie/elm-float-extra": "1.1.0", - "ianmackenzie/elm-geometry": "1.2.1", - "ianmackenzie/elm-interval": "1.0.1", - "ianmackenzie/elm-triangular-mesh": "1.0.4" + "ianmackenzie/elm-geometry": "3.11.0", + "ianmackenzie/elm-interval": "3.1.0", + "ianmackenzie/elm-triangular-mesh": "1.1.0", + "ianmackenzie/elm-units": "2.10.0", + "ianmackenzie/elm-units-interval": "3.2.0" } }, "test-dependencies": { "direct": { "elm-explorations/test": "1.1.0" }, - "indirect": { - "elm/random": "1.0.0" - } + "indirect": {} } } diff --git a/scripts/ipfs.js b/scripts/ipfs.js index c7d0df6..4fcbc8d 100644 --- a/scripts/ipfs.js +++ b/scripts/ipfs.js @@ -45,7 +45,7 @@ function buildIpfsClient() { urls = [ ["IPFS Url", `https://ipfs.io/ipfs/${app.cid}`], ["Cloudflare Url", `https://cloudflare-ipfs.com/ipfs/${app.cid}`], - ["Infura Url", `https://ipfs.infura.io/ipfs/${app.cid}`], + ["Infura Url", `https://compound-app.infura-ipfs.io/ipfs/${app.cid}`], ]; urlText = urls.map(([name, url]) => ` * ${name}: ${url}`).join("\n");