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: failed build in node and bad lints #10444

Merged
merged 3 commits into from
Aug 20, 2024
Merged

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented Aug 14, 2024

Please describe the changes this PR makes and why it should be merged:
The typescript build was failing for bots created under node.js due to the usage of .ts imports

ESLint was also failing due to the strictNullChecks tsconfig option not being enabled

After fixing the build, prettier was formatting the files in the dist folder

Supersedes #10104

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes

Copy link

vercel bot commented Aug 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Aug 20, 2024 10:36pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Aug 20, 2024 10:36pm

@kodiakhq kodiakhq bot merged commit 00accf7 into main Aug 20, 2024
8 checks passed
@kodiakhq kodiakhq bot deleted the fix/cdb-node-generation branch August 20, 2024 22:40
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.91%. Comparing base (dd795da) to head (33730ef).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10444   +/-   ##
=======================================
  Coverage   50.91%   50.91%           
=======================================
  Files         228      228           
  Lines       20750    20750           
  Branches     1258     1258           
=======================================
  Hits        10565    10565           
  Misses      10141    10141           
  Partials       44       44           
Flag Coverage Δ
brokers 64.14% <ø> (ø)
builders 95.84% <ø> (ø)
collection 100.00% <ø> (ø)
formatters 99.34% <ø> (ø)
guide 0.00% <ø> (ø)
proxy 78.52% <ø> (ø)
rest 92.68% <ø> (ø)
util 68.86% <ø> (ø)
utilities 100.00% <ø> (ø)
voice 63.64% <ø> (ø)
website 0.00% <ø> (ø)
ws 51.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

nyapat pushed a commit to nyapat/discord.js that referenced this pull request Sep 9, 2024
* fix: failed build in node and bad lints

* chore: update tsconfigs

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
nyapat pushed a commit to nyapat/discord.js that referenced this pull request Oct 4, 2024
* fix: failed build in node and bad lints

* chore: update tsconfigs

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants