Skip to content

Commit

Permalink
build: move to ESM and update chalk (discord#6441)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored and shaydewael committed May 14, 2024
1 parent 5398119 commit 3a0fa06
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 27 deletions.
54 changes: 37 additions & 17 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.1.1",
"description": "Documentation for using Discord's API",
"main": "index.js",
"type": "module",
"directories": {
"doc": "docs"
},
Expand All @@ -29,7 +30,7 @@
"@types/node": "^20.6.2",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"chalk": "^4.1.2",
"chalk": "^5.3.0",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
Expand Down
11 changes: 2 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
{
"compilerOptions": {
"target": "ES2021",
"lib": ["ESNext"],
"skipLibCheck": true,
"target": "ES2022",
"strict": true,
"alwaysStrict": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"module": "commonjs",
"moduleResolution": "node",
"isolatedModules": true,
"rootDir": "./",
"module": "NodeNext",
"outDir": "./dist"
},
"include": ["**/*.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 3a0fa06

Please sign in to comment.