From cc510ede16d1db8f1321b685abbc3e8a9a8812f4 Mon Sep 17 00:00:00 2001 From: Piotr Czeglik Date: Mon, 29 Apr 2024 10:28:09 +0200 Subject: [PATCH 1/4] ci: rework ci LW-10413 --- .github/CODEOWNERS | 2 + .github/actions/build/app/action.yml | 60 + .github/actions/build/package/action.yml | 30 + .github/actions/check/action.yml | 26 + .github/actions/chromatic/action.yml | 42 + .github/actions/install/action.yml | 35 + .github/actions/test/smoke/action.yml | 123 +++ .github/actions/test/unit/action.yml | 14 + .github/settings.yml | 4 +- .github/workflows/chromatic-core.yml | 41 + .github/workflows/chromatic-staking.yml | 41 + .github/workflows/chromatic-ui.yml | 41 + .github/workflows/ci.yml | 217 +++- .github/workflows/core-chromatic.yml | 69 -- .github/workflows/packages-staking.yml | 50 - .github/workflows/post-integration.yml | 31 - .github/workflows/release.yml | 48 - .github/workflows/safari-ci.yml | 34 - .github/workflows/smoke-tests.yml | 86 -- .github/workflows/sonar-cloud.yml | 9 +- .github/workflows/staking-chromatic.yml | 72 -- .github/workflows/ui-toolkit-chromatic.yml | 69 -- apps/browser-extension-wallet/package.json | 4 +- package.json | 2 + packages/cardano/package.json | 4 +- packages/common/package.json | 4 +- packages/core/package.json | 6 +- packages/e2e-tests/package.json | 4 +- packages/icons/package.json | 5 +- packages/staking/package.json | 7 +- packages/ui/package.json | 10 +- yarn.lock | 1163 +++++++++++++++++--- 32 files changed, 1669 insertions(+), 684 deletions(-) create mode 100644 .github/actions/build/app/action.yml create mode 100644 .github/actions/build/package/action.yml create mode 100644 .github/actions/check/action.yml create mode 100644 .github/actions/chromatic/action.yml create mode 100644 .github/actions/install/action.yml create mode 100644 .github/actions/test/smoke/action.yml create mode 100644 .github/actions/test/unit/action.yml create mode 100644 .github/workflows/chromatic-core.yml create mode 100644 .github/workflows/chromatic-staking.yml create mode 100644 .github/workflows/chromatic-ui.yml delete mode 100644 .github/workflows/core-chromatic.yml delete mode 100644 .github/workflows/packages-staking.yml delete mode 100644 .github/workflows/post-integration.yml delete mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/safari-ci.yml delete mode 100644 .github/workflows/smoke-tests.yml delete mode 100644 .github/workflows/staking-chromatic.yml delete mode 100644 .github/workflows/ui-toolkit-chromatic.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index e06166176..325b35252 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,11 +1,13 @@ # Root Level * @input-output-hk/lace-tech-leads yarn.lock @input-output-hk/lace-core + # Packages Teams /packages/cardano/ @input-output-hk/lace-core /packages/common/ @input-output-hk/lace-core /packages/core/ @input-output-hk/lace-core /packages/e2e-tests/ @input-output-hk/lace-test-engineers +/packages/icons/ @input-output-hk/lace-core /packages/staking/ @input-output-hk/lace-core /packages/ui/ @input-output-hk/lace-core diff --git a/.github/actions/build/app/action.yml b/.github/actions/build/app/action.yml new file mode 100644 index 000000000..0748dbcee --- /dev/null +++ b/.github/actions/build/app/action.yml @@ -0,0 +1,60 @@ +name: buildapp +description: Build app + +inputs: + DIR: + description: 'app directory' + required: true + NAME: + description: 'app name' + required: true + LACE_EXTENSION_KEY: + description: 'Public extended manifest key' + required: true + BUILD_DEV_PREVIEW: + description: 'Build developer preview of Lace' + required: false + default: 'false' + POSTHOG_PRODUCTION_TOKEN_MAINNET: + description: 'Post hog production mainnet token' + required: false + default: '' + POSTHOG_PRODUCTION_TOKEN_PREPROD: + description: 'Post hog production preprod token' + required: false + default: '' + POSTHOG_PRODUCTION_TOKEN_PREVIEW: + description: 'Post hog production preview token' + required: false + default: '' + PRODUCTION_MODE_TRACKING: + description: 'Enable analytics tracking in production' + required: false + default: 'false' + +runs: + using: 'composite' + + steps: + - name: Code check + uses: ./.github/actions/check + with: + DIR: ${{ inputs.DIR }} + + - name: Build ${{ inputs.NAME }} + run: yarn build + shell: bash + working-directory: ${{ inputs.DIR }} + env: + LACE_EXTENSION_KEY: ${{ inputs.LACE_EXTENSION_KEY }} + BUILD_DEV_PREVIEW: ${{ inputs.BUILD_DEV_PREVIEW }} + POSTHOG_PRODUCTION_TOKEN_MAINNET: ${{ inputs.POSTHOG_PRODUCTION_TOKEN_MAINNET }} + POSTHOG_PRODUCTION_TOKEN_PREPROD: ${{ inputs.POSTHOG_PRODUCTION_TOKEN_PREPROD }} + POSTHOG_PRODUCTION_TOKEN_PREVIEW: ${{ inputs.POSTHOG_PRODUCTION_TOKEN_PREVIEW }} + PRODUCTION_MODE_TRACKING: ${{ inputs.PRODUCTION_MODE_TRACKING }} + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ inputs.NAME }} + path: ${{ inputs.DIR }}/dist diff --git a/.github/actions/build/package/action.yml b/.github/actions/build/package/action.yml new file mode 100644 index 000000000..b8cdae618 --- /dev/null +++ b/.github/actions/build/package/action.yml @@ -0,0 +1,30 @@ +name: build +description: Build package + +inputs: + DIR: + description: 'package directory' + required: true + NAME: + description: 'package name' + required: true + +runs: + using: 'composite' + + steps: + - name: Code check + uses: ./.github/actions/check + with: + DIR: ${{ inputs.DIR }} + + - name: Build ${{ inputs.NAME }} + run: yarn build + shell: bash + working-directory: ${{ inputs.DIR }} + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: ${{ inputs.NAME }} + path: ${{ inputs.DIR }}/dist diff --git a/.github/actions/check/action.yml b/.github/actions/check/action.yml new file mode 100644 index 000000000..03175c893 --- /dev/null +++ b/.github/actions/check/action.yml @@ -0,0 +1,26 @@ +name: check +description: Code check + +inputs: + DIR: + description: 'package directory' + required: true + +runs: + using: 'composite' + + steps: + - name: Format check + run: yarn format-check + shell: bash + working-directory: ${{ inputs.DIR }} + + - name: Code check + run: yarn lint + shell: bash + working-directory: ${{ inputs.DIR }} + + - name: Type check + run: yarn type-check + shell: bash + working-directory: ${{ inputs.DIR }} diff --git a/.github/actions/chromatic/action.yml b/.github/actions/chromatic/action.yml new file mode 100644 index 000000000..484a4a1b4 --- /dev/null +++ b/.github/actions/chromatic/action.yml @@ -0,0 +1,42 @@ +name: deploy chromatic +description: Deploy storybook to Chromatic + +inputs: + TOKEN: + description: 'Chromatic token' + required: true + DIR: + description: 'Package directory' + required: true + NAME: + description: 'Package name' + required: true + +runs: + using: 'composite' + + steps: + - name: Tests + working-directory: ./${{ inputs.DIR }} + run: yarn test-storybook:ci + shell: bash + + - name: Publish to Chromatic + if: github.ref != 'refs/heads/main' + uses: chromaui/action@v1 + with: + projectToken: ${{ inputs.TOKEN }} + workingDir: ./${{ inputs.DIR }} + buildScriptName: build-storybook + onlyChanged: true + exitOnceUploaded: true + + - name: Publish to Chromatic and auto accept changes + if: github.ref == 'refs/heads/main' + uses: chromaui/action@v1 + with: + projectToken: ${{ inputs.TOKEN }} + autoAcceptChanges: true + workingDir: ./${{ inputs.DIR }} + onlyChanged: true + exitOnceUploaded: true diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml new file mode 100644 index 000000000..adf8e6e5c --- /dev/null +++ b/.github/actions/install/action.yml @@ -0,0 +1,35 @@ +name: setup and install +description: Setup Node.js and install dependencies + +inputs: + WALLET_PASSWORD: + description: 'Test wallet password' + required: true + +runs: + using: 'composite' + steps: + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: 'yarn' + + - name: Node modules cache + uses: actions/cache@v4 + with: + path: | + node_modules + **/node_modules + key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} + + - name: Install dependencies + run: yarn install --immutable --inline-builds + shell: bash + + - name: Decrypt test data + working-directory: ./packages/e2e-tests + run: ./decrypt_secret.sh + shell: bash + env: + WALLET_1_PASSWORD: ${{ inputs.WALLET_PASSWORD }} diff --git a/.github/actions/test/smoke/action.yml b/.github/actions/test/smoke/action.yml new file mode 100644 index 000000000..7dfd73c36 --- /dev/null +++ b/.github/actions/test/smoke/action.yml @@ -0,0 +1,123 @@ +name: smoke +description: Execute e2e smoke tests + +inputs: + WALLET_PASSWORD: + description: 'Test wallet password' + required: true + + TEST_DAPP_URL: + description: 'Test DApp Url' + required: true + + GITHUB_TOKEN: + description: 'Github token' + required: true + + E2E_AWS_ACCESS_KEY_ID: + description: 'AWS access key id' + required: true + + E2E_AWS_SECRET_ACCESS_KEY: + description: 'AWS secret access key' + required: true + + E2E_REPORTS_USER: + description: 'E2E reports user' + required: true + + E2E_REPORTS_PASSWORD: + description: 'E2E reports password' + required: true + + E2E_REPORTS_URL: + description: 'E2E reports url' + required: true + + RUN: + description: 'Runner number' + required: true + + BRANCH: + description: 'Branch' + required: true + + TAGS: + description: 'tags' + required: false + default: '@Smoke and @Testnet' + + BROWSER: + description: 'browser' + required: false + default: 'chrome' + + DISPLAY: + description: '' + required: false + default: ':99.0' + +runs: + using: 'composite' + + steps: + - name: Start XVFB + shell: bash + env: + DISPLAY: ${{ inputs.DISPLAY }} + run: | + Xvfb :99 & + + - name: Execute e2e smoke tests + shell: bash + id: e2e-tests + working-directory: ./packages/e2e-tests + env: + WALLET_1_PASSWORD: ${{ inputs.WALLET_PASSWORD }} + TEST_DAPP_URL: ${{ inputs.TEST_DAPP_URL }} + TAGS: ${{ inputs.TAGS }} + BROWSER: ${{ inputs.BROWSER }} + RUN: ${{ inputs.RUN }} + DISPLAY: ${{ inputs.DISPLAY }} + BRANCH: ${{ inputs.BRANCH }} + run: yarn wdio run wdio.conf.${{ inputs.BROWSER }}.ts --cucumberOpts.tags="@Smoke and not @Pending" + + - name: Create allure properties + shell: bash + if: always() + working-directory: ./packages/e2e-tests/reports/allure/results + run: | + echo " + branch=${{ inputs.BRANCH }} + browser=${{ inputs.BROWSER }} + tags=${{ inputs.TAGS }} + platform=Linux + " > environment.properties + + - name: Publish allure report to S3 + uses: andrcuns/allure-publish-action@v2.6.0 + if: always() + env: + GITHUB_AUTH_TOKEN: ${{ inputs.GITHUB_TOKEN }} + AWS_ACCESS_KEY_ID: ${{ inputs.E2E_AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ inputs.E2E_AWS_SECRET_ACCESS_KEY }} + with: + storageType: s3 + resultsGlob: './packages/e2e-tests/reports/allure/results' + bucket: lace-e2e-test-results + prefix: 'smoke/linux/${{ inputs.BROWSER }}/${{ inputs.RUN }}' + copyLatest: true + ignoreMissingResults: true + updatePr: comment + baseUrl: 'https://${{ inputs.E2E_REPORTS_USER }}:${{ inputs.E2E_REPORTS_PASSWORD }}@${{ inputs.E2E_REPORTS_URL }}' + + - name: Publish artifacts (logs, reports, screenshots) + uses: actions/upload-artifact@v4 + if: always() + with: + name: test-artifacts + path: | + ./packages/e2e-tests/screenshots + ./packages/e2e-tests/logs + ./packages/e2e-tests/reports + retention-days: 5 diff --git a/.github/actions/test/unit/action.yml b/.github/actions/test/unit/action.yml new file mode 100644 index 000000000..1ba3dcf62 --- /dev/null +++ b/.github/actions/test/unit/action.yml @@ -0,0 +1,14 @@ +name: unit +description: Execute unit tests + +runs: + using: 'composite' + + steps: + - name: Unit tests + run: yarn test + shell: bash + env: + AVAILABLE_CHAINS: 'Preprod,Preview,Mainnet' + DEFAULT_CHAIN: 'Preprod' + NODE_OPTIONS: '--max_old_space_size=8192' diff --git a/.github/settings.yml b/.github/settings.yml index 4196b4263..43ea86096 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -91,9 +91,9 @@ branches: strict: false # Required. The list of status checks to require in order to merge into this branch checks: - - context: Build & Test - context: block-fixup - - context: Build Staking Center + - context: Unit tests + - context: Smoke tests # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: # Prevent merge commits from being pushed to matching branches diff --git a/.github/workflows/chromatic-core.yml b/.github/workflows/chromatic-core.yml new file mode 100644 index 000000000..5c2c098d7 --- /dev/null +++ b/.github/workflows/chromatic-core.yml @@ -0,0 +1,41 @@ +name: Chromatic deploy packages/core + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths: + - packages/core/** + push: + paths: + - packages/core/** + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + chromatic-deployment: + if: github.event.pull_request.draft == false + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Setup Node.js and install dependencies + uses: ./.github/actions/install + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + + - name: Build + run: yarn workspaces foreach -Rpt -v --from '@lace/core' run build + + - name: Chromatic packages-core + uses: ./.github/actions/chromatic + with: + DIR: packages/core + NAME: packages-core + TOKEN: ${{ secrets.CHROMATIC_LACE_CORE_TOKEN }} diff --git a/.github/workflows/chromatic-staking.yml b/.github/workflows/chromatic-staking.yml new file mode 100644 index 000000000..b57556a92 --- /dev/null +++ b/.github/workflows/chromatic-staking.yml @@ -0,0 +1,41 @@ +name: Chromatic deploy packages/staking + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths: + - packages/staking/** + push: + paths: + - packages/staking/** + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + chromatic-deployment: + if: github.event.pull_request.draft == false + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Setup Node.js and install dependencies + uses: ./.github/actions/install + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + + - name: Build + run: yarn workspaces foreach -Rpt -v --from '@lace/staking' run build + + - name: Chromatic packages-staking + uses: ./.github/actions/chromatic + with: + DIR: packages/staking + NAME: packages-staking + TOKEN: ${{ secrets.CHROMATIC_LACE_STAKING_TOKEN }} diff --git a/.github/workflows/chromatic-ui.yml b/.github/workflows/chromatic-ui.yml new file mode 100644 index 000000000..b43bd5e27 --- /dev/null +++ b/.github/workflows/chromatic-ui.yml @@ -0,0 +1,41 @@ +name: Chromatic deploy packages/ui + +on: + pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths: + - packages/ui/** + push: + paths: + - packages/ui/** + branches: + - main + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + chromatic-deployment: + if: github.event.pull_request.draft == false + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Setup Node.js and install dependencies + uses: ./.github/actions/install + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + + - name: Build + run: yarn workspaces foreach -Rpt -v --from '@lace/ui' run build + + - name: Chromatic packages-ui + uses: ./.github/actions/chromatic + with: + DIR: packages/ui + NAME: packages-ui + TOKEN: ${{ secrets.CHROMATIC_LACE_UI_TOOLKIT_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5373a0b43..7e912c3cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,52 +1,211 @@ -name: CI +name: Continuous Integration on: pull_request: push: branches: + - main - 'release/**' permissions: pull-requests: write actions: read +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: - buildAndTest: - name: Build & Test - runs-on: self-hosted - concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true + prepare: + name: Prepare + runs-on: ubuntu-22.04 + steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Collect Workflow Telemetry Build Packages uses: catchpoint/workflow-telemetry-action@v2 with: comment_on_pr: false - - name: Decrypt test data - working-directory: ./packages/e2e-tests - run: ./decrypt_secret.sh - env: - WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} - - name: Build dist version of Lace - uses: ./.github/shared/build - with: - LACE_EXTENSION_KEY: ${{ secrets.MANIFEST_PUBLIC_KEY }} + + - name: Setup Node.js and install dependencies + uses: ./.github/actions/install + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + + - name: Build icons + uses: ./.github/actions/build/package + with: + DIR: packages/icons + NAME: packages-icons + + - name: Build ui + uses: ./.github/actions/build/package + with: + DIR: packages/ui + NAME: packages-ui + + - name: Build common + uses: ./.github/actions/build/package + with: + DIR: packages/common + NAME: packages-common + + - name: Build cardano + uses: ./.github/actions/build/package + with: + DIR: packages/cardano + NAME: packages-cardano + + - name: Build core + uses: ./.github/actions/build/package + with: + DIR: packages/core + NAME: packages-core + + - name: Build staking + uses: ./.github/actions/build/package + with: + DIR: packages/staking + NAME: packages-staking + + unitTests: + name: Unit tests + runs-on: ubuntu-22.04 + needs: prepare + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js and install dependencies + uses: ./.github/actions/install + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + + - name: Download packages-icons + uses: actions/download-artifact@v4 + with: + name: packages-icons + path: packages/icons/dist + + - name: Download packages-ui + uses: actions/download-artifact@v4 + with: + name: packages-ui + path: packages/ui/dist + + - name: Download packages-common + uses: actions/download-artifact@v4 + with: + name: packages-common + path: packages/common/dist + + - name: Download packages-cardano + uses: actions/download-artifact@v4 + with: + name: packages-cardano + path: packages/cardano/dist + + - name: Download packages-core + uses: actions/download-artifact@v4 + with: + name: packages-core + path: packages/core/dist + + - name: Download packages-staking + uses: actions/download-artifact@v4 + with: + name: packages-staking + path: packages/staking/dist + + - name: Collect Workflow Telemetry Unit Tests + uses: catchpoint/workflow-telemetry-action@v2 + with: + comment_on_pr: false + + - name: Execute unit tests + uses: ./.github/actions/test/unit + + smokeTests: + name: Smoke tests + runs-on: ubuntu-22.04 + needs: prepare + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Node.js and install dependencies + uses: ./.github/actions/install + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + + - name: Download packages-icons + uses: actions/download-artifact@v4 + with: + name: packages-icons + path: packages/icons/dist + + - name: Download packages-ui + uses: actions/download-artifact@v4 + with: + name: packages-ui + path: packages/ui/dist + + - name: Download packages-common + uses: actions/download-artifact@v4 + with: + name: packages-common + path: packages/common/dist + + - name: Download packages-cardano + uses: actions/download-artifact@v4 + with: + name: packages-cardano + path: packages/cardano/dist + + - name: Download packages-core + uses: actions/download-artifact@v4 + with: + name: packages-core + path: packages/core/dist + + - name: Download packages-staking + uses: actions/download-artifact@v4 + with: + name: packages-staking + path: packages/staking/dist + + - name: Collect Workflow Telemetry Smoke Tests + uses: catchpoint/workflow-telemetry-action@v2 + with: + comment_on_pr: false + + - name: Build Lace browser extension + uses: ./.github/actions/build/app + with: + DIR: apps/browser-extension-wallet + NAME: lace-browser-extension + LACE_EXTENSION_KEY: ${{ secrets.MANIFEST_PUBLIC_KEY }} POSTHOG_PRODUCTION_TOKEN_MAINNET: ${{ startsWith(github.ref, 'refs/heads/release') && secrets.POSTHOG_PRODUCTION_TOKEN_MAINNET || '' }} POSTHOG_PRODUCTION_TOKEN_PREPROD: ${{ startsWith(github.ref, 'refs/heads/release') && secrets.POSTHOG_PRODUCTION_TOKEN_PREPROD || '' }} POSTHOG_PRODUCTION_TOKEN_PREVIEW: ${{ startsWith(github.ref, 'refs/heads/release') && secrets.POSTHOG_PRODUCTION_TOKEN_PREVIEW || '' }} PRODUCTION_MODE_TRACKING: ${{ startsWith(github.ref, 'refs/heads/release') && 'true' || 'false' }} - - name: Check for linter issues - run: yarn lint - - name: Run unit tests - env: - AVAILABLE_CHAINS: 'Preprod,Preview,Mainnet' - DEFAULT_CHAIN: 'Preprod' - NODE_OPTIONS: '--max_old_space_size=8192' - run: yarn test --silent - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: lace - path: apps/browser-extension-wallet/dist + + - name: Execute smoke tests + uses: ./.github/actions/test/smoke + with: + WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} + TEST_DAPP_URL: ${{ secrets.TEST_DAPP_URL }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + E2E_AWS_ACCESS_KEY_ID: ${{ secrets.E2E_AWS_ACCESS_KEY_ID }} + E2E_AWS_SECRET_ACCESS_KEY: ${{ secrets.E2E_AWS_SECRET_ACCESS_KEY }} + E2E_REPORTS_USER: ${{ secrets.E2E_REPORTS_USER }} + E2E_REPORTS_PASSWORD: ${{ secrets.E2E_REPORTS_PASSWORD }} + E2E_REPORTS_URL: ${{ secrets.E2E_REPORTS_URL }} + RUN: ${{ github.run_number }} + BRANCH: ${{ github.ref_name }} diff --git a/.github/workflows/core-chromatic.yml b/.github/workflows/core-chromatic.yml deleted file mode 100644 index 134784f84..000000000 --- a/.github/workflows/core-chromatic.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Lace Core Chromatic - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths: - - packages/core/** - push: - paths: - - packages/core/** - branches: - - main - -jobs: - chromatic-deployment: - if: github.event.pull_request.draft == false - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: 🧰 Use Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - cache: 'yarn' - - - name: 📝 Cache - uses: actions/cache@v4 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ~/.yarn/berry/cache - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - name: 💽 Install dependencies - run: yarn --immutable --inline-builds - - - name: 🧑‍🔬 Build - run: yarn workspaces foreach -Rpt -v --from '@lace/core' run build - - - name: 🧑‍🔬 Linter - working-directory: ./packages/core - run: yarn lint - - - name: 👩‍🔬 Tests - working-directory: ./packages/core - run: yarn test-storybook:ci - - - name: 🌍 Publish to Chromatic - if: github.ref != 'refs/heads/main' - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_LACE_CORE_TOKEN }} - workingDir: ./packages/core - buildScriptName: build-storybook - onlyChanged: true - - - name: 🌍 Publish to Chromatic and auto accept changes - if: github.ref == 'refs/heads/main' - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_LACE_CORE_TOKEN }} - autoAcceptChanges: true - workingDir: ./packages/core - onlyChanged: true diff --git a/.github/workflows/packages-staking.yml b/.github/workflows/packages-staking.yml deleted file mode 100644 index 6f0612fa5..000000000 --- a/.github/workflows/packages-staking.yml +++ /dev/null @@ -1,50 +0,0 @@ -name: packages/staking - -# Triggering this workflow: -# 1. Push to main/release branch -# 2. Pushing to Pull Request with "staking" label -# 3. Adding "staking" label to Pull Request - -on: - pull_request: - push: - branches: - - 'main' - - 'release/**' - -jobs: - build_staking: - name: Build Staking Center - runs-on: self-hosted - concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - cache: 'yarn' - - name: Node modules cache - uses: actions/cache@v4 - with: - path: | - node_modules - **/node_modules - key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} - - name: Install dependencies - run: yarn install --immutable --inline-builds - - name: Check for linter issues - run: yarn workspace @lace/staking lint:all - - name: Build dependencies of Staking Center - run: yarn staking build-deps - - name: Run tests - run: yarn workspace @lace/staking test:unit - - name: Build Staking dist - env: - NODE_OPTIONS: '--max_old_space_size=8192' - run: yarn workspace @lace/staking build diff --git a/.github/workflows/post-integration.yml b/.github/workflows/post-integration.yml deleted file mode 100644 index 455eb6bd0..000000000 --- a/.github/workflows/post-integration.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Post-integration - -on: - push: - branches: - - main - -jobs: - publish: - runs-on: self-hosted - concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Build dist version of Lace - uses: ./.github/shared/build - with: - LACE_EXTENSION_KEY: ${{ secrets.MANIFEST_PUBLIC_KEY }} - - name: Upload build - uses: actions/upload-artifact@v4 - with: - name: lightwallet - path: apps/browser-extension-wallet/dist - - name: Run unit tests - env: - AVAILABLE_CHAINS: 'Preprod,Preview,Mainnet' - DEFAULT_CHAIN: 'Preprod' - NODE_OPTIONS: '--max_old_space_size=8192' - run: yarn test --maxWorkers=2 --silent diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index b884a1134..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: Create Release - -on: - workflow_dispatch: - inputs: - app: - description: 'Which app to release (extension)' - required: true - type: choice - options: - - extension - version: - description: 'The version to release' - required: true - -run-name: 'Create Release | app: ${{ inputs.app }} | version: ${{ inputs.version }}' - -jobs: - create_release: - runs-on: ubuntu-20.04 - - steps: - - name: Checkout main branch - uses: actions/checkout@v4 - with: - ref: main - - - name: Create release branch - run: git checkout -b release/v${{ inputs.version }} - - - name: Push branch - run: git push --set-upstream origin release/v${{ inputs.version }} - - - name: Bump version in manifest files - if: inputs.app == 'extension' - run: | - sed -i "s/\"version\": \"[0-9.]*\"/\"version\": \"${{ inputs.version }}\"/g" apps/browser-extension-wallet/manifest.json - - - name: Create pull request - uses: peter-evans/create-pull-request@v4 - with: - commit-message: 'chore(${{ inputs.app }}): bump version to ${{ inputs.version }}' - title: Release version ${{ inputs.version }} for ${{ inputs.app }} - body: | - This pull request is to release version ${{ inputs.version }} for ${{ inputs.app }} app. - branch: release/v${{ inputs.version }} - base: main - labels: release diff --git a/.github/workflows/safari-ci.yml b/.github/workflows/safari-ci.yml deleted file mode 100644 index ac7ae5a6e..000000000 --- a/.github/workflows/safari-ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Safari Extension Build - -on: - workflow_run: - workflows: [CI] - types: [completed] - -jobs: - build: - if: ${{ contains(github.event.pull_request.labels.*.name, 'run-safari-build') }} - name: Build for Safari - runs-on: macos-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Download Lace dist artifacts - uses: actions/download-artifact@v4 - with: - name: lace - path: apps/browser-extension-wallet/dist - - name: Setup Xcode - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: latest-stable - - name: Add executable rights to extension conversion script - run: chmod +x ./packages/e2e-tests/tools/convertChromeExtToSafari.sh - - name: Convert Chrome extension to Safari - run: packages/e2e-tests/tools/convertChromeExtToSafari.sh - shell: bash - - name: Upload unsigned Safari build - uses: actions/upload-artifact@v4 - with: - name: lace-safari - path: packages/e2e-tests/wallet-extension-safari-build/Lace/wallet-extension-safari-build/extension-build/Build/Products/Release diff --git a/.github/workflows/smoke-tests.yml b/.github/workflows/smoke-tests.yml deleted file mode 100644 index 12c26a4ef..000000000 --- a/.github/workflows/smoke-tests.yml +++ /dev/null @@ -1,86 +0,0 @@ -name: Smoke Tests - -on: - pull_request: - workflow_dispatch: - -permissions: - pull-requests: write - actions: read - -env: - TAGS: '@Smoke and @Testnet' - BROWSER: 'chrome' - RUN: ${{ github.run_number }} - DISPLAY: ':99.0' - BRANCH: ${{ github.ref_name }} - -jobs: - smokeTests: - name: Smoke Tests - runs-on: self-hosted - concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - name: Collect Workflow Telemetry Build Packages - uses: catchpoint/workflow-telemetry-action@v2 - with: - comment_on_pr: false - - name: Decrypt test data - working-directory: ./packages/e2e-tests - run: ./decrypt_secret.sh - env: - WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} - - name: Build dist version of Lace - uses: ./.github/shared/build - with: - LACE_EXTENSION_KEY: ${{ secrets.MANIFEST_PUBLIC_KEY }} - - name: Start XVFB - run: | - Xvfb :99 & - - name: Execute E2E tests - id: e2e-tests - working-directory: ./packages/e2e-tests - env: - WALLET_1_PASSWORD: ${{ secrets.WALLET_PASSWORD_TESTNET }} - TEST_DAPP_URL: ${{ secrets.TEST_DAPP_URL }} - run: yarn wdio run wdio.conf.${BROWSER}.ts --cucumberOpts.tags="@Smoke and not @Pending" - - name: Create allure properties - if: always() - working-directory: ./packages/e2e-tests/reports/allure/results - run: | - echo " - branch=${BRANCH} - browser=${BROWSER} - tags=${TAGS} - platform=Linux - " > environment.properties - - name: Publish allure report to S3 - uses: andrcuns/allure-publish-action@v2.6.0 - if: always() - env: - GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - AWS_ACCESS_KEY_ID: ${{ secrets.E2E_AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.E2E_AWS_SECRET_ACCESS_KEY }} - with: - storageType: s3 - resultsGlob: './packages/e2e-tests/reports/allure/results' - bucket: lace-e2e-test-results - prefix: 'smoke/linux/${BROWSER}/${RUN}' - copyLatest: true - ignoreMissingResults: true - updatePr: comment - baseUrl: 'https://${{ secrets.E2E_REPORTS_USER }}:${{ secrets.E2E_REPORTS_PASSWORD }}@${{ secrets.E2E_REPORTS_URL }}' - - name: Publish artifacts (logs, reports, screenshots) - uses: actions/upload-artifact@v4 - if: always() - with: - name: test-artifacts - path: | - ./packages/e2e-tests/screenshots - ./packages/e2e-tests/logs - ./packages/e2e-tests/reports - retention-days: 5 diff --git a/.github/workflows/sonar-cloud.yml b/.github/workflows/sonar-cloud.yml index 919fe493b..beb9d06ef 100644 --- a/.github/workflows/sonar-cloud.yml +++ b/.github/workflows/sonar-cloud.yml @@ -6,6 +6,11 @@ on: - release/** pull_request: types: [opened, synchronize, reopened] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: sonarcloud: name: SonarCloud Code Analysis @@ -13,9 +18,9 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + fetch-depth: 0 - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.github/workflows/staking-chromatic.yml b/.github/workflows/staking-chromatic.yml deleted file mode 100644 index 050809347..000000000 --- a/.github/workflows/staking-chromatic.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: Lace Staking Chromatic - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths: - - packages/staking/** - push: - paths: - - packages/staking/** - branches: - - main - -jobs: - chromatic-deployment: - if: github.event.pull_request.draft == false - runs-on: self-hosted - concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: 🧰 Use Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - cache: 'yarn' - - - name: 📝 Cache - uses: actions/cache@v4 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ~/.yarn/berry/cache - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - name: 💽 Install dependencies - run: yarn --immutable --inline-builds - - - name: 🧑‍🔬 Build - run: yarn workspaces foreach -Rpt -v --from '@lace/staking' run build - - - name: 🧑‍🔬 Linter - working-directory: ./packages/staking - run: yarn lint - - - name: 👩‍🔬 Tests - working-directory: ./packages/staking - run: yarn test-storybook:ci - - - name: 🌍 Publish to Chromatic - if: github.ref != 'refs/heads/main' - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_LACE_STAKING_TOKEN }} - workingDir: ./packages/staking - buildScriptName: build-storybook - onlyChanged: true - - - name: 🌍 Publish to Chromatic and auto accept changes - if: github.ref == 'refs/heads/main' - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_LACE_STAKING_TOKEN }} - autoAcceptChanges: true - workingDir: ./packages/staking - onlyChanged: true diff --git a/.github/workflows/ui-toolkit-chromatic.yml b/.github/workflows/ui-toolkit-chromatic.yml deleted file mode 100644 index fccebcf1e..000000000 --- a/.github/workflows/ui-toolkit-chromatic.yml +++ /dev/null @@ -1,69 +0,0 @@ -name: Lace UI Toolkit - -on: - pull_request: - types: [opened, synchronize, reopened, ready_for_review] - paths: - - packages/ui/** - push: - paths: - - packages/ui/** - branches: - - main - -jobs: - chromatic-deployment: - if: github.event.pull_request.draft == false - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: 🧰 Use Node.js - uses: actions/setup-node@v4 - with: - node-version-file: .nvmrc - cache: 'yarn' - - - name: 📝 Cache - uses: actions/cache@v4 - id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) - with: - path: ~/.yarn/berry/cache - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn- - - - name: 💽 Install dependencies - run: yarn --immutable --inline-builds - - - name: 🧑‍🔬 Build - run: yarn workspaces foreach -Rpt -v --from '@lace/ui' run build - - - name: 🧑‍🔬 Linter - working-directory: ./packages/ui - run: yarn lint - - - name: 👩‍🔬 Tests - working-directory: ./packages/ui - run: yarn test-storybook:ci - - - name: 🌍 Publish to Chromatic - if: github.ref != 'refs/heads/main' - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_LACE_UI_TOOLKIT_TOKEN }} - workingDir: ./packages/ui - buildScriptName: build-storybook - onlyChanged: true - - - name: 🌍 Publish to Chromatic and auto accept changes - if: github.ref == 'refs/heads/main' - uses: chromaui/action@v1 - with: - projectToken: ${{ secrets.CHROMATIC_LACE_UI_TOOLKIT_TOKEN }} - autoAcceptChanges: true - workingDir: ./packages/ui - onlyChanged: true diff --git a/apps/browser-extension-wallet/package.json b/apps/browser-extension-wallet/package.json index d585ddc9a..01dbccb9a 100644 --- a/apps/browser-extension-wallet/package.json +++ b/apps/browser-extension-wallet/package.json @@ -29,12 +29,14 @@ "build:dev": "NODE_OPTIONS='--openssl-legacy-provider' rm -rf dist & run -T webpack --config webpack.sw.dev.js --progress & run -T webpack --config webpack.app.dev.js --progress", "cleanup": "yarn exec rm -rf dist node_modules", "dev": "NODE_OPTIONS='--openssl-legacy-provider' rm -rf dist & run -T webpack --config webpack.sw.dev.js --progress --watch & run -T webpack serve --config webpack.app.dev.js --env RUN_DEV_SERVER=true", + "format-check": "echo \"@lace/browser-extension-wallet: no format-check command specified\"", "lint": "cd ../.. && yarn extension:lint", "prepack": "yarn build", "prepare": "ts-patch install -s", "prettier": "run -T prettier --write .", - "test": "run -T jest --config test/jest.config.js", + "test": "run -T jest --config test/jest.config.js --silent", "test:e2e": "yarn exec echo \"No e2e tests on this app yet!\"", + "type-check": "echo \"@lace/browser-extension-wallet: no type-check command specified\"", "watch": "NODE_OPTIONS='--openssl-legacy-provider' rm -rf dist & run -T webpack --config webpack.sw.dev.js --progress --watch & run -T webpack --config webpack.app.dev.js --progress --watch" }, "dependencies": { diff --git a/package.json b/package.json index ae755d669..cba17f8a7 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "core:lint": "yarn eslint-cmd \"packages/core/**/*.{js,ts,tsx}\"", "eslint-cmd": "eslint --cache --cache-location .cache/eslintcache --cache-strategy metadata --ignore-path ./.eslintignore", "extension:lint": "yarn eslint-cmd \"apps/browser-extension-wallet/**/*.{js,ts,tsx}\"", + "format-check": "yarn workspaces foreach -ptv run format-check", "postinstall": "husky install & ts-patch install -s", "lint": "yarn workspaces foreach -ptv run lint && yarn markdown:lint", "markdown:lint": "markdownlint '{packages,apps}/**/*.md' -p .gitignore", @@ -40,6 +41,7 @@ "prestorybook:build": "yarn build", "storybook:build": "ENV=development build-storybook --log-level error", "test": "yarn workspaces foreach run test", + "type-check": "yarn workspaces foreach -ptv run type-check", "version": "standard-version", "watch": "yarn base-command-for-build-scripts --done-criteria 'created|(webpack [\\d\\.]+ compiled)|(.*STAKING.*CJS.*Build success)' -c watch", "watch-deps": "EXCLUDE_APP=true yarn watch" diff --git a/packages/cardano/package.json b/packages/cardano/package.json index 07e16553e..251d1dd82 100644 --- a/packages/cardano/package.json +++ b/packages/cardano/package.json @@ -28,13 +28,15 @@ "scripts": { "build": "run -T rollup -c rollup.config.js", "cleanup": "yarn exec rm -rf dist node_modules", + "format-check": "echo \"@lace/cardano: no format-check command specified\"", "lint": "cd ../.. && yarn cardano:lint", "prepack": "yarn build", "prepare": "ts-patch install -s", "prestart": "yarn build", "start": "node dist/index.js", - "test": "NODE_ENV=test run -T jest -c ./test/jest.config.js", + "test": "NODE_ENV=test run -T jest -c ./test/jest.config.js --silent", "tsc:declarationOnly": "tsc --project ./src/tsconfig.declarationOnly.json", + "type-check": "echo \"@lace/icons: no type-check command specified\"", "watch": "yarn build --watch" }, "dependencies": { diff --git a/packages/common/package.json b/packages/common/package.json index e1f4ef7f4..6828be978 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -28,12 +28,14 @@ "scripts": { "build": "run -T rollup -c rollup.config.js", "cleanup": "yarn exec rm -rf dist node_modules", + "format-check": "echo \"@lace/common: no format-check command specified\"", "lint": "cd ../.. && yarn common:lint", "prepack": "yarn build", "prepare": "ts-patch install -s", "prestart": "yarn build", "start": "node dist/index.js", - "test": "NODE_ENV=test run -T jest -c ./test/jest.config.js", + "test": "NODE_ENV=test run -T jest -c ./test/jest.config.js --silent", + "type-check": "echo \"@lace/icons: no type-check command specified\"", "watch": "yarn build --watch" }, "dependencies": { diff --git a/packages/core/package.json b/packages/core/package.json index c8d856615..82d689dfd 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -29,13 +29,15 @@ "build": "run -T rollup -c rollup.config.js", "build-storybook": "NODE_OPTIONS=--openssl-legacy-provider; build-storybook", "cleanup": "yarn exec rm -rf dist node_modules", + "format-check": "echo \"@lace/core: no format-check command specified\"", "lint": "cd ../.. && yarn core:lint", "prepack": "yarn build", "prestart": "yarn build", "start": "node dist/index.js", "storybook": "NODE_OPTIONS=--openssl-legacy-provider; start-storybook -p 6006", - "test": "NODE_ENV=test run -T jest -c ./test/jest.config.js", - "typecheck": "tsc --noEmit", + "test": "NODE_ENV=test run -T jest -c ./test/jest.config.js --silent", + "test-storybook:ci": "echo \"@lace/core: no test-storybook:ci specified\"", + "type-check": "echo \"@lace/core: no type-check command specified\"", "watch": "yarn build --watch" }, "dependencies": { diff --git a/packages/e2e-tests/package.json b/packages/e2e-tests/package.json index f8a87dc7f..93a41555a 100755 --- a/packages/e2e-tests/package.json +++ b/packages/e2e-tests/package.json @@ -5,7 +5,7 @@ "author": "IOHK", "scripts": { "build": "yarn exec echo 'No build required'", - "test": "yarn exec echo 'User test:local'", + "test": "echo \"@lace/e2e-tests: no test command specified\"", "test:local:chrome": "../../node_modules/.bin/wdio run wdio.conf.chrome.ts", "test:local:edge": "../../node_modules/.bin/wdio run wdio.conf.edge.ts", "cleanup": "rm -rf logs node_modules reports screenshots", @@ -51,7 +51,7 @@ "flat": "5.0.2", "npm-run-all": "4.1.5", "ts-node": "10.9.1", - "typescript": "4.9.5", + "typescript": "^4.9.5", "wdio-intercept-service": "4.4.0", "webdriverio": "8.36.1" } diff --git a/packages/icons/package.json b/packages/icons/package.json index 9ba11716d..f2e9c2be5 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -22,7 +22,10 @@ "build:svgr": "svgr ./raw --out-dir ./tmp --typescript", "build:tsc": "tsc --project tsconfig.json", "cleanup": "yarn exec rm -rf dist node_modules", - "test": "echo \"@lace/icons: no test specified\"" + "format-check": "echo \"@lace/icons: no format-check command specified\"", + "lint": "echo \"@lace/icons: no lint command specified\"", + "test": "echo \"@lace/icons: no test command specified\"", + "type-check": "echo \"@lace/icons: no type-check specified\"" }, "devDependencies": { "@babel/cli": "^7.22.10", diff --git a/packages/staking/package.json b/packages/staking/package.json index 1654c1f3e..7a148cfba 100644 --- a/packages/staking/package.json +++ b/packages/staking/package.json @@ -37,14 +37,17 @@ "dev": "NODE_OPTIONS=--openssl-legacy-provider; storybook dev -p 6006", "eslint:check": "yarn run -T eslint --cache --cache-location ../../.cache/eslintcache --cache-strategy metadata --ignore-path '../../.eslintignore' '**/*.{cjs,mjs,js,ts,tsx}'", "eslint:fix": "yarn eslint:check --fix", - "lint": "echo 'Staking package runs lint in its own CI'", + "format-check": "yarn run -T prettier --check '**/*.{js,ts,jsx,tsx,html,json,md}'", + "lint": "yarn run -T eslint --cache --cache-location ../../.cache/eslintcache --cache-strategy metadata --ignore-path '../../.eslintignore' '**/*.{cjs,mjs,js,ts,tsx}'", "lint:all": "yarn eslint:check && yarn prettier:check", "lint:fix": "yarn eslint:fix && yarn prettier:fix", "prettier:check": "yarn run -T prettier --check '**/*.{js,ts,jsx,tsx,html,json,md}'", "prettier:fix": "yarn run -T prettier --write --loglevel warn '**/*.{js,ts,jsx,tsx,html,json,md}'", - "test": "echo 'Staking package runs tests in its own CI'", + "test": "vitest run --silent", + "test-storybook:ci": "echo \"@lace/staking: no test-storybook:ci specified\"", "test:all": "yarn test:unit && yarn test:vr", "test:unit": "vitest run", + "type-check": "echo \"@lace/staking: no type-checkc command specified\"", "watch": "tsup --watch" }, "dependencies": { diff --git a/packages/ui/package.json b/packages/ui/package.json index 6c6e4b115..85ecb34e7 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -19,13 +19,14 @@ "build": "run -T rollup -c rollup.config.js", "build-storybook": "NODE_OPTIONS=--openssl-legacy-provider; build-storybook", "cleanup": "yarn exec rm -rf dist node_modules", - "format": "yarn prettier --write '**/*.tsx'", - "lint": "eslint .", + "format": "yarn prettier --write .", + "format-check": "yarn prettier --check .", + "lint": "echo \"@lace/ui: no lint specified\"", "storybook": "NODE_OPTIONS=--openssl-legacy-provider; start-storybook -p 6006", - "test": "echo \"@lace/ui: no test specified\"", + "test": "echo \"@lace/ui: no test command specified\"", "test-storybook": "test-storybook", "test-storybook:ci": "NODE_OPTIONS=--openssl-legacy-provider; export STORYBOOK_TEST=1; concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && http-server storybook-static --port 6006\" \"wait-on http://127.0.0.1:6006/ && yarn test-storybook\"", - "typecheck": "tsc --noEmit", + "type-check": "echo \"@lace/icons: no type-check command specified\"", "watch": "yarn build --watch" }, "resolutions": { @@ -107,6 +108,7 @@ "prettier": "3.2.5", "rollup-plugin-copy": "^3.4.0", "storybook-addon-pseudo-states": "^1.15.2", + "typescript": "^4.9.5", "url-loader": "^4.1.1", "utility-types": "^3.10.0", "wait-on": "^7.0.1", diff --git a/yarn.lock b/yarn.lock index 132e3856a..ea1df234c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,6 +5,13 @@ __metadata: version: 6 cacheKey: 8 +"@aashutoshrathi/word-wrap@npm:^1.2.3": + version: 1.2.6 + resolution: "@aashutoshrathi/word-wrap@npm:1.2.6" + checksum: ada901b9e7c680d190f1d012c84217ce0063d8f5c5a7725bb91ec3c5ed99bb7572680eb2d2938a531ccbaec39a95422fcd8a6b4a13110c7d98dd75402f66a0cd + languageName: node + linkType: hard + "@adobe/css-tools@npm:^4.0.1": version: 4.0.1 resolution: "@adobe/css-tools@npm:4.0.1" @@ -9973,18 +9980,7 @@ __metadata: languageName: node linkType: hard -"@eslint-community/eslint-utils@npm:^4.1.2": - version: 4.2.0 - resolution: "@eslint-community/eslint-utils@npm:4.2.0" - dependencies: - eslint-visitor-keys: ^3.3.0 - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - checksum: 82fdd1cc2a5d169def0e665ec790580ef708e7df9c91f20006595dc90e3bd42ec31c8976a2eeccd336286301a72e937c0ddf3ab4b7377d7014997c36333a7d22 - languageName: node - linkType: hard - -"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.3.0": +"@eslint-community/eslint-utils@npm:^4.1.2, @eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.3.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" dependencies: @@ -10002,6 +9998,13 @@ __metadata: languageName: node linkType: hard +"@eslint-community/regexpp@npm:^4.6.1": + version: 4.10.0 + resolution: "@eslint-community/regexpp@npm:4.10.0" + checksum: 2a6e345429ea8382aaaf3a61f865cae16ed44d31ca917910033c02dc00d505d939f10b81e079fa14d43b51499c640138e153b7e40743c4c094d9df97d4e56f7b + languageName: node + linkType: hard + "@eslint/eslintrc@npm:^0.4.3": version: 0.4.3 resolution: "@eslint/eslintrc@npm:0.4.3" @@ -10036,44 +10039,37 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.0.0": - version: 2.0.3 - resolution: "@eslint/eslintrc@npm:2.0.3" +"@eslint/eslintrc@npm:^2.0.2": + version: 2.0.2 + resolution: "@eslint/eslintrc@npm:2.0.2" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.5.2 + espree: ^9.5.1 globals: ^13.19.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: ddc51f25f8524d8231db9c9bf03177e503d941a332e8d5ce3b10b09241be4d5584a378a529a27a527586bfbccf3031ae539eb891352033c340b012b4d0c81d92 + checksum: cfcf5e12c7b2c4476482e7f12434e76eae16fcd163ee627309adb10b761e5caa4a4e52ed7be464423320ff3d11eca5b50de5bf8be3e25834222470835dd5c801 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.0.2": - version: 2.0.2 - resolution: "@eslint/eslintrc@npm:2.0.2" +"@eslint/eslintrc@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/eslintrc@npm:2.1.4" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.5.1 + espree: ^9.6.0 globals: ^13.19.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: cfcf5e12c7b2c4476482e7f12434e76eae16fcd163ee627309adb10b761e5caa4a4e52ed7be464423320ff3d11eca5b50de5bf8be3e25834222470835dd5c801 - languageName: node - linkType: hard - -"@eslint/js@npm:8.35.0": - version: 8.35.0 - resolution: "@eslint/js@npm:8.35.0" - checksum: 6687ceff659a6d617e37823f809dc9c4b096535961a81acead27d26b1a51a4cf608a5e59d831ddd57f24f6f8bb99340a4a0e19f9c99b390fbb4b275f51ed5f5e + checksum: 10957c7592b20ca0089262d8c2a8accbad14b4f6507e35416c32ee6b4dbf9cad67dfb77096bbd405405e9ada2b107f3797fe94362e1c55e0b09d6e90dd149127 languageName: node linkType: hard @@ -10084,6 +10080,13 @@ __metadata: languageName: node linkType: hard +"@eslint/js@npm:8.57.0": + version: 8.57.0 + resolution: "@eslint/js@npm:8.57.0" + checksum: 315dc65b0e9893e2bff139bddace7ea601ad77ed47b4550e73da8c9c2d2766c7a575c3cddf17ef85b8fd6a36ff34f91729d0dcca56e73ca887c10df91a41b0bb + languageName: node + linkType: hard + "@ethereumjs/common@npm:^3.1.2, @ethereumjs/common@npm:^3.2.0": version: 3.2.0 resolution: "@ethereumjs/common@npm:3.2.0" @@ -10232,6 +10235,17 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/config-array@npm:^0.11.14": + version: 0.11.14 + resolution: "@humanwhocodes/config-array@npm:0.11.14" + dependencies: + "@humanwhocodes/object-schema": ^2.0.2 + debug: ^4.3.1 + minimatch: ^3.0.5 + checksum: 861ccce9eaea5de19546653bccf75bf09fe878bc39c3aab00aeee2d2a0e654516adad38dd1098aab5e3af0145bbcbf3f309bdf4d964f8dab9dcd5834ae4c02f2 + languageName: node + linkType: hard + "@humanwhocodes/config-array@npm:^0.11.8": version: 0.11.8 resolution: "@humanwhocodes/config-array@npm:0.11.8" @@ -10268,6 +10282,13 @@ __metadata: languageName: node linkType: hard +"@humanwhocodes/object-schema@npm:^2.0.2": + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631 + languageName: node + linkType: hard + "@hutson/parse-repository-url@npm:^3.0.0": version: 3.0.2 resolution: "@hutson/parse-repository-url@npm:3.0.2" @@ -11341,7 +11362,7 @@ __metadata: flat: 5.0.2 npm-run-all: 4.1.5 ts-node: 10.9.1 - typescript: 4.9.5 + typescript: ^4.9.5 wdio-intercept-service: 4.4.0 webdriverio: 8.36.1 languageName: unknown @@ -11551,6 +11572,7 @@ __metadata: recharts: ^2.6.2 rollup-plugin-copy: ^3.4.0 storybook-addon-pseudo-states: ^1.15.2 + typescript: ^4.9.5 url-loader: ^4.1.1 utility-types: ^3.10.0 wait-on: ^7.0.1 @@ -21190,17 +21212,17 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^5.51.0": - version: 5.54.1 - resolution: "@typescript-eslint/eslint-plugin@npm:5.54.1" + version: 5.62.0 + resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0" dependencies: - "@typescript-eslint/scope-manager": 5.54.1 - "@typescript-eslint/type-utils": 5.54.1 - "@typescript-eslint/utils": 5.54.1 + "@eslint-community/regexpp": ^4.4.0 + "@typescript-eslint/scope-manager": 5.62.0 + "@typescript-eslint/type-utils": 5.62.0 + "@typescript-eslint/utils": 5.62.0 debug: ^4.3.4 - grapheme-splitter: ^1.0.4 + graphemer: ^1.4.0 ignore: ^5.2.0 natural-compare-lite: ^1.4.0 - regexpp: ^3.2.0 semver: ^7.3.7 tsutils: ^3.21.0 peerDependencies: @@ -21209,7 +21231,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 76476c08ca0142a9bf6e2381f5cd1c037d86fbafa9c0dded4a97bd3b23b5962dd2c3943bade11b21d674195674f0e36dbf80faa15a1906f5a2ca1f699baf1dd5 + checksum: fc104b389c768f9fa7d45a48c86d5c1ad522c1d0512943e782a56b1e3096b2cbcc1eea3fcc590647bf0658eef61aac35120a9c6daf979bf629ad2956deb516a1 languageName: node linkType: hard @@ -21276,19 +21298,19 @@ __metadata: linkType: hard "@typescript-eslint/parser@npm:^5.51.0": - version: 5.54.1 - resolution: "@typescript-eslint/parser@npm:5.54.1" + version: 5.62.0 + resolution: "@typescript-eslint/parser@npm:5.62.0" dependencies: - "@typescript-eslint/scope-manager": 5.54.1 - "@typescript-eslint/types": 5.54.1 - "@typescript-eslint/typescript-estree": 5.54.1 + "@typescript-eslint/scope-manager": 5.62.0 + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/typescript-estree": 5.62.0 debug: ^4.3.4 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: f466513d306ca926b97c2cec1eebaf2cd15d45bd5633a4358f23ba9a4de1b0ec4630b1c20abc395943934ed1d2ef65f545fd6737c317a7abe579612101e8a83f + checksum: d168f4c7f21a7a63f47002e2d319bcbb6173597af5c60c1cf2de046b46c76b4930a093619e69faf2d30214c29ab27b54dcf1efc7046a6a6bd6f37f59a990e752 languageName: node linkType: hard @@ -21322,6 +21344,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/scope-manager@npm:5.62.0" + dependencies: + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/visitor-keys": 5.62.0 + checksum: 6062d6b797fe1ce4d275bb0d17204c827494af59b5eaf09d8a78cdd39dadddb31074dded4297aaf5d0f839016d601032857698b0e4516c86a41207de606e9573 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:6.0.0": version: 6.0.0 resolution: "@typescript-eslint/scope-manager@npm:6.0.0" @@ -21332,12 +21364,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:5.54.1, @typescript-eslint/type-utils@npm:^5.50.0": - version: 5.54.1 - resolution: "@typescript-eslint/type-utils@npm:5.54.1" +"@typescript-eslint/type-utils@npm:5.62.0, @typescript-eslint/type-utils@npm:^5.50.0, @typescript-eslint/type-utils@npm:^5.55.0": + version: 5.62.0 + resolution: "@typescript-eslint/type-utils@npm:5.62.0" dependencies: - "@typescript-eslint/typescript-estree": 5.54.1 - "@typescript-eslint/utils": 5.54.1 + "@typescript-eslint/typescript-estree": 5.62.0 + "@typescript-eslint/utils": 5.62.0 debug: ^4.3.4 tsutils: ^3.21.0 peerDependencies: @@ -21345,7 +21377,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 0073838b782b7f4619775be124ca6643fec43a2d56043eaf3ceb100960a5193f14ac747b28ce17a5c9ac643fdee8abda82a7d905c81521358de7b27a2dcbc9af + checksum: fc41eece5f315dfda14320be0da78d3a971d650ea41300be7196934b9715f3fe1120a80207551eb71d39568275dbbcf359bde540d1ca1439d8be15e9885d2739 languageName: node linkType: hard @@ -21387,6 +21419,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/types@npm:5.62.0" + checksum: 48c87117383d1864766486f24de34086155532b070f6264e09d0e6139449270f8a9559cfef3c56d16e3bcfb52d83d42105d61b36743626399c7c2b5e0ac3b670 + languageName: node + linkType: hard + "@typescript-eslint/types@npm:6.0.0": version: 6.0.0 resolution: "@typescript-eslint/types@npm:6.0.0" @@ -21448,6 +21487,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/typescript-estree@npm:5.62.0" + dependencies: + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/visitor-keys": 5.62.0 + debug: ^4.3.4 + globby: ^11.1.0 + is-glob: ^4.0.3 + semver: ^7.3.7 + tsutils: ^3.21.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 3624520abb5807ed8f57b1197e61c7b1ed770c56dfcaca66372d584ff50175225798bccb701f7ef129d62c5989070e1ee3a0aa2d84e56d9524dcf011a2bb1a52 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:6.0.0": version: 6.0.0 resolution: "@typescript-eslint/typescript-estree@npm:6.0.0" @@ -21482,21 +21539,21 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:5.54.1, @typescript-eslint/utils@npm:^5.45.0, @typescript-eslint/utils@npm:^5.50.0": - version: 5.54.1 - resolution: "@typescript-eslint/utils@npm:5.54.1" +"@typescript-eslint/utils@npm:5.62.0, @typescript-eslint/utils@npm:^5.50.0": + version: 5.62.0 + resolution: "@typescript-eslint/utils@npm:5.62.0" dependencies: + "@eslint-community/eslint-utils": ^4.2.0 "@types/json-schema": ^7.0.9 "@types/semver": ^7.3.12 - "@typescript-eslint/scope-manager": 5.54.1 - "@typescript-eslint/types": 5.54.1 - "@typescript-eslint/typescript-estree": 5.54.1 + "@typescript-eslint/scope-manager": 5.62.0 + "@typescript-eslint/types": 5.62.0 + "@typescript-eslint/typescript-estree": 5.62.0 eslint-scope: ^5.1.1 - eslint-utils: ^3.0.0 semver: ^7.3.7 peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - checksum: 8f428ea4d338ce85d55fd0c9ae2b217b323f29f51b7c9f8077fef7001ca21d28b032c5e5165b67ae6057aef69edb0e7a164c3c483703be6f3e4e574248bbc399 + checksum: ee9398c8c5db6d1da09463ca7bf36ed134361e20131ea354b2da16a5fdb6df9ba70c62a388d19f6eebb421af1786dbbd79ba95ddd6ab287324fc171c3e28d931 languageName: node linkType: hard @@ -21518,6 +21575,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/utils@npm:^5.45.0": + version: 5.54.1 + resolution: "@typescript-eslint/utils@npm:5.54.1" + dependencies: + "@types/json-schema": ^7.0.9 + "@types/semver": ^7.3.12 + "@typescript-eslint/scope-manager": 5.54.1 + "@typescript-eslint/types": 5.54.1 + "@typescript-eslint/typescript-estree": 5.54.1 + eslint-scope: ^5.1.1 + eslint-utils: ^3.0.0 + semver: ^7.3.7 + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + checksum: 8f428ea4d338ce85d55fd0c9ae2b217b323f29f51b7c9f8077fef7001ca21d28b032c5e5165b67ae6057aef69edb0e7a164c3c483703be6f3e4e574248bbc399 + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:4.29.2": version: 4.29.2 resolution: "@typescript-eslint/visitor-keys@npm:4.29.2" @@ -21548,6 +21623,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:5.62.0": + version: 5.62.0 + resolution: "@typescript-eslint/visitor-keys@npm:5.62.0" + dependencies: + "@typescript-eslint/types": 5.62.0 + eslint-visitor-keys: ^3.3.0 + checksum: 976b05d103fe8335bef5c93ad3f76d781e3ce50329c0243ee0f00c0fcfb186c81df50e64bfdd34970148113f8ade90887f53e3c4938183afba830b4ba8e30a35 + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:6.0.0": version: 6.0.0 resolution: "@typescript-eslint/visitor-keys@npm:6.0.0" @@ -21558,6 +21643,13 @@ __metadata: languageName: node linkType: hard +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.0 + resolution: "@ungap/structured-clone@npm:1.2.0" + checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 + languageName: node + linkType: hard + "@vanilla-extract/babel-plugin-debug-ids@npm:^1.0.2": version: 1.0.2 resolution: "@vanilla-extract/babel-plugin-debug-ids@npm:1.0.2" @@ -22930,7 +23022,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.11.2, acorn@npm:^8.11.3": +"acorn@npm:^8.11.2, acorn@npm:^8.11.3, acorn@npm:^8.9.0": version: 8.11.3 resolution: "acorn@npm:8.11.3" bin: @@ -23626,6 +23718,16 @@ __metadata: languageName: node linkType: hard +"array-buffer-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "array-buffer-byte-length@npm:1.0.1" + dependencies: + call-bind: ^1.0.5 + is-array-buffer: ^3.0.4 + checksum: 53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e + languageName: node + linkType: hard + "array-find-index@npm:^1.0.1": version: 1.0.2 resolution: "array-find-index@npm:1.0.2" @@ -23667,7 +23769,21 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.5, array-includes@npm:^3.1.6": +"array-includes@npm:^3.1.5, array-includes@npm:^3.1.7": + version: 3.1.8 + resolution: "array-includes@npm:3.1.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.4 + is-string: ^1.0.7 + checksum: eb39ba5530f64e4d8acab39297c11c1c5be2a4ea188ab2b34aba5fb7224d918f77717a9d57a3e2900caaa8440e59431bdaf5c974d5212ef65d97f132e38e2d91 + languageName: node + linkType: hard + +"array-includes@npm:^3.1.6": version: 3.1.6 resolution: "array-includes@npm:3.1.6" dependencies: @@ -23717,6 +23833,20 @@ __metadata: languageName: node linkType: hard +"array.prototype.findlastindex@npm:^1.2.3": + version: 1.2.5 + resolution: "array.prototype.findlastindex@npm:1.2.5" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + es-shim-unscopables: ^1.0.2 + checksum: 2c81cff2a75deb95bf1ed89b6f5f2bfbfb882211e3b7cc59c3d6b87df774cd9d6b36949a8ae39ac476e092c1d4a4905f5ee11a86a456abb10f35f8211ae4e710 + languageName: node + linkType: hard + "array.prototype.flat@npm:^1.2.1, array.prototype.flat@npm:^1.2.4": version: 1.2.4 resolution: "array.prototype.flat@npm:1.2.4" @@ -23740,6 +23870,18 @@ __metadata: languageName: node linkType: hard +"array.prototype.flat@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flat@npm:1.3.2" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + es-shim-unscopables: ^1.0.0 + checksum: 5d6b4bf102065fb3f43764bfff6feb3295d372ce89591e6005df3d0ce388527a9f03c909af6f2a973969a4d178ab232ffc9236654149173e0e187ec3a1a6b87b + languageName: node + linkType: hard + "array.prototype.flatmap@npm:^1.2.1, array.prototype.flatmap@npm:^1.2.4": version: 1.2.4 resolution: "array.prototype.flatmap@npm:1.2.4" @@ -23752,7 +23894,19 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.0, array.prototype.flatmap@npm:^1.3.1": +"array.prototype.flatmap@npm:^1.3.0, array.prototype.flatmap@npm:^1.3.2": + version: 1.3.2 + resolution: "array.prototype.flatmap@npm:1.3.2" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + es-shim-unscopables: ^1.0.0 + checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 + languageName: node + linkType: hard + +"array.prototype.flatmap@npm:^1.3.1": version: 1.3.1 resolution: "array.prototype.flatmap@npm:1.3.1" dependencies: @@ -23777,6 +23931,22 @@ __metadata: languageName: node linkType: hard +"arraybuffer.prototype.slice@npm:^1.0.3": + version: 1.0.3 + resolution: "arraybuffer.prototype.slice@npm:1.0.3" + dependencies: + array-buffer-byte-length: ^1.0.1 + call-bind: ^1.0.5 + define-properties: ^1.2.1 + es-abstract: ^1.22.3 + es-errors: ^1.2.1 + get-intrinsic: ^1.2.3 + is-array-buffer: ^3.0.4 + is-shared-array-buffer: ^1.0.2 + checksum: 352259cba534dcdd969c92ab002efd2ba5025b2e3b9bead3973150edbdf0696c629d7f4b3f061c5931511e8207bdc2306da614703c820b45dabce39e3daf7e3e + languageName: node + linkType: hard + "arrify@npm:^1.0.1": version: 1.0.1 resolution: "arrify@npm:1.0.1" @@ -24011,6 +24181,15 @@ __metadata: languageName: node linkType: hard +"available-typed-arrays@npm:^1.0.7": + version: 1.0.7 + resolution: "available-typed-arrays@npm:1.0.7" + dependencies: + possible-typed-array-names: ^1.0.0 + checksum: 1aa3ffbfe6578276996de660848b6e95669d9a95ad149e3dd0c0cda77db6ee1dbd9d1dd723b65b6d277b882dd0c4b91a654ae9d3cf9e1254b7e93e4908d78fd3 + languageName: node + linkType: hard + "aws-sign2@npm:~0.7.0": version: 0.7.0 resolution: "aws-sign2@npm:0.7.0" @@ -25909,6 +26088,19 @@ __metadata: languageName: node linkType: hard +"call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": + version: 1.0.7 + resolution: "call-bind@npm:1.0.7" + dependencies: + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + function-bind: ^1.1.2 + get-intrinsic: ^1.2.4 + set-function-length: ^1.2.1 + checksum: 295c0c62b90dd6522e6db3b0ab1ce26bdf9e7404215bda13cfee25b626b5ff1a7761324d58d38b1ef1607fc65aca2d06e44d2e18d0dfc6c14b465b00d8660029 + languageName: node + linkType: hard + "call-me-maybe@npm:^1.0.1": version: 1.0.1 resolution: "call-me-maybe@npm:1.0.1" @@ -28527,6 +28719,39 @@ __metadata: languageName: node linkType: hard +"data-view-buffer@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-buffer@npm:1.0.1" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: ce24348f3c6231223b216da92e7e6a57a12b4af81a23f27eff8feabdf06acfb16c00639c8b705ca4d167f761cfc756e27e5f065d0a1f840c10b907fdaf8b988c + languageName: node + linkType: hard + +"data-view-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-length@npm:1.0.1" + dependencies: + call-bind: ^1.0.7 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: dbb3200edcb7c1ef0d68979834f81d64fd8cab2f7691b3a4c6b97e67f22182f3ec2c8602efd7b76997b55af6ff8bce485829c1feda4fa2165a6b71fb7baa4269 + languageName: node + linkType: hard + +"data-view-byte-offset@npm:^1.0.0": + version: 1.0.0 + resolution: "data-view-byte-offset@npm:1.0.0" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-data-view: ^1.0.1 + checksum: 7f0bf8720b7414ca719eedf1846aeec392f2054d7af707c5dc9a753cc77eb8625f067fa901e0b5127e831f9da9056138d894b9c2be79c27a21f6db5824f009c2 + languageName: node + linkType: hard + "date-fns@npm:2.x": version: 2.27.0 resolution: "date-fns@npm:2.27.0" @@ -28739,13 +28964,6 @@ __metadata: languageName: node linkType: hard -"deepmerge-ts@npm:^4.2.2": - version: 4.2.2 - resolution: "deepmerge-ts@npm:4.2.2" - checksum: 137c3650519d9b1a220db7e23a3f56304cd02e7f97b2b8392e2767251055a29318425bacdb2ab2ff175a4645f7179643acf0e038d5dafbfdbc11bdf322f79697 - languageName: node - linkType: hard - "deepmerge-ts@npm:^5.0.0, deepmerge-ts@npm:^5.1.0": version: 5.1.0 resolution: "deepmerge-ts@npm:5.1.0" @@ -28845,6 +29063,17 @@ __metadata: languageName: node linkType: hard +"define-data-property@npm:^1.1.4": + version: 1.1.4 + resolution: "define-data-property@npm:1.1.4" + dependencies: + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + gopd: ^1.0.1 + checksum: 8068ee6cab694d409ac25936eb861eea704b7763f7f342adbdfe337fc27c78d7ae0eff2364b2917b58c508d723c7a074326d068eef2e45c4edcd85cf94d0313b + languageName: node + linkType: hard + "define-lazy-prop@npm:^2.0.0": version: 2.0.0 resolution: "define-lazy-prop@npm:2.0.0" @@ -28871,7 +29100,7 @@ __metadata: languageName: node linkType: hard -"define-properties@npm:^1.2.0": +"define-properties@npm:^1.2.0, define-properties@npm:^1.2.1": version: 1.2.1 resolution: "define-properties@npm:1.2.1" dependencies: @@ -30184,6 +30413,60 @@ __metadata: languageName: node linkType: hard +"es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2": + version: 1.23.3 + resolution: "es-abstract@npm:1.23.3" + dependencies: + array-buffer-byte-length: ^1.0.1 + arraybuffer.prototype.slice: ^1.0.3 + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + data-view-buffer: ^1.0.1 + data-view-byte-length: ^1.0.1 + data-view-byte-offset: ^1.0.0 + es-define-property: ^1.0.0 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + es-set-tostringtag: ^2.0.3 + es-to-primitive: ^1.2.1 + function.prototype.name: ^1.1.6 + get-intrinsic: ^1.2.4 + get-symbol-description: ^1.0.2 + globalthis: ^1.0.3 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.2 + has-proto: ^1.0.3 + has-symbols: ^1.0.3 + hasown: ^2.0.2 + internal-slot: ^1.0.7 + is-array-buffer: ^3.0.4 + is-callable: ^1.2.7 + is-data-view: ^1.0.1 + is-negative-zero: ^2.0.3 + is-regex: ^1.1.4 + is-shared-array-buffer: ^1.0.3 + is-string: ^1.0.7 + is-typed-array: ^1.1.13 + is-weakref: ^1.0.2 + object-inspect: ^1.13.1 + object-keys: ^1.1.1 + object.assign: ^4.1.5 + regexp.prototype.flags: ^1.5.2 + safe-array-concat: ^1.1.2 + safe-regex-test: ^1.0.3 + string.prototype.trim: ^1.2.9 + string.prototype.trimend: ^1.0.8 + string.prototype.trimstart: ^1.0.8 + typed-array-buffer: ^1.0.2 + typed-array-byte-length: ^1.0.1 + typed-array-byte-offset: ^1.0.2 + typed-array-length: ^1.0.6 + unbox-primitive: ^1.0.2 + which-typed-array: ^1.1.15 + checksum: f840cf161224252512f9527306b57117192696571e07920f777cb893454e32999206198b4f075516112af6459daca282826d1735c450528470356d09eff3a9ae + languageName: node + linkType: hard + "es-array-method-boxes-properly@npm:^1.0.0": version: 1.0.0 resolution: "es-array-method-boxes-properly@npm:1.0.0" @@ -30191,6 +30474,22 @@ __metadata: languageName: node linkType: hard +"es-define-property@npm:^1.0.0": + version: 1.0.0 + resolution: "es-define-property@npm:1.0.0" + dependencies: + get-intrinsic: ^1.2.4 + checksum: f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 + languageName: node + linkType: hard + +"es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": + version: 1.3.0 + resolution: "es-errors@npm:1.3.0" + checksum: ec1414527a0ccacd7f15f4a3bc66e215f04f595ba23ca75cdae0927af099b5ec865f9f4d33e9d7e86f512f252876ac77d4281a7871531a50678132429b1271b5 + languageName: node + linkType: hard + "es-get-iterator@npm:^1.0.2": version: 1.1.2 resolution: "es-get-iterator@npm:1.1.2" @@ -30238,6 +30537,26 @@ __metadata: languageName: node linkType: hard +"es-object-atoms@npm:^1.0.0": + version: 1.0.0 + resolution: "es-object-atoms@npm:1.0.0" + dependencies: + es-errors: ^1.3.0 + checksum: 26f0ff78ab93b63394e8403c353842b2272836968de4eafe97656adfb8a7c84b9099bf0fe96ed58f4a4cddc860f6e34c77f91649a58a5daa4a9c40b902744e3c + languageName: node + linkType: hard + +"es-set-tostringtag@npm:^2.0.3": + version: 2.0.3 + resolution: "es-set-tostringtag@npm:2.0.3" + dependencies: + get-intrinsic: ^1.2.4 + has-tostringtag: ^1.0.2 + hasown: ^2.0.1 + checksum: 7227fa48a41c0ce83e0377b11130d324ac797390688135b8da5c28994c0165be8b252e15cd1de41e1325e5a5412511586960213e88f9ab4a5e7d028895db5129 + languageName: node + linkType: hard + "es-shim-unscopables@npm:^1.0.0": version: 1.0.0 resolution: "es-shim-unscopables@npm:1.0.0" @@ -30247,6 +30566,15 @@ __metadata: languageName: node linkType: hard +"es-shim-unscopables@npm:^1.0.2": + version: 1.0.2 + resolution: "es-shim-unscopables@npm:1.0.2" + dependencies: + hasown: ^2.0.0 + checksum: 432bd527c62065da09ed1d37a3f8e623c423683285e6188108286f4a1e8e164a5bcbfbc0051557c7d14633cd2a41ce24c7048e6bbb66a985413fd32f1be72626 + languageName: node + linkType: hard + "es-to-primitive@npm:^1.2.1": version: 1.2.1 resolution: "es-to-primitive@npm:1.2.1" @@ -31028,7 +31356,18 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-node@npm:0.3.6, eslint-import-resolver-node@npm:^0.3.5": +"eslint-import-resolver-node@npm:0.3.9, eslint-import-resolver-node@npm:^0.3.9": + version: 0.3.9 + resolution: "eslint-import-resolver-node@npm:0.3.9" + dependencies: + debug: ^3.2.7 + is-core-module: ^2.13.0 + resolve: ^1.22.4 + checksum: 439b91271236b452d478d0522a44482e8c8540bf9df9bd744062ebb89ab45727a3acd03366a6ba2bdbcde8f9f718bab7fe8db64688aca75acf37e04eafd25e22 + languageName: node + linkType: hard + +"eslint-import-resolver-node@npm:^0.3.5": version: 0.3.6 resolution: "eslint-import-resolver-node@npm:0.3.6" dependencies: @@ -31065,15 +31404,15 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:2.7.4, eslint-module-utils@npm:^2.7.4": - version: 2.7.4 - resolution: "eslint-module-utils@npm:2.7.4" +"eslint-module-utils@npm:2.8.0": + version: 2.8.0 + resolution: "eslint-module-utils@npm:2.8.0" dependencies: debug: ^3.2.7 peerDependenciesMeta: eslint: optional: true - checksum: 5da13645daff145a5c922896b258f8bba560722c3767254e458d894ff5fbb505d6dfd945bffa932a5b0ae06714da2379bd41011c4c20d2d59cc83e23895360f7 + checksum: 74c6dfea7641ebcfe174be61168541a11a14aa8d72e515f5f09af55cd0d0862686104b0524aa4b8e0ce66418a44aa38a94d2588743db5fd07a6b49ffd16921d2 languageName: node linkType: hard @@ -31087,18 +31426,42 @@ __metadata: languageName: node linkType: hard +"eslint-module-utils@npm:^2.7.4": + version: 2.7.4 + resolution: "eslint-module-utils@npm:2.7.4" + dependencies: + debug: ^3.2.7 + peerDependenciesMeta: + eslint: + optional: true + checksum: 5da13645daff145a5c922896b258f8bba560722c3767254e458d894ff5fbb505d6dfd945bffa932a5b0ae06714da2379bd41011c4c20d2d59cc83e23895360f7 + languageName: node + linkType: hard + +"eslint-module-utils@npm:^2.8.0": + version: 2.8.1 + resolution: "eslint-module-utils@npm:2.8.1" + dependencies: + debug: ^3.2.7 + peerDependenciesMeta: + eslint: + optional: true + checksum: 3cecd99b6baf45ffc269167da0f95dcb75e5aa67b93d73a3bab63e2a7eedd9cdd6f188eed048e2f57c1b77db82c9cbf2adac20b512fa70e597d863dd3720170d + languageName: node + linkType: hard + "eslint-plugin-boundaries@npm:^3.1.0": - version: 3.1.0 - resolution: "eslint-plugin-boundaries@npm:3.1.0" + version: 3.4.1 + resolution: "eslint-plugin-boundaries@npm:3.4.1" dependencies: chalk: 4.1.2 - eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.4 - is-core-module: 2.11.0 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.8.0 + is-core-module: 2.13.1 micromatch: 4.0.5 peerDependencies: eslint: ">=6.0.0" - checksum: 046c6cd5b112a9441ac76faef03f596b7865aaea5e35a2072f114dde070b7806ef3906a40e618b669e79332e97824e64df5f6bcb276170f05669562a3113a683 + checksum: 2d50cba4bfc15b3fd5ebb561279fde786526f49541706dc1f00895e5af3d9984da8c93ff68076f9afdf48ba7ef38e2d8d2b727aa450ce7ae870707f66a03eeb9 languageName: node linkType: hard @@ -31117,14 +31480,14 @@ __metadata: linkType: hard "eslint-plugin-functional@npm:^5.0.4": - version: 5.0.5 - resolution: "eslint-plugin-functional@npm:5.0.5" + version: 5.0.8 + resolution: "eslint-plugin-functional@npm:5.0.8" dependencies: "@typescript-eslint/type-utils": ^5.50.0 "@typescript-eslint/utils": ^5.50.0 - deepmerge-ts: ^4.2.2 + deepmerge-ts: ^5.0.0 escape-string-regexp: ^4.0.0 - is-immutable-type: ^1.2.4 + is-immutable-type: ^1.2.5 semver: ^7.3.8 peerDependencies: eslint: ^8.0.0 @@ -31132,11 +31495,11 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: a561c092623da005e01c816539277d51f833ba793562e68238ecc7c4b239ac2effd62c55fbbd82ab2e6035861bd2cd5d84d7cad6a5495801b66b19f9fff440a1 + checksum: e2eaed63cbdfff78dcf0aa3751b36f82e0fe1516c57378a51b547d2988ced330e05f7e1a165ce5a563cdad15ebae27fd2ae17cff2473c18d4d8312cec14a23f5 languageName: node linkType: hard -"eslint-plugin-import@npm:2.27.5, eslint-plugin-import@npm:^2.27.5": +"eslint-plugin-import@npm:2.27.5": version: 2.27.5 resolution: "eslint-plugin-import@npm:2.27.5" dependencies: @@ -31186,6 +31549,33 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-import@npm:^2.27.5": + version: 2.29.1 + resolution: "eslint-plugin-import@npm:2.29.1" + dependencies: + array-includes: ^3.1.7 + array.prototype.findlastindex: ^1.2.3 + array.prototype.flat: ^1.3.2 + array.prototype.flatmap: ^1.3.2 + debug: ^3.2.7 + doctrine: ^2.1.0 + eslint-import-resolver-node: ^0.3.9 + eslint-module-utils: ^2.8.0 + hasown: ^2.0.0 + is-core-module: ^2.13.1 + is-glob: ^4.0.3 + minimatch: ^3.1.2 + object.fromentries: ^2.0.7 + object.groupby: ^1.0.1 + object.values: ^1.1.7 + semver: ^6.3.1 + tsconfig-paths: ^3.15.0 + peerDependencies: + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + checksum: e65159aef808136d26d029b71c8c6e4cb5c628e65e5de77f1eb4c13a379315ae55c9c3afa847f43f4ff9df7e54515c77ffc6489c6a6f81f7dd7359267577468c + languageName: node + linkType: hard + "eslint-plugin-jest@npm:^24.4.0": version: 24.4.0 resolution: "eslint-plugin-jest@npm:24.4.0" @@ -31220,11 +31610,11 @@ __metadata: linkType: hard "eslint-plugin-prefer-arrow-functions@npm:^3.1.4": - version: 3.1.4 - resolution: "eslint-plugin-prefer-arrow-functions@npm:3.1.4" + version: 3.3.2 + resolution: "eslint-plugin-prefer-arrow-functions@npm:3.3.2" peerDependencies: eslint: ">=5.0.0" - checksum: 581f1be4ea056d70aad1866ee16a0def7ecece050e03ff3bc2a6695b8bdca3751d6360fcd0e4efccd0068a0e0557b7ab36586a301afa38957acc8c58d293560c + checksum: b09d8150f50aeee3e01fbd1678faf3333ed0fe68a02c545fa0e2cdc1bbde3937722f755e252ec7697471a0b9e6f7d4664ecf4528e682bb733870e29a22530489 languageName: node linkType: hard @@ -31457,6 +31847,16 @@ __metadata: languageName: node linkType: hard +"eslint-scope@npm:^7.2.2": + version: 7.2.2 + resolution: "eslint-scope@npm:7.2.2" + dependencies: + esrecurse: ^4.3.0 + estraverse: ^5.2.0 + checksum: ec97dbf5fb04b94e8f4c5a91a7f0a6dd3c55e46bfc7bbcd0e3138c3a76977570e02ed89a1810c778dcd72072ff0e9621ba1379b4babe53921d71e2e4486fda3e + languageName: node + linkType: hard + "eslint-template-visitor@npm:^2.3.2": version: 2.3.2 resolution: "eslint-template-visitor@npm:2.3.2" @@ -31527,6 +31927,13 @@ __metadata: languageName: node linkType: hard +"eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 + languageName: node + linkType: hard + "eslint@npm:8.33.0": version: 8.33.0 resolution: "eslint@npm:8.33.0" @@ -31677,24 +32084,26 @@ __metadata: linkType: hard "eslint@npm:^8.33.0": - version: 8.35.0 - resolution: "eslint@npm:8.35.0" + version: 8.57.0 + resolution: "eslint@npm:8.57.0" dependencies: - "@eslint/eslintrc": ^2.0.0 - "@eslint/js": 8.35.0 - "@humanwhocodes/config-array": ^0.11.8 + "@eslint-community/eslint-utils": ^4.2.0 + "@eslint-community/regexpp": ^4.6.1 + "@eslint/eslintrc": ^2.1.4 + "@eslint/js": 8.57.0 + "@humanwhocodes/config-array": ^0.11.14 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 - ajv: ^6.10.0 + "@ungap/structured-clone": ^1.2.0 + ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 debug: ^4.3.2 doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.1.1 - eslint-utils: ^3.0.0 - eslint-visitor-keys: ^3.3.0 - espree: ^9.4.0 + eslint-scope: ^7.2.2 + eslint-visitor-keys: ^3.4.3 + espree: ^9.6.1 esquery: ^1.4.2 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 @@ -31702,27 +32111,23 @@ __metadata: find-up: ^5.0.0 glob-parent: ^6.0.2 globals: ^13.19.0 - grapheme-splitter: ^1.0.4 + graphemer: ^1.4.0 ignore: ^5.2.0 - import-fresh: ^3.0.0 imurmurhash: ^0.1.4 is-glob: ^4.0.0 is-path-inside: ^3.0.3 - js-sdsl: ^4.1.4 js-yaml: ^4.1.0 json-stable-stringify-without-jsonify: ^1.0.1 levn: ^0.4.1 lodash.merge: ^4.6.2 minimatch: ^3.1.2 natural-compare: ^1.4.0 - optionator: ^0.9.1 - regexpp: ^3.2.0 + optionator: ^0.9.3 strip-ansi: ^6.0.1 - strip-json-comments: ^3.1.0 text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 6212173691d90b1bc94dd3d640e1f210374b30c3905fc0a15e501cf71c6ca52aa3d80ea7a9a245adaaed26d6019169e01fb6881b3f2885b188d37069c749308c + checksum: 3a48d7ff85ab420a8447e9810d8087aea5b1df9ef68c9151732b478de698389ee656fd895635b5f2871c89ee5a2652b3f343d11e9db6f8486880374ebc74a2d9 languageName: node linkType: hard @@ -31737,14 +32142,14 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.4.0": - version: 9.4.1 - resolution: "espree@npm:9.4.1" +"espree@npm:^9.4.0, espree@npm:^9.6.0, espree@npm:^9.6.1": + version: 9.6.1 + resolution: "espree@npm:9.6.1" dependencies: - acorn: ^8.8.0 + acorn: ^8.9.0 acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.3.0 - checksum: 4d266b0cf81c7dfe69e542c7df0f246e78d29f5b04dda36e514eb4c7af117ee6cfbd3280e560571ed82ff6c9c3f0003c05b82583fc7a94006db7497c4fe4270e + eslint-visitor-keys: ^3.4.1 + checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 languageName: node linkType: hard @@ -31759,17 +32164,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.5.2": - version: 9.5.2 - resolution: "espree@npm:9.5.2" - dependencies: - acorn: ^8.8.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: 6506289d6eb26471c0b383ee24fee5c8ae9d61ad540be956b3127be5ce3bf687d2ba6538ee5a86769812c7c552a9d8239e8c4d150f9ea056c6d5cbe8399c03c1 - languageName: node - linkType: hard - "esprima@npm:^4.0.0, esprima@npm:^4.0.1, esprima@npm:~4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -33318,6 +33712,18 @@ __metadata: languageName: node linkType: hard +"function.prototype.name@npm:^1.1.6": + version: 1.1.6 + resolution: "function.prototype.name@npm:1.1.6" + dependencies: + call-bind: ^1.0.2 + define-properties: ^1.2.0 + es-abstract: ^1.22.1 + functions-have-names: ^1.2.3 + checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 + languageName: node + linkType: hard + "functional-red-black-tree@npm:^1.0.1": version: 1.0.1 resolution: "functional-red-black-tree@npm:1.0.1" @@ -33495,6 +33901,19 @@ __metadata: languageName: node linkType: hard +"get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": + version: 1.2.4 + resolution: "get-intrinsic@npm:1.2.4" + dependencies: + es-errors: ^1.3.0 + function-bind: ^1.1.2 + has-proto: ^1.0.1 + has-symbols: ^1.0.3 + hasown: ^2.0.0 + checksum: 414e3cdf2c203d1b9d7d33111df746a4512a1aa622770b361dadddf8ed0b5aeb26c560f49ca077e24bfafb0acb55ca908d1f709216ccba33ffc548ec8a79a951 + languageName: node + linkType: hard + "get-nonce@npm:^1.0.0": version: 1.0.1 resolution: "get-nonce@npm:1.0.1" @@ -33632,6 +34051,17 @@ __metadata: languageName: node linkType: hard +"get-symbol-description@npm:^1.0.2": + version: 1.0.2 + resolution: "get-symbol-description@npm:1.0.2" + dependencies: + call-bind: ^1.0.5 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.4 + checksum: e1cb53bc211f9dbe9691a4f97a46837a553c4e7caadd0488dc24ac694db8a390b93edd412b48dcdd0b4bbb4c595de1709effc75fc87c0839deedc6968f5bd973 + languageName: node + linkType: hard + "get-uri@npm:^6.0.1": version: 6.0.1 resolution: "get-uri@npm:6.0.1" @@ -34040,6 +34470,15 @@ __metadata: languageName: node linkType: hard +"globalthis@npm:^1.0.3": + version: 1.0.3 + resolution: "globalthis@npm:1.0.3" + dependencies: + define-properties: ^1.1.3 + checksum: fbd7d760dc464c886d0196166d92e5ffb4c84d0730846d6621a39fbbc068aeeb9c8d1421ad330e94b7bca4bb4ea092f5f21f3d36077812af5d098b4dc006c998 + languageName: node + linkType: hard + "globby@npm:10.0.1": version: 10.0.1 resolution: "globby@npm:10.0.1" @@ -34400,6 +34839,15 @@ __metadata: languageName: node linkType: hard +"has-property-descriptors@npm:^1.0.2": + version: 1.0.2 + resolution: "has-property-descriptors@npm:1.0.2" + dependencies: + es-define-property: ^1.0.0 + checksum: fcbb246ea2838058be39887935231c6d5788babed499d0e9d0cc5737494c48aba4fe17ba1449e0d0fbbb1e36175442faa37f9c427ae357d6ccb1d895fbcd3de3 + languageName: node + linkType: hard + "has-proto@npm:^1.0.1": version: 1.0.1 resolution: "has-proto@npm:1.0.1" @@ -34407,6 +34855,13 @@ __metadata: languageName: node linkType: hard +"has-proto@npm:^1.0.3": + version: 1.0.3 + resolution: "has-proto@npm:1.0.3" + checksum: fe7c3d50b33f50f3933a04413ed1f69441d21d2d2944f81036276d30635cad9279f6b43bc8f32036c31ebdfcf6e731150f46c1907ad90c669ffe9b066c3ba5c4 + languageName: node + linkType: hard + "has-symbols@npm:^1.0.1, has-symbols@npm:^1.0.2": version: 1.0.2 resolution: "has-symbols@npm:1.0.2" @@ -34430,6 +34885,15 @@ __metadata: languageName: node linkType: hard +"has-tostringtag@npm:^1.0.2": + version: 1.0.2 + resolution: "has-tostringtag@npm:1.0.2" + dependencies: + has-symbols: ^1.0.3 + checksum: 999d60bb753ad714356b2c6c87b7fb74f32463b8426e159397da4bde5bca7e598ab1073f4d8d4deafac297f2eb311484cd177af242776bf05f0d11565680468d + languageName: node + linkType: hard + "has-unicode@npm:^2.0.1": version: 2.0.1 resolution: "has-unicode@npm:2.0.1" @@ -34532,6 +34996,15 @@ __metadata: languageName: node linkType: hard +"hasown@npm:^2.0.1, hasown@npm:^2.0.2": + version: 2.0.2 + resolution: "hasown@npm:2.0.2" + dependencies: + function-bind: ^1.1.2 + checksum: e8516f776a15149ca6c6ed2ae3110c417a00b62260e222590e54aa367cbcd6ed99122020b37b7fbdf05748df57b265e70095d7bf35a47660587619b15ffb93db + languageName: node + linkType: hard + "hast-to-hyperscript@npm:^9.0.0": version: 9.0.1 resolution: "hast-to-hyperscript@npm:9.0.1" @@ -35562,6 +36035,17 @@ __metadata: languageName: node linkType: hard +"internal-slot@npm:^1.0.7": + version: 1.0.7 + resolution: "internal-slot@npm:1.0.7" + dependencies: + es-errors: ^1.3.0 + hasown: ^2.0.0 + side-channel: ^1.0.4 + checksum: cadc5eea5d7d9bc2342e93aae9f31f04c196afebb11bde97448327049f492cd7081e18623ae71388aac9cd237b692ca3a105be9c68ac39c1dec679d7409e33eb + languageName: node + linkType: hard + "internmap@npm:1 - 2": version: 2.0.3 resolution: "internmap@npm:2.0.3" @@ -35723,6 +36207,16 @@ __metadata: languageName: node linkType: hard +"is-array-buffer@npm:^3.0.4": + version: 3.0.4 + resolution: "is-array-buffer@npm:3.0.4" + dependencies: + call-bind: ^1.0.2 + get-intrinsic: ^1.2.1 + checksum: e4e3e6ef0ff2239e75371d221f74bc3c26a03564a22efb39f6bb02609b598917ddeecef4e8c877df2a25888f247a98198959842a5e73236bc7f22cabdf6351a7 + languageName: node + linkType: hard + "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" @@ -35831,7 +36325,16 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:2.11.0, is-core-module@npm:^2.11.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": +"is-core-module@npm:2.13.1, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1": + version: 2.13.1 + resolution: "is-core-module@npm:2.13.1" + dependencies: + hasown: ^2.0.0 + checksum: 256559ee8a9488af90e4bad16f5583c6d59e92f0742e9e8bb4331e758521ee86b810b93bae44f390766ffbc518a0488b18d9dab7da9a5ff997d499efc9403f7c + languageName: node + linkType: hard + +"is-core-module@npm:^2.11.0, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": version: 2.11.0 resolution: "is-core-module@npm:2.11.0" dependencies: @@ -35876,6 +36379,15 @@ __metadata: languageName: node linkType: hard +"is-data-view@npm:^1.0.1": + version: 1.0.1 + resolution: "is-data-view@npm:1.0.1" + dependencies: + is-typed-array: ^1.1.13 + checksum: 4ba4562ac2b2ec005fefe48269d6bd0152785458cd253c746154ffb8a8ab506a29d0cfb3b74af87513843776a88e4981ae25c89457bf640a33748eab1a7216b5 + languageName: node + linkType: hard + "is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": version: 1.0.5 resolution: "is-date-object@npm:1.0.5" @@ -36048,14 +36560,15 @@ __metadata: languageName: node linkType: hard -"is-immutable-type@npm:^1.2.4": - version: 1.2.4 - resolution: "is-immutable-type@npm:1.2.4" +"is-immutable-type@npm:^1.2.5": + version: 1.2.9 + resolution: "is-immutable-type@npm:1.2.9" + dependencies: + "@typescript-eslint/type-utils": ^5.55.0 peerDependencies: - "@typescript-eslint/type-utils": ">=5.30.5" - "@typescript-eslint/utils": ">=5.30.5" + eslint: "*" typescript: ">=4.7.4" - checksum: a5601bc35e5e0a4155ef92a9ba8229756faf5b61b1db23e37fdc9b3d33c031553e938a53d0c833fa03be21f46ad11bc44d20a72751fbfa4f88ba083aa609a369 + checksum: 8403d766d8141f4b3c0e678363b5333581a7aa12e7be092842f70999cc33b48e4b4a1e022a40af5b03d7442e2498bf92ad26db5bc7a257a94bba094f0d74fe81 languageName: node linkType: hard @@ -36131,6 +36644,13 @@ __metadata: languageName: node linkType: hard +"is-negative-zero@npm:^2.0.3": + version: 2.0.3 + resolution: "is-negative-zero@npm:2.0.3" + checksum: c1e6b23d2070c0539d7b36022d5a94407132411d01aba39ec549af824231f3804b1aea90b5e4e58e807a65d23ceb538ed6e355ce76b267bdd86edb757ffcbdcd + languageName: node + linkType: hard + "is-npm@npm:^4.0.0": version: 4.0.0 resolution: "is-npm@npm:4.0.0" @@ -36330,6 +36850,15 @@ __metadata: languageName: node linkType: hard +"is-shared-array-buffer@npm:^1.0.3": + version: 1.0.3 + resolution: "is-shared-array-buffer@npm:1.0.3" + dependencies: + call-bind: ^1.0.7 + checksum: a4fff602c309e64ccaa83b859255a43bb011145a42d3f56f67d9268b55bc7e6d98a5981a1d834186ad3105d6739d21547083fe7259c76c0468483fc538e716d8 + languageName: node + linkType: hard + "is-stream@npm:^1.1.0": version: 1.1.0 resolution: "is-stream@npm:1.1.0" @@ -36387,6 +36916,15 @@ __metadata: languageName: node linkType: hard +"is-typed-array@npm:^1.1.13": + version: 1.1.13 + resolution: "is-typed-array@npm:1.1.13" + dependencies: + which-typed-array: ^1.1.14 + checksum: 150f9ada183a61554c91e1c4290086d2c100b0dff45f60b028519be72a8db964da403c48760723bf5253979b8dffe7b544246e0e5351dcd05c5fdb1dcc1dc0f0 + languageName: node + linkType: hard + "is-typed-array@npm:^1.1.3, is-typed-array@npm:^1.1.9": version: 1.1.9 resolution: "is-typed-array@npm:1.1.9" @@ -38514,7 +39052,7 @@ __metadata: languageName: node linkType: hard -"json5@npm:^1.0.1": +"json5@npm:^1.0.1, json5@npm:^1.0.2": version: 1.0.2 resolution: "json5@npm:1.0.2" dependencies: @@ -42268,6 +42806,13 @@ __metadata: languageName: node linkType: hard +"object-inspect@npm:^1.13.1": + version: 1.13.1 + resolution: "object-inspect@npm:1.13.1" + checksum: 7d9fa9221de3311dcb5c7c307ee5dc011cdd31dc43624b7c184b3840514e118e05ef0002be5388304c416c0eb592feb46e983db12577fc47e47d5752fbbfb61f + languageName: node + linkType: hard + "object-is@npm:^1.0.1, object-is@npm:^1.1.5": version: 1.1.5 resolution: "object-is@npm:1.1.5" @@ -42318,6 +42863,18 @@ __metadata: languageName: node linkType: hard +"object.assign@npm:^4.1.5": + version: 4.1.5 + resolution: "object.assign@npm:4.1.5" + dependencies: + call-bind: ^1.0.5 + define-properties: ^1.2.1 + has-symbols: ^1.0.3 + object-keys: ^1.1.1 + checksum: f9aeac0541661370a1fc86e6a8065eb1668d3e771f7dbb33ee54578201336c057b21ee61207a186dd42db0c62201d91aac703d20d12a79fc79c353eed44d4e25 + languageName: node + linkType: hard + "object.entries@npm:^1.1.0, object.entries@npm:^1.1.4": version: 1.1.4 resolution: "object.entries@npm:1.1.4" @@ -42352,14 +42909,15 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.5": - version: 2.0.6 - resolution: "object.fromentries@npm:2.0.6" +"object.fromentries@npm:^2.0.5, object.fromentries@npm:^2.0.7": + version: 2.0.8 + resolution: "object.fromentries@npm:2.0.8" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: 453c6d694180c0c30df451b60eaf27a5b9bca3fb43c37908fd2b78af895803dc631242bcf05582173afa40d8d0e9c96e16e8874b39471aa53f3ac1f98a085d85 + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + checksum: 29b2207a2db2782d7ced83f93b3ff5d425f901945f3665ffda1821e30a7253cd1fd6b891a64279976098137ddfa883d748787a6fea53ecdb51f8df8b8cec0ae1 languageName: node linkType: hard @@ -42374,13 +42932,25 @@ __metadata: languageName: node linkType: hard +"object.groupby@npm:^1.0.1": + version: 1.0.3 + resolution: "object.groupby@npm:1.0.3" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + checksum: 0d30693ca3ace29720bffd20b3130451dca7a56c612e1926c0a1a15e4306061d84410bdb1456be2656c5aca53c81b7a3661eceaa362db1bba6669c2c9b6d1982 + languageName: node + linkType: hard + "object.hasown@npm:^1.1.1": - version: 1.1.2 - resolution: "object.hasown@npm:1.1.2" + version: 1.1.4 + resolution: "object.hasown@npm:1.1.4" dependencies: - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - checksum: b936572536db0cdf38eb30afd2f1026a8b6f2cc5d2c4497c9d9bbb01eaf3e980dead4fd07580cfdd098e6383e5a9db8212d3ea0c6bdd2b5e68c60aa7e3b45566 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-object-atoms: ^1.0.0 + checksum: bc46eb5ca22106fcd07aab1411508c2c68b7565fe8fb272f166fb9bf203972e8b5c86a5a4b2c86204beead0626a7a4119d32cefbaf7c5dd57b400bf9e6363cb6 languageName: node linkType: hard @@ -42404,7 +42974,18 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.5, object.values@npm:^1.1.6": +"object.values@npm:^1.1.5, object.values@npm:^1.1.7": + version: 1.2.0 + resolution: "object.values@npm:1.2.0" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: 51fef456c2a544275cb1766897f34ded968b22adfc13ba13b5e4815fdaf4304a90d42a3aee114b1f1ede048a4890381d47a5594d84296f2767c6a0364b9da8fa + languageName: node + linkType: hard + +"object.values@npm:^1.1.6": version: 1.1.6 resolution: "object.values@npm:1.1.6" dependencies: @@ -42559,6 +43140,20 @@ __metadata: languageName: node linkType: hard +"optionator@npm:^0.9.3": + version: 0.9.3 + resolution: "optionator@npm:0.9.3" + dependencies: + "@aashutoshrathi/word-wrap": ^1.2.3 + deep-is: ^0.1.3 + fast-levenshtein: ^2.0.6 + levn: ^0.4.1 + prelude-ls: ^1.2.1 + type-check: ^0.4.0 + checksum: 09281999441f2fe9c33a5eeab76700795365a061563d66b098923eb719251a42bdbe432790d35064d0816ead9296dbeb1ad51a733edf4167c96bd5d0882e428a + languageName: node + linkType: hard + "ora@npm:4.0.3": version: 4.0.3 resolution: "ora@npm:4.0.3" @@ -43589,6 +44184,13 @@ __metadata: languageName: node linkType: hard +"possible-typed-array-names@npm:^1.0.0": + version: 1.0.0 + resolution: "possible-typed-array-names@npm:1.0.0" + checksum: b32d403ece71e042385cc7856385cecf1cd8e144fa74d2f1de40d1e16035dba097bc189715925e79b67bdd1472796ff168d3a90d296356c9c94d272d5b95f3ae + languageName: node + linkType: hard + "postcss-calc@npm:^8.0.0": version: 8.0.0 resolution: "postcss-calc@npm:8.0.0" @@ -46958,7 +47560,7 @@ __metadata: languageName: node linkType: hard -"regexp-tree@npm:^0.1.11": +"regexp-tree@npm:^0.1.11, regexp-tree@npm:^0.1.24": version: 0.1.27 resolution: "regexp-tree@npm:0.1.27" bin: @@ -46976,15 +47578,6 @@ __metadata: languageName: node linkType: hard -"regexp-tree@npm:^0.1.24": - version: 0.1.24 - resolution: "regexp-tree@npm:0.1.24" - bin: - regexp-tree: bin/regexp-tree - checksum: 5807013289d9205288d665e0f8d8cff94843dfd55fdedd1833eb9d9bbd07188a37dfa02942ec5cdc671180037f715148fac1ba6f18fd6be4268e5a8feb49d340 - languageName: node - linkType: hard - "regexp.prototype.flags@npm:^1.3.1": version: 1.3.1 resolution: "regexp.prototype.flags@npm:1.3.1" @@ -47017,6 +47610,18 @@ __metadata: languageName: node linkType: hard +"regexp.prototype.flags@npm:^1.5.2": + version: 1.5.2 + resolution: "regexp.prototype.flags@npm:1.5.2" + dependencies: + call-bind: ^1.0.6 + define-properties: ^1.2.1 + es-errors: ^1.3.0 + set-function-name: ^2.0.1 + checksum: d7f333667d5c564e2d7a97c56c3075d64c722c9bb51b2b4df6822b2e8096d623a5e63088fb4c83df919b6951ef8113841de8b47de7224872fa6838bc5d8a7d64 + languageName: node + linkType: hard + "regexpp@npm:^3.1.0, regexpp@npm:^3.2.0": version: 3.2.0 resolution: "regexpp@npm:3.2.0" @@ -47478,6 +48083,19 @@ __metadata: languageName: node linkType: hard +"resolve@npm:^1.22.4": + version: 1.22.8 + resolution: "resolve@npm:1.22.8" + dependencies: + is-core-module: ^2.13.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: f8a26958aa572c9b064562750b52131a37c29d072478ea32e129063e2da7f83e31f7f11e7087a18225a8561cfe8d2f0df9dbea7c9d331a897571c0a2527dbb4c + languageName: node + linkType: hard + "resolve@npm:^2.0.0-next.3": version: 2.0.0-next.3 resolution: "resolve@npm:2.0.0-next.3" @@ -47511,6 +48129,19 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@^1.22.4#~builtin": + version: 1.22.8 + resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin::version=1.22.8&hash=c3c19d" + dependencies: + is-core-module: ^2.13.0 + path-parse: ^1.0.7 + supports-preserve-symlinks-flag: ^1.0.0 + bin: + resolve: bin/resolve + checksum: 5479b7d431cacd5185f8db64bfcb7286ae5e31eb299f4c4f404ad8aa6098b77599563ac4257cb2c37a42f59dfc06a1bec2bcf283bb448f319e37f0feb9a09847 + languageName: node + linkType: hard + "resolve@patch:resolve@^2.0.0-next.3#~builtin": version: 2.0.0-next.3 resolution: "resolve@patch:resolve@npm%3A2.0.0-next.3#~builtin::version=2.0.0-next.3&hash=c3c19d" @@ -48027,6 +48658,18 @@ __metadata: languageName: node linkType: hard +"safe-array-concat@npm:^1.1.2": + version: 1.1.2 + resolution: "safe-array-concat@npm:1.1.2" + dependencies: + call-bind: ^1.0.7 + get-intrinsic: ^1.2.4 + has-symbols: ^1.0.3 + isarray: ^2.0.5 + checksum: a3b259694754ddfb73ae0663829e396977b99ff21cbe8607f35a469655656da8e271753497e59da8a7575baa94d2e684bea3e10ddd74ba046c0c9b4418ffa0c4 + languageName: node + linkType: hard + "safe-buffer@npm:5.1.1": version: 5.1.1 resolution: "safe-buffer@npm:5.1.1" @@ -48066,6 +48709,17 @@ __metadata: languageName: node linkType: hard +"safe-regex-test@npm:^1.0.3": + version: 1.0.3 + resolution: "safe-regex-test@npm:1.0.3" + dependencies: + call-bind: ^1.0.6 + es-errors: ^1.3.0 + is-regex: ^1.1.4 + checksum: 6c7d392ff1ae7a3ae85273450ed02d1d131f1d2c76e177d6b03eb88e6df8fa062639070e7d311802c1615f351f18dc58f9454501c58e28d5ffd9b8f502ba6489 + languageName: node + linkType: hard + "safe-regex@npm:^1.1.0": version: 1.1.0 resolution: "safe-regex@npm:1.1.0" @@ -48612,6 +49266,20 @@ __metadata: languageName: node linkType: hard +"set-function-length@npm:^1.2.1": + version: 1.2.2 + resolution: "set-function-length@npm:1.2.2" + dependencies: + define-data-property: ^1.1.4 + es-errors: ^1.3.0 + function-bind: ^1.1.2 + get-intrinsic: ^1.2.4 + gopd: ^1.0.1 + has-property-descriptors: ^1.0.2 + checksum: a8248bdacdf84cb0fab4637774d9fb3c7a8e6089866d04c817583ff48e14149c87044ce683d7f50759a8c50fb87c7a7e173535b06169c87ef76f5fb276dfff72 + languageName: node + linkType: hard + "set-function-name@npm:^2.0.0": version: 2.0.1 resolution: "set-function-name@npm:2.0.1" @@ -48623,6 +49291,18 @@ __metadata: languageName: node linkType: hard +"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": + version: 2.0.2 + resolution: "set-function-name@npm:2.0.2" + dependencies: + define-data-property: ^1.1.4 + es-errors: ^1.3.0 + functions-have-names: ^1.2.3 + has-property-descriptors: ^1.0.2 + checksum: d6229a71527fd0404399fc6227e0ff0652800362510822a291925c9d7b48a1ca1a468b11b281471c34cd5a2da0db4f5d7ff315a61d26655e77f6e971e6d0c80f + languageName: node + linkType: hard + "set-value@npm:^2.0.0, set-value@npm:^2.0.1": version: 2.0.1 resolution: "set-value@npm:2.0.1" @@ -48779,6 +49459,18 @@ __metadata: languageName: node linkType: hard +"side-channel@npm:^1.0.6": + version: 1.0.6 + resolution: "side-channel@npm:1.0.6" + dependencies: + call-bind: ^1.0.7 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.4 + object-inspect: ^1.13.1 + checksum: bfc1afc1827d712271453e91b7cd3878ac0efd767495fd4e594c4c2afaa7963b7b510e249572bfd54b0527e66e4a12b61b80c061389e129755f34c493aad9b97 + languageName: node + linkType: hard + "siginfo@npm:^2.0.0": version: 2.0.0 resolution: "siginfo@npm:2.0.0" @@ -49904,18 +50596,22 @@ __metadata: linkType: hard "string.prototype.matchall@npm:^4.0.7": - version: 4.0.8 - resolution: "string.prototype.matchall@npm:4.0.8" - dependencies: - call-bind: ^1.0.2 - define-properties: ^1.1.4 - es-abstract: ^1.20.4 - get-intrinsic: ^1.1.3 + version: 4.0.11 + resolution: "string.prototype.matchall@npm:4.0.11" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.2 + es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.4 + gopd: ^1.0.1 has-symbols: ^1.0.3 - internal-slot: ^1.0.3 - regexp.prototype.flags: ^1.4.3 - side-channel: ^1.0.4 - checksum: 952da3a818de42ad1c10b576140a5e05b4de7b34b8d9dbf00c3ac8c1293e9c0f533613a39c5cda53e0a8221f2e710bc2150e730b1c2278d60004a8a35726efb6 + internal-slot: ^1.0.7 + regexp.prototype.flags: ^1.5.2 + set-function-name: ^2.0.2 + side-channel: ^1.0.6 + checksum: 6ac6566ed065c0c8489c91156078ca077db8ff64d683fda97ae652d00c52dfa5f39aaab0a710d8243031a857fd2c7c511e38b45524796764d25472d10d7075ae languageName: node linkType: hard @@ -49941,6 +50637,18 @@ __metadata: languageName: node linkType: hard +"string.prototype.trim@npm:^1.2.9": + version: 1.2.9 + resolution: "string.prototype.trim@npm:1.2.9" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-abstract: ^1.23.0 + es-object-atoms: ^1.0.0 + checksum: ea2df6ec1e914c9d4e2dc856fa08228e8b1be59b59e50b17578c94a66a176888f417264bb763d4aac638ad3b3dad56e7a03d9317086a178078d131aa293ba193 + languageName: node + linkType: hard + "string.prototype.trimend@npm:^1.0.4": version: 1.0.4 resolution: "string.prototype.trimend@npm:1.0.4" @@ -49973,6 +50681,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimend@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimend@npm:1.0.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: cc3bd2de08d8968a28787deba9a3cb3f17ca5f9f770c91e7e8fa3e7d47f079bad70fadce16f05dda9f261788be2c6e84a942f618c3bed31e42abc5c1084f8dfd + languageName: node + linkType: hard + "string.prototype.trimstart@npm:^1.0.4": version: 1.0.4 resolution: "string.prototype.trimstart@npm:1.0.4" @@ -50005,6 +50724,17 @@ __metadata: languageName: node linkType: hard +"string.prototype.trimstart@npm:^1.0.8": + version: 1.0.8 + resolution: "string.prototype.trimstart@npm:1.0.8" + dependencies: + call-bind: ^1.0.7 + define-properties: ^1.2.1 + es-object-atoms: ^1.0.0 + checksum: df1007a7f580a49d692375d996521dc14fd103acda7f3034b3c558a60b82beeed3a64fa91e494e164581793a8ab0ae2f59578a49896a7af6583c1f20472bce96 + languageName: node + linkType: hard + "string_decoder@npm:^1.0.0, string_decoder@npm:^1.1.1, string_decoder@npm:^1.3.0": version: 1.3.0 resolution: "string_decoder@npm:1.3.0" @@ -51614,6 +52344,18 @@ __metadata: languageName: node linkType: hard +"tsconfig-paths@npm:^3.15.0": + version: 3.15.0 + resolution: "tsconfig-paths@npm:3.15.0" + dependencies: + "@types/json5": ^0.0.29 + json5: ^1.0.2 + minimist: ^1.2.6 + strip-bom: ^3.0.0 + checksum: 59f35407a390d9482b320451f52a411a256a130ff0e7543d18c6f20afab29ac19fbe55c360a93d6476213cc335a4d76ce90f67df54c4e9037f7d240920832201 + languageName: node + linkType: hard + "tsconfig-paths@npm:^3.9.0": version: 3.10.1 resolution: "tsconfig-paths@npm:3.10.1" @@ -51880,6 +52622,58 @@ __metadata: languageName: node linkType: hard +"typed-array-buffer@npm:^1.0.2": + version: 1.0.2 + resolution: "typed-array-buffer@npm:1.0.2" + dependencies: + call-bind: ^1.0.7 + es-errors: ^1.3.0 + is-typed-array: ^1.1.13 + checksum: 02ffc185d29c6df07968272b15d5319a1610817916ec8d4cd670ded5d1efe72901541ff2202fcc622730d8a549c76e198a2f74e312eabbfb712ed907d45cbb0b + languageName: node + linkType: hard + +"typed-array-byte-length@npm:^1.0.1": + version: 1.0.1 + resolution: "typed-array-byte-length@npm:1.0.1" + dependencies: + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-proto: ^1.0.3 + is-typed-array: ^1.1.13 + checksum: f65e5ecd1cf76b1a2d0d6f631f3ea3cdb5e08da106c6703ffe687d583e49954d570cc80434816d3746e18be889ffe53c58bf3e538081ea4077c26a41055b216d + languageName: node + linkType: hard + +"typed-array-byte-offset@npm:^1.0.2": + version: 1.0.2 + resolution: "typed-array-byte-offset@npm:1.0.2" + dependencies: + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-proto: ^1.0.3 + is-typed-array: ^1.1.13 + checksum: c8645c8794a621a0adcc142e0e2c57b1823bbfa4d590ad2c76b266aa3823895cf7afb9a893bf6685e18454ab1b0241e1a8d885a2d1340948efa4b56add4b5f67 + languageName: node + linkType: hard + +"typed-array-length@npm:^1.0.6": + version: 1.0.6 + resolution: "typed-array-length@npm:1.0.6" + dependencies: + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-proto: ^1.0.3 + is-typed-array: ^1.1.13 + possible-typed-array-names: ^1.0.0 + checksum: f0315e5b8f0168c29d390ff410ad13e4d511c78e6006df4a104576844812ee447fcc32daab1f3a76c9ef4f64eff808e134528b5b2439de335586b392e9750e5c + languageName: node + linkType: hard + "typed-assert@npm:^1.0.8": version: 1.0.9 resolution: "typed-assert@npm:1.0.9" @@ -51963,16 +52757,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:4.9.5, typescript@npm:^4.9.5": - version: 4.9.5 - resolution: "typescript@npm:4.9.5" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: ee000bc26848147ad423b581bd250075662a354d84f0e06eb76d3b892328d8d4440b7487b5a83e851b12b255f55d71835b008a66cbf8f255a11e4400159237db - languageName: node - linkType: hard - "typescript@npm:^3.5.3": version: 3.9.10 resolution: "typescript@npm:3.9.10" @@ -51993,13 +52777,13 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@4.9.5#~builtin, typescript@patch:typescript@^4.9.5#~builtin": +"typescript@npm:^4.9.5": version: 4.9.5 - resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin::version=4.9.5&hash=289587" + resolution: "typescript@npm:4.9.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 1f8f3b6aaea19f0f67cba79057674ba580438a7db55057eb89cc06950483c5d632115c14077f6663ea76fd09fce3c190e6414bb98582ec80aa5a4eaf345d5b68 + checksum: ee000bc26848147ad423b581bd250075662a354d84f0e06eb76d3b892328d8d4440b7487b5a83e851b12b255f55d71835b008a66cbf8f255a11e4400159237db languageName: node linkType: hard @@ -52023,6 +52807,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@^4.9.5#~builtin": + version: 4.9.5 + resolution: "typescript@patch:typescript@npm%3A4.9.5#~builtin::version=4.9.5&hash=289587" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 1f8f3b6aaea19f0f67cba79057674ba580438a7db55057eb89cc06950483c5d632115c14077f6663ea76fd09fce3c190e6414bb98582ec80aa5a4eaf345d5b68 + languageName: node + linkType: hard + "typeson-registry@npm:^1.0.0-alpha.20": version: 1.0.0-alpha.39 resolution: "typeson-registry@npm:1.0.0-alpha.39" @@ -54273,6 +55067,19 @@ __metadata: languageName: node linkType: hard +"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15": + version: 1.1.15 + resolution: "which-typed-array@npm:1.1.15" + dependencies: + available-typed-arrays: ^1.0.7 + call-bind: ^1.0.7 + for-each: ^0.3.3 + gopd: ^1.0.1 + has-tostringtag: ^1.0.2 + checksum: 65227dcbfadf5677aacc43ec84356d17b5500cb8b8753059bb4397de5cd0c2de681d24e1a7bd575633f976a95f88233abfd6549c2105ef4ebd58af8aa1807c75 + languageName: node + linkType: hard + "which-typed-array@npm:^1.1.2": version: 1.1.8 resolution: "which-typed-array@npm:1.1.8" From 11eb94c753e065f4946fb53e1750cdd36dfaa951 Mon Sep 17 00:00:00 2001 From: Piotr Czeglik Date: Fri, 17 May 2024 10:11:57 +0200 Subject: [PATCH 2/4] ci: configure translation package --- .github/workflows/ci.yml | 18 ++++++++++++++++++ packages/translation/package.json | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e912c3cb..1d667bfa1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,6 +60,12 @@ jobs: DIR: packages/cardano NAME: packages-cardano + - name: Build translation + uses: ./.github/actions/build/package + with: + DIR: packages/translation + NAME: packages-translation + - name: Build core uses: ./.github/actions/build/package with: @@ -110,6 +116,12 @@ jobs: name: packages-cardano path: packages/cardano/dist + - name: Download packages-translation + uses: actions/download-artifact@v4 + with: + name: packages-translation + path: packages/translation/dist + - name: Download packages-core uses: actions/download-artifact@v4 with: @@ -168,6 +180,12 @@ jobs: name: packages-cardano path: packages/cardano/dist + - name: Download packages-translation + uses: actions/download-artifact@v4 + with: + name: packages-translation + path: packages/translation/dist + - name: Download packages-core uses: actions/download-artifact@v4 with: diff --git a/packages/translation/package.json b/packages/translation/package.json index 423075ee5..b1ad1df2c 100644 --- a/packages/translation/package.json +++ b/packages/translation/package.json @@ -18,10 +18,11 @@ "scripts": { "build": "run -T rollup -c rollup.config.js", "cleanup": "yarn exec rm -rf dist node_modules", - "format": "yarn prettier --write '**/*.(tsx|ts)'", + "format": "yarn prettier --write .", + "format-check": "yarn prettier --check .", "lint": "eslint .", "test": "echo \"@lace/ui: no test specified\"", - "typecheck": "tsc --noEmit", + "type-check": "tsc --noEmit", "watch": "yarn build --watch" }, "dependencies": { From aa4b555bcf8477ae05ee6aa517787520f7b05ac3 Mon Sep 17 00:00:00 2001 From: Piotr Czeglik Date: Fri, 17 May 2024 10:28:59 +0200 Subject: [PATCH 3/4] chore: staking disable source map --- packages/staking/tsup.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/staking/tsup.config.ts b/packages/staking/tsup.config.ts index dce41311b..f0138de66 100644 --- a/packages/staking/tsup.config.ts +++ b/packages/staking/tsup.config.ts @@ -26,7 +26,7 @@ const tsupConfig = defineConfig([ }, name: 'lace/staking', outDir: './dist', - sourcemap: true, + sourcemap: false, }, ]); From 886700e4d8104bece3e439d2df5989f2e4d7614e Mon Sep 17 00:00:00 2001 From: Piotr Czeglik Date: Fri, 17 May 2024 12:09:21 +0200 Subject: [PATCH 4/4] ci: update repository settings --- .github/settings.yml | 4 ++++ .github/workflows/chromatic-core.yml | 1 + .github/workflows/chromatic-staking.yml | 1 + .github/workflows/chromatic-ui.yml | 1 + 4 files changed, 7 insertions(+) diff --git a/.github/settings.yml b/.github/settings.yml index 43ea86096..18fd775bd 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -92,8 +92,12 @@ branches: # Required. The list of status checks to require in order to merge into this branch checks: - context: block-fixup + - context: Prepare - context: Unit tests - context: Smoke tests + - context: Chromatic Core + - context: Chromatic Staking + - context: Chromatic UI # Required. Enforce all configured restrictions for administrators. Set to true to enforce required status checks for repository administrators. Set to null to disable. enforce_admins: # Prevent merge commits from being pushed to matching branches diff --git a/.github/workflows/chromatic-core.yml b/.github/workflows/chromatic-core.yml index 5c2c098d7..24c6d3298 100644 --- a/.github/workflows/chromatic-core.yml +++ b/.github/workflows/chromatic-core.yml @@ -17,6 +17,7 @@ concurrency: jobs: chromatic-deployment: + name: Chromatic Core if: github.event.pull_request.draft == false runs-on: ubuntu-22.04 steps: diff --git a/.github/workflows/chromatic-staking.yml b/.github/workflows/chromatic-staking.yml index b57556a92..1e645cbc9 100644 --- a/.github/workflows/chromatic-staking.yml +++ b/.github/workflows/chromatic-staking.yml @@ -17,6 +17,7 @@ concurrency: jobs: chromatic-deployment: + name: Chromatic Staking if: github.event.pull_request.draft == false runs-on: ubuntu-22.04 steps: diff --git a/.github/workflows/chromatic-ui.yml b/.github/workflows/chromatic-ui.yml index b43bd5e27..0f640e0cf 100644 --- a/.github/workflows/chromatic-ui.yml +++ b/.github/workflows/chromatic-ui.yml @@ -17,6 +17,7 @@ concurrency: jobs: chromatic-deployment: + name: Chromatic UI if: github.event.pull_request.draft == false runs-on: ubuntu-22.04 steps: