Skip to content

Commit

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

* fix dependencies

* add depends in turbo

* add install step for www workspace
  • Loading branch information
shahednasser authored Nov 9, 2023
1 parent 8a53fe6 commit 4f91263
Show file tree
Hide file tree
Showing 5 changed files with 221 additions and 283 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/generate-references.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
- name: Build Packages
run: yarn build

- name: Install Docs dependencies
working-directory: www
run: yarn install

- name: Install Workspace dependencies
run: yarn install
working-directory: docs-util
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function addComments(schema: Schema, reflection: Reflection) {

Object.entries(schema.properties).forEach(([key, value]) => {
const childItem =
children.find((child) => child.name === key) ||
children.find((child: DeclarationReflection) => child.name === key) ||
reflection.getChildByName(key)

if (childItem) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"devDependencies": {
"@types/node": "^16.11.10",
"copyfiles": "^2.4.1",
"typescript": "^4.6",
"utils": "*"
"typescript": "^4.6"
},
"keywords": [
"typedocplugin",
Expand All @@ -33,6 +32,7 @@
"typedoc"
],
"dependencies": {
"handlebars": "^4.7.8"
"handlebars": "^4.7.8",
"utils": "*"
}
}
3 changes: 3 additions & 0 deletions docs-util/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**"
]
Expand Down
Loading

0 comments on commit 4f91263

Please sign in to comment.