Skip to content

Commit

Permalink
🧹 Update @LayerZero-Labs dependencies to 2.1.3 (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Feb 5, 2024
1 parent 520cc91 commit 5c58d69
Show file tree
Hide file tree
Showing 53 changed files with 1,337 additions and 881 deletions.
28 changes: 28 additions & 0 deletions .changeset/forty-countries-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
"@layerzerolabs/test-devtools-evm-foundry": patch
"@layerzerolabs/test-devtools-evm-hardhat": patch
"@layerzerolabs/ua-devtools-evm-hardhat-test": patch
"@layerzerolabs/omnicounter-devtools-evm": patch
"@layerzerolabs/ua-devtools-evm-hardhat": patch
"@layerzerolabs/devtools-evm-hardhat-test": patch
"@layerzerolabs/protocol-devtools-evm": patch
"@layerzerolabs/devtools-evm-hardhat": patch
"@layerzerolabs/omnicounter-devtools": patch
"@layerzerolabs/protocol-devtools": patch
"build-lz-options": patch
"@layerzerolabs/toolbox-foundry": patch
"@layerzerolabs/toolbox-hardhat": patch
"@layerzerolabs/ua-devtools-evm": patch
"create-lz-oapp": patch
"@layerzerolabs/devtools-evm-test": patch
"@layerzerolabs/test-devtools": patch
"@layerzerolabs/devtools-evm": patch
"@layerzerolabs/io-devtools": patch
"@layerzerolabs/ua-devtools": patch
"@layerzerolabs/test-evm-node": patch
"@layerzerolabs/devtools": patch
"@layerzerolabs/oapp-example": patch
"@layerzerolabs/oft-example": patch
---

Update @layerzerolabs dependencies to 2.1.3
5 changes: 5 additions & 0 deletions examples/oapp/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
extends: ['@layerzerolabs/eslint-config-next/recommended'],
rules: {
// @layerzerolabs/eslint-config-next defines rules for turborepo-based projects
// that are not relevant for this particular project
'turbo/no-undeclared-env-vars': 'off',
},
};
28 changes: 14 additions & 14 deletions examples/oapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@
"compile:forge": "forge build",
"compile:hardhat": "hardhat compile",
"lint": "$npm_execpath run lint:js && $npm_execpath run lint:sol",
"lint:fix": "eslint --fix '**/*.js' && prettier --write . && solhint 'contracts/**/*.sol' --fix --noPrompt",
"lint:js": "eslint '**/*.js' && prettier --check .",
"lint:fix": "eslint --fix '**/*.{js,ts,json}' && prettier --write . && solhint 'contracts/**/*.sol' --fix --noPrompt",
"lint:js": "eslint '**/*.{js,ts,json}' && prettier --check .",
"lint:sol": "solhint 'contracts/**/*.sol'",
"test": "$npm_execpath run test:forge && $npm_execpath run test:hardhat",
"test:forge": "forge test",
"test:hardhat": "hardhat test"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@layerzerolabs/eslint-config-next": "^2.1.2",
"@layerzerolabs/lz-definitions": "~2.1.2",
"@layerzerolabs/lz-evm-messagelib-v2": "~2.1.2",
"@layerzerolabs/lz-evm-oapp-v2": "~2.1.2",
"@layerzerolabs/lz-evm-protocol-v2": "~2.1.2",
"@layerzerolabs/lz-evm-v1-0.7": "~2.1.2",
"@layerzerolabs/lz-v2-utilities": "~2.1.2",
"@layerzerolabs/prettier-config-next": "^2.1.2",
"@layerzerolabs/solhint-config": "^2.1.2",
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "^2.1.3",
"@layerzerolabs/lz-definitions": "~2.1.3",
"@layerzerolabs/lz-evm-messagelib-v2": "~2.1.3",
"@layerzerolabs/lz-evm-oapp-v2": "~2.1.3",
"@layerzerolabs/lz-evm-protocol-v2": "~2.1.3",
"@layerzerolabs/lz-evm-v1-0.7": "~2.1.3",
"@layerzerolabs/lz-v2-utilities": "~2.1.3",
"@layerzerolabs/prettier-config-next": "^2.1.3",
"@layerzerolabs/solhint-config": "^2.1.3",
"@layerzerolabs/test-devtools-evm-foundry": "~0.1.1",
"@layerzerolabs/toolbox-foundry": "~0.1.0",
"@layerzerolabs/toolbox-hardhat": "~0.1.1",
Expand All @@ -38,11 +38,11 @@
"@types/mocha": "^10.0.6",
"chai": "^4.4.1",
"ethers": "^5.7.2",
"hardhat": "^2.19.4",
"hardhat": "^2.19.5",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.45",
"mocha": "^10.2.0",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"solhint": "^4.1.1",
"solidity-bytes-utils": "^0.8.2",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions examples/oapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"types": ["node", "mocha"],
},
"types": ["node", "mocha"]
}
}
5 changes: 5 additions & 0 deletions examples/oft/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
extends: ['@layerzerolabs/eslint-config-next/recommended'],
rules: {
// @layerzerolabs/eslint-config-next defines rules for turborepo-based projects
// that are not relevant for this particular project
'turbo/no-undeclared-env-vars': 'off',
},
};
28 changes: 14 additions & 14 deletions examples/oft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@
"compile:forge": "forge build",
"compile:hardhat": "hardhat compile",
"lint": "$npm_execpath run lint:js && $npm_execpath run lint:sol",
"lint:fix": "eslint --fix '**/*.js' && prettier --write . && solhint 'contracts/**/*.sol' --fix --noPrompt",
"lint:js": "eslint '**/*.js' && prettier --check .",
"lint:fix": "eslint --fix '**/*.{js,ts,json}' && prettier --write . && solhint 'contracts/**/*.sol' --fix --noPrompt",
"lint:js": "eslint '**/*.{js,ts,json}' && prettier --check .",
"lint:sol": "solhint 'contracts/**/*.sol'",
"test": "$npm_execpath run test:forge && $npm_execpath run test:hardhat",
"test:forge": "forge test",
"test:hardhat": "hardhat test"
},
"devDependencies": {
"@babel/core": "^7.23.7",
"@layerzerolabs/eslint-config-next": "^2.1.2",
"@layerzerolabs/lz-definitions": "~2.1.2",
"@layerzerolabs/lz-evm-messagelib-v2": "~2.1.2",
"@layerzerolabs/lz-evm-oapp-v2": "~2.1.2",
"@layerzerolabs/lz-evm-protocol-v2": "~2.1.2",
"@layerzerolabs/lz-evm-v1-0.7": "~2.1.2",
"@layerzerolabs/lz-v2-utilities": "~2.1.2",
"@layerzerolabs/prettier-config-next": "^2.1.2",
"@layerzerolabs/solhint-config": "^2.1.2",
"@babel/core": "^7.23.9",
"@layerzerolabs/eslint-config-next": "^2.1.3",
"@layerzerolabs/lz-definitions": "~2.1.3",
"@layerzerolabs/lz-evm-messagelib-v2": "~2.1.3",
"@layerzerolabs/lz-evm-oapp-v2": "~2.1.3",
"@layerzerolabs/lz-evm-protocol-v2": "~2.1.3",
"@layerzerolabs/lz-evm-v1-0.7": "~2.1.3",
"@layerzerolabs/lz-v2-utilities": "~2.1.3",
"@layerzerolabs/prettier-config-next": "^2.1.3",
"@layerzerolabs/solhint-config": "^2.1.3",
"@layerzerolabs/test-devtools-evm-foundry": "~0.1.1",
"@layerzerolabs/toolbox-foundry": "~0.1.0",
"@layerzerolabs/toolbox-hardhat": "~0.1.1",
Expand All @@ -38,11 +38,11 @@
"@types/mocha": "^10.0.6",
"chai": "^4.4.1",
"ethers": "^5.7.2",
"hardhat": "^2.19.4",
"hardhat": "^2.19.5",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.45",
"mocha": "^10.2.0",
"prettier": "^3.2.4",
"prettier": "^3.2.5",
"solhint": "^4.1.1",
"solidity-bytes-utils": "^0.8.2",
"ts-node": "^10.9.2",
Expand Down
4 changes: 2 additions & 2 deletions examples/oft/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
},
"resolveJsonModule": true
}
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"clean": "$npm_execpath turbo run clean",
"dev": "$npm_execpath turbo run dev",
"lint": "$npm_execpath turbo run lint",
"lint:fix": "$npm_execpath turbo run lint:fix",
"logs": "docker compose logs -f",
"prepare": "husky install",
"registry:logs": "docker compose -f docker-compose.registry.yaml logs -f",
Expand All @@ -33,10 +34,10 @@
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@layerzerolabs/prettier-config-next": "^2.1.2",
"@layerzerolabs/prettier-config-next": "^2.1.3",
"@types/node": "~18.18.14",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
Expand All @@ -47,8 +48,8 @@
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-solidity": "^1.3.1",
"turbo": "1.11.0"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/build-lz-options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"clean": "rm -rf dist",
"dev": "$npm_execpath tsup --watch",
"lint": "$npm_execpath eslint '**/*.{js,ts,json}'",
"lint:fix": "eslint --fix '**/*.{js,ts,json}'",
"start": "./cli.js"
},
"dependencies": {
Expand All @@ -36,7 +37,7 @@
"@layerzerolabs/devtools": "~0.1.1",
"@layerzerolabs/devtools-evm": "~0.1.1",
"@layerzerolabs/io-devtools": "~0.1.0",
"@layerzerolabs/lz-v2-utilities": "~2.1.2",
"@layerzerolabs/lz-v2-utilities": "~2.1.3",
"@types/prompts": "^2.4.9",
"@types/react": "^17.0.74",
"commander": "^11.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/build-lz-options/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"resolveJsonModule": true,
"types": ["node"],
"paths": {
"@/*": ["./src/*"],
},
"@/*": ["./src/*"]
}
},
"include": ["src", "test", "types"],
"include": ["src", "test", "types"]
}
9 changes: 5 additions & 4 deletions packages/create-lz-oapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"clean": "rm -rf dist",
"dev": "$npm_execpath tsup --watch",
"lint": "$npm_execpath eslint '**/*.{js,ts,json}'",
"lint:fix": "eslint --fix '**/*.{js,ts,json}'",
"start": "./cli.js",
"test": "jest --ci"
},
Expand All @@ -33,9 +34,9 @@
},
"devDependencies": {
"@layerzerolabs/io-devtools": "~0.1.0",
"@swc/core": "^1.3.105",
"@swc/jest": "^0.2.31",
"@types/jest": "^29.5.11",
"@swc/core": "^1.4.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"@types/prompts": "^2.4.9",
"@types/react": "^17.0.75",
"@types/which": "~3.0.3",
Expand All @@ -50,7 +51,7 @@
"jest": "^29.7.0",
"prompts": "^2.4.2",
"react": "^17.0.2",
"tiged": "^2.12.5",
"tiged": "^2.12.6",
"ts-node": "^10.9.2",
"tsup": "~8.0.1",
"typescript": "^5.3.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/create-lz-oapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"resolveJsonModule": true,
"types": ["jest", "node"],
"paths": {
"@/*": ["./src/*"],
},
"@/*": ["./src/*"]
}
},
"files": ["./types/tiged.d.ts"],
"include": ["src", "test", "types"],
"include": ["src", "test", "types"]
}
17 changes: 9 additions & 8 deletions packages/devtools-evm-hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"clean": "rm -rf dist",
"dev": "$npm_execpath tsup --watch",
"lint": "$npm_execpath eslint '**/*.{js,ts,json}'",
"lint:fix": "eslint --fix '**/*.{js,ts,json}'",
"test": "jest --ci --forceExit"
},
"dependencies": {
Expand All @@ -55,16 +56,16 @@
"@layerzerolabs/devtools": "~0.1.2",
"@layerzerolabs/devtools-evm": "~0.1.1",
"@layerzerolabs/io-devtools": "~0.1.1",
"@layerzerolabs/lz-definitions": "~2.1.2",
"@layerzerolabs/lz-evm-sdk-v1": "~2.1.2",
"@layerzerolabs/lz-definitions": "~2.1.3",
"@layerzerolabs/lz-evm-sdk-v1": "~2.1.3",
"@layerzerolabs/test-devtools": "~0.1.1",
"@layerzerolabs/test-devtools-evm-hardhat": "~0.1.1",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@swc/core": "^1.3.105",
"@swc/jest": "^0.2.31",
"@types/jest": "^29.5.11",
"fast-check": "^3.15.0",
"hardhat": "^2.19.4",
"@swc/core": "^1.4.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"fast-check": "^3.15.1",
"hardhat": "^2.19.5",
"hardhat-deploy": "^0.11.45",
"jest": "^29.7.0",
"p-memoize": "~4.0.1",
Expand All @@ -82,7 +83,7 @@
"@layerzerolabs/devtools": "~0.1.2",
"@layerzerolabs/devtools-evm": "~0.1.1",
"@layerzerolabs/io-devtools": "~0.1.1",
"@layerzerolabs/lz-definitions": "~2.1.2",
"@layerzerolabs/lz-definitions": "~2.1.3",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"hardhat": "^2.19.4",
"hardhat-deploy": "^0.11.45"
Expand Down
6 changes: 3 additions & 3 deletions packages/devtools-evm-hardhat/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "commonjs",
"types": ["node", "jest"],
"paths": {
"@/*": ["./src/*"],
},
},
"@/*": ["./src/*"]
}
}
}
13 changes: 7 additions & 6 deletions packages/devtools-evm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"clean": "rm -rf dist",
"dev": "$npm_execpath tsup --watch",
"lint": "$npm_execpath eslint '**/*.{js,ts,json}'",
"lint:fix": "eslint --fix '**/*.{js,ts,json}'",
"test": "jest --ci"
},
"dependencies": {
Expand All @@ -48,12 +49,12 @@
"@ethersproject/providers": "^5.7.2",
"@layerzerolabs/devtools": "~0.1.1",
"@layerzerolabs/io-devtools": "~0.1.0",
"@layerzerolabs/lz-definitions": "~2.1.2",
"@layerzerolabs/lz-definitions": "~2.1.3",
"@layerzerolabs/test-devtools": "~0.1.1",
"@swc/core": "^1.3.105",
"@swc/jest": "^0.2.31",
"@types/jest": "^29.5.11",
"fast-check": "^3.15.0",
"@swc/core": "^1.4.0",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.12",
"fast-check": "^3.15.1",
"jest": "^29.7.0",
"jest-extended": "^4.0.2",
"ts-node": "^10.9.2",
Expand All @@ -73,7 +74,7 @@
"@ethersproject/providers": "^5.7.0",
"@layerzerolabs/devtools": "~0.1.1",
"@layerzerolabs/io-devtools": "~0.1.0",
"@layerzerolabs/lz-definitions": "~2.1.2",
"@layerzerolabs/lz-definitions": "~2.1.3",
"zod": "^3.22.4"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/devtools-evm/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"compilerOptions": {
"types": ["node", "jest"],
"paths": {
"@/*": ["./src/*"],
},
},
"@/*": ["./src/*"]
}
}
}
Loading

0 comments on commit 5c58d69

Please sign in to comment.