Skip to content

Commit

Permalink
Add missing dep and files
Browse files Browse the repository at this point in the history
  • Loading branch information
Swimburger committed Mar 19, 2024
1 parent 6538ff1 commit 0352c9c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
17 changes: 17 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.vscode
.npmignore
coverage
dist
node_modules
**/*.wav
**/*.png
**/.DS_Store
LICENSE
.gitignore
.prettierignore
BUILD.bazel
copy.bara.sky
copybara.sh
.env
temp
temp-docs
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@
"ts-jest": "^29.1.2",
"tslib": "^2.5.3",
"typescript": "^5.4.2",
"typedoc": "^0.25.12"
"typedoc": "^0.25.12",
"typedoc-plugin-extras": "^3.0.0"
},
"dependencies": {
"ws": "^8.16.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function generateTypes(apiSpecPath: string, outputPath: string) {
)
.replaceAll(
/(?:\[(.*)\])(?:\(((?:http)(?:s)?(?::\/\/).*)\))/gm,
"{@link $2 | $1 }"
"{@link $2 | $1 }",
)
// remove description tag
.replaceAll("@description ", "")
Expand Down
12 changes: 4 additions & 8 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"entryPoints": [
"src/index.ts"
],
"plugin": [
"typedoc-plugin-extras"
],
"entryPoints": ["src/index.ts"],
"plugin": ["typedoc-plugin-extras"],
"out": "temp-docs",
"hideGenerator": true,
"name": "AssemblyAI JS SDK Reference",
Expand All @@ -18,9 +14,9 @@
"Discord": "https://assemblyai.com/discord",
"Status": "https://status.assemblyai.com/",
"Playground": "https://www.assemblyai.com/playground",
"Dashboard": "https://www.assemblyai.com/app",
"Dashboard": "https://www.assemblyai.com/app"
},
"sidebarLinks": {
"README": "/assemblyai-node-sdk/index.html"
}
}
}

0 comments on commit 0352c9c

Please sign in to comment.