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

refactor(utils): remove @zk-kit/utils/snark-artifacts #288

Merged
merged 3 commits into from
May 20, 2024

Conversation

sripwoud
Copy link
Member

@sripwoud sripwoud commented May 17, 2024

  • Remove complete snark-artifacts module of @zk-kit/utils: replace it by @zk-kit/artifacts
  • Update impacted configurations (rollup, jest...)

re #287

Description

Related Issue(s)

Other information

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my 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
  • I have run yarn style without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@sripwoud sripwoud self-assigned this May 17, 2024
@sripwoud sripwoud added the refactoring ♻️ A code change that neither fixes a bug nor adds a feature label May 17, 2024
@sripwoud sripwoud force-pushed the refactor/snark-artifacts branch from 9c9329d to 76b739d Compare May 19, 2024 12:24
@@ -12,6 +12,7 @@ const projects: any = fs
rootDir: `packages/${name}`,
displayName: name,
moduleNameMapper: {
"@zk-kit/artifacts": ["<rootDir>/../../node_modules/@zk-kit/artifacts/dist/index.node.cjs"],
Copy link
Member Author

Choose a reason for hiding this comment

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

as @zk-kit/artifacts is out of the monorepo packages, we must not override the corresponding entry it in the moduleNameMapper object. Is there a better way?

@sripwoud sripwoud added the dependencies 📦 Changes in dependencies label May 19, 2024
@sripwoud sripwoud marked this pull request as ready for review May 19, 2024 12:32
@sripwoud sripwoud requested review from cedoor and vplasencia May 19, 2024 12:32
@sripwoud sripwoud force-pushed the refactor/snark-artifacts branch from 5af9246 to 3a1b732 Compare May 20, 2024 12:36
@sripwoud
Copy link
Member Author

sripwoud commented May 20, 2024

capture: release new version of @zk-kit/utils after merging this
#290

@sripwoud sripwoud merged commit 72830e5 into main May 20, 2024
7 of 8 checks passed
@sripwoud sripwoud deleted the refactor/snark-artifacts branch May 20, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies 📦 Changes in dependencies refactoring ♻️ A code change that neither fixes a bug nor adds a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants