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

Remove JSON schemas in favour of structs #862

Merged
merged 11 commits into from Oct 26, 2022
Merged

Conversation

Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Oct 25, 2022

This replaces the package.json and snap.manifest.json JSON schemas in favour of superstruct.

To do

  • Fix browser export
  • Fix other packages

@Mrtenz Mrtenz marked this pull request as ready for review October 26, 2022 10:42
@Mrtenz Mrtenz requested a review from a team as a code owner October 26, 2022 10:42
Copy link
Member

@ritave ritave left a comment

Choose a reason for hiding this comment

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

I'm generally all for this change.

Could we talk through implementing / not implementing https://github.com/MetaMask/SIPs/blob/main/SIPS/sip-4.md before merging this though? No need to duplicate efforts

packages/utils/src/structs.ts Outdated Show resolved Hide resolved
packages/utils/src/types.ts Outdated Show resolved Hide resolved
packages/utils/src/types.ts Outdated Show resolved Hide resolved
@Mrtenz
Copy link
Member Author

Mrtenz commented Oct 26, 2022

Could we talk through implementing / not implementing https://github.com/MetaMask/SIPs/blob/main/SIPS/sip-4.md before merging this though? No need to duplicate efforts

The work for this PR is already done. If we decide on merging the two, we'd need to redo the work regardless, so I don't think it makes any difference.

ritave
ritave previously approved these changes Oct 26, 2022
@Mrtenz Mrtenz merged commit abdcbea into main Oct 26, 2022
@Mrtenz Mrtenz deleted the mrtenz/remove-json-schemas branch October 26, 2022 13:00
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.

None yet

3 participants