Skip to content

Commit

Permalink
Initial release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Sep 12, 2022
1 parent c61846b commit 5daaa16
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## next
## 0.1.0 (2022-09-12)

- Initial release
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,11 @@ await repo.dispose();
#### createGitReader(gitdir, options?)

- `gitdir`: string - path to the git repo
- `options.cruftPacks`: CruftPackMode (default: `'include'`) - controls the inclusion of cruft packs in packed objects procession.

#### CruftPackMode

Defines how cruft packs are processed by git reader. Check [git docs](https://git-scm.com/docs/cruft-packs) to learn more about cruft packs.

- `'include'` - processes all packs (alias `true`)
- `'exclude'` - excludes cruft packs from processing (alias `false`)
- `'only'` - processes cruft packs only
- `options` – optional settings:
- `cruftPacks` – defines how [cruft packs](https://git-scm.com/docs/cruft-packs) are processed:
- `'include'` or `true` (default) - process all packs
- `'exclude'` or `false` - exclude cruft packs from processing
- `'only'` - process cruft packs only

### Refs

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "@discoveryjs/scan-git",
"version": "0.0.0",
"version": "0.1.0",
"description": "A tool set for fast and efficient git scanning to capture data with focus on large repos",
"repository": "discoveryjs/scan-git",
"author": "Roman Dvornov <[email protected]>",
"license": "MIT",
"keywords": [
"git",
"scan",
"branch",
"tag",
"files",
"commits",
"delta"
Expand Down Expand Up @@ -60,6 +62,6 @@
"build:transpile": "node scripts/transpile.cjs",
"coverage": "c8 --exclude lib-test --reporter=lcovonly npm run test:esm",
"watch": "npm run build:transpile -- --watch --types",
"prepublishOnly": "npm run lint && npm run ts-emit-types && npm run build && npm run test"
"prepublishOnly": "npm run lint && rm -rf lib/** && npm run ts-emit-types && npm run build && npm run test"
}
}

0 comments on commit 5daaa16

Please sign in to comment.