Build typedoc before test:storybook & test:storybook:update (#32719)

* Build typedoc before test:storybook & test:storybook:update

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix doc

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2026-03-10 11:22:20 +00:00
committed by GitHub
parent 2e0adc5832
commit 78b40a6fed
3 changed files with 25 additions and 6 deletions
+5 -5
View File
@@ -38,14 +38,14 @@
"i18n": "matrix-gen-i18n src && pnpm i18n:sort && pnpm i18n:lint",
"i18n:sort": "matrix-sort-i18n src/i18n/strings/en_EN.json",
"i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null",
"test:unit": "vitest --project=unit",
"test:storybook": "pnpm build:doc && vitest --project=storybook",
"test:storybook:update": "CI=1 playwright-screenshots-experimental pnpm vitest --run --update --project=storybook",
"test:unit": "nx test:unit",
"test:storybook": "nx test:storybook",
"test:storybook:update": "nx test:storybook:update",
"build": "nx build",
"prepack": "pnpm run build",
"storybook": "storybook dev -p 6007",
"build:storybook": "nx run @element-hq/web-shared-components:storybook",
"build:doc": "nx run @element-hq/web-shared-components:typedoc",
"build:storybook": "nx storybook",
"build:doc": "nx typedoc",
"lint": "pnpm lint:types && pnpm lint:js",
"lint:js": "eslint --max-warnings 0 src",
"lint:types": "tsc --noEmit && tsc --noEmit -p tsconfig.node.json"