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

build: move to ESM and update chalk #6441

Merged
merged 2 commits into from
Sep 19, 2023
Merged

build: move to ESM and update chalk #6441

merged 2 commits into from
Sep 19, 2023

Conversation

JustinBeckwith
Copy link
Contributor

@JustinBeckwith JustinBeckwith commented Sep 19, 2023

#6417 is failing because it looks like the latest version of chalk requires ESM. I updated this to be an ESM package, cleaned up some unneccessary tsconfig, and validated the import into the dev portal still works. It seems to be ok?

tsconfig.json Outdated
"rootDir": "./",
"module": "ES2022",
"moduleResolution": "Node",
Copy link
Contributor

Choose a reason for hiding this comment

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

NodeNext is the recommendation for modern projects, which I assume this is.1

Footnotes

  1. https://www.typescriptlang.org/tsconfig#module

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the tip!

@JustinBeckwith JustinBeckwith merged commit 2096174 into main Sep 19, 2023
6 checks passed
@JustinBeckwith JustinBeckwith deleted the chalky branch September 19, 2023 18:21
shaydewael pushed a commit to Jupith/discord-api-docs that referenced this pull request May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants