Skip to content

feat(cli): use npm ci when lockfile present, otherwise npm install#5

Merged
geodro merged 1 commit intogeodro:mainfrom
voronkovich:fix-setup-npm-ci
Mar 29, 2026
Merged

feat(cli): use npm ci when lockfile present, otherwise npm install#5
geodro merged 1 commit intogeodro:mainfrom
voronkovich:fix-setup-npm-ci

Conversation

@voronkovich
Copy link
Copy Markdown
Contributor

This PR enhances the lerd setup command to intelligently handle NPM package installation based on the presence of lock files. Previously, the command would always attempt to run npm ci, which fails if no package-lock.json exists. Now, it checks for lock files and chooses the appropriate NPM command.

@geodro geodro merged commit 4219b40 into geodro:main Mar 29, 2026
2 checks passed
geodro added a commit that referenced this pull request Mar 29, 2026
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