({ tag }: VersionSchema)
| 26 | const removeTempDirectory = () => exec('rm -rf temp'); |
| 27 | const installDependencies = () => exec('npm i --no-save --legacy-peer-deps typedoc@0.26.7'); |
| 28 | const buildDocs = ({ tag }: VersionSchema) => { |
| 29 | const revision = tag === LATEST_TAG ? 'main' : `v${tag}.0`; |
| 30 | return exec(`npm run build:typedoc -- --gitRevision ${revision}`); |
| 31 | }; |
| 32 | |
| 33 | async function copyNewDocsToGeneratedSite({ tag }: VersionSchema) { |
| 34 | const outputDirectory = `./temp/${tag}`; |