Skip to content

Commit

Permalink
Docs site: Add the sed patch to the dev and start commands as well
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Apr 24, 2024
1 parent 52b3692 commit 65eb67e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/docs/site/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,23 @@
"start": {
"executor": "nx:run-commands",
"options": {
"commands": ["docusaurus start"],
"commands": [
"sed -i 's/namedDeclarations\\[i\\]\\./namedDeclarations[i]?./g' ../../../node_modules/typedoc/dist/lib/converter/types.js ",
"docusaurus start"
],
"parallel": false,
"cwd": "packages/docs/site"
},
"dependsOn": ["build:json"]
},
"dev": {
"executor": "nx:run-commands",
"options": {
"commands": ["docusaurus start"],
"commands": [
"sed -i 's/namedDeclarations\\[i\\]\\./namedDeclarations[i]?./g' ../../../node_modules/typedoc/dist/lib/converter/types.js ",
"docusaurus start"
],
"parallel": false,
"cwd": "packages/docs/site"
},
"dependsOn": ["build:json"]
Expand Down

0 comments on commit 65eb67e

Please sign in to comment.