Skip to content
Draft
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/http-api-docs/lib/main.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "../dist/src/index.js";
65 changes: 65 additions & 0 deletions packages/http-api-docs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"name": "@typespec/http-api-docs",
"version": "0.1.0",
"author": "Microsoft Corporation",
"description": "TypeSpec emitter that generates markdown reference documentation for HTTP-based services",
"homepage": "https://typespec.io",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/typespec.git"
},
"bugs": {
"url": "https://github.com/microsoft/typespec/issues"
},
"keywords": [
"typespec"
],
"type": "module",
"main": "dist/src/index.js",
"tspMain": "lib/main.tsp",
"exports": {
".": {
"typespec": "./lib/main.tsp",
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
},
"./testing": {
"types": "./dist/src/testing/index.d.ts",
"default": "./dist/src/testing/index.js"
}
},
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"clean": "rimraf ./dist ./temp",
"build": "tsc -p tsconfig.build.json",
"quickbuild": "tsc -p tsconfig.build.json",
"watch": "tsc -p tsconfig.build.json --watch",
"test": "vitest run",
"test:watch": "vitest -w",
"test:ci": "vitest run --coverage --reporter=junit --reporter=default",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix"
},
"files": [
"lib/*.tsp",
"dist/**",
"!dist/test/**"
],
"peerDependencies": {
"@typespec/compiler": "workspace:^",
"@typespec/http": "workspace:^"
},
"devDependencies": {
"@typespec/compiler": "workspace:^",
"@typespec/http": "workspace:^",
"@typespec/rest": "workspace:^",
"@vitest/coverage-v8": "^4.0.15",
"@vitest/ui": "^4.0.15",
"rimraf": "~6.1.2",
"typescript": "~5.9.2",
"vitest": "^4.0.15"
}
}
Loading
Loading