Skip to content

chore: optimize build system for local development #3891

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

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

arboleya
Copy link
Contributor

@arboleya arboleya commented May 22, 2025

Summary

This PR revamps how we develop things locally by no longer requiring a build step. We now reference .ts files directly while having an automated routine to build things out when necessary, like publishing or running tests in CI.

Based on the TypeScript (Source Mode) concept and the drypub script from:

Checklist

  • All changes are covered by tests (or not applicable)
  • All changes are documented (or not applicable)
  • I reviewed the entire PR myself (preferably, on GH UI)
  • I described all Breaking Changes (or there's none)

@arboleya arboleya self-assigned this May 22, 2025
@arboleya arboleya added the chore Issue is a chore label May 22, 2025
Copy link

vercel bot commented May 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuels-template ❌ Failed (Inspect) May 23, 2025 0:09am
ts-docs ❌ Failed (Inspect) May 23, 2025 0:09am
ts-docs-api ❌ Failed (Inspect) May 23, 2025 0:09am

@arboleya arboleya changed the title chore!: optimize build system for local development chore: optimize build system for local development May 22, 2025
Copy link
Contributor

github-actions bot commented May 22, 2025

Temporary PR

This PR is published in AWS CodeArtifact with version: pr-3891

Install using the below commands — create-fuels variations are commented out.

PNPM

pnpm config set registry https://npm-packages.fuel.network/ --global
pnpm install fuels@pr-3891
# pnpm create fuels@pr-3891

NPM

npm --registry=https://npm-packages.fuel.network/ install fuels@pr-3891
# npm --registry=https://npm-packages.fuel.network/ create fuels@pr-3891

Bun

npm_config_registry=https://npm-packages.fuel.network/ bun install fuels@pr-3891
# npm_config_registry=https://npm-packages.fuel.network/ bun create fuels@pr-3891

@arboleya arboleya marked this pull request as ready for review May 22, 2025 13:09
Copy link
Contributor

Coverage Report:

Lines Branches Functions Statements
77.04%(-0.04%) 70.05%(+0.03%) 75.43%(+0%) 77.06%(-0.03%)
Changed Files:
Ok File (✨=New File) Lines Branches Functions Statements
🔴 ✨ packages/abi-typegen/typegen.ts 0%
(+0%)
100%
(+100%)
100%
(+100%)
0%
(+0%)
🔴 packages/account/src/providers/transaction-request/transaction-request.ts 90%
(+0%)
82.35%
(+1.18%)
86.27%
(+0%)
90.19%
(+0%)
🔴 ✨ packages/create-fuels/create-fuels.ts 0%
(+0%)
100%
(+100%)
100%
(+100%)
0%
(+0%)
🔴 ✨ packages/fuels/fuels.ts 0%
(+0%)
100%
(+100%)
100%
(+100%)
0%
(+0%)
🔴 ✨ packages/versions/versions.ts 0%
(+0%)
100%
(+100%)
100%
(+100%)
0%
(+0%)

@arboleya arboleya marked this pull request as draft May 30, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issue is a chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize Build System for Local Development
1 participant