Commit 426d0b76 authored by smartcontracts's avatar smartcontracts Committed by GitHub

Merge pull request #1750 from ethereum-optimism/sc/std-pkg-json

fix: standardize package json structure
parents 1bd999bd 243f33e5
---
'@eth-optimism/integration-tests': patch
'@eth-optimism/batch-submitter': patch
'@eth-optimism/common-ts': patch
'@eth-optimism/contracts': patch
'@eth-optimism/core-utils': patch
'@eth-optimism/data-transport-layer': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/regenesis-surgery': patch
'@eth-optimism/replica-healthcheck': patch
---
Standardize package json file format
{
"private": true,
"name": "@eth-optimism/integration-tests",
"version": "0.3.0",
"description": "[Optimism] Integration Tests",
"private": true,
"author": "Optimism PBC",
"license": "MIT",
"description": "[Optimism] Integration tests",
"scripts": {
"lint": "yarn lint:fix && yarn lint:check",
"lint:fix": "yarn lint:check --fix",
......@@ -16,6 +14,19 @@
"clean": "rimraf cache artifacts",
"pre-commit": "lint-staged"
},
"keywords": [
"optimism",
"ethereum",
"integration",
"tests"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/integration-tests#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"devDependencies": {
"@eth-optimism/contracts": "0.5.1",
"@eth-optimism/core-utils": "0.7.0",
......
{
"private": true,
"name": "@eth-optimism/batch-submitter",
"version": "0.4.1",
"private": true,
"description": "[Optimism] Batch submission for sequencer & aggregators",
"description": "[Optimism] Service for submitting transactions and transaction results",
"main": "dist/index",
"types": "dist/index",
"files": [
......@@ -25,12 +25,12 @@
"sequencer",
"aggregator"
],
"homepage": "https://github.com/ethereum-optimism/optimism-monorepo/tree/master/packages/batch-submitter#readme",
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/batch-submitter#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism-monorepo.git"
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"dependencies": {
"@eth-optimism/common-ts": "0.2.0",
......
{
"name": "@eth-optimism/common-ts",
"version": "0.2.0",
"description": "[Optimism] Advanced typescript tooling used by various services",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/*"
],
"types": "dist/index",
"author": "Optimism PBC",
"license": "MIT",
"scripts": {
"all": "yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint",
"build": "tsc -p tsconfig.build.json",
......@@ -18,6 +17,27 @@
"pre-commit": "lint-staged",
"test": "ts-mocha test/*.spec.ts"
},
"keywords": [
"optimism",
"ethereum",
"common",
"typescript"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/common-ts#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"dependencies": {
"@sentry/node": "^6.3.1",
"express": "^4.17.1",
"pino": "^6.11.3",
"pino-multi-stream": "^5.3.0",
"pino-sentry": "^0.7.0",
"prom-client": "^13.1.0"
},
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/express": "^4.17.12",
......@@ -43,13 +63,5 @@
"supertest": "^6.1.4",
"ts-mocha": "^8.0.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@sentry/node": "^6.3.1",
"express": "^4.17.1",
"pino": "^6.11.3",
"pino-multi-stream": "^5.3.0",
"pino-sentry": "^0.7.0",
"prom-client": "^13.1.0"
}
}
{
"name": "@eth-optimism/contracts",
"version": "0.5.1",
"description": "[Optimism] L1 and L2 smart contracts for Optimistic Ethereum",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
......@@ -14,9 +16,6 @@
"libraries",
"standards"
],
"types": "dist/index",
"author": "Optimism PBC",
"license": "MIT",
"scripts": {
"build": "yarn build:contracts && yarn autogen:artifacts && yarn build:typescript",
"build:typescript": "tsc -p ./tsconfig.build.json",
......@@ -45,6 +44,19 @@
"postpack": "yarn postpublish",
"pre-commit": "lint-staged"
},
"keywords": [
"optimism",
"ethereum",
"contracts",
"solidity"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/contracts#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"dependencies": {
"@eth-optimism/core-utils": "0.7.0",
"@ethersproject/abstract-provider": "^5.4.1",
......
{
"name": "@eth-optimism/core-utils",
"version": "0.7.0",
"description": "[Optimism] Core typescript utilities",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/*"
"dist/index"
],
"types": "dist/index",
"repository": "git@github.com:ethereum-optimism/core-utils.git",
"author": "Optimism PBC",
"license": "MIT",
"scripts": {
"all": "yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint",
"build": "tsc -p tsconfig.build.json",
......@@ -20,6 +18,28 @@
"test": "ts-mocha test/*.spec.ts",
"test:coverage": "nyc ts-mocha test/*.spec.ts && nyc merge .nyc_output coverage.json"
},
"keywords": [
"optimism",
"ethereum",
"core",
"utils"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/core-utils#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"dependencies": {
"@ethersproject/abstract-provider": "^5.4.1",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.4.5",
"@ethersproject/web": "^5.5.0",
"chai": "^4.3.4",
"ethers": "^5.4.5",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/lodash": "^4.14.168",
......@@ -42,14 +62,5 @@
"prettier": "^2.3.1",
"ts-mocha": "^8.0.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@ethersproject/abstract-provider": "^5.4.1",
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/providers": "^5.4.5",
"@ethersproject/web": "^5.5.0",
"chai": "^4.3.4",
"ethers": "^5.4.5",
"lodash": "^4.17.21"
}
}
{
"private": true,
"name": "@eth-optimism/data-transport-layer",
"version": "0.5.1",
"private": true,
"description": "[Optimism] Service for shuttling data from L1 into L2",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/index"
],
"types": "dist/index",
"author": "Optimism PBC",
"license": "MIT",
"scripts": {
"clean": "rimraf ./dist ./tsconfig.build.tsbuildinfo",
"clean:db": "rimraf ./db",
......@@ -22,6 +21,20 @@
"build": "tsc -p tsconfig.build.json",
"pre-commit": "lint-staged"
},
"keywords": [
"optimism",
"ethereum",
"data",
"transport",
"layer"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/data-transport-layer#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"dependencies": {
"@eth-optimism/common-ts": "0.2.0",
"@eth-optimism/contracts": "0.5.1",
......
{
"name": "@eth-optimism/message-relayer",
"version": "0.2.1",
"description": "[Optimism] Cross Domain Message Relayer service",
"description": "[Optimism] Service for automatically relaying L2 to L1 transactions",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/*"
"dist/index"
],
"bin": {
"withdraw": "./src/exec/withdraw.ts"
......@@ -26,7 +26,7 @@
"ethereum",
"relayer"
],
"homepage": "https://github.com/ethereum-optimism/optimism-monorepo/tree/master/packages/batch-submitter#readme",
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/message-relayer#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
......
{
"private": true,
"name": "@eth-optimism/regenesis-surgery",
"version": "0.2.0",
"private": true,
"author": "Optimism PBC",
"license": "MIT",
"description": "[Optimism] Tooling for managing the OVM 1.0 to OVM 2.0 upgrade",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/index"
],
"scripts": {
"clean": "rimraf ./dist ./tsconfig.build.tsbuildinfo",
"lint": "yarn run lint:fix && yarn run lint:check",
......@@ -13,6 +17,19 @@
"test:surgery": "ts-mocha --timeout 50000000 test/*",
"start": "ts-node ./scripts/surgery.ts"
},
"keywords": [
"optimism",
"ethereum",
"regenesis",
"surgery"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/regenesis-surgery#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"devDependencies": {
"@discoveryjs/json-ext": "^0.5.3",
"@eth-optimism/core-utils": "0.7.0",
......
{
"private": true,
"name": "@eth-optimism/replica-healthcheck",
"version": "0.3.0",
"private": true,
"description": "[Optimism] Service for monitoring the health of replica nodes",
"main": "dist/index",
"types": "dist/index",
"files": [
"dist/index"
],
"types": "dist/index",
"author": "Optimism PBC",
"license": "MIT",
"scripts": {
"clean": "rimraf ./dist ./tsconfig.build.tsbuildinfo",
"lint": "yarn run lint:fix && yarn run lint:check",
......@@ -19,6 +18,30 @@
"test": "ts-mocha test/*.spec.ts",
"start": "ts-node ./src/exec/run-healthcheck-server.ts"
},
"keywords": [
"optimism",
"ethereum",
"replica",
"healthcheck"
],
"homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/replica-healthcheck#readme",
"license": "MIT",
"author": "Optimism PBC",
"repository": {
"type": "git",
"url": "https://github.com/ethereum-optimism/optimism.git"
},
"dependencies": {
"@eth-optimism/common-ts": "0.2.0",
"@eth-optimism/core-utils": "0.7.0",
"dotenv": "^10.0.0",
"ethers": "^5.4.5",
"express": "^4.17.1",
"express-prom-bundle": "^6.3.6",
"lint-staged": "11.0.0",
"node-cron": "^3.0.0",
"prom-client": "^13.1.0"
},
"devDependencies": {
"@types/express": "^4.17.12",
"@types/node": "^15.12.2",
......@@ -38,16 +61,5 @@
"ts-mocha": "^8.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.5"
},
"dependencies": {
"@eth-optimism/common-ts": "0.2.0",
"@eth-optimism/core-utils": "0.7.0",
"dotenv": "^10.0.0",
"ethers": "^5.4.5",
"express": "^4.17.1",
"express-prom-bundle": "^6.3.6",
"lint-staged": "11.0.0",
"node-cron": "^3.0.0",
"prom-client": "^13.1.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment