Skip to content

Commit

Permalink
chore: upgrade pnpm (#479)
Browse files Browse the repository at this point in the history
* upgrade pnpm

* fix version for pnpm

* remove openssf badge temporarily

* adjust best practices badge

* remove openssf badge temporarily

* add pr title checker
  • Loading branch information
tirumerla authored Jul 18, 2024
1 parent f13c83a commit 4e9cfac
Show file tree
Hide file tree
Showing 12 changed files with 5,195 additions and 3,968 deletions.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Bug Report

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Feature request

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
5 changes: 3 additions & 2 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ runs:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.5.4
with:
persist-credentials: false
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
run_install: false
- name: Use node@20
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
Expand Down
84 changes: 42 additions & 42 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,209 +28,209 @@ updates:
- package-ecosystem: npm
directory: /examples/create-action
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-batch-proposal
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-monitor
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-proposal
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-relayer-key
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-relayer
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/deploy-contract
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/ethers-signer
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/list-networks
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/relayer-signer-actions
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/simulate-proposal
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/update-action
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/update-monitor
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/update-relayer
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/upgrade-contract
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/action
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/base
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/defender-sdk
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/deploy
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/monitor
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/network
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/notification-channel
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/proposal
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/relay-signer
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/relay
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-forked-network
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/create-private-network
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/custom-ethers-pkg
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/ethers-signer-v5
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/ethers-signer-v6
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/get-usage
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/list-contracts
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/list-proposals
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/relayer-load-balance
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/relayer-signer-auth-v2
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/relayer-web3-provider
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/send-4337-userop/account-kit
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/send-4337-userop/permissionless
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/update-action-env-variables
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/webhook-notification
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /packages/account
schedule:
interval: daily
interval: weekly

- package-ecosystem: npm
directory: /examples/relayer-call-contract-function
schedule:
interval: daily
interval: weekly
6 changes: 3 additions & 3 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"LABEL": {
"name": "title needs adjustment",
"name": "PR title checker needs attention",
"color": "EEEEEE"
},
"CHECKS": {
"regexp": "^(fix|feat|break|docs|chore|refactor|style|build|ci|revert|test)!?(\\(.*\\))?!?:.*"
"regexp": "^(fix|feat|docs|chore|refactor|style|ci|revert|test)!?(\\(.*\\))?!?:.*"
},
"MESSAGES": {
"success": "PR title is valid",
"failure": "PR title is invalid",
"notice": "Title needs to pass regex '^(fix|feat|break|docs|chore|refactor|style|build|ci|revert|test)!?(\\(.*\\))?!?:.*"
"notice": "Title needs to pass regex '^(fix|feat|docs|chore|refactor|style|ci|revert|test)!?(\\(.*\\))?!?:.*"
}
}
8 changes: 8 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Summary

## Testing Process

## Checklist

- [ ] Add a reference to related issues in the PR description.
- [ ] Add unit tests if applicable.
18 changes: 18 additions & 0 deletions .github/workflows/pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR Title

on:
pull_request:
branches:
- main
types: [opened, edited, reopened, synchronize]

permissions: read-all

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: thehanimo/pr-title-checker@1d8cd483a2b73118406a187f54dca8a9415f1375 # v1.4.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
configuration_path: ".github/pr-title-checker-config.json"
4 changes: 2 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
* @CoveMB @emnul @MCarlomagno @shahnami @tirumerla @zeljkoX
SECURITY.md @emnul @MCarlomagno @tirumerla @zeljkoX
* @collins-w @CoveMB @dylankilkenny @emnul @MCarlomagno @shahnami @tirumerla @zeljkoX
SECURITY.md @MCarlomagno @tirumerla @zeljkoX
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

[![NPM Package](https://img.shields.io/npm/v/@openzeppelin/defender-sdk.svg)](https://www.npmjs.org/package/@openzeppelin/defender-sdk)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/defender-sdk/badge)](https://api.securityscorecards.dev/projects/github.com/OpenZeppelin/defender-sdk)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/7782/badge)](https://www.bestpractices.dev/projects/7782)
[![Scorecard supply-chain security](https://github.com/OpenZeppelin/defender-sdk/actions/workflows/scorecard.yml/badge.svg)](https://github.com/OpenZeppelin/defender-sdk/actions/workflows/scorecard.yml)
[![CI](https://github.com/OpenZeppelin/defender-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/OpenZeppelin/defender-sdk/actions/workflows/ci.yml)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"engines": {
"node": "20.11.1",
"npm": "use pnpm",
"pnpm": ">=7",
"pnpm": ">=9",
"yarn": "use pnpm"
},
"homepage": "https://github.com/OpenZeppelin/defender-sdk#readme",
Expand Down
1 change: 0 additions & 1 deletion packages/relay-signer/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export const getAdminApiUrl = () => process.env.DEFENDER_API_URL || 'https://def

export const getRelaySignerApiUrl = () => process.env.DEFENDER_API_URL || 'https://defender-api.openzeppelin.com/v2/';


export class RelaySignerClient extends BaseApiClient implements IRelayer {
private jsonRpcRequestNextId: number;

Expand Down
Loading

0 comments on commit 4e9cfac

Please sign in to comment.