feat: docgen package (#8029)

This commit is contained in:
Noel
2022-06-07 10:51:33 +02:00
committed by GitHub
parent 5475767c2c
commit 8b979c0245
71 changed files with 1411 additions and 756 deletions

View File

@@ -7,8 +7,8 @@
"test:typescript": "tsc --noEmit && tsd",
"lint": "prettier --check . && eslint src && tslint typings/index.d.ts",
"format": "prettier --write . && eslint src --fix",
"docs": "docgen --source ./src --custom ./docs/index.yml --root ../../ --output ./docs/docs.json",
"docs:test": "docgen --source ./src --custom ./docs/index.yml --root ../../",
"docs": "docgen -i ./src/*.js ./src/**/*.js -c ./docs/index.json -r ../../ -o ./docs/docs.json",
"docs:test": "docgen -i ./src/*.js ./src/**/*.js -c ./docs/index.json -r ../../",
"prepublishOnly": "yarn lint && yarn test",
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/discord.js/*'",
"release": "cliff-jumper --skip-tag --verbose"
@@ -61,7 +61,7 @@
"ws": "^8.7.0"
},
"devDependencies": {
"@discordjs/docgen": "^0.11.1",
"@discordjs/docgen": "workspace:^",
"@favware/cliff-jumper": "^1.8.3",
"@types/node": "^16.11.38",
"dtslint": "^4.2.1",