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

feat: Add initial version of noir.js #2681

Merged
merged 15 commits into from
Sep 14, 2023
Merged

feat: Add initial version of noir.js #2681

merged 15 commits into from
Sep 14, 2023

Conversation

jonybur
Copy link
Contributor

@jonybur jonybur commented Sep 13, 2023

Description

A simple package that exports acvm_js and noirc_abi

Problem*

Resolves noir-lang/Planning#31
Resolves noir-lang/Planning#32

Summary*

Creates a package that exports acvm_js and noirc_abi

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@socket-security
Copy link

socket-security bot commented Sep 13, 2023

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@noir-lang/acvm_js 0.26.0...0.26.1 None +0/-0 5.84 MB noir-lang

@kevaundray kevaundray marked this pull request as ready for review September 14, 2023 18:26
.github/workflows/noir-js.yml Outdated Show resolved Hide resolved
.github/workflows/noir-js.yml Outdated Show resolved Hide resolved
kevaundray and others added 2 commits September 14, 2023 19:36
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
@kevaundray kevaundray changed the title feat: add noir_js feat: Add initial version of noir.js Sep 14, 2023
TomAFrench
TomAFrench previously approved these changes Sep 14, 2023
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

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

LGTM

@TomAFrench
Copy link
Member

On second thoughts, might it be safer to require the version bump to have been done already manually?

This makes running the release workflow idempotent.

@TomAFrench
Copy link
Member

Not a blocker.

@kevaundray
Copy link
Contributor

require the version bump to have been done already manually?

yeah I don't mind doing that

@TomAFrench
Copy link
Member

Actually, let's merge this and then we can address both workflows together.

@kevaundray
Copy link
Contributor

Oh sorry already pushed it

@TomAFrench TomAFrench added this pull request to the merge queue Sep 14, 2023
Merged via the queue into master with commit e1687c9 Sep 14, 2023
13 checks passed
@TomAFrench TomAFrench deleted the jb/noir_js branch September 14, 2023 19:16
TomAFrench added a commit that referenced this pull request Sep 15, 2023
* tf/split-build-and-test:
  chore: remove reference to `result` directory
  chore!: Change `noir-lang/noir-source-resolver` to `noir-lang/source-resolver` (#2718)
  chore: clippy fixes (#2719)
  chore: fix version querying
  chore: nits
  chore(ci): fix playwright caching
  chore: pass full `package.json` into build artifact
  chore: clean up straggler `packageManager`
  chore: remove `packageManager" fields from workspace packages
  chore: refresh lockfile
  Update .github/workflows/abi_wasm.yml
  chore: split build and tests jobs in `abi_wasm.yml`
  chore: Integrate noir.js into workspace and CI release workflow (#2705)
  feat: Add initial version of noir.js (#2681)
  chore: switch `release-source-resolver.yml` to use yarn (#2704)
  chore: move stranded test to correct directory (#2701)
  chore(ci): deny wildcard dependencies (#2702)
  chore: fix `noirc_abi_wasm` publish for release-please (#2699)
TomAFrench added a commit that referenced this pull request Sep 15, 2023
* master:
  chore: Add deprecation message for default type in for loop (#2689)
  chore!: Change `noir-lang/noir-source-resolver` to `noir-lang/source-resolver` (#2718)
  chore: clippy fixes (#2719)
  chore: Integrate noir.js into workspace and CI release workflow (#2705)
  feat: Add initial version of noir.js (#2681)
  chore: switch `release-source-resolver.yml` to use yarn (#2704)
  chore: move stranded test to correct directory (#2701)
  chore(ci): deny wildcard dependencies (#2702)
  chore: fix `noirc_abi_wasm` publish for release-please (#2699)
  chore: introduce workspace for js packages (#2677)
  feat: Allow methods defined in a contract to be non-entry points (#2687)
  chore: revert some unwanted small changes from PR2180 (#2685)
  feat(lsp): Add nargo capabilities for test metadata (#2532)
  chore(ci): Add `cargo deny` workflow (#2682)
TomAFrench added a commit that referenced this pull request Sep 15, 2023
* master:
  chore(ci): Treat clippy warnings as errors in CI (#2684)
  chore(ci): Cache yarn and playwright dependencies in CI (#2697)
  chore: Add noir-wasm publishing as a workflow (#2721)
  fix: failing js tests (#2722)
  chore: Add deprecation message for default type in for loop (#2689)
  chore!: Change `noir-lang/noir-source-resolver` to `noir-lang/source-resolver` (#2718)
  chore: clippy fixes (#2719)
  chore: Integrate noir.js into workspace and CI release workflow (#2705)
  feat: Add initial version of noir.js (#2681)
  chore: switch `release-source-resolver.yml` to use yarn (#2704)
  chore: move stranded test to correct directory (#2701)
  chore(ci): deny wildcard dependencies (#2702)
  chore: fix `noirc_abi_wasm` publish for release-please (#2699)
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.

Package noirc_abi_wasm into Noir.js for step Package acvm_js into Noir.js for step
3 participants