githublogen 0.1.8 → 0.2.0

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/cli.cjs CHANGED
@@ -20,7 +20,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
20
20
 
21
21
  const cac__default = /*#__PURE__*/_interopDefaultCompat(cac);
22
22
 
23
- const version = "0.1.6";
23
+ const version = "0.2.0";
24
24
 
25
25
  const cli = cac__default("githublogen");
26
26
  cli.version(version).option("-t, --token <path>", "GitHub Token").option("--from <ref>", "From tag").option("--to <ref>", "To tag").option("--github <path>", "GitHub Repository, e.g. soybeanjs/githublogen").option("--name <name>", "Name of the release").option("--contributors", "Show contributors section").option("--prerelease", "Mark release as prerelease").option("-d, --draft", "Mark release as draft").option("--output <path>", "Output to file instead of sending to GitHub").option("--capitalize", "Should capitalize for each comment message").option("--emoji", "Use emojis in section titles", { default: true }).option("--group", "Nest commit messages under their scopes").option("--dry", "Dry run").help();
@@ -78,7 +78,7 @@ ${changelog}
78
78
  await execa.execa("git", ["config", "--global", "user.email", `"${email}"`]);
79
79
  await execa.execa("git", ["config", "--global", "user.name", `"${name}"`]);
80
80
  await execa.execa("git", ["add", "."]);
81
- await execa.execa("git", ["commit", "-m", '"docs(projects): CHANGELOG.md"'], { cwd });
81
+ await execa.execa("git", ["commit", "-m docs(projects): CHANGELOG.md"], { cwd });
82
82
  await execa.execa("git", ["push", pushUrl, `HEAD:${config.gitMainBranch}`], { cwd });
83
83
  }
84
84
  if (!await index.hasTagOnGitHub(config.to, config)) {
package/dist/cli.mjs CHANGED
@@ -14,7 +14,7 @@ import 'node:path';
14
14
  import 'node:v8';
15
15
  import 'node:util';
16
16
 
17
- const version = "0.1.6";
17
+ const version = "0.2.0";
18
18
 
19
19
  const cli = cac("githublogen");
20
20
  cli.version(version).option("-t, --token <path>", "GitHub Token").option("--from <ref>", "From tag").option("--to <ref>", "To tag").option("--github <path>", "GitHub Repository, e.g. soybeanjs/githublogen").option("--name <name>", "Name of the release").option("--contributors", "Show contributors section").option("--prerelease", "Mark release as prerelease").option("-d, --draft", "Mark release as draft").option("--output <path>", "Output to file instead of sending to GitHub").option("--capitalize", "Should capitalize for each comment message").option("--emoji", "Use emojis in section titles", { default: true }).option("--group", "Nest commit messages under their scopes").option("--dry", "Dry run").help();
@@ -72,7 +72,7 @@ ${changelog}
72
72
  await execa("git", ["config", "--global", "user.email", `"${email}"`]);
73
73
  await execa("git", ["config", "--global", "user.name", `"${name}"`]);
74
74
  await execa("git", ["add", "."]);
75
- await execa("git", ["commit", "-m", '"docs(projects): CHANGELOG.md"'], { cwd });
75
+ await execa("git", ["commit", "-m docs(projects): CHANGELOG.md"], { cwd });
76
76
  await execa("git", ["push", pushUrl, `HEAD:${config.gitMainBranch}`], { cwd });
77
77
  }
78
78
  if (!await hasTagOnGitHub(config.to, config)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "githublogen",
3
3
  "type": "module",
4
- "version": "0.1.8",
4
+ "version": "0.2.0",
5
5
  "sideEffects": false,
6
6
  "author": {
7
7
  "name": "SoybeanJS",
@@ -83,7 +83,7 @@
83
83
  "update-pkg": "soy update-pkg",
84
84
  "update-version": "bumpp --commit --push --tag",
85
85
  "publish-pkg": "pnpm -r publish --access public",
86
- "release": "pnpm update-version && pnpm publish-pkg",
86
+ "release": "pnpm update-version && pnpm build && pnpm publish-pkg",
87
87
  "typecheck": "tsc --noEmit"
88
88
  }
89
89
  }