Skip to content

build: replace tsc with golar as typechecker, bump typescript to 7.0.2 - #68

Merged
RedStar071 merged 2 commits into
mainfrom
feat/replace-tsc-with-golar-typechecker-and-update-typscript
Aug 31, 2026
Merged

build: replace tsc with golar as typechecker, bump typescript to 7.0.2#68
RedStar071 merged 2 commits into
mainfrom
feat/replace-tsc-with-golar-typechecker-and-update-typscript

Conversation

@RedStar071

@RedStar071 RedStar071 commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Consolidate per-package turbo typecheck scripts into a single root script using golar's typecheck glob mode plus a targeted golar tsc -p call for the one package needing real tsconfig fidelity
  • Bump typescript to 7.0.2

Test plan

  • pnpm typecheck passes across all packages

Confidence Score: 4/5

The implemented typecheck command works, but the contributor documentation needs correction to prevent use of a removed command.

Direct execution confirmed that the documented Turbo command fails and that the replacement Golar command succeeds.

Files Needing Attention: AGENTS.md lines 24 and 27 need to describe the Golar-based typecheck command and remove the obsolete Turbo dependency-build claim.

T-Rex T-Rex Logs

What T-Rex did

  • T-Rex documented that the turbo run typecheck command fails because the typecheck task is absent.
  • T-Rex observed that the pnpm typecheck command runs and completes successfully under the Golar flow.
  • T-Rex noted that AGENTS.md contains stale lines when compared with the current package and Turbo metadata.
  • T-Rex validated contract behavior by showing Turbo reports it cannot find a typecheck task, while pnpm typecheck prints the golar typecheck and tsc command.
  • T-Rex produced a second P2 finding proof.

View all artifacts

T-Rex Ran code and verified through T-Rex

Fix all with Greploop Fix All in Claude Code Fix All in Cursor Fix All in Cursor Cloud Agents

Prompt To Fix All With AI
### Issue 1
AGENTS.md:24-27
**Typecheck documentation describes a removed Turbo task**

`pnpm typecheck` now invokes Golar and additionally checks the i18next consumption project, but these instructions still say it runs `turbo run typecheck` and that Turbo typechecking triggers dependency builds. `turbo.json` no longer defines a `typecheck` task, so following the documented command fails. Update this guidance to describe the current Golar command and remove or revise the obsolete Turbo dependency statement.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Reviews (1): Last reviewed commit: "fix(ci): mark golar.config.ts as knip en..." | Re-trigger Greptile

Golar's typecheck glob mode doesn't read tsconfig.json and its config
loader doesn't search upward, so per-package turbo typecheck scripts
were consolidated into a single root script combining `golar typecheck`
with a targeted `golar tsc -p` call for the one package that needs
real tsconfig fidelity.
@socket-security

socket-security Bot commented Aug 31, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgolar@​0.1.10791007495100
Addedtypescript@​7.0.29910089100100

View full report

…erator peer dep

golar.config.ts is only loaded implicitly by the golar CLI, so knip flagged it
as an unused file once nothing imported it directly. @wolfstar/i18next-type-generator
lost its only knip-visible usage signal when the per-package `typecheck` script
(which pointed at tsconfig.consumption.json) was replaced by the root-level
golar tsc invocation; it's an optional peer dep with no runtime import, so it's
ignored rather than re-wired into a script knip can trace.

Also adds an empty changeset since this PR only touches build tooling.
@pkg-pr-new

pkg-pr-new Bot commented Aug 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@wolfstar/plugin-api@68
pnpm add https://pkg.pr.new/@wolfstar/plugin-i18next@68
pnpm add https://pkg.pr.new/@wolfstar/plugin-subcommands-advanced@68

commit: 6b9b27a

@RedStar071
RedStar071 requested a review from lorypelli August 31, 2026 12:21
@RedStar071
RedStar071 merged commit 657182d into main Aug 31, 2026
20 checks passed
@RedStar071
RedStar071 deleted the feat/replace-tsc-with-golar-typechecker-and-update-typscript branch August 31, 2026 13:18

@lorypelli lorypelli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants