Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace pnpm with npm #6

Merged
merged 8 commits into from
Apr 10, 2023
Merged

Replace pnpm with npm #6

merged 8 commits into from
Apr 10, 2023

Conversation

mcous
Copy link
Member

@mcous mcous commented Apr 6, 2023

This PR replaces pnpm with vanilla npm, and updates build scripts and documentation accordingly.

pnpm publish --recursive has been replaced with JS-DevTools/npm-publish, tied to a commit that has all deprecation issues resolved. I attached it to a commit rather than a version following GitHub Actions security hardening recommendations

@mcous mcous requested a review from edaniels April 6, 2023 21:01
"all": "concurrently -g pnpm:check-* pnpm:build",
"check-format": "pnpm run _prettier-base --check",
"check-lint": "eslint \"**/*.@(js|cjs|ts)\"",
"all": "concurrently -g npm:check-* npm:build",
Copy link

Choose a reason for hiding this comment

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

does this require concurrently to be installed?

Copy link
Member Author

Choose a reason for hiding this comment

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

Concurrently is spec'd as a development dependency, so it is installed by npm install. I added it as a dev dep here (and in Prime last week) after conferring with @micheal-parks

scripts/publish.sh Outdated Show resolved Hide resolved
scripts/publish.sh Outdated Show resolved Hide resolved
scripts/publish.sh Outdated Show resolved Hide resolved
scripts/publish.sh Outdated Show resolved Hide resolved
@mcous mcous requested a review from edaniels April 10, 2023 18:26
Copy link

@edaniels edaniels left a comment

Choose a reason for hiding this comment

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

LGTM

@mcous mcous merged commit 5cf4ad3 into viamrobotics:main Apr 10, 2023
@mcous mcous deleted the remove-pnpm branch April 10, 2023 19:18
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