Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
243f33e5
Unverified
Commit
243f33e5
authored
Nov 11, 2021
by
Kelvin Fichter
Committed by
kf
Nov 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: standardize package json structure
parent
1bd999bd
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
162 additions
and
61 deletions
+162
-61
metal-monkeys-repeat.md
.changeset/metal-monkeys-repeat.md
+13
-0
package.json
integration-tests/package.json
+15
-4
package.json
packages/batch-submitter/package.json
+4
-4
package.json
packages/common-ts/package.json
+23
-11
package.json
packages/contracts/package.json
+15
-3
package.json
packages/core-utils/package.json
+25
-14
package.json
packages/data-transport-layer/package.json
+17
-4
package.json
packages/message-relayer/package.json
+3
-3
package.json
packages/regenesis-surgery/package.json
+20
-3
package.json
packages/replica-healthcheck/package.json
+27
-15
No files found.
.changeset/metal-monkeys-repeat.md
0 → 100644
View file @
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
integration-tests/package.json
View file @
243f33e5
{
{
"private"
:
true
,
"name"
:
"@eth-optimism/integration-tests"
,
"name"
:
"@eth-optimism/integration-tests"
,
"version"
:
"0.3.0"
,
"version"
:
"0.3.0"
,
"description"
:
"[Optimism] Integration Tests"
,
"description"
:
"[Optimism] Integration tests"
,
"private"
:
true
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint"
:
"yarn lint:fix && yarn lint:check"
,
"lint:fix"
:
"yarn lint:check --fix"
,
"lint:fix"
:
"yarn lint:check --fix"
,
...
@@ -16,6 +14,19 @@
...
@@ -16,6 +14,19 @@
"clean"
:
"rimraf cache artifacts"
,
"clean"
:
"rimraf cache artifacts"
,
"pre-commit"
:
"lint-staged"
"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"
:
{
"devDependencies"
:
{
"@eth-optimism/contracts"
:
"0.5.1"
,
"@eth-optimism/contracts"
:
"0.5.1"
,
"@eth-optimism/core-utils"
:
"0.7.0"
,
"@eth-optimism/core-utils"
:
"0.7.0"
,
...
...
packages/batch-submitter/package.json
View file @
243f33e5
{
{
"private"
:
true
,
"name"
:
"@eth-optimism/batch-submitter"
,
"name"
:
"@eth-optimism/batch-submitter"
,
"version"
:
"0.4.1"
,
"version"
:
"0.4.1"
,
"private"
:
true
,
"description"
:
"[Optimism] Service for submitting transactions and transaction results"
,
"description"
:
"[Optimism] Batch submission for sequencer & aggregators"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
...
@@ -25,12 +25,12 @@
...
@@ -25,12 +25,12 @@
"sequencer"
,
"sequencer"
,
"aggregator"
"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"
,
"license"
:
"MIT"
,
"author"
:
"Optimism PBC"
,
"author"
:
"Optimism PBC"
,
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
"url"
:
"https://github.com/ethereum-optimism/optimism
-monorepo
.git"
"url"
:
"https://github.com/ethereum-optimism/optimism.git"
},
},
"dependencies"
:
{
"dependencies"
:
{
"@eth-optimism/common-ts"
:
"0.2.0"
,
"@eth-optimism/common-ts"
:
"0.2.0"
,
...
...
packages/common-ts/package.json
View file @
243f33e5
{
{
"name"
:
"@eth-optimism/common-ts"
,
"name"
:
"@eth-optimism/common-ts"
,
"version"
:
"0.2.0"
,
"version"
:
"0.2.0"
,
"description"
:
"[Optimism] Advanced typescript tooling used by various services"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
"dist/*"
"dist/*"
],
],
"types"
:
"dist/index"
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
...
@@ -18,6 +17,27 @@
...
@@ -18,6 +17,27 @@
"pre-commit"
:
"lint-staged"
,
"pre-commit"
:
"lint-staged"
,
"test"
:
"ts-mocha test/*.spec.ts"
"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"
:
{
"devDependencies"
:
{
"@types/chai"
:
"^4.2.18"
,
"@types/chai"
:
"^4.2.18"
,
"@types/express"
:
"^4.17.12"
,
"@types/express"
:
"^4.17.12"
,
...
@@ -43,13 +63,5 @@
...
@@ -43,13 +63,5 @@
"supertest"
:
"^6.1.4"
,
"supertest"
:
"^6.1.4"
,
"ts-mocha"
:
"^8.0.0"
,
"ts-mocha"
:
"^8.0.0"
,
"typescript"
:
"^4.3.5"
"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"
}
}
}
}
packages/contracts/package.json
View file @
243f33e5
{
{
"name"
:
"@eth-optimism/contracts"
,
"name"
:
"@eth-optimism/contracts"
,
"version"
:
"0.5.1"
,
"version"
:
"0.5.1"
,
"description"
:
"[Optimism] L1 and L2 smart contracts for Optimistic Ethereum"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
"dist/**/*.js"
,
"dist/**/*.js"
,
"dist/**/*.d.ts"
,
"dist/**/*.d.ts"
,
...
@@ -14,9 +16,6 @@
...
@@ -14,9 +16,6 @@
"libraries"
,
"libraries"
,
"standards"
"standards"
],
],
"types"
:
"dist/index"
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"build"
:
"yarn build:contracts && yarn autogen:artifacts && yarn build:typescript"
,
"build"
:
"yarn build:contracts && yarn autogen:artifacts && yarn build:typescript"
,
"build:typescript"
:
"tsc -p ./tsconfig.build.json"
,
"build:typescript"
:
"tsc -p ./tsconfig.build.json"
,
...
@@ -45,6 +44,19 @@
...
@@ -45,6 +44,19 @@
"postpack"
:
"yarn postpublish"
,
"postpack"
:
"yarn postpublish"
,
"pre-commit"
:
"lint-staged"
"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"
:
{
"dependencies"
:
{
"@eth-optimism/core-utils"
:
"0.7.0"
,
"@eth-optimism/core-utils"
:
"0.7.0"
,
"@ethersproject/abstract-provider"
:
"^5.4.1"
,
"@ethersproject/abstract-provider"
:
"^5.4.1"
,
...
...
packages/core-utils/package.json
View file @
243f33e5
{
{
"name"
:
"@eth-optimism/core-utils"
,
"name"
:
"@eth-optimism/core-utils"
,
"version"
:
"0.7.0"
,
"version"
:
"0.7.0"
,
"description"
:
"[Optimism] Core typescript utilities"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
"dist/
*
"
"dist/
index
"
],
],
"types"
:
"dist/index"
,
"repository"
:
"git@github.com:ethereum-optimism/core-utils.git"
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"all"
:
"yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
...
@@ -20,6 +18,28 @@
...
@@ -20,6 +18,28 @@
"test"
:
"ts-mocha test/*.spec.ts"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
"test:coverage"
:
"nyc ts-mocha test/*.spec.ts && nyc merge .nyc_output coverage.json"
"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"
:
{
"devDependencies"
:
{
"@types/chai"
:
"^4.2.18"
,
"@types/chai"
:
"^4.2.18"
,
"@types/lodash"
:
"^4.14.168"
,
"@types/lodash"
:
"^4.14.168"
,
...
@@ -42,14 +62,5 @@
...
@@ -42,14 +62,5 @@
"prettier"
:
"^2.3.1"
,
"prettier"
:
"^2.3.1"
,
"ts-mocha"
:
"^8.0.0"
,
"ts-mocha"
:
"^8.0.0"
,
"typescript"
:
"^4.3.5"
"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"
}
}
}
}
packages/data-transport-layer/package.json
View file @
243f33e5
{
{
"private"
:
true
,
"name"
:
"@eth-optimism/data-transport-layer"
,
"name"
:
"@eth-optimism/data-transport-layer"
,
"version"
:
"0.5.1"
,
"version"
:
"0.5.1"
,
"
private"
:
true
,
"
description"
:
"[Optimism] Service for shuttling data from L1 into L2"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
"dist/index"
"dist/index"
],
],
"types"
:
"dist/index"
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean:db"
:
"rimraf ./db"
,
"clean:db"
:
"rimraf ./db"
,
...
@@ -22,6 +21,20 @@
...
@@ -22,6 +21,20 @@
"build"
:
"tsc -p tsconfig.build.json"
,
"build"
:
"tsc -p tsconfig.build.json"
,
"pre-commit"
:
"lint-staged"
"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"
:
{
"dependencies"
:
{
"@eth-optimism/common-ts"
:
"0.2.0"
,
"@eth-optimism/common-ts"
:
"0.2.0"
,
"@eth-optimism/contracts"
:
"0.5.1"
,
"@eth-optimism/contracts"
:
"0.5.1"
,
...
...
packages/message-relayer/package.json
View file @
243f33e5
{
{
"name"
:
"@eth-optimism/message-relayer"
,
"name"
:
"@eth-optimism/message-relayer"
,
"version"
:
"0.2.1"
,
"version"
:
"0.2.1"
,
"description"
:
"[Optimism]
Cross Domain Message Relayer service
"
,
"description"
:
"[Optimism]
Service for automatically relaying L2 to L1 transactions
"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
"dist/
*
"
"dist/
index
"
],
],
"bin"
:
{
"bin"
:
{
"withdraw"
:
"./src/exec/withdraw.ts"
"withdraw"
:
"./src/exec/withdraw.ts"
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
"ethereum"
,
"ethereum"
,
"relayer"
"relayer"
],
],
"homepage"
:
"https://github.com/ethereum-optimism/optimism
-monorepo/tree/master/packages/batch-submitt
er#readme"
,
"homepage"
:
"https://github.com/ethereum-optimism/optimism
/tree/develop/packages/message-relay
er#readme"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"author"
:
"Optimism PBC"
,
"author"
:
"Optimism PBC"
,
"repository"
:
{
"repository"
:
{
...
...
packages/regenesis-surgery/package.json
View file @
243f33e5
{
{
"private"
:
true
,
"name"
:
"@eth-optimism/regenesis-surgery"
,
"name"
:
"@eth-optimism/regenesis-surgery"
,
"version"
:
"0.2.0"
,
"version"
:
"0.2.0"
,
"private"
:
true
,
"description"
:
"[Optimism] Tooling for managing the OVM 1.0 to OVM 2.0 upgrade"
,
"author"
:
"Optimism PBC"
,
"main"
:
"dist/index"
,
"license"
:
"MIT"
,
"types"
:
"dist/index"
,
"files"
:
[
"dist/index"
],
"scripts"
:
{
"scripts"
:
{
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
...
@@ -13,6 +17,19 @@
...
@@ -13,6 +17,19 @@
"test:surgery"
:
"ts-mocha --timeout 50000000 test/*"
,
"test:surgery"
:
"ts-mocha --timeout 50000000 test/*"
,
"start"
:
"ts-node ./scripts/surgery.ts"
"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"
:
{
"devDependencies"
:
{
"@discoveryjs/json-ext"
:
"^0.5.3"
,
"@discoveryjs/json-ext"
:
"^0.5.3"
,
"@eth-optimism/core-utils"
:
"0.7.0"
,
"@eth-optimism/core-utils"
:
"0.7.0"
,
...
...
packages/replica-healthcheck/package.json
View file @
243f33e5
{
{
"private"
:
true
,
"name"
:
"@eth-optimism/replica-healthcheck"
,
"name"
:
"@eth-optimism/replica-healthcheck"
,
"version"
:
"0.3.0"
,
"version"
:
"0.3.0"
,
"
private"
:
true
,
"
description"
:
"[Optimism] Service for monitoring the health of replica nodes"
,
"main"
:
"dist/index"
,
"main"
:
"dist/index"
,
"types"
:
"dist/index"
,
"files"
:
[
"files"
:
[
"dist/index"
"dist/index"
],
],
"types"
:
"dist/index"
,
"author"
:
"Optimism PBC"
,
"license"
:
"MIT"
,
"scripts"
:
{
"scripts"
:
{
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"clean"
:
"rimraf ./dist ./tsconfig.build.tsbuildinfo"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
"lint"
:
"yarn run lint:fix && yarn run lint:check"
,
...
@@ -19,6 +18,30 @@
...
@@ -19,6 +18,30 @@
"test"
:
"ts-mocha test/*.spec.ts"
,
"test"
:
"ts-mocha test/*.spec.ts"
,
"start"
:
"ts-node ./src/exec/run-healthcheck-server.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"
:
{
"devDependencies"
:
{
"@types/express"
:
"^4.17.12"
,
"@types/express"
:
"^4.17.12"
,
"@types/node"
:
"^15.12.2"
,
"@types/node"
:
"^15.12.2"
,
...
@@ -38,16 +61,5 @@
...
@@ -38,16 +61,5 @@
"ts-mocha"
:
"^8.0.0"
,
"ts-mocha"
:
"^8.0.0"
,
"ts-node"
:
"^10.0.0"
,
"ts-node"
:
"^10.0.0"
,
"typescript"
:
"^4.3.5"
"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"
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment