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: cli "unbox" command #2029

Merged
merged 141 commits into from
Sep 14, 2023
Merged

feat: cli "unbox" command #2029

merged 141 commits into from
Sep 14, 2023

Conversation

dan-aztec
Copy link
Contributor

@dan-aztec dan-aztec commented Sep 5, 2023

forking Leila's PR which has much nicer frontend, and copying over the sandbox interaction logic from my PR.

currently has everything in a single folder inside boxes/, when we add another one i think we can refactor the web stuff out so that it's mostly just a config.ts and maybe some pinned artifacts like the ContractAbi that change with each box. there's a bit of hacking around changing paths and package version values inside the unbox command, which copies files directly from github (so the user doesnt need the full monorepo).

since the command pulls from github directly, it's harder to test this - i've been working with a manual copy of boxes/private-token to mimic the copy functionality.

the monorepo subpackage does build, but since the command has dependency on github, will need to test post commit to make sure everything works.

image

Checklist:

Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

  • I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
  • Every change is related to the PR description.
  • I have linked this pull request to relevant issues (if any exist).

@socket-security
Copy link

socket-security bot commented Sep 5, 2023

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

Packages Version New capabilities Transitives Size Publisher
eslint-import-resolver-typescript 3.5.5 None +6 1.49 MB jounqin
@types/react-dom 18.2.7 None +0 30.2 kB types
jszip 3.10.1 eval +2 836 kB stuk
autoprefixer 10.4.15 None +0 199 kB ai
formik 2.4.3 environment +3 935 kB jaredpalmer
react 18.2.0 None +0 316 kB gnoff
react-dom 18.2.0 None +2 4.91 MB gnoff
yup 1.2.0 eval +3 276 kB monastic.panic
tailwindcss 3.3.3 filesystem, environment +20 9.16 MB adamwathan
eslint-plugin-react-refresh 0.4.3 None +1 67.7 kB arnaud-barre
style-loader 3.3.3 None +0 61 kB evilebottnawi
css-loader 6.8.1 None +2 338 kB evilebottnawi
postcss-loader 7.3.3 None +1 1.99 MB evilebottnawi
eslint-plugin-react-hooks 4.6.0 environment +1 174 kB gnoff
eslint-plugin-import 2.28.0 None +2 1.27 MB ljharb

@LeilaWang LeilaWang merged commit 26ab88f into master Sep 14, 2023
87 checks passed
@LeilaWang LeilaWang deleted the dan/lw/aztec_box branch September 14, 2023 17:03
@iAmMichaelConnor
Copy link
Contributor

Wooooooooooooh!!!

PhilWindle pushed a commit that referenced this pull request Sep 14, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>aztec-packages: 0.7.1</summary>

##
[0.7.1](aztec-packages-v0.7.0...aztec-packages-v0.7.1)
(2023-09-14)


### Features

* Build system handles dynamic deps first class.
([#2283](#2283))
([f66077a](f66077a))
* Build_manifest default tweaks.
([#2287](#2287))
([c8a5cfb](c8a5cfb))
* **build:** Build multi-architecture docker images for aztec-sandbox
([#2305](#2305))
([8ee61b8](8ee61b8))
* Cli "unbox" command
([#2029](#2029))
([26ab88f](26ab88f))
* Creating an SMT verification module
([#1932](#1932))
([4642b61](4642b61))
* Token standard
([#2069](#2069))
([5e8fbf2](5e8fbf2))


### Bug Fixes

* Ensure_note_hash_exists
([#2256](#2256))
([271b060](271b060))
* Msgpack stack blowups on schema gen
([#2259](#2259))
([1afc566](1afc566))
* Noir bootstrap
([#2274](#2274))
([f85db49](f85db49))
* Workaround sequencer timeout
([#2269](#2269))
([9fc3f3d](9fc3f3d))


### Miscellaneous

* Bump nargo to 0.11.1-aztec.0
([#2298](#2298))
([8b76a12](8b76a12))
* **ci:** Mirror Aztec-nr
([#2270](#2270))
([c57f027](c57f027))
* **circuits:** Base rollup cbind msgpack
([#2263](#2263))
([0d4c707](0d4c707))
* **circuits:** Clean up of some superfluous header includes
([#2302](#2302))
([5e53345](5e53345))
* **circuits:** Removing assertMemberLength on Tuple objects
([#2296](#2296))
([0247b85](0247b85))
* Consolidate mirror repos on a nightly schedule
([#1994](#1994))
([1a586c4](1a586c4))
* **docs:** Rename to aztec.nr
([#1943](#1943))
([a91db48](a91db48))
* Move barretenberg to top of repo. Make circuits build off barretenberg
build.
([#2221](#2221))
([404ec34](404ec34))
* Replace native token in lending contract
([#2276](#2276))
([c46b3c8](c46b3c8))
* **subrepo:** Push aztec-nr, update default branches
([#2300](#2300))
([80c9b77](80c9b77))
* Updated `acvm_js`
([#2272](#2272))
([9f1a3a5](9f1a3a5))
</details>

<details><summary>barretenberg.js: 0.7.1</summary>

##
[0.7.1](barretenberg.js-v0.7.0...barretenberg.js-v0.7.1)
(2023-09-14)


### Miscellaneous

* Move barretenberg to top of repo. Make circuits build off barretenberg
build.
([#2221](#2221))
([404ec34](404ec34))
</details>

<details><summary>barretenberg: 0.7.1</summary>

##
[0.7.1](barretenberg-v0.7.0...barretenberg-v0.7.1)
(2023-09-14)


### Miscellaneous

* Move barretenberg to top of repo. Make circuits build off barretenberg
build.
([#2221](#2221))
([404ec34](404ec34))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Create a 'Tuffle Box'-like box for a basic Aztec dapp
3 participants