Skip to content

Commit f61c40d

Browse files
committed
fix(deps): disable workspace package linking for lib-stable
Fixes CI import resolution errors by disabling pnpm workspace package linking. Previously, link-workspace-packages=true caused pnpm to create a symlink from @socketsecurity/lib-stable to the project root instead of installing the actual tarball, creating a circular dependency during builds. Changes: - Set link-workspace-packages=false in .npmrc - Set prefer-workspace-packages=false in .npmrc - Regenerated pnpm-lock.yaml to install actual tarball This ensures build scripts can import from the pre-built lib-stable package instead of the source code being built.
1 parent e12dbbf commit f61c40d

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
ignore-scripts=true
33

44
# Suppress pnpm workspace warnings
5-
link-workspace-packages=true
5+
link-workspace-packages=false
66
loglevel=error
7-
prefer-workspace-packages=true
7+
prefer-workspace-packages=false

pnpm-lock.yaml

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)