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: revert #1117 #1119

Merged

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Dec 11, 2024

Reverts #1117 since it's evidently breaking GitHub Actions workflows 🤡

@kanadgupta kanadgupta changed the title revert: revert readmeio/rdme#1117 fix: revert readmeio/rdme#1117 Dec 11, 2024
@kanadgupta kanadgupta changed the title fix: revert readmeio/rdme#1117 fix: revert #1117 Dec 11, 2024
@kanadgupta kanadgupta marked this pull request as ready for review December 11, 2024 00:45
@kanadgupta kanadgupta added the bug Something isn't working label Dec 11, 2024
@kanadgupta kanadgupta merged commit c20cc3c into next Dec 11, 2024
12 checks passed
@kanadgupta kanadgupta deleted the revert-1117-kanad-2024-12-10/remove-import-attributes branch December 11, 2024 00:46
kanadgupta pushed a commit that referenced this pull request Dec 11, 2024
## [9.0.3-next.1](v9.0.2...v9.0.3-next.1) (2024-12-11)

### Bug Fixes

* revert [#1117](#1117) ([#1119](#1119)) ([c20cc3c](c20cc3c))

[skip ci]
@kanadgupta
Copy link
Member Author

🎉 This PR is included in version 9.0.3-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

kanadgupta pushed a commit that referenced this pull request Dec 11, 2024
## [9.0.3](v9.0.2...v9.0.3) (2024-12-11)

### Bug Fixes

* revert [#1117](#1117) ([#1119](#1119)) ([c20cc3c](c20cc3c))

[skip ci]
@kanadgupta
Copy link
Member Author

🎉 This PR is included in version 9.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

kanadgupta added a commit that referenced this pull request Dec 11, 2024
kanadgupta added a commit that referenced this pull request Dec 11, 2024
## 🧰 Changes

we hit a bit of a wild edge case where the github action was only
breaking in production builds due to how oclif loads the `package.json`
and the only way we caught it was with [this
failure](https://github.com/readmeio/rdme/actions/runs/12267183540/job/34226921877).

this PR reverts #1119 (which in
turn brings back #1117) with a
slight tweak in
f9461b4
to do the following:
- make our import paths friendlier to github actions
- manually copy over the `package.json` to our `dist/` directory
whenever we run `npm run build`. TS was automatically handling this when
we were using JSON imports before but now it's not able to pick up on
the import so we have to copy it over ourselves.

additionally in
669cb4f,
i added a little check so we can catch these sorts of things better
going forward.

## 🧬 QA & Testing

Provide as much information as you can on how to test what you've done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant