Skip to content

Commit

Permalink
docs: index.d.ts moved to root dir
Browse files Browse the repository at this point in the history
  • Loading branch information
szkiba committed Apr 16, 2024
1 parent 96f2c82 commit 9553fc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches: [master]
paths:
- .github/workflows/docs.yml
- types/k6/x/faker/index.d.ts
- index.d.ts
- tsconfig.json

jobs:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Generate API doc
run: bun x typedoc
- name: Copy index.d.ts
run: cp types/k6/x/faker/index.d.ts build/docs/
run: cp index.d.ts build/docs/

- name: Setup Pages
uses: actions/configure-pages@v4
Expand Down
5 changes: 2 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"typedocOptions": {
"entryPoints": ["./types/k6/x/faker/index.d.ts"],
"entryPoints": ["./index.d.ts"],
"out": "build/docs",
"name": "xk6-faker",
"readme": "none",
Expand All @@ -23,7 +23,6 @@
"esModuleInterop": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"typeRoots": ["node_modules/@types", "./types"]
"resolveJsonModule": true
}
}

0 comments on commit 9553fc5

Please sign in to comment.