Skip to content

Commit

Permalink
chore: fix generate reference command name in action (#5320)
Browse files Browse the repository at this point in the history
* chore: fix generate reference command name

* fix require path in typedoc config

* add missing dependencies
  • Loading branch information
shahednasser authored and pKorsholm committed Oct 11, 2023
1 parent 3dc0619 commit ab7cc6e
Show file tree
Hide file tree
Showing 7 changed files with 482 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
working-directory: docs-util

- name: Generate Entities Reference
run: yarn generate:references entities
run: yarn generate:reference entities
working-directory: docs-util/packages/scripts

- name: Create Pull Request
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
working-directory: docs-util

- name: Generate Services Reference
run: yarn generate:references js-client
run: yarn generate:reference js-client
working-directory: docs-util/packages/scripts

- name: Create Pull Request
Expand Down
1 change: 1 addition & 0 deletions docs-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"lint": "turbo run lint"
},
"dependencies": {
"@babel/core": "^7.23.0",
"@babel/eslint-parser": "^7.22.15",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
Expand Down
4 changes: 3 additions & 1 deletion docs-util/packages/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"dependencies": {
"@linear/sdk": "^1.22.0",
"@octokit/core": "^4.0.5",
"@types/node": "^20.8.3",
"ts-node": "^10.9.1",
"typedoc": "0.25.1",
"typedoc-monorepo-link-types": "^0.0.2",
Expand All @@ -23,6 +24,7 @@
"typedoc-plugin-merge-modules": "5.1.0",
"typedoc-plugin-modules": "*",
"typedoc-plugin-reference-excluder": "1.1.3",
"typedoc-plugin-rename-defaults": "^0.6.6"
"typedoc-plugin-rename-defaults": "^0.6.6",
"typescript": "^5.2.2"
}
}
2 changes: 1 addition & 1 deletion docs-util/packages/typedoc-config/entities.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require("path")
const globalTypedocOptions = require("./typedoc")
const globalTypedocOptions = require("./base")

const pathPrefix = path.join(__dirname, "..", "..")

Expand Down
2 changes: 1 addition & 1 deletion docs-util/packages/typedoc-config/js-client.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require("path")
const globalTypedocOptions = require("./typedoc")
const globalTypedocOptions = require("./base")

const pathPrefix = path.join(__dirname, "..", "..")

Expand Down
2 changes: 1 addition & 1 deletion docs-util/packages/typedoc-config/services.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require("path")
const globalTypedocOptions = require("./typedoc")
const globalTypedocOptions = require("./base")

const pathPrefix = path.join(__dirname, "..", "..")

Expand Down
Loading

0 comments on commit ab7cc6e

Please sign in to comment.