git-er-done 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "git-er-done",
3
- "version": "0.1.17",
3
+ "version": "0.1.18",
4
4
  "description": "Utility for dealing with modified, created, deleted files since a git commit",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
package/src/index.js CHANGED
@@ -14,6 +14,15 @@ const {
14
14
  getFileDates
15
15
  } = require('./git/dates/getFileDates')
16
16
 
17
+ /**
18
+ * @typedef {import('./types').AuthorInfo} AuthorInfo
19
+ * @typedef {import('./types').CommitterInfo} CommitterInfo
20
+ * @typedef {import('./types').CommitInfo} CommitInfo
21
+ * @typedef {import('./types').FileMatchResult} FileMatchResult
22
+ * @typedef {import('./types').GitDetails} GitDetails
23
+ * @typedef {import('./types').FileDateInfo} FileDateInfo
24
+ */
25
+
17
26
  module.exports = {
18
27
  // Get Git Details
19
28
  gitDetails,
package/types/index.d.ts CHANGED
@@ -1,3 +1,9 @@
1
+ export type AuthorInfo = import("./types").AuthorInfo;
2
+ export type CommitterInfo = import("./types").CommitterInfo;
3
+ export type CommitInfo = import("./types").CommitInfo;
4
+ export type FileMatchResult = import("./types").FileMatchResult;
5
+ export type GitDetails = import("./types").GitDetails;
6
+ export type FileDateInfo = import("./types").FileDateInfo;
1
7
  import { gitDetails } from "./git/getDetails";
2
8
  import { getGitRoot } from "./git/getGitRoot";
3
9
  import { getCurrentBranch } from "./git/getCurrentBranch";