From 49d779bafc65a4d04da98f776a58e53897147468 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:47:56 +0000 Subject: [PATCH 1/3] deps: bump aegir from 41.3.5 to 42.2.3 Bumps [aegir](https://github.com/ipfs/aegir) from 41.3.5 to 42.2.3. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](https://github.com/ipfs/aegir/compare/v41.3.5...v42.2.3) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- packages/libp2p-daemon-client/package.json | 2 +- packages/libp2p-daemon-protocol/package.json | 2 +- packages/libp2p-daemon-server/package.json | 2 +- packages/libp2p-daemon/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cac8c1bd..f6d0d44b 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "release": "npm run docs:no-publish && aegir run release && npm run docs" }, "dependencies": { - "aegir": "^41.1.6" + "aegir": "^42.2.3" }, "workspaces": [ "packages/*" diff --git a/packages/libp2p-daemon-client/package.json b/packages/libp2p-daemon-client/package.json index 1d116472..ff1c6773 100644 --- a/packages/libp2p-daemon-client/package.json +++ b/packages/libp2p-daemon-client/package.json @@ -150,7 +150,7 @@ "devDependencies": { "@libp2p/daemon-server": "^7.0.0", "@libp2p/interface-compliance-tests": "^5.0.0", - "aegir": "^41.1.6", + "aegir": "^42.2.3", "it-all": "^3.0.1", "it-pipe": "^3.0.1", "sinon": "^17.0.1", diff --git a/packages/libp2p-daemon-protocol/package.json b/packages/libp2p-daemon-protocol/package.json index 3ad6d5db..e5df5879 100644 --- a/packages/libp2p-daemon-protocol/package.json +++ b/packages/libp2p-daemon-protocol/package.json @@ -166,7 +166,7 @@ "uint8arraylist": "^2.4.3" }, "devDependencies": { - "aegir": "^41.1.6", + "aegir": "^42.2.3", "protons": "^7.0.2" } } diff --git a/packages/libp2p-daemon-server/package.json b/packages/libp2p-daemon-server/package.json index d2732b41..c292a035 100644 --- a/packages/libp2p-daemon-server/package.json +++ b/packages/libp2p-daemon-server/package.json @@ -157,7 +157,7 @@ "uint8arrays": "^5.0.1" }, "devDependencies": { - "aegir": "^41.1.6", + "aegir": "^42.2.3", "sinon-ts": "^2.0.0" } } diff --git a/packages/libp2p-daemon/package.json b/packages/libp2p-daemon/package.json index cc7fc328..bf5bc18f 100644 --- a/packages/libp2p-daemon/package.json +++ b/packages/libp2p-daemon/package.json @@ -144,7 +144,7 @@ "yargs-promise": "^1.1.0" }, "devDependencies": { - "aegir": "^41.1.6", + "aegir": "^42.2.3", "sinon": "^17.0.1" } } From fa1aaefe948fc85a6ea3856d6ee624ee733c6556 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 7 Feb 2024 14:48:51 +0100 Subject: [PATCH 2/3] chore: update project --- .github/dependabot.yml | 2 +- .github/workflows/js-test-and-release.yml | 195 +------------------ package.json | 94 ++++++++- packages/libp2p-daemon-client/package.json | 114 ++--------- packages/libp2p-daemon-protocol/package.json | 104 +--------- packages/libp2p-daemon-server/package.json | 120 ++---------- packages/libp2p-daemon/package.json | 94 +-------- 7 files changed, 140 insertions(+), 583 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0bc3b42d..d401a774 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,7 @@ updates: schedule: interval: daily time: "10:00" - open-pull-requests-limit: 10 + open-pull-requests-limit: 20 commit-message: prefix: "deps" prefix-development: "deps(dev)" diff --git a/.github/workflows/js-test-and-release.yml b/.github/workflows/js-test-and-release.yml index 1595ef12..1d7ff79c 100644 --- a/.github/workflows/js-test-and-release.yml +++ b/.github/workflows/js-test-and-release.yml @@ -9,196 +9,19 @@ on: permissions: contents: write + id-token: write packages: write + pull-requests: write concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }} cancel-in-progress: true jobs: - check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present lint - - run: npm run --if-present dep-check - - run: npm run --if-present doc-check - - test-node: - needs: check - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest, ubuntu-latest, macos-latest] - node: [lts/*] - fail-fast: true - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node }} - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:node - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: node - files: .coverage/*,packages/*/.coverage/* - - test-chrome: - needs: check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:chrome - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: chrome - files: .coverage/*,packages/*/.coverage/* - - test-chrome-webworker: - needs: check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:chrome-webworker - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: chrome-webworker - files: .coverage/*,packages/*/.coverage/* - - test-firefox: - needs: check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:firefox - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: firefox - files: .coverage/*,packages/*/.coverage/* - - test-firefox-webworker: - needs: check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:firefox-webworker - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: firefox-webworker - files: .coverage/*,packages/*/.coverage/* - - test-webkit: - needs: check - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest] - node: [lts/*] - fail-fast: true - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:webkit - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: webkit - files: .coverage/*,packages/*/.coverage/* - - test-webkit-webworker: - needs: check - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macos-latest] - node: [lts/*] - fail-fast: true - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npm run --if-present test:webkit-webworker - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: webkit-webworker - files: .coverage/*,packages/*/.coverage/* - - test-electron-main: - needs: check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npx xvfb-maybe npm run --if-present test:electron-main - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: electron-main - files: .coverage/*,packages/*/.coverage/* - - test-electron-renderer: - needs: check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - run: npx xvfb-maybe npm run --if-present test:electron-renderer - - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 - with: - flags: electron-renderer - files: .coverage/*,packages/*/.coverage/* - - release: - needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-webkit, test-webkit-webworker, test-electron-main, test-electron-renderer] - runs-on: ubuntu-latest - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - permissions: - id-token: write - contents: write - pull-requests: write - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - uses: actions/setup-node@v4 - with: - node-version: lts/* - - uses: ipfs/aegir/actions/cache-node-modules@master - - uses: ipfs/aegir/actions/docker-login@master - with: - docker-token: ${{ secrets.DOCKER_TOKEN }} - docker-username: ${{ secrets.DOCKER_USERNAME }} - - run: npm run --if-present release - env: - GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN || github.token }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + js-test-and-release: + uses: pl-strflt/uci/.github/workflows/js-test-and-release.yml@v0.0 + secrets: + DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} + DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + UCI_GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN }} diff --git a/package.json b/package.json index f6d0d44b..e9fd8b4c 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,91 @@ "libp2p" ], "private": true, + "release": { + "branches": [ + "main" + ], + "plugins": [ + [ + "@semantic-release/commit-analyzer", + { + "preset": "conventionalcommits", + "releaseRules": [ + { + "breaking": true, + "release": "major" + }, + { + "revert": true, + "release": "patch" + }, + { + "type": "feat", + "release": "minor" + }, + { + "type": "fix", + "release": "patch" + }, + { + "type": "docs", + "release": "patch" + }, + { + "type": "test", + "release": "patch" + }, + { + "type": "deps", + "release": "patch" + }, + { + "scope": "no-release", + "release": false + } + ] + } + ], + [ + "@semantic-release/release-notes-generator", + { + "preset": "conventionalcommits", + "presetConfig": { + "types": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "chore", + "section": "Trivial Changes" + }, + { + "type": "docs", + "section": "Documentation" + }, + { + "type": "deps", + "section": "Dependencies" + }, + { + "type": "test", + "section": "Tests" + } + ] + } + } + ], + "@semantic-release/changelog", + "@semantic-release/npm", + "@semantic-release/github", + "@semantic-release/git" + ] + }, "scripts": { "reset": "aegir run clean && aegir clean ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist", "test": "aegir run test", @@ -30,13 +115,14 @@ "build": "aegir run build", "lint": "aegir run lint", "clean": "aegir run clean", + "release": "run-s build docs:no-publish npm:release docs", + "npm:release": "aegir release", "docs": "aegir docs", - "docs:no-publish": "npm run docs -- --publish false", - "dep-check": "aegir run dep-check", - "release": "npm run docs:no-publish && aegir run release && npm run docs" + "docs:no-publish": "aegir docs --publish false" }, "dependencies": { - "aegir": "^42.2.3" + "aegir": "^42.2.3", + "npm-run-all": "^4.1.5" }, "workspaces": [ "packages/*" diff --git a/packages/libp2p-daemon-client/package.json b/packages/libp2p-daemon-client/package.json index ff1c6773..42912c4e 100644 --- a/packages/libp2p-daemon-client/package.json +++ b/packages/libp2p-daemon-client/package.json @@ -39,91 +39,6 @@ "sourceType": "module" } }, - "release": { - "branches": [ - "main" - ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits", - "releaseRules": [ - { - "breaking": true, - "release": "major" - }, - { - "revert": true, - "release": "patch" - }, - { - "type": "feat", - "release": "minor" - }, - { - "type": "fix", - "release": "patch" - }, - { - "type": "docs", - "release": "patch" - }, - { - "type": "test", - "release": "patch" - }, - { - "type": "deps", - "release": "patch" - }, - { - "scope": "no-release", - "release": false - } - ] - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits", - "presetConfig": { - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "chore", - "section": "Trivial Changes" - }, - { - "type": "docs", - "section": "Documentation" - }, - { - "type": "deps", - "section": "Dependencies" - }, - { - "type": "test", - "section": "Tests" - } - ] - } - } - ], - "@semantic-release/changelog", - "@semantic-release/npm", - "@semantic-release/github", - "@semantic-release/git" - ] - }, "scripts": { "clean": "aegir clean", "lint": "aegir lint", @@ -131,30 +46,29 @@ "build": "aegir build", "pretest": "npm run build", "test": "aegir test -t node", - "test:node": "aegir test -t node", - "release": "aegir release" + "test:node": "aegir test -t node" }, "dependencies": { - "@chainsafe/libp2p-gossipsub": "^11.0.0", "@libp2p/daemon-protocol": "^6.0.0", - "@libp2p/interface": "^1.0.0", - "@libp2p/kad-dht": "^11.0.0", - "@libp2p/logger": "^4.0.0", - "@libp2p/peer-id": "^4.0.0", - "@libp2p/tcp": "^9.0.0", - "@multiformats/multiaddr": "^12.1.3", - "it-protobuf-stream": "^1.1.1", - "multiformats": "^13.0.1", - "uint8arraylist": "^2.4.3" + "@libp2p/interface": "^1.1.2", + "@libp2p/logger": "^4.0.5", + "@libp2p/peer-id": "^4.0.5", + "@libp2p/tcp": "^9.0.13", + "@multiformats/multiaddr": "^12.1.14", + "it-protobuf-stream": "^1.1.2", + "multiformats": "^13.0.1" }, "devDependencies": { + "@chainsafe/libp2p-gossipsub": "^11.2.1", "@libp2p/daemon-server": "^7.0.0", - "@libp2p/interface-compliance-tests": "^5.0.0", + "@libp2p/interface-compliance-tests": "^5.2.0", + "@libp2p/kad-dht": "^11.0.8", "aegir": "^42.2.3", - "it-all": "^3.0.1", + "it-all": "^3.0.4", "it-pipe": "^3.0.1", "sinon": "^17.0.1", "sinon-ts": "^2.0.0", - "uint8arrays": "^5.0.1" + "uint8arraylist": "^2.4.8", + "uint8arrays": "^4.0.10" } } diff --git a/packages/libp2p-daemon-protocol/package.json b/packages/libp2p-daemon-protocol/package.json index e5df5879..d358a3a2 100644 --- a/packages/libp2p-daemon-protocol/package.json +++ b/packages/libp2p-daemon-protocol/package.json @@ -59,114 +59,24 @@ "parserOptions": { "project": true, "sourceType": "module" - }, - "ignorePatterns": [ - "*.d.ts", - "src/index.js" - ] - }, - "release": { - "branches": [ - "main" - ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits", - "releaseRules": [ - { - "breaking": true, - "release": "major" - }, - { - "revert": true, - "release": "patch" - }, - { - "type": "feat", - "release": "minor" - }, - { - "type": "fix", - "release": "patch" - }, - { - "type": "docs", - "release": "patch" - }, - { - "type": "test", - "release": "patch" - }, - { - "type": "deps", - "release": "patch" - }, - { - "scope": "no-release", - "release": false - } - ] - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits", - "presetConfig": { - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "chore", - "section": "Trivial Changes" - }, - { - "type": "docs", - "section": "Documentation" - }, - { - "type": "deps", - "section": "Dependencies" - }, - { - "type": "test", - "section": "Tests" - } - ] - } - } - ], - "@semantic-release/changelog", - "@semantic-release/npm", - "@semantic-release/github", - "@semantic-release/git" - ] + } }, "scripts": { "clean": "aegir clean", "lint": "aegir lint", "generate": "protons ./src/index.proto", "build": "aegir build", - "release": "aegir release", "dep-check": "aegir dep-check" }, "dependencies": { - "@libp2p/interface": "^1.0.0", - "@libp2p/logger": "^4.0.0", - "it-length-prefixed-stream": "^1.1.4", - "protons-runtime": "^5.0.0", - "uint8arraylist": "^2.4.3" + "@libp2p/interface": "^1.1.2", + "@libp2p/logger": "^4.0.5", + "it-length-prefixed-stream": "^1.1.6", + "protons-runtime": "^5.4.0", + "uint8arraylist": "^2.4.8" }, "devDependencies": { "aegir": "^42.2.3", - "protons": "^7.0.2" + "protons": "^7.5.0" } } diff --git a/packages/libp2p-daemon-server/package.json b/packages/libp2p-daemon-server/package.json index c292a035..d0b22ad4 100644 --- a/packages/libp2p-daemon-server/package.json +++ b/packages/libp2p-daemon-server/package.json @@ -37,96 +37,7 @@ "parserOptions": { "project": true, "sourceType": "module" - }, - "ignorePatterns": [ - "*.d.ts", - "src/profocol/index.js" - ] - }, - "release": { - "branches": [ - "main" - ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits", - "releaseRules": [ - { - "breaking": true, - "release": "major" - }, - { - "revert": true, - "release": "patch" - }, - { - "type": "feat", - "release": "minor" - }, - { - "type": "fix", - "release": "patch" - }, - { - "type": "docs", - "release": "patch" - }, - { - "type": "test", - "release": "patch" - }, - { - "type": "deps", - "release": "patch" - }, - { - "scope": "no-release", - "release": false - } - ] - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits", - "presetConfig": { - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "chore", - "section": "Trivial Changes" - }, - { - "type": "docs", - "section": "Documentation" - }, - { - "type": "deps", - "section": "Dependencies" - }, - { - "type": "test", - "section": "Tests" - } - ] - } - } - ], - "@semantic-release/changelog", - "@semantic-release/npm", - "@semantic-release/github", - "@semantic-release/git" - ] + } }, "scripts": { "clean": "aegir clean", @@ -135,26 +46,25 @@ "build": "aegir build", "pretest": "npm run build", "test": "aegir test -t node", - "test:node": "aegir test -t node", - "release": "aegir release" + "test:node": "aegir test -t node" }, "dependencies": { - "@chainsafe/libp2p-gossipsub": "^11.0.0", + "@chainsafe/libp2p-gossipsub": "^11.2.1", "@libp2p/daemon-protocol": "^6.0.0", - "@libp2p/interface": "^1.0.0", - "@libp2p/kad-dht": "^11.0.0", - "@libp2p/logger": "^4.0.0", - "@libp2p/peer-id": "^4.0.0", - "@libp2p/tcp": "^9.0.0", - "@multiformats/multiaddr": "^12.1.3", - "it-drain": "^3.0.2", - "it-length-prefixed": "^9.0.1", - "it-length-prefixed-stream": "^1.1.4", + "@libp2p/interface": "^1.1.2", + "@libp2p/kad-dht": "^11.0.8", + "@libp2p/logger": "^4.0.5", + "@libp2p/peer-id": "^4.0.5", + "@libp2p/tcp": "^9.0.13", + "@multiformats/multiaddr": "^12.1.14", + "it-drain": "^3.0.5", + "it-length-prefixed": "^9.0.4", + "it-length-prefixed-stream": "^1.1.6", "it-pipe": "^3.0.1", - "it-protobuf-stream": "^1.1.1", - "it-pushable": "^3.2.0", + "it-protobuf-stream": "^1.1.2", + "it-pushable": "^3.2.3", "multiformats": "^13.0.1", - "uint8arrays": "^5.0.1" + "uint8arrays": "^4.0.10" }, "devDependencies": { "aegir": "^42.2.3", diff --git a/packages/libp2p-daemon/package.json b/packages/libp2p-daemon/package.json index bf5bc18f..5919c019 100644 --- a/packages/libp2p-daemon/package.json +++ b/packages/libp2p-daemon/package.json @@ -42,105 +42,19 @@ "sourceType": "module" } }, - "release": { - "branches": [ - "main" - ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits", - "releaseRules": [ - { - "breaking": true, - "release": "major" - }, - { - "revert": true, - "release": "patch" - }, - { - "type": "feat", - "release": "minor" - }, - { - "type": "fix", - "release": "patch" - }, - { - "type": "docs", - "release": "patch" - }, - { - "type": "test", - "release": "patch" - }, - { - "type": "deps", - "release": "patch" - }, - { - "scope": "no-release", - "release": false - } - ] - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits", - "presetConfig": { - "types": [ - { - "type": "feat", - "section": "Features" - }, - { - "type": "fix", - "section": "Bug Fixes" - }, - { - "type": "chore", - "section": "Trivial Changes" - }, - { - "type": "docs", - "section": "Documentation" - }, - { - "type": "deps", - "section": "Dependencies" - }, - { - "type": "test", - "section": "Tests" - } - ] - } - } - ], - "@semantic-release/changelog", - "@semantic-release/npm", - "@semantic-release/github", - "@semantic-release/git" - ] - }, "scripts": { "clean": "aegir clean", "lint": "aegir lint", "dep-check": "aegir dep-check", "build": "aegir build", "test": "aegir test -t node", - "test:node": "aegir test -t node", - "release": "aegir release" + "test:node": "aegir test -t node" }, "dependencies": { "@libp2p/daemon-server": "^7.0.0", - "@multiformats/multiaddr": "^12.1.3", - "es-main": "^1.0.2", - "yargs": "^17.3.1", + "@multiformats/multiaddr": "^12.1.14", + "es-main": "^1.3.0", + "yargs": "^17.7.2", "yargs-promise": "^1.1.0" }, "devDependencies": { From c97cb8329b97c765a2c8b6449ecfa9f1d9f8c931 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Wed, 7 Feb 2024 14:51:09 +0100 Subject: [PATCH 3/3] chore: replace scripts --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e9fd8b4c..4508ebad 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ ] }, "scripts": { - "reset": "aegir run clean && aegir clean ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist", + "reset": "aegir run clean && aegir clean **/node_modules **/package-lock.json", "test": "aegir run test", "test:node": "aegir run test:node", "test:chrome": "aegir run test:chrome", @@ -111,10 +111,11 @@ "test:firefox-webworker": "aegir run test:firefox-webworker", "test:electron-main": "aegir run test:electron-main", "test:electron-renderer": "aegir run test:electron-renderer", + "clean": "aegir run clean", "generate": "aegir run generate", "build": "aegir run build", "lint": "aegir run lint", - "clean": "aegir run clean", + "dep-check": "aegir run dep-check", "release": "run-s build docs:no-publish npm:release docs", "npm:release": "aegir release", "docs": "aegir docs",