mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: generate static imports for types with api-extractor
This commit is contained in:
4
packages/collection/api-extractor-docs.json
Normal file
4
packages/collection/api-extractor-docs.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"extends": "./api-extractor.json",
|
||||
"mainEntryPointFilePath": "<projectFolder>/dist-docs/index.d.ts"
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --format=pretty",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext .mjs,.js,.ts --fix --format=pretty",
|
||||
"fmt": "yarn format",
|
||||
"docs": "yarn build:docs && api-extractor run --local",
|
||||
"docs": "yarn build:docs && api-extractor run --local && api-extractor run --local --config ./api-extractor-docs.json",
|
||||
"prepack": "yarn lint && yarn test && yarn build",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/collection/*'",
|
||||
"release": "cliff-jumper"
|
||||
|
||||
Reference in New Issue
Block a user