Skip to content

typescript-node: Fix yarn lockfile, test value, and script/test for CI - #160

Open
adamnfish-gu wants to merge 1 commit into
platform/tool-versions-cifrom
fix/typescript-node
Open

typescript-node: Fix yarn lockfile, test value, and script/test for CI#160
adamnfish-gu wants to merge 1 commit into
platform/tool-versions-cifrom
fix/typescript-node

Conversation

@adamnfish-gu

@adamnfish-gu adamnfish-gu commented Aug 7, 2026

Copy link
Copy Markdown

The project had a Yarn Classic v1 yarn.lock alongside a .yarnrc.yml configured for Yarn Berry and a .yarn/install-state.gz. The sibling javascript and javascript-esm projects both use Yarn Berry 3.

Deletes the v1 yarn.lock and regenerates it with Yarn 3.8.7. Adds a packageManager field to package.json to pin the choice.

myConst was false while the test expected true; it now returns true. script/test ran yarn test --watch, which never exits. It now runs once, with the watch loop behind --watch.


Base platform/tool-versions-ci (#144), so the diff shows only this branch's changes. Merge #144 first.

Part of #143.

The project had a Yarn Classic v1 yarn.lock alongside a .yarnrc.yml
configured for Yarn Berry and a .yarn/install-state.gz. The sibling
javascript and javascript-esm projects both use Yarn Berry 3.

Deletes the v1 yarn.lock and regenerates it with Yarn 3.8.7. Adds a
packageManager field to package.json to pin the choice.

myConst was false while the test expected true; it now returns true.
script/test ran `yarn test --watch`, which never exits. It now runs once,
with the watch loop behind --watch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@bryophyta bryophyta left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

As mentioned in the corresponding JS PR I suspect that the test was failing intentionally, but as long as the change to a passing test is intentional then this looks good to me 👍

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