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

move to dev dependency #322

Merged
merged 3 commits into from
Mar 6, 2023
Merged

Conversation

novaknole
Copy link
Contributor

@novaknole novaknole commented Mar 5, 2023

Description

After doing this, I realized one thing. If you install @aragon/osx, it's true, it brings the contracts in the node_modules, but they won't work unless consumer of our package installs openzeppelin packages by himself. Isn't the whole idea why dev would install our package to build on top of it ?

Maybe in the packages/contracts/src/package.json, we should put OZ packages in the dependencies .

@brickpop @mathewmeconry

Task: ID

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.
  • I ran all tests with success and extended them if necessary.
  • I have updated the CHANGELOG.md file in the root folder.
  • I have tested my code on the test network.

mathewmeconry
mathewmeconry previously approved these changes Mar 6, 2023
Copy link
Contributor

@mathewmeconry mathewmeconry left a comment

Choose a reason for hiding this comment

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

Yep agreed. We need to add the contracts we inherit from in the dependencies of the osx package

@brickpop
Copy link
Contributor

brickpop commented Mar 6, 2023

  • I think package.json file is already OK the way it is.
  • But we should indeed update packages/contracts/src/package.json to have OZ as a dependency. This is what people is going to import for the contract source files 👍 @novaknole

@novaknole novaknole merged commit adfbc5c into develop Mar 6, 2023
@novaknole novaknole deleted the feature/APP-1733-move-dependencies branch March 6, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants