chore: Add clean to build:esbuild

This commit is contained in:
Sidharth Vinod
2023-08-13 18:03:01 +05:30
parent f640b711ef
commit 398969154a

View File

@@ -15,8 +15,8 @@
"git graph" "git graph"
], ],
"scripts": { "scripts": {
"build": "pnpm run -r clean && pnpm build:esbuild && pnpm build:types", "build": "pnpm build:esbuild && pnpm build:types",
"build:esbuild": "ts-node-esm --transpileOnly .esbuild/build.ts", "build:esbuild": "pnpm run -r clean && ts-node-esm --transpileOnly .esbuild/build.ts",
"build:mermaid": "pnpm build:esbuild --mermaid", "build:mermaid": "pnpm build:esbuild --mermaid",
"build:viz": "pnpm build:esbuild --visualize", "build:viz": "pnpm build:esbuild --visualize",
"build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-zenuml/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly", "build:types": "tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-zenuml/tsconfig.json --emitDeclarationOnly && tsc -p ./packages/mermaid-example-diagram/tsconfig.json --emitDeclarationOnly",