A simple, zero dependency tool for setting up git hooks for small projects. Latest version: 2.13.0, last published: 17 days ago. Start using simple-git-hooks in your project by running `npm i simple-git-hooks`. There are 63 other projects in the npm regi
npx simple-git-hooks 添加prepare脚本,可以在install时自动注册已经配置的git-hooks,第一次使用时需要手动运行一次npm run prepare npm pkgsetscripts.prepare="npx simple-git-hooks" 使用husky运行 pnpm dlx husky-init&&pnpm add -D @whdev/verify-commit#ORnpx husky-init&&npm i -D @whdev/verify-commit...
"postinstall": "npx simple-git-hooks" }, "dependencies": { "@dcloudio/uni-app": "3.0.0-4020920240930001", @@ -121,7 +122,6 @@ "vue-tsc": "^1.0.24" }, "simple-git-hooks": { "pre-commit": "pnpm lint-staged", "preserveUnused": true "pre-commit": "pnpm lint-staged" } ...
"prepare": "simple-git-hooks" },115 changes: 73 additions & 42 deletions 115 package/src/api.ts Original file line numberDiff line numberDiff line change @@ -1,45 +1,80 @@ import type { MaybeError, PackageVersionsInfo, PackageVersionsInfoWithMetadata, ResolvedPackageVersion } from '.....
git config --global user.name userName git config --global user.email userEmail 使用HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议配置并使用私人令牌替代登录密码进行克隆、推送等操作 Username for 'https://gitee.com': userName ...
"simple-git": "^3.0.0", "eslint-plugin-react-hooks": "^4.1.2", "react-infinite-scroll-component": "^6.1.0", "@types/react": "^18.0.0", "chalk": "^4.0.0", "@docsearch/css": "^3.0.0", "xhr-mock": "^2.4.1", "react-sortable-hoc": "^2.0.0", "increase-memory-limit...
As of version 3.1.0 Fetch Inject supports use with SvelteKit. Use it inside yourloadfunctions to run Fetch requests client- and server-side. Or drop it inside yourhooksin order to inject resources into the document like so: exportconsthandle:Handle=sequence(async({event,resolve})=>{constrespo...
Probot 是一个基于 Node.js 构建 GitHub Apps 的框架。它旨在消除所有繁琐的事情,如接收和验证 webhooks 以及做认证动作,这样你就可以专注于你想要实现的功能。Probot 应用程序非常容易编写、部署和分享。大多数流行的 Probot 应用被托管,所以你不需要做任何部署和管理工作。这里有几个基于 Probot 构建的应用: ...
; git=git ; git-tag-version=true ; commit-hooks=true ; global=false ; globalconfig=/usr/local/etc/npmrc ; global-style=false ; group=20 ; ham-it-up=false ; heading=npm ; if-present=false ; ignore-prepublish=false ; ignore-scripts=false ...
thing, speaking of large projects, the other thing that we try and push people to do more often is like lots of people use NPM, just for NPM install, but the scripts and especially the the lifecycle hooks, they're really useful, especially if like, the larger your team gets the more ...