Closed gentlementlegen closed 6 months ago
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
---|
Filename | dependencies |
---|---|
package.json | @octokit/webhooks-types create-cloudflare octokit universal-github-app-jwt |
Filename | devDependencies |
---|---|
package.json | @mswjs/data br/>`@types/jest`<br/esbuild eslint-config-prettier eslint-plugin-prettier ts-node |
Filename | unlisted |
---|---|
src/github/github-client.ts | @octokit/core br/>`@octokit/types`<br/@octokit/plugin-paginate-rest br/>`@octokit/plugin-rest-endpoint-methods`<br/@octokit/plugin-retry br/>`@octokit/plugin-throttling`<br/@octokit/auth-app |
src/github/github-event-handler.ts | @octokit/auth-app |
src/github/utils/config.ts | yaml |
tests/main.test.ts | @jest/globals |
Filename | binaries |
---|---|
package.json | lsof awk |
.github/workflows/build.yml | build |
.github/workflows/cspell.yml | format:cspell |
Filename | exports |
---|---|
src/github/types/plugin.ts | convertToString |
Looks like there's a lot of conflicts. Please handle those.
Looks like there's a lot of conflicts. Please handle those.
Indeed. PR still on a draft though. We need to make a choice if we want to keep bun
as the package manager? If so, I need to rewrite the tests, because at the moment its using Jest.
What do you want to do about the failing typecheck CI? If you can't find a way to work with Bun then we can switch back to yarn 1.x
This union type stuff is really complicated to deal with @whilefoo rfc
Unused dependencies (4)
Filename dependencies package.json
@octokit/webhooks-types
create-cloudflare
octokit
universal-github-app-jwt
Unused devDependencies (6)
Filename devDependencies package.json
@mswjs/data
@types/jest
esbuild
eslint-config-prettier
eslint-plugin-prettier
ts-node
Unlisted dependencies (10)
Filename unlisted src/github/github-client.ts
@octokit/core
@octokit/types
@octokit/plugin-paginate-rest
@octokit/plugin-rest-endpoint-methods
@octokit/plugin-retry
@octokit/plugin-throttling
@octokit/auth-app
src/github/github-event-handler.ts@octokit/auth-app
src/github/utils/config.tsyaml
tests/main.test.ts@jest/globals
Unlisted binaries (4)
Filename binaries package.json
lsof
awk
.github/workflows/build.ymlbuild
.github/workflows/cspell.ymlformat:cspell
Unused exports (1)
Filename exports src/github/types/plugin.ts
convertToString
I wonder if its too noisy to add this comment on every pull. I like how it was originally implemented, with inline warnings and errors on the file view instead. @gitcoindev perhaps you can look into logging all the errors in the form of annotations on the files view?
'convertToString' is an unused export
is one of those, please address that.
Unused dependencies (4)
Filename dependencies package.json
@octokit/webhooks-types
create-cloudflare
octokit
universal-github-app-jwt
Unused devDependencies (6)
Filename devDependencies package.json
@mswjs/data
@types/jest
esbuild
eslint-config-prettier
eslint-plugin-prettier
ts-node
Unlisted dependencies (10)
Filename unlisted src/github/github-client.ts
@octokit/core
@octokit/types
@octokit/plugin-paginate-rest
@octokit/plugin-rest-endpoint-methods
@octokit/plugin-retry
@octokit/plugin-throttling
@octokit/auth-app
src/github/github-event-handler.ts@octokit/auth-app
src/github/utils/config.tsyaml
tests/main.test.ts@jest/globals
Unlisted binaries (4)
Filename binaries package.json
lsof
awk
.github/workflows/build.ymlbuild
.github/workflows/cspell.ymlformat:cspell
Unused exports (1)
Filename exports src/github/types/plugin.ts
convertToString
I wonder if its too noisy to add this comment on every pull. I like how it was originally implemented, with inline warnings and errors on the file view instead. @gitcoindev perhaps you can look into logging all the errors in the form of annotations on the files view?
'convertToString' is an unused export
is one of those, please address that.
I agree. I will have a look at configuration and try to change this into annotations only.
What do you want to do about the failing typecheck CI? If you can't find a way to work with Bun then we can switch back to yarn 1.x
This union type stuff is really complicated to deal with @whilefoo rfc
I looked into it. The 'bun:test' is a correct module but somehow I cannot get TypeScript to understand it. I read the docs, checked everything and it should work. Execution of the code also works fine, I am very confused of the reason why it complains. I might just silence the error there. https://bun.sh/docs/cli/test
Just the convertToString
thing check the files view
Just the
convertToString
thing check the files view
I removed it but it seems Knip is still complaining about it somehow.
I'm not sure I guess we can gamble and merge.
Resolves #26