Skip to content
Commits on Source (5)
node-leaflet-hash (0.2.1-3) UNRELEASED; urgency=medium
node-leaflet-hash (0.2.1-3) unstable; urgency=medium
* Team Upload.
[ Bas Couwenberg ]
* Bump Standards-Version to 4.5.0, no changes.
* Update gbp.conf to use --source-only-changes by default.
* Drop Name field from upstream metadata.
-- Bas Couwenberg <sebastic@debian.org> Sun, 05 Aug 2018 20:35:21 +0200
[ Nilesh ]
* Remove require, add a simple autopkgtest
* Drop compat, switch to debhelper-compat
* Add "Rules-Requires-Root: no"
* Install in /usr/share
-- Nilesh <npatra974@gmail.com> Mon, 10 Feb 2020 22:46:07 +0530
node-leaflet-hash (0.2.1-2) unstable; urgency=medium
......
......@@ -3,13 +3,13 @@ Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Uploaders: Ross Gammon <rossgammon@mail.dk>
Section: javascript
Priority: optional
Build-Depends: debhelper (>= 9),
dh-buildinfo,
Build-Depends: debhelper-compat (= 12),
nodejs
Standards-Version: 4.5.0
Vcs-Browser: https://salsa.debian.org/debian-gis-team/node-leaflet-hash
Vcs-Git: https://salsa.debian.org/debian-gis-team/node-leaflet-hash.git
Homepage: https://github.com/mlevans/leaflet-hash
Rules-Requires-Root: no
Package: node-leaflet-hash
Architecture: all
......
package.json usr/lib/nodejs/leaflet-hash/
leaflet-hash.js usr/lib/nodejs/leaflet-hash/
package.json usr/share/nodejs/leaflet-hash/
leaflet-hash.js usr/share/nodejs/leaflet-hash/
Tests: require
Depends: node-leaflet-hash
Tests: runtest
Depends: node-leaflet-hash, node-leaflet, rollup
Restrictions: allow-stderr
\ No newline at end of file
#!/bin/sh
set -e
nodejs -e "require('leaflet-hash');"
#!/bin/sh
set -e
echo "Test for rollup to be able to bundle a simple code which uses leaflet-hash"
echo '
var map = L.map('mapid').setView([51.505, -0.09], 13);
var hash = new L.Hash(map);
' > foo.js
rollup foo.js --output.file bundle.js --output.format cjs
rm -f ./bundle.js ./foo.js
\ No newline at end of file