Commit 8988499
authored
refactor!: new
The title of the PR is vague because there is a lot of changes in this
PR.
Other than tackling these issues here:
Closes
https://linear.app/aztec-labs/issue/F-41/replace-aztec-nargo-init-with-aztec-init
Closes
https://linear.app/aztec-labs/issue/F-43/replace-aztec-nargo-compile-with-aztec-compile
Closes
https://linear.app/aztec-labs/issue/F-44/aztec-compile-help-will-override-the-nargo-compile-help-with-aztec
Closes
https://linear.app/aztec-labs/issue/F-48/add-aztec-check-and-aztec-fmt
I also:
- Added `aztec new` command that is like `aztec init` but instead calls
`nargo new`. This was necessary as we used `aztec-nargo new` in docs
etc. Hence I needed the `aztec new counterpart`.
- I dropped the `aztec-postprocess-contract` directory containing the
`transpile_contract_and_gen_vks.sh` script because it now only called
the aztec_process command in bb which made this basically a tech debt
from time where we forced devs to call this script manually.
- Went to occurrences of "aztec-nargo" and "aztec-postprocess-contract"
strings in the codebase and docs and did the relevant updates.
- I replace the default contract template that `nargo init --contract`
and `nargo new --contract` commands spit out with:
```
use aztec::macros::aztec;
#[aztec]
contract Main {}
```
This results in the `aztec-nargo` and `aztec-postprocess-contract` being
deprecated (and deleted).
Thought it's fine to do all these changes in one PR because the
complexity of the changes is low.aztec command (#17792)File tree
32 files changed
+470
-233
lines changed- aztec-postprocess-contract
- aztec-up
- bin
- test
- boxes
- boxes
- react
- vanilla
- vite
- contract-only
- docs
- docs
- developers
- docs
- aztec-js
- aztec-nr
- framework-description/advanced
- resources
- tutorials
- contract_tutorials
- js_tutorials
- wallet-cli
- the_aztec_network
- internal_notes/dev_docs/sandbox
- playground/src/components/contract/components
- release-image
- yarn-project/aztec/src/cli
32 files changed
+470
-233
lines changedThis file was deleted.
Lines changed: 0 additions & 17 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
| |||
0 commit comments