Skip to content

Unify BrighterScript build tooling across all targets#184

Merged
kikoveiga merged 1 commit into
developfrom
chore/unify-build-tooling
Jun 9, 2026
Merged

Unify BrighterScript build tooling across all targets#184
kikoveiga merged 1 commit into
developfrom
chore/unify-build-tooling

Conversation

@kikoveiga

Copy link
Copy Markdown
Contributor

Summary

  • library/ and sample/ had brighterscript@^0.65.1 and bslint@^0.8.11 pinned locally, while test/ had no devDependencies at all and silently fell back to the root's 0.69.13. This meant two different compiler versions were running during the same build.
  • Removed devDependencies from library/ and sample/ so all three targets now resolve bsc and bslint from the root package.json — one version, one place to update.
  • Fixed build.sh to use rm -rf instead of rm -r so it doesn't error when a folder has no local node_modules.
  • Renamed the unused writer param to _writer in the RumScope stub to match the existing _ph convention and silence the runtime lint warning (the param must exist to satisfy the interface, but this base implementation doesn't use it).

The compiler version change (0.65.270.69.13) produces byte-for-byte identical dist/ output — verified by diffing before and after.

🤖 Generated with Claude Code

- Remove devDependencies from library/ and sample/ so all three build
  targets (library, test, sample) resolve bsc and bslint from the root
  package.json (0.69.13 / 0.8.39) — single source of truth
- Fix build.sh to use rm -rf so it doesn't error when node_modules
  wasn't created (folders with no local devDependencies)
- Rename unused `writer` param to `_writer` in RumScope stub to match
  the _ph convention and silence the runtime lint warning

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@kikoveiga
kikoveiga requested a review from a team as a code owner June 9, 2026 14:36
Comment thread library/components/rum/RumScope.bs
@kikoveiga
kikoveiga merged commit f6d075c into develop Jun 9, 2026
8 checks passed
@kikoveiga
kikoveiga deleted the chore/unify-build-tooling branch June 9, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants