Skip to content

Commit

Permalink
Merge pull request #66 from embroider-build/github-changelog
Browse files Browse the repository at this point in the history
start using github-changelog
  • Loading branch information
mansona authored Mar 12, 2024
2 parents 8f3bdee + 996ad39 commit 181b233
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 128 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"test": "vitest"
},
"dependencies": {
"@ef4/lerna-changelog": "^2.2.1",
"@manypkg/get-packages": "^2.2.0",
"@npmcli/package-json": "^5.0.0",
"@octokit/rest": "^19.0.8",
Expand All @@ -31,6 +30,7 @@
"cli-highlight": "^2.1.11",
"execa": "^4.0.3",
"fs-extra": "^10.0.0",
"github-changelog": "^1.0.0",
"js-yaml": "^4.1.0",
"latest-version": "^5.0.0",
"parse-github-repo-url": "^1.4.1",
Expand Down
252 changes: 129 additions & 123 deletions pnpm-lock.yaml

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

2 changes: 0 additions & 2 deletions pnpm-workspace.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions src/gather-changes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);

export async function gatherChanges() {
const lernaChangelogPath = require.resolve('@ef4/lerna-changelog');
const githubChangelogPath = require.resolve('github-changelog');

const result = await execa('node', [
resolve(dirname(lernaChangelogPath), 'bin', 'cli.js'),
resolve(dirname(githubChangelogPath), 'bin', 'cli.js'),
'--next-version',
'Release',
]);
Expand Down

0 comments on commit 181b233

Please sign in to comment.