Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change the version from '*' to their original versions #1344

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ItshMoh
Copy link

@ItshMoh ItshMoh commented Jan 29, 2025

Changed the version of @asyncapi/generator-hooks, @asyncapi/generator-components, @asyncapi/generator-helpers from '*' to their original version.

Description

Replaced wildcard (*) version specifier with explicit version numbers in package dependencies. While the wildcard was intended to resolve packages from local workspaces, it resulted in unnecessary npm registry lookups for unpublished packages. This change ensures proper local workspace resolution and prevents failed registry lookups, improving both reliability and performance.

Related issue(s)

Copy link

changeset-bot bot commented Jan 29, 2025

🦋 Changeset detected

Latest commit: 029a7c0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@asyncapi/generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@ItshMoh ItshMoh changed the title change the version from '*' to their original versions . fix: change the version from '*' to their original versions . Jan 29, 2025
@ItshMoh
Copy link
Author

ItshMoh commented Jan 29, 2025

@derberg can you run the workflow?

@derberg
Copy link
Member

derberg commented Feb 3, 2025

tests are failing

@derberg
Copy link
Member

derberg commented Feb 5, 2025

@ItshMoh
Copy link
Author

ItshMoh commented Feb 6, 2025

Hey @derberg in the markdown file for .changeset do i have to include the patch release of those packages also who are not published on the npm registry?

@ItshMoh
Copy link
Author

ItshMoh commented Feb 6, 2025

hey @derberg can you review the version.md in .changeset?

Comment on lines 2 to 5
"@asyncapi/generator-hooks": patch
"@asyncapi/nunjucks-filters": patch
"@asyncapi/generator-components": patch
"@asyncapi/generator-helpers": patch
Copy link
Member

Choose a reason for hiding this comment

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

we should release generator only and here you patch all the other packages which we do not want to include in npm

remember currently it is monorepo still publishing one package

maybe @asyncapi/generator-components, @asyncapi/generator-helpers in future will also be released separately, but for now they are highly experimental

Copy link
Author

Choose a reason for hiding this comment

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

@derberg updated the version.md.

@derberg derberg changed the title fix: change the version from '*' to their original versions . fix: change the version from '*' to their original versions Feb 6, 2025
Comment on lines +6 to +9
- Changed the version of `@asyncapi/generator-hooks`, `@asyncapi/generator-components`, `@asyncapi/generator-helpers` and `@asyncapi/nunjucks-filters` from '*' to their original version.

- Replaced asterisk (*) version specifier with explicit version numbers in package dependencies. While the wildcard was intended to resolve packages from local workspaces, it resulted in unnecessary npm registry lookups for unpublished packages. This change ensures proper local workspace resolution and prevents failed registry lookups, improving both reliability and performance.

Copy link
Member

Choose a reason for hiding this comment

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

😉

Copy link
Author

@ItshMoh ItshMoh Feb 7, 2025

Choose a reason for hiding this comment

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

I really don't get the emoji @derberg. Is it because in the markdown I copypasted the PR description. If yes then this emoji suits this case iykyk

Copy link

sonarqubecloud bot commented Feb 7, 2025

@ItshMoh
Copy link
Author

ItshMoh commented Feb 9, 2025

@derberg can you run the workflow?

@derberg
Copy link
Member

derberg commented Feb 10, 2025

@ItshMoh done

@ItshMoh
Copy link
Author

ItshMoh commented Feb 11, 2025

@derberg there is still the time out issue .The error is installation failed.

@derberg
Copy link
Member

derberg commented Feb 11, 2025

@ItshMoh please increase timeouts - we really can't do much here, this damn issues were happening on windows in the past, then we increased timeout, and looks like GH is messing with windows images again

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