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

fix(server): Bundle the the bin file before publish NPM. BM-1083 #3375

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

Wentao-Kuang
Copy link
Contributor

Motivation

The @basemaps/server npm package is missing the bin file for excusing the command. We need to bundle it first before publish the package.

Modifications

Add a bundle command before NPM publish

Verification

Locally tested.

  • delete the server/bin/basemaps-server.cjs
  • run npx lerna run bundle --stream -> Got a new server/bin/basemaps-server.cjs generated.
  • run npm pack --dry-run -> Got bin file included.
    image

@Wentao-Kuang Wentao-Kuang changed the title fix(server): Bundle the the bin file before publish NPM fix(server): Bundle the the bin file before publish NPM. BM-1083 Nov 14, 2024
@Wentao-Kuang Wentao-Kuang marked this pull request as ready for review November 14, 2024 22:24
@Wentao-Kuang Wentao-Kuang requested a review from a team as a code owner November 14, 2024 22:24
Co-authored-by: Tawera Manaena <[email protected]>
@tawera-manaena tawera-manaena added this pull request to the merge queue Nov 21, 2024
Merged via the queue into master with commit 5ce567f Nov 21, 2024
11 checks passed
@tawera-manaena tawera-manaena deleted the fix/basemaps-server branch November 21, 2024 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants