forked from mermaid-js/mermaid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update pre-commit rules to use
pnpm
Update husky and lint-staged to use pnpm instead of yarn.
- Loading branch information
1 parent
320e105
commit 9513e0e
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn pre-commit | ||
pnpm run pre-commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"src/docs/**": ["yarn docs:build --git"], | ||
"src/docs.mts": ["yarn docs:build --git"], | ||
"src/docs/**": ["pnpm run docs:build --git"], | ||
"src/docs.mts": ["pnpm run docs:build --git"], | ||
"*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"], | ||
"*.jison": ["yarn lint:jison"] | ||
"*.jison": ["pnpm run lint:jison"] | ||
} |