+
Skip to content

Conversation

manthey
Copy link
Member

@manthey manthey commented Sep 30, 2025

Pin get-intrinsic, which is required transitively by other packages, such as webpack. Version 1.3.1 breaks our build.

This also fixes an issue that the CI docker build was building the current branch but installing the latest published version.

Note that this seems pretty hacky -- npm 6 doesn't have a good mechanism for pinning a deep dependency. Instead, we use another package to override the versions in the package-lock and node_modules directory, but this can only run if the package lock exists. On first run, we run a preinstall script which creates the package lock if it doesn't exist AND then patches the package-lock to ensure the pinned library.

Pin get-intrinsic, which is required transitively by other packages,
such as webpack.  Version 1.3.1 breaks our build.
@manthey manthey merged commit 1584735 into master Sep 30, 2025
12 checks passed
@manthey manthey deleted the pin-get-intrinsic branch September 30, 2025 14:19
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.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载