@varlet/release 0.0.4 → 0.0.5

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/dist/index.cjs CHANGED
@@ -30,8 +30,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var src_exports = {};
32
32
  __export(src_exports, {
33
+ COMMIT_MESSAGE_RE: () => COMMIT_MESSAGE_RE,
33
34
  changelog: () => changelog,
34
35
  commitLint: () => commitLint,
36
+ getCommitMessage: () => getCommitMessage,
37
+ isVersionCommitMessage: () => isVersionCommitMessage,
35
38
  release: () => release
36
39
  });
37
40
  module.exports = __toCommonJS(src_exports);
@@ -277,7 +280,10 @@ Commit message reference: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15
277
280
  }
278
281
  // Annotate the CommonJS export names for ESM import in node:
279
282
  0 && (module.exports = {
283
+ COMMIT_MESSAGE_RE,
280
284
  changelog,
281
285
  commitLint,
286
+ getCommitMessage,
287
+ isVersionCommitMessage,
282
288
  release
283
289
  });
package/dist/index.d.cts CHANGED
@@ -10,6 +10,9 @@ interface ChangelogCommandOptions {
10
10
  }
11
11
  declare function changelog({ releaseCount, file }?: ChangelogCommandOptions): Promise<void>;
12
12
 
13
+ declare const COMMIT_MESSAGE_RE: RegExp;
14
+ declare function isVersionCommitMessage(message: string): string | false | null;
15
+ declare function getCommitMessage(gitMessagePath: string): string;
13
16
  declare function commitLint(gitMessagePath: string): void;
14
17
 
15
- export { changelog, commitLint, release };
18
+ export { COMMIT_MESSAGE_RE, type ChangelogCommandOptions, type ReleaseCommandOptions, changelog, commitLint, getCommitMessage, isVersionCommitMessage, release };
package/dist/index.d.ts CHANGED
@@ -10,6 +10,9 @@ interface ChangelogCommandOptions {
10
10
  }
11
11
  declare function changelog({ releaseCount, file }?: ChangelogCommandOptions): Promise<void>;
12
12
 
13
+ declare const COMMIT_MESSAGE_RE: RegExp;
14
+ declare function isVersionCommitMessage(message: string): string | false | null;
15
+ declare function getCommitMessage(gitMessagePath: string): string;
13
16
  declare function commitLint(gitMessagePath: string): void;
14
17
 
15
- export { changelog, commitLint, release };
18
+ export { COMMIT_MESSAGE_RE, type ChangelogCommandOptions, type ReleaseCommandOptions, changelog, commitLint, getCommitMessage, isVersionCommitMessage, release };
package/dist/index.js CHANGED
@@ -238,7 +238,10 @@ Commit message reference: https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15
238
238
  }
239
239
  }
240
240
  export {
241
+ COMMIT_MESSAGE_RE,
241
242
  changelog,
242
243
  commitLint,
244
+ getCommitMessage,
245
+ isVersionCommitMessage,
243
246
  release
244
247
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@varlet/release",
3
3
  "type": "module",
4
- "version": "0.0.4",
4
+ "version": "0.0.5",
5
5
  "description": "release all packages and generate changelogs",
6
6
  "keywords": [
7
7
  "varlet",