1.0.5 • Published 3 years ago

sr_git v1.0.5

Weekly downloads
11
License
ISC
Repository
github
Last release
3 years ago

git typescript functions

usage

import { dir_mkdir, string_tail, string_contains } from 'sr_core_ts';

git methods

  • const { rootPath, isRepo, isBehind, isAhead, hasModified } = git_status( path, appendActivityLog )
  • gitPath = await git_resolveGitPath( dirPath )
  • errmsg = await git_pull( rootPath, appendActivityLog )

publish instructions

  • increment version number in package.json
  • make sure new functions are exported from index.ts
  • npm run build
  • npm run test
  • git add, commit, push to repo
  • npm publish
  • npm update in projects which use this package

testing

  • npm run test
  • or press F5, run task "run tester"
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago