Skip to content

Commit

Permalink
removed script file update-toc and added script in bash
Browse files Browse the repository at this point in the history
  • Loading branch information
aialok committed Dec 28, 2023
1 parent e7c4ff0 commit abccb88
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
npm run format:fix
npm run lint:fix
npm run typecheck
npm run update-toc
npm run generate:toc

git add .
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"typecheck": "tsc --project tsconfig.json --noEmit",
"prepare": "husky install",
"jest-preview": "jest-preview",
"update-toc": "node scripts/update-toc.js"
"generate:toc": "find . -maxdepth 1 -name '*.md' -exec markdown-toc -i {} --bullets \"-\" \\;"
},
"eslintConfig": {
"extends": [
Expand Down
13 changes: 0 additions & 13 deletions scripts/update-toc.js

This file was deleted.

0 comments on commit abccb88

Please sign in to comment.