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(build): add script to fix package.json from build step #584

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

wolfy1339
Copy link
Member

@wolfy1339 wolfy1339 commented Apr 20, 2023

Resolves #583


Behavior

Before the change?

The released npm package is missing most of the files generated by the build step. dist-node, dist-types, dist-web... even though they are generated correctly.

After the change?

With the corrected file patterns, npm will publish all the necessary files again.

Other information

This is a mix of an issue with npm@v9 (npm/cli#6164) and the fact we rely on pika for the build step. Pika has been archived since April 2022 so there is nothing we can do with Pika.


Additional info

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Added the appropriate label for the given change

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes (Please add the Type: Breaking change label)
  • No

If Yes, what's the impact:

  • N/A

Pull request type

Please add the corresponding label for change this PR introduces:

  • Bugfix: Type: Bug
  • Feature/model/API additions: Type: Feature
  • Updates to docs or samples: Type: Documentation
  • Dependencies/code cleanup: Type: Maintenance

Sorry, something went wrong.

@wolfy1339 wolfy1339 added Priority: High Type: Bug Something isn't working as documented labels Apr 20, 2023
HeavenlyEntity added a commit to HeavenlyEntity/plugin-throttling.js that referenced this pull request Apr 21, 2023
Organized types, optimized their application and removed old types file as if project continues to scale. Types would be better identified in a folder basis.

octokit#584
octokit#583
octokit#106 - Related by setting up tests for proper editing. As before users could not test properly due to project configuration. Will come back to this one once the FATAL error above is confirmed fixed after new release.
@wolfy1339
Copy link
Member Author

@oscard0m Would you mind reviewing this PR?

@wolfy1339 wolfy1339 merged commit e7f99d0 into main Apr 21, 2023
@wolfy1339 wolfy1339 deleted the fix-release branch April 21, 2023 22:03
@github-actions
Copy link
Contributor

🎉 This PR is included in version 5.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

HeavenlyEntity added a commit to HeavenlyEntity/plugin-throttling.js that referenced this pull request Apr 22, 2023
Thought this was the occurrence of `Failed to resolve entry for package "@octokit/plugin-throttling".` Think octokit#584 perhaps fixed this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Type: Bug Something isn't working as documented
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Incorrect types: Could not find a declaration file for module '@octokit/plugin-throttling'
2 participants