Skip to content

fix changeset dependency publishing - #3145

Merged
vadim-korolik merged 10 commits into
masterfrom
vadim/fix-publish
Oct 6, 2022
Merged

vadim-korolik merged 10 commits into
masterfrom
vadim/fix-publish

Conversation

@vadim-korolik

Copy link
Copy Markdown
Member

Summary

highlight.run package issue reported in intercom

workspace:* syntax does not bundle dependencies but instead expects the dependent package to be published.
For example, highlight.run would be depending on @highlight-run/client, but that package is not published.
changesets/changesets#432

Instead, use bundledDependencies to have yarn package dependencies into each package.

How did you test this change?

yarn build:all locally and yalc publish to try the highlight.run package locally.
before, i would receive an error running yarn. no longer seeing the error.

Are there any deployment considerations?

Will test published npm package.

Comment thread client/package.json
"scripts": {
"build": "tsc && rollup -c",
"build": "yarn types && rollup -c",
"types": "tsc",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would it make sense to use --noEmit here?

Comment thread firstload/package.json Resolved
@vadim-korolik
vadim-korolik enabled auto-merge (squash) October 6, 2022 20:15
@vadim-korolik
vadim-korolik merged commit d41f83d into master Oct 6, 2022
@vadim-korolik
vadim-korolik deleted the vadim/fix-publish branch October 6, 2022 20:19
@aptlin aptlin mentioned this pull request Oct 7, 2022
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.

4 participants