Skip to content

Commit

Permalink
Merge pull request #79 from babbel/remove-octokit-core
Browse files Browse the repository at this point in the history
Remove @octokit/core dependency
  • Loading branch information
awendt authored Mar 14, 2024
2 parents 551aa1f + 8b6e855 commit 60ccc59
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion __tests__/apiwrapper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Octokit } from '@octokit/core';
import { Octokit } from '@octokit/core'; // eslint-disable-line import/no-extraneous-dependencies
import { paginateGraphql } from '@octokit/plugin-paginate-graphql';

import { graphql, HttpResponse } from 'msw'; // https://mswjs.io/docs/getting-started/mocks/graphql-api
Expand Down
2 changes: 1 addition & 1 deletion __tests__/integration.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Octokit } from '@octokit/core';
import { Octokit } from '@octokit/core'; // eslint-disable-line import/no-extraneous-dependencies
import { paginateGraphql } from '@octokit/plugin-paginate-graphql';

import { graphql, HttpResponse } from 'msw'; // https://mswjs.io/docs/getting-started/mocks/graphql-api
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30930,7 +30930,7 @@ __nccwpck_require__.a(__webpack_module__, async (__webpack_handle_async_dependen




// eslint-disable-line import/no-extraneous-dependencies


// eslint-disable-line import/extensions
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import core from '@actions/core';
import github from '@actions/github';

import { Octokit } from '@octokit/core';
import { Octokit } from '@octokit/core'; // eslint-disable-line import/no-extraneous-dependencies
import { paginateGraphql } from '@octokit/plugin-paginate-graphql';

import { ApiWrapper } from './apiwrapper.js'; // eslint-disable-line import/extensions
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"dependencies": {
"@actions/core": "*",
"@actions/github": "*",
"@octokit/core": "*",
"@octokit/graphql": "*",
"@octokit/plugin-paginate-graphql": "*"
},
Expand Down

0 comments on commit 60ccc59

Please sign in to comment.