From 4d24be281614200b8eee1eccd354c0a4b2bbaf11 Mon Sep 17 00:00:00 2001 From: elijaholmos Date: Wed, 22 Mar 2023 17:07:01 -0700 Subject: [PATCH] chore(deps): add rome dev-dep, setup pkg info --- package.json | 15 +++++++++++- pnpm-lock.yaml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ef296e0..9dc1342 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,18 @@ { + "name": "crimlog-contracts", + "version": "0.0.1", + "description": "", + "private": true, + "engines": { + "node": ">=16.18.0", + "pnpm": ">=7.0.0" + }, "scripts": { - "deploy": "pnpm hardhat run scripts/deploy.ts --network matic" + "deploy": "pnpm hardhat run scripts/deploy.ts --network matic", + "format": "yarn rome format .", + "format:fix": "yarn rome format . --write", + "lint": "yarn rome check .", + "lint:fix": "yarn rome check . --apply-suggested" }, "devDependencies": { "@ethersproject/abi": "^5.4.7", @@ -21,6 +33,7 @@ "ethers": "^5.4.7", "hardhat": "2.13.0", "hardhat-gas-reporter": "^1.0.8", + "rome": "11.0.0", "solidity-coverage": "^0.8.0", "ts-node": ">=8.0.0", "typechain": "^8.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 52697cb..dc86509 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,6 +19,7 @@ specifiers: ethers: ^5.4.7 hardhat: 2.13.0 hardhat-gas-reporter: ^1.0.8 + rome: 11.0.0 solidity-coverage: ^0.8.0 ts-node: '>=8.0.0' typechain: ^8.1.0 @@ -43,6 +44,7 @@ devDependencies: ethers: 5.7.2 hardhat: 2.13.0_b3krtfsdr4o54pb3ito5mirk64 hardhat-gas-reporter: 1.0.9_hardhat@2.13.0 + rome: 11.0.0 solidity-coverage: 0.8.2_hardhat@2.13.0 ts-node: 10.9.1_sxidjv3cojnrggmso45tj7hldi typechain: 8.1.1_typescript@5.0.2 @@ -796,6 +798,54 @@ packages: resolution: {integrity: sha512-kEUOgPQszC0fSYWpbh2kT94ltOJwj1qfT2DWo+zVttmGmf97JZ99LspePNaeeaLhCImaHVeBbjaQFZQn7+Zc5g==} dev: true + /@rometools/cli-darwin-arm64/11.0.0: + resolution: {integrity: sha512-F3vkdY+s3FLIEnAjSbyHTuIPB88cLpccimW4ecid5I7S6GzGG3iUJI4xT00JhH73K4P/qW20/9r+kH1T9Du8Xg==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rometools/cli-darwin-x64/11.0.0: + resolution: {integrity: sha512-X6jhtS6Iml4GOzgNtnLwIp/KXXhSdqeVyfv69m/AHnIzx3gQAjPZ7BPnJLvTCbhe4SKHL+uTZYFSCJpkUUKE6w==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rometools/cli-linux-arm64/11.0.0: + resolution: {integrity: sha512-dktTJJlTpmycBZ2TwhJBcAO8ztK8DdevdyZnFFxdYRvtmJgTjIsC2UFayf/SbKew8B8q1IhI0it+D6ihAeIpeg==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rometools/cli-linux-x64/11.0.0: + resolution: {integrity: sha512-WVcnXPNdWGUWo0p4NU8YzuthjYR7q+b4vRcjdxtP1DlpphZmSsoC/RSE85nEqRAz8hChcKUansVzOPM8BSsuGA==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rometools/cli-win32-arm64/11.0.0: + resolution: {integrity: sha512-tPj6RThQzS7Q45jqQll7NlTYvNcsg/BEP3LYiiazqSh9FAFnMkrV6ewUcMPKWyAfiyLs7jlz4rRvdNRUSygzfQ==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rometools/cli-win32-x64/11.0.0: + resolution: {integrity: sha512-bmBai8WHxYjsGk1+je7ZTfCUCWq30WJI3pQM8pzTA674lfGTZ9ymJoZwTaIMSO4rL5V9mlO6uLunsBKso9VqOg==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@scure/base/1.1.1: resolution: {integrity: sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA==} dev: true @@ -3912,6 +3962,20 @@ packages: bn.js: 5.2.1 dev: true + /rome/11.0.0: + resolution: {integrity: sha512-rRo6JOwpMLc3OkeTDRXkrmrDqnxDvZ75GS4f0jLDBNmRgDXWbu0F8eVnJoRn+VbK2AE7vWvhVOMBjnWowcopkQ==} + engines: {node: '>=14.*'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@rometools/cli-darwin-arm64': 11.0.0 + '@rometools/cli-darwin-x64': 11.0.0 + '@rometools/cli-linux-arm64': 11.0.0 + '@rometools/cli-linux-x64': 11.0.0 + '@rometools/cli-win32-arm64': 11.0.0 + '@rometools/cli-win32-x64': 11.0.0 + dev: true + /run-parallel-limit/1.1.0: resolution: {integrity: sha512-jJA7irRNM91jaKc3Hcl1npHsFLOXOoTkPCUL1JEa1R82O2miplXXRaGdjW/KM/98YQWDhJLiSs793CnXfblJUw==} dependencies: