mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: package api-extractor and -model (#9920)
* fix(ExceptText): don't display import("d..-types/v10"). in return type
* Squashed 'packages/api-extractor-model/' content from commit 39ecb196c
git-subtree-dir: packages/api-extractor-model
git-subtree-split: 39ecb196ca210bdf84ba6c9cadb1bb93571849d7
* Squashed 'packages/api-extractor/' content from commit 341ad6c51
git-subtree-dir: packages/api-extractor
git-subtree-split: 341ad6c51b01656d4f73b74ad4bdb3095f9262c4
* feat(api-extractor): add api-extractor and -model
* fix: package.json docs script
* fix(SourcLink): use <> instead of function syntax
* fix: make packages private
* fix: rest params showing in docs, added labels
* fix: missed two files
* fix: cpy-cli & pnpm-lock
* fix: increase icon size
* fix: icon size again
This commit is contained in:
81
packages/api-extractor/package.json
Normal file
81
packages/api-extractor/package.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"name": "@discordjs/api-extractor",
|
||||
"version": "7.38.1",
|
||||
"description": "Analyze the exported API for a TypeScript library and generate reviews, documentation, and .d.ts rollups",
|
||||
"private": true,
|
||||
"keywords": [
|
||||
"typescript",
|
||||
"API",
|
||||
"JSDoc",
|
||||
"AEDoc",
|
||||
"TSDoc",
|
||||
"generate",
|
||||
"documentation",
|
||||
"declaration",
|
||||
"dts",
|
||||
".d.ts",
|
||||
"rollup",
|
||||
"bundle",
|
||||
"compiler",
|
||||
"alpha",
|
||||
"beta"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/discordjs/discord.js.git",
|
||||
"directory": "packages/api-extractor"
|
||||
},
|
||||
"homepage": "https://discord.js.org",
|
||||
"bin": {
|
||||
"api-extractor": "./bin/api-extractor"
|
||||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "tsc --noEmit && tsup && pnpm run copy-files",
|
||||
"copy-files": "cpy 'src/schemas/*.json' 'dist/schemas' && cpy 'extends/*.json' 'dist/extends'",
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"require": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"import": {
|
||||
"types": "./dist/index.d.mts",
|
||||
"default": "./dist/index.mjs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
"@discordjs/api-extractor-model": "workspace:^",
|
||||
"@microsoft/tsdoc": "0.14.2",
|
||||
"@microsoft/tsdoc-config": "0.16.2",
|
||||
"@rushstack/node-core-library": "3.61.0",
|
||||
"@rushstack/rig-package": "0.5.1",
|
||||
"@rushstack/ts-command-line": "4.17.1",
|
||||
"colors": "~1.2.1",
|
||||
"lodash": "~4.17.15",
|
||||
"resolve": "~1.22.1",
|
||||
"semver": "~7.5.4",
|
||||
"source-map": "~0.6.1",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^4.14.200",
|
||||
"@types/node": "^18.18.8",
|
||||
"@types/resolve": "^1.20.4",
|
||||
"@types/semver": "^7.5.0",
|
||||
"@types/jest": "^29.5.7",
|
||||
"cpy-cli": "^5.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint-config-neon": "^0.1.57",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"jest": "^29.7.0",
|
||||
"prettier": "^3.0.3",
|
||||
"tsup": "^7.2.0",
|
||||
"turbo": "^1.10.16"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user