Notes from setting up a fresh Node/TypeScript project in mid-2026 — grounded in the actual package.json/.npmrc of a real repo, not generic advice.
As of mid-2026:
| Line | Status | Notes |
|---|
| # Install latest Go (system-wide, all users) | |
| ARG TARGETARCH | |
| RUN set -eux; \ | |
| GOVERSION=$(curl -fsSL "https://go.dev/VERSION?m=text" | head -1); \ | |
| curl -fsSL "https://go.dev/dl/${GOVERSION}.linux-${TARGETARCH}.tar.gz" \ | |
| | tar -C /usr/local -xz | |
| ENV GOPATH=/home/agent/go | |
| ENV PATH="/usr/local/go/bin:${GOPATH}/bin:${PATH}" |
QKo-op_gR9IACCESS_KEY_GOES_HEREOther goals:
Follow instructions here: https://gist.github.com/Beneboe/3183a8a9eb53439dbee07c90b344c77e
When you merge commits via GitHub UI (say "squash and merge"), GitHub will sign the commit itself.
Import GitHub webflow key so key is verified when you run git log --show-signature
msg!("Some variable: {:?}", variable);anchor test to run the program through the tests. However you won't find the output there.program-logs folder in your Anchor project. It'll be recreated each time you run the program.This is subtly mentioned in the docs and can be found in the CLI docs here: https://book.anchor-lang.com/chapter_4/cli.html#test
The https://github.com/Developer-DAO/pixel-avatars project has a non-standard place for the contracts so the OpenZeppelin imports are shown with a red lint error.
For Solidity VSCode plugin, set "Package Default Dependencies Directory" to contract/node_modules instead of default node_modules.
VSCode can then find the OpenZeppelin imports.
| html { | |
| font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, | |
| Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; | |
| } | |
| .code { | |
| font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, | |
| Bitstream Vera Sans Mono, Courier New, monospace; | |
| } |