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): actually output ESM #2678

Merged
merged 1 commit into from
May 8, 2024
Merged

fix(build): actually output ESM #2678

merged 1 commit into from
May 8, 2024

Conversation

wolfy1339
Copy link
Member

Resolves #2676


Before the change?

  • The build script still outputted CJS
  • Consumers couldn't use the package at all

After the change?

  • The build script is now updated to output ESM

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)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@wolfy1339 wolfy1339 added the Type: Bug Something isn't working as documented label May 8, 2024
Copy link

github-actions bot commented May 8, 2024

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Sorry I missed this when I reviewed your v4 PR, I should have properly tested it 😞

@gr2m gr2m merged commit 9604674 into main May 8, 2024
8 checks passed
@gr2m gr2m deleted the fix-build branch May 8, 2024 15:55
Copy link

github-actions bot commented May 8, 2024

🎉 This PR is included in version 4.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

@ranajiu7 ranajiu7 left a comment

Choose a reason for hiding this comment

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

Good

renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 21, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 23, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 24, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 25, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 27, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 27, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 28, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 29, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Aug 30, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 1, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 2, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 3, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 4, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 5, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 6, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 7, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 8, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 9, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 10, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Sep 11, 2024
| datasource | package | from  | to    |
| ---------- | ------- | ----- | ----- |
| npm        | octokit | 3.2.1 | 4.0.2 |


## [v4.0.2](https://github.com/octokit/octokit.js/releases/tag/v4.0.2)

##### Bug Fixes

-   **build:** actually output ESM ([#2678](octokit/octokit.js#2678)) ([9604674](octokit/octokit.js@9604674))


## [v4.0.1](https://github.com/octokit/octokit.js/releases/tag/v4.0.1)

##### Bug Fixes

-   **docs:** remove NodeJS 10  and add callout for conditional exports ([#2675](octokit/octokit.js#2675)) ([c99ff62](octokit/octokit.js@c99ff62))


## [v4.0.0](https://github.com/octokit/octokit.js/releases/tag/v4.0.0)

##### BREAKING CHANGES

-   package is now ESM
-   remove authentication type "oauth" that was previously deprecated
-   Switch from `@octokit/webhooks-types` to `@octokit/openapi-webhooks-types` due to the transition to using GitHub's OpenAPI schema
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.

[BUG]: Octokit 4 can't be imported or required
3 participants