Content pfp
Content
@
0 reply
0 recast
0 reaction

frolic pfp
frolic
@frolic
$500 USDC bounty to publish Foundry binaries to npm The npm package should be automated and track upstream versions (e.g. nightly) Ultimately I want to be able to run `forge build` in my Vercel app’s “build command” setting and use the resulting output files in my app (ABI, bytecode, etc.) @bountybot
2 replies
0 recast
6 reactions

Soptq pfp
Soptq
@soptq
Just made one 🫡 : ```bash npm install -g foundry-up ``` and you can `forge build` with latest nightly foundry without problems. Source code: https://github.com/Soptq/foundry-up
1 reply
0 recast
1 reaction

frolic pfp
frolic
@frolic
Does it work in Vercel?
1 reply
0 recast
0 reaction

Soptq pfp
Soptq
@soptq
Yes it is! Here is the `forge -V` running on Vercel Node.js 20.x. (the last line)
2 replies
0 recast
1 reaction

frolic pfp
frolic
@frolic
Is there a way to specify a particular foundry version? Can the npm publish pipeline track it rather than installing latest?
1 reply
0 recast
0 reaction

Soptq pfp
Soptq
@soptq
For now there isn't, as Foundry still has no versioned releases (see https://github.com/foundry-rs/foundry/issues/3895 for more details). However, this functionality is not hard to implement once the Foundry has versioned releases. Will add this feat when its ready.
1 reply
0 recast
0 reaction