Free Map package for Concrete CMS
This repository contains the source code of the Free Map package of Concrete CMS.
Developers Instructions
This package comes with Leaflet.
If you want to update it, or use a development (uncompressed) version of it, you need NodeJS and NPM.
Building for production
If you want to use a compressed version of leaflet, you need to
- Install the NPM dependencies with
npm ci
- Execute
npm run prod
Building for development
If you want to use an uncompressed version of leaflet, you need to
- Install the NPM dependencies with
npm ci
- Execute
npm run dev
Update leaflet
If you want to update leaflet to the most recent version, you need to:
- Update the NPM dependencies with
npm update
- Execute
npm run prod
Publish a new version
In order to publish a new version (let's assume 1.2.3
for example):
- Set the value of the
$pkgVersion
property of the package controller to1.2.3
- Commit the changes to GIT
- Create a GIT tag:
git tag 1.2.3
- Push the changes to GitHub (including the tags):
git push --tags
- Create the ZIP archive to be uploaded to the marketplace by running the
create-marketplace-zip
script in thebin
directory - Upload the ZIP archive to the ConcreteCMS marketplace