notum-cz / strapi-plugin-location

This plugin allows users to create location inputs and store latitude and longitude values as geometry types in a PostGIS database. It also provides functionality to filter items based on their location.
MIT License
24 stars 13 forks source link

Add a contributors guide #187

Closed JannikZed closed 3 months ago

JannikZed commented 4 months ago

Currently, it is important to build the package manually when creating a PR. The setup-package.ts file is missing in the github repo and it is not clear on how to build and run the package. We need to improve that, so that contributing is not so hard. Furthermore, I think there is something not fully right in the build - we have the build folder and in the build folder, the package is expecting the dist folder, with the same data than the build folder already has.. so something is here definitely not clean

omikulcik commented 3 months ago

Hi @JannikZed. Thank you for pointing this out. I've added the guide. The setup-package.ts was used in previous versions where we needed to build the package because otherwise it would not work with older versions of Strapi. Now it seems that publishing the source code to the NPM is just enough so I also deleted the unused scripts