mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-28 03:39:38 +02:00
Precommit Test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
{
|
||||
"src/docs/**": ["pnpm --filter mermaid run docs:build --git"],
|
||||
"src/docs.mts": ["pnpm --filter mermaid run docs:build --git"],
|
||||
"*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"],
|
||||
"*.jison": ["pnpm run lint:jison"]
|
||||
}
|
||||
"src/docs/**": [
|
||||
"pnpm --filter mermaid run docs:build --git"
|
||||
],
|
||||
"src/docs.mts": [
|
||||
"pnpm --filter mermaid run docs:build --git"
|
||||
]
|
||||
}
|
@@ -284,7 +284,7 @@ const getFilesFromGlobs = async (globs: string[]): Promise<string[]> => {
|
||||
}
|
||||
if (git) {
|
||||
console.log(`Adding changes in ${FINAL_DOCS_DIR} folder to git`);
|
||||
exec('git add docs');
|
||||
exec(`git add ${FINAL_DOCS_DIR}`);
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
@@ -628,4 +628,4 @@ g.classGroup line {
|
||||
|
||||
## Configuration
|
||||
|
||||
`Coming soon...`
|
||||
`Coming soon!`
|
||||
|
Reference in New Issue
Block a user