Skip to content

Replace custom versioning with import of package version#10042

Merged
jonkoops merged 1 commit into
Leaflet:mainfrom
jonkoops:no-version-script
Dec 30, 2025
Merged

Replace custom versioning with import of package version#10042
jonkoops merged 1 commit into
Leaflet:mainfrom
jonkoops:no-version-script

Conversation

@jonkoops

Copy link
Copy Markdown
Collaborator

Replaces the version script introduced under #9717 with a JSON import of the package file. Even though this feature is only newly available in Baseline, this should not be an issue, as we bundle up the code and Rollup inlines the version number. This also removes the logic to use a specific branch and commit from Git for development builds, as this is largely left unused (e.g. the nightly doesn't actively use this).

Co-authored-by: Simon Legner <Simon.Legner@gmail.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
@jonkoops

Copy link
Copy Markdown
Collaborator Author

I'm going to merge this in as a rapid fire of a couple or PRs related to the build system, if there are any comments let me know, and I will address them in another PR.

@simon04 FYI, this takes some of your work from #10011. So I added you as a co-author of the commit.

@jonkoops jonkoops merged commit 611aee1 into Leaflet:main Dec 30, 2025
16 checks passed
@jonkoops jonkoops deleted the no-version-script branch December 30, 2025 11:41
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.

1 participant