Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: convert repo into a yarn workspaces monorepo and add sdk package #888

Merged
merged 20 commits into from
Dec 15, 2023

Conversation

tmigone
Copy link
Contributor

@tmigone tmigone commented Nov 28, 2023

⚠️ You'll need Yarn v4 for this!! Follow readme instructions.

Changes

Copy link

openzeppelin-code bot commented Nov 28, 2023

chore: convert repo into a yarn workspaces monorepo and add sdk package

Generated at commit: 2db4c7e9cb0e4e9b262d031578ee218a5dea93c0

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
18
32
52
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Copy link

socket-security bot commented Nov 28, 2023

Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
@tmigone tmigone marked this pull request as ready for review December 1, 2023 20:54
@tmigone tmigone changed the title chore: convert repo into a yarn workspaces monorepo chore: convert repo into a yarn workspaces monorepo and add sdk package Dec 1, 2023
Signed-off-by: Tomás Migone <[email protected]>
README.md Show resolved Hide resolved
override
onlyGovernor
{
function setMinimumCurationDeposit(
Copy link
Member

Choose a reason for hiding this comment

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

hmm is it possible that the linter config broke with the move? seems it's changing everything to a different format, but the .prettierrc.json hasn't changed, so maybe it's not picking it up anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

mmm looks like you are right. fixing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok found the root cause. When converting to a monorepo I deleted yarn lock file to bump dependencies, it looks like newer versions of our linting tools just have different rules.

If you delete yarn.lock on the main branch and do a fresh install then lint the code it will output the code linted as in this PR.

So I'm inclined to keep this as is.

packages/contracts/package.json Outdated Show resolved Hide resolved
packages/sdk/addresses.json Outdated Show resolved Hide resolved
@tmigone tmigone merged commit 93a2a46 into tmigone/sdk Dec 15, 2023
3 checks passed
tmigone added a commit that referenced this pull request Dec 20, 2023
* chore: wip changes to integrate with sdk

Signed-off-by: Tomás Migone <[email protected]>

* fix: clean up

Signed-off-by: Tomás Migone <[email protected]>

* chore: remove test lib helper, replace with sdk

Signed-off-by: Tomás Migone <[email protected]>

* chore: use sdk for test libs

Signed-off-by: Tomás Migone <[email protected]>

* feat: tests and e2e tests passing

Signed-off-by: Tomás Migone <[email protected]>

* chore: wip decouple and delete cli

Signed-off-by: Tomás Migone <[email protected]>

* feat(sdk): complete sdk integrationx

Signed-off-by: Tomás Migone <[email protected]>

* test: fix chai matchers

Signed-off-by: Tomás Migone <[email protected]>

* 5.3.1

* chore: bump sdk, remove gre ci tests

Signed-off-by: Tomás Migone <[email protected]>

* test: fix coverage tes

Signed-off-by: Tomás Migone <[email protected]>

* chore: bump sdk version

Signed-off-by: Tomás Migone <[email protected]>

* 5.3.2

* fix: support e2e tests

Signed-off-by: Tomás Migone <[email protected]>

* chore: rename cli folder

Signed-off-by: Tomás Migone <[email protected]>

* test: disable interval mining in hardhat network

Signed-off-by: Tomás Migone <[email protected]>

* chore: delete commented out import

Signed-off-by: Tomás Migone <[email protected]>

* chore: convert repo into a yarn workspaces monorepo and add sdk package (#888)

* chore: convert repo into a yarn workspaces monorepo

Signed-off-by: Tomás Migone <[email protected]>

* chore: add sdk

Signed-off-by: Tomás Migone <[email protected]>

* chore: fix cross reference dependencies and add readme

Signed-off-by: Tomás Migone <[email protected]>

* ci: fix setup action

Signed-off-by: Tomás Migone <[email protected]>

* ci: use yarn v4

Signed-off-by: Tomás Migone <[email protected]>

* ci: add missing property to setup action

Signed-off-by: Tomás Migone <[email protected]>

* ci: add more missing properties

Signed-off-by: Tomás Migone <[email protected]>

* ci: refactor corepack enable

Signed-off-by: Tomás Migone <[email protected]>

* ci: run for all branches and prs

Signed-off-by: Tomás Migone <[email protected]>

* ci: fix coverage file path

Signed-off-by: Tomás Migone <[email protected]>

* ci: add workflow dispatch trigger

Signed-off-by: Tomás Migone <[email protected]>

* chore: trigger ci

Signed-off-by: Tomás Migone <[email protected]>

* chore: update README

Signed-off-by: Tomás Migone <[email protected]>

* test: fix failing tests

Signed-off-by: Tomás Migone <[email protected]>

* chore: minor nits

Signed-off-by: Tomás Migone <[email protected]>

* chore: fixup prettier config

Signed-off-by: Tomás Migone <[email protected]>

* chore: roll back prettier-plugin-solidity to old version to avoid reformatting

Signed-off-by: Tomás Migone <[email protected]>

* chore: bump packages versions and add publish ci action

Signed-off-by: Tomás Migone <[email protected]>

* docs: update readme with versioning and publishing instructions

Signed-off-by: Tomás Migone <[email protected]>

---------

Signed-off-by: Tomás Migone <[email protected]>

* fix: change localhost for 127.0.0.1 to avoid node v17+ issues

Signed-off-by: Tomás Migone <[email protected]>

---------

Signed-off-by: Tomás Migone <[email protected]>
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.

3 participants