Skip to content

fix(rspeedy/core): avoid pre-publish build#479

Merged
colinaaa merged 1 commit intolynx-family:mainfrom
colinaaa:colin/0405/pre-publish
Apr 5, 2025
Merged

fix(rspeedy/core): avoid pre-publish build#479
colinaaa merged 1 commit intolynx-family:mainfrom
colinaaa:colin/0405/pre-publish

Conversation

@colinaaa
Copy link
Copy Markdown
Collaborator

@colinaaa colinaaa commented Apr 5, 2025

Summary

Fix an regression of #478: "error TS2307: Cannot find module '@lynx-js/rspeedy/register' or its corresponding type declarations."

https://github.com/lynx-family/lynx-stack/actions/runs/14280496355/job/40029566753

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 5, 2025

⚠️ No Changeset found

Latest commit: 6dfcd8b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@colinaaa colinaaa mentioned this pull request Apr 5, 2025
2 tasks
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 5, 2025

CodSpeed Performance Report

Merging #479 will not alter performance

Comparing colinaaa:colin/0405/pre-publish (6dfcd8b) with main (8eff9dd)

Summary

✅ 1 untouched benchmarks

@colinaaa colinaaa merged commit 1716f74 into lynx-family:main Apr 5, 2025
23 checks passed
colinaaa added a commit that referenced this pull request Apr 5, 2025
<!--
  Thank you for submitting a pull request!

We appreciate the time and effort you have invested in making these
changes. Please ensure that you provide enough information to allow
others to review your pull request.

Upon submission, your pull request will be automatically assigned with
reviewers.

If you want to learn more about contributing to this project, please
visit:
https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md.
-->

## Summary

<!-- Can you explain the reasoning behind implementing this change? What
problem or issue does this pull request resolve? -->

A new test `test-publish` has been added.

This test setup a mocked NPM registry using `@pnpm/registry-mock`
([verdaccio](https://verdaccio.org/) underhood) and publish all packages
to that registry. Then a Rspeedy App will be created and tested using
the newly published packages.

This is used to avoid future regression like: #475, #478 and #479.

<!-- It would be helpful if you could provide any relevant context, such
as GitHub issues or related discussions. -->

## Checklist

<!--- Check and mark with an "x" -->

- [x] Tests updated (or not required).
- [ ] Documentation updated (or not required).
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