Skip to content

TA-3920: Fix global install of Content CLI#228

Merged
Zgjim Haziri (ZgjimHaziri) merged 4 commits into
masterfrom
TA-3920-fix-global-install
Jul 7, 2025
Merged

TA-3920: Fix global install of Content CLI#228
Zgjim Haziri (ZgjimHaziri) merged 4 commits into
masterfrom
TA-3920-fix-global-install

Conversation

@ZgjimHaziri
Copy link
Copy Markdown
Contributor

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) commented Jul 4, 2025

Description

When installing globally, npm attempts to create a link to the ./content-cli.js of the project. This fails since the actual js file is located inside of the dist directory.

Additional details
The dist was removed in order to make it easier to do local npm link without cd-ing in the dist. Added this change in the local setup guide too.

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
    • Tested the npm link command. Testing the global install can be done only after publishing.
  • I have updated docs if needed

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) requested a review from a team as a code owner July 4, 2025 14:12
Buqeta
Buqeta (Buqeta) previously approved these changes Jul 4, 2025
Comment thread package.json
@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) merged commit 793d107 into master Jul 7, 2025
1 check passed
@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) deleted the TA-3920-fix-global-install branch July 7, 2025 12:45
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.

6 participants