Closed geographika closed 1 year ago
The configuration for pkg has been added to package.json, along with the additional build commands. Strangely lots of warnings are created using this approach which are not displayed when running pkg dist/src/index.js --output geostyler.
I think I had similar warnings (but way less) on my local setup. We should take a closer look at it, but you might be right regarding removing the openlayers parser as a dependency.
:tada: This PR is included in version 3.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
As discussed with @jansule and raised in #346 this pull request aims to add automatic semantic releases for the geostyler-cli.
The changes are mainly copied from the main geostyler project:
Some notes for reference:
pkg
has been added topackage.json
, along with the additional build commands. Strangely lots of warnings are created using this approach which are not displayed when runningpkg dist/src/index.js --output geostyler
."geostyler-openlayers-parser": "^4.1.2",
so maybe the dependency could be removed?package-binaries.js
script takes care of renaming each of the binaries togeostyler-cli
(orgeostyler-cli.exe
on Windows) and then zipping up the file. This means all binaries have the same name. Final output looks as below:package-lock.json
has lots of changes, but as I understand it should still be checked inTODO:
release.yml
. This requires secrets and a NPM token? I'm also not familiar with exactly how the release notes should be generated. Help on completing this step appreciated!