Skip to content

Fix/esm compatibility and workflow#8

Merged
utkarsh232005 merged 3 commits intoKDM-cli:mainfrom
utkarsh232005:fix/esm-compatibility-and-workflow
May 10, 2026
Merged

Fix/esm compatibility and workflow#8
utkarsh232005 merged 3 commits intoKDM-cli:mainfrom
utkarsh232005:fix/esm-compatibility-and-workflow

Conversation

@utkarsh232005
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 10, 2026 20:17
@utkarsh232005 utkarsh232005 merged commit 0cd03ad into KDM-cli:main May 10, 2026
1 check passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts npm publishing metadata and the release workflow to improve ESM/publishing compatibility for the kdm-cli package.

Changes:

  • Renames the npm package from a scoped name (@utkarsh232005/kdm-cli) to an unscoped name (kdm-cli).
  • Updates the publish workflow to pull/rebase from main before pushing release commits/tags.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
package.json Renames the published npm package name to kdm-cli.
.github/workflows/publish.yml Adds a git pull --rebase origin main before pushing release changes/tags.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Comment on lines 1 to 3
{
"name": "@utkarsh232005/kdm-cli",
"name": "kdm-cli",
"version": "1.1.2",
Comment on lines 46 to +49
- name: Push changes and tags
run: git push --follow-tags
run: |
git pull --rebase origin main
git push --follow-tags
Comment on lines +47 to +49
run: |
git pull --rebase origin main
git push --follow-tags
Comment on lines 44 to +48
run: "npm version ${{ github.event.inputs.release_type }} -m 'chore: release v%s'"

- name: Push changes and tags
run: git push --follow-tags
run: |
git pull --rebase origin main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants