Skip to content

Commit

Permalink
Revert "feat: package is now ESM (#716)"
Browse files Browse the repository at this point in the history
This reverts commit 6c5bafb.
  • Loading branch information
wolfy1339 committed May 2, 2024
1 parent 8a45428 commit f0e9b87
Show file tree
Hide file tree
Showing 12 changed files with 122 additions and 523 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
token: ${{ secrets.OCTOKITBOT_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 16
cache: npm
- run: git checkout routes-update || true
- run: npm install @octokit/types@latest
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ Node
Install with `npm install @octokit/core @octokit/plugin-rest-endpoint-methods`. Optionally replace `@octokit/core` with a compatible module

```js
import { Octokit } from "@octokit/core";
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
const { Octokit } = require("@octokit/core");
const {
restEndpointMethods,
} = require("@octokit/plugin-rest-endpoint-methods");
```

</td></tr>
Expand Down
Loading

0 comments on commit f0e9b87

Please sign in to comment.