Skip to content

refactor: move logger, metrics, base-service to common-ts#683

Merged
annieke merged 8 commits intomasterfrom
liam/common-ts
Apr 29, 2021
Merged

refactor: move logger, metrics, base-service to common-ts#683
annieke merged 8 commits intomasterfrom
liam/common-ts

Conversation

@annieke
Copy link
Copy Markdown
Contributor

@annieke annieke commented Apr 28, 2021

Description
as of now, our contracts package is not browser compatible due to core-utils requiring prom-client as a dependency. this refactor moves our internal dependencies into a new common-ts package and should unblock browser use of our contracts.

Additional context
all the dockerfiles are fixed as well, but would love extra 👀 to make sure common-ts publishing works!

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 28, 2021

🦋 Changeset detected

Latest commit: 73c4fa6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@eth-optimism/common-ts Minor
@eth-optimism/core-utils Minor
@eth-optimism/batch-submitter Patch
@eth-optimism/data-transport-layer Patch
@eth-optimism/message-relayer Patch
@eth-optimism/contracts Patch
@eth-optimism/smock Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@annieke annieke requested a review from snario April 28, 2021 23:25
@annieke annieke requested a review from gigamesh April 28, 2021 23:30
Comment on lines +1 to +8
{
"$schema": "http://json.schemastore.org/prettierrc",
"trailingComma": "es5",
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"arrowParens": "always"
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can be a symlink.

@annieke annieke merged commit 28dc442 into master Apr 29, 2021
@annieke annieke deleted the liam/common-ts branch April 29, 2021 00:38
InoMurko pushed a commit to omgnetwork/optimism that referenced this pull request May 25, 2021
…ptimism#683)

* WIP: common-ts

* remove common-ts files from core-utils

* fix imports in bs and dtl

* update dockerfiles

* cleanup common-ts

* add changeset and message relayer dependency

* add dtl common-ts dependency

* make .prettier rc symlink

Co-authored-by: Liam Horne <liam@lihorne.com>
theochap pushed a commit that referenced this pull request Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants