Skip to content

Conversation

@cknitt
Copy link
Member

@cknitt cknitt commented May 20, 2025

No description provided.

defaultSemverRangePrefix: ""
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.9.1.cjs
Copy link
Member Author

Choose a reason for hiding this comment

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

The order of the lines in this file changed when running yarn set version 4.9.1

versionPattern,
`let version = "${EXPECTED_VERSION}"`,
),
versionFile.replace(versionPattern, `let version = "${EXPECTED_VERSION}"`)
Copy link
Member Author

Choose a reason for hiding this comment

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

Reformatted by biome

@cknitt cknitt requested review from cometkim and fhammerschmidt May 20, 2025 19:11
}
}

const { compilerVersionFile } = await import("#dev/paths");
Copy link
Member Author

Choose a reason for hiding this comment

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

This fixes

Internal Error: require() of ES Module /Users/christoph/projects/cca/rescript/lib_dev/paths.js from /Users/christoph/projects/cca/rescript/yarn.config.cjs not supported.
Instead change the require of paths.js in /Users/christoph/projects/cca/rescript/yarn.config.cjs to a dynamic import() which is available in all CommonJS modules.
Instead change the require of paths.js in /Users/christoph/projects/cca/rescript/yarn.config.cjs to a dynamic import() which is available in all CommonJS modules.

Cannot be at the top level

@pkg-pr-new
Copy link

pkg-pr-new bot commented May 20, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7492

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7492

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7492

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7492

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7492

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7492

commit: 09444fb

@cknitt cknitt merged commit dcd565a into rescript-lang:master May 20, 2025
16 checks passed
@cknitt cknitt deleted the alpha.14 branch May 21, 2025 06:15
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