Skip to content

Add dependenciesMeta.*.injected: true to test-app#107

Draft
NullVoxPopuli wants to merge 1 commit intoembroider-build:mainfrom
NullVoxPopuli:pnpm-injected-meta
Draft

Add dependenciesMeta.*.injected: true to test-app#107
NullVoxPopuli wants to merge 1 commit intoembroider-build:mainfrom
NullVoxPopuli:pnpm-injected-meta

Conversation

@NullVoxPopuli
Copy link
Copy Markdown
Collaborator

@NullVoxPopuli NullVoxPopuli commented Jan 31, 2023

when using peerDependencies, this is a required setting in order for dependency resolution to behave correctly.

For more information see:

Comment thread src/pnpm.js
[addonInfo.name.dashed]: {
injected: true,
},
};
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is never written back to the file, isn't it?

Also, we already have a place to extend the file here, maybe we can handle this in one place?

@simonihmig
Copy link
Copy Markdown
Collaborator

Would be good to have this indeed! Took me way too much time already figuring out hard to understand issues that seem to relate to this (see embroider-build/embroider#1332)

@NullVoxPopuli
Copy link
Copy Markdown
Collaborator Author

I opened: pnpm/pnpm#6088

I'm nervous about this change because of the lack of automatic re-syncing

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