mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 23:44:46 +12:00
chore: remove building package docs with old docgen
This commit is contained in:
parent
bf92172d80
commit
0b8651cf85
9 changed files with 12 additions and 21 deletions
8
.github/workflows/documentation.yml
vendored
8
.github/workflows/documentation.yml
vendored
|
@ -136,7 +136,9 @@ jobs:
|
|||
SEMVER: ${{ steps.extract-tag.outputs.semver }}
|
||||
run: |
|
||||
mkdir -p out/${PACKAGE}
|
||||
mv docs/${PACKAGE}/docs/docs.json out/${PACKAGE}/${SEMVER}.json
|
||||
if [[ $PACKAGE == "discord.js" ]]; then
|
||||
mv docs/${PACKAGE}/docs/docs.json out/${PACKAGE}/${SEMVER}.json
|
||||
fi
|
||||
if [[ $PACKAGE != "discord.js" ]]; then
|
||||
mv docs/${PACKAGE}/docs/docs.api.json out/${PACKAGE}/${SEMVER}.api.json
|
||||
fi
|
||||
|
@ -147,7 +149,9 @@ jobs:
|
|||
PACKAGE: ${{ matrix.package }}
|
||||
run: |
|
||||
mkdir -p out/${PACKAGE}
|
||||
mv docs/${PACKAGE}/docs/docs.json out/${PACKAGE}/${BRANCH_NAME}.json
|
||||
if [[ $PACKAGE == "discord.js" ]]; then
|
||||
mv docs/${PACKAGE}/docs/docs.json out/${PACKAGE}/${BRANCH_NAME}.json
|
||||
fi
|
||||
if [[ $PACKAGE != "discord.js" ]]; then
|
||||
mv docs/${PACKAGE}/docs/docs.api.json out/${PACKAGE}/${BRANCH_NAME}.api.json
|
||||
fi
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"fmt": "yarn format",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local",
|
||||
"prepack": "yarn lint && yarn test && yarn build",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/builders/*'",
|
||||
"release": "cliff-jumper"
|
||||
|
@ -62,7 +62,6 @@
|
|||
"tslib": "^2.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.7",
|
||||
"@microsoft/api-extractor": "^7.31.2",
|
||||
"@types/node": "^16.11.60",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"fmt": "yarn format",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local",
|
||||
"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"
|
||||
|
@ -50,7 +50,6 @@
|
|||
},
|
||||
"homepage": "https://discord.js.org",
|
||||
"devDependencies": {
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.7",
|
||||
"@microsoft/api-extractor": "^7.31.2",
|
||||
"@types/node": "^16.11.60",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"fmt": "yarn format",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local",
|
||||
"prepack": "yarn lint && yarn test && yarn build",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/proxy/*'",
|
||||
"release": "cliff-jumper"
|
||||
|
@ -60,7 +60,6 @@
|
|||
"undici": "^5.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.7",
|
||||
"@microsoft/api-extractor": "^7.31.2",
|
||||
"@types/node": "^16.11.60",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"fmt": "yarn format",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local",
|
||||
"prepack": "yarn lint && yarn test && yarn build",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/rest/*'",
|
||||
"release": "cliff-jumper"
|
||||
|
@ -62,7 +62,6 @@
|
|||
"undici": "^5.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.7",
|
||||
"@microsoft/api-extractor": "^7.31.2",
|
||||
"@types/node": "^16.11.60",
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
"name": "@discordjs/util",
|
||||
"version": "0.1.0",
|
||||
"description": "Utilities shared across Discord.js packages",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"test": "vitest run && tsd",
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"fmt": "yarn format",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local",
|
||||
"prepack": "yarn lint && yarn test && yarn build",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/voice/*'",
|
||||
"release": "cliff-jumper"
|
||||
|
@ -62,7 +62,6 @@
|
|||
"@babel/core": "^7.19.1",
|
||||
"@babel/preset-env": "^7.19.1",
|
||||
"@babel/preset-typescript": "^7.18.6",
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.7",
|
||||
"@microsoft/api-extractor": "^7.31.2",
|
||||
"@types/jest": "^29.0.3",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
"build": "tsup",
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && docgen -i src/index.ts -c docs/index.json -o docs/docs.json --typescript && api-extractor run --local",
|
||||
"docs": "downlevel-dts dist docs/dist --to=3.7 && api-extractor run --local",
|
||||
"prepack": "yarn build && yarn lint",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/ws/*'",
|
||||
"release": "cliff-jumper"
|
||||
|
@ -63,7 +63,6 @@
|
|||
"ws": "^8.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@discordjs/docgen": "workspace:^",
|
||||
"@favware/cliff-jumper": "^1.8.7",
|
||||
"@microsoft/api-extractor": "^7.31.2",
|
||||
"@types/node": "^16.11.60",
|
||||
|
|
|
@ -1766,7 +1766,6 @@ __metadata:
|
|||
version: 0.0.0-use.local
|
||||
resolution: "@discordjs/builders@workspace:packages/builders"
|
||||
dependencies:
|
||||
"@discordjs/docgen": "workspace:^"
|
||||
"@discordjs/util": "workspace:^"
|
||||
"@favware/cliff-jumper": ^1.8.7
|
||||
"@microsoft/api-extractor": ^7.31.2
|
||||
|
@ -1792,7 +1791,6 @@ __metadata:
|
|||
version: 0.0.0-use.local
|
||||
resolution: "@discordjs/collection@workspace:packages/collection"
|
||||
dependencies:
|
||||
"@discordjs/docgen": "workspace:^"
|
||||
"@favware/cliff-jumper": ^1.8.7
|
||||
"@microsoft/api-extractor": ^7.31.2
|
||||
"@types/node": ^16.11.60
|
||||
|
@ -1869,7 +1867,6 @@ __metadata:
|
|||
version: 0.0.0-use.local
|
||||
resolution: "@discordjs/proxy@workspace:packages/proxy"
|
||||
dependencies:
|
||||
"@discordjs/docgen": "workspace:^"
|
||||
"@discordjs/rest": ^1.0.0
|
||||
"@discordjs/util": "workspace:^"
|
||||
"@favware/cliff-jumper": ^1.8.7
|
||||
|
@ -1896,7 +1893,6 @@ __metadata:
|
|||
resolution: "@discordjs/rest@workspace:packages/rest"
|
||||
dependencies:
|
||||
"@discordjs/collection": "workspace:^"
|
||||
"@discordjs/docgen": "workspace:^"
|
||||
"@discordjs/util": "workspace:^"
|
||||
"@favware/cliff-jumper": ^1.8.7
|
||||
"@microsoft/api-extractor": ^7.31.2
|
||||
|
@ -1969,7 +1965,6 @@ __metadata:
|
|||
"@babel/core": ^7.19.1
|
||||
"@babel/preset-env": ^7.19.1
|
||||
"@babel/preset-typescript": ^7.18.6
|
||||
"@discordjs/docgen": "workspace:^"
|
||||
"@favware/cliff-jumper": ^1.8.7
|
||||
"@microsoft/api-extractor": ^7.31.2
|
||||
"@types/jest": ^29.0.3
|
||||
|
@ -2051,7 +2046,6 @@ __metadata:
|
|||
resolution: "@discordjs/ws@workspace:packages/ws"
|
||||
dependencies:
|
||||
"@discordjs/collection": "workspace:^"
|
||||
"@discordjs/docgen": "workspace:^"
|
||||
"@discordjs/rest": "workspace:^"
|
||||
"@discordjs/util": "workspace:^"
|
||||
"@favware/cliff-jumper": ^1.8.7
|
||||
|
|
Loading…
Reference in a new issue