Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Find other binaries via compiler-info.json#1135

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nojaf merged 3 commits intorescript-lang:masterfromnojaf:monorepo-fixes
Oct 2, 2025

Conversation

@nojaf
Copy link
Member

See sample inrescript-lang/end-to-end#1

Adds some fixes for#1106

packagea has acompiler-info.json of:

{"version":"12.0.0-beta.13","bsc_path":"/Users/nojaf/Projects/rescript-end-to-end/repos/pnpm/monorepo/node_modules/.pnpm/@rescript+darwin-arm64@12.0.0-beta.13/node_modules/@rescript/darwin-arm64/bin/bsc.exe","bsc_hash":"1263ce9a1dad7e30b855a8221d361b1147c2c1541a3f2600d09e954deb989ae6","rescript_config_hash":"68d9b6cfd83ac38869b2afe037b4fcbbbb9faa016302a2f26d45a1e7875e1479","runtime_path":"/Users/nojaf/Projects/rescript-end-to-end/repos/pnpm/monorepo/node_modules/.pnpm/@rescript+runtime@12.0.0-beta.13/node_modules/@rescript/runtime","generated_at":"1759387416473"}

}

constprojectRewatchLockfiles=[
...Array.from(workspaceFolders).map((w)=>
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

ReScript lock was located at workspace level:
lib/rescript.lock
Was absent onpackages/a/lib level, so it assumedbsb and failed.

"..",
`@rescript/${target}/bin.js`,
);
const{ binPaths}=awaitimport(targetPackagePath);
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

The dynamic import ofrescript/../@rescript-platform package fails on pnpm because it is located deeply in thenode_module/.pnpm folder.
node_modules/.pnpm/@rescript+darwin-arm64@12.0.0-beta.13/node_modules/@rescript/darwin-arm64/bin/
So, using the path fromcompiler-info.json is the better play.

@nojafnojaf requested a review fromzthOctober 2, 2025 07:11
Copy link
Member

@zthzth left a comment

Choose a reason for hiding this comment

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

Great work! Changelog perhaps?

@nojafnojaf merged commit4bb6096 intorescript-lang:masterOct 2, 2025
6 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@zthzthzth approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@nojaf@zth

[8]ページ先頭

©2009-2025 Movatter.jp