Skip to content
GitLab
Explore
Sign in
Register
Commits on Source
5
Remove require, add a simple autopkgtest
· 7f005c79
Nilesh Patra
authored
Feb 11, 2020
7f005c79
Install in /usr/share
· 9bf46817
Nilesh Patra
authored
Feb 11, 2020
9bf46817
Add "Rules-Requires-Root: no"
· 2c41af59
Nilesh Patra
authored
Feb 11, 2020
2c41af59
Fix control with cme
· 25b03f42
Nilesh Patra
authored
Feb 11, 2020
25b03f42
Update changelog
· 11a9101a
Nilesh Patra
authored
Feb 11, 2020
11a9101a
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
11a9101a
node-leaflet-formbuilder (0.2.1-4)
UNRELEASED
; urgency=medium
node-leaflet-formbuilder (0.2.1-4)
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> Tue, 28 Aug 2018 14:18:44 +0200
[ Nilesh Patra ]
* Remove require, add a simple autopkgtest
* Install in /usr/share
* Add "Rules-Requires-Root: no"
* Fix control with cme
-- Nilesh Patra <npatra974@gmail.com> Tue, 11 Feb 2020 14:25:36 +0530
node-leaflet-formbuilder (0.2.1-3) unstable; urgency=medium
...
...
debian/control
View file @
11a9101a
Source: node-leaflet-formbuilder
Section: javascript
Priority: optional
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,
nodejs
Standards-Version: 4.5.0
Homepage: https://github.com/yohanboniface/Leaflet.FormBuilder#readme
Vcs-Git: https://salsa.debian.org/debian-gis-team/node-leaflet-formbuilder.git
Vcs-Browser: https://salsa.debian.org/debian-gis-team/node-leaflet-formbuilder
Vcs-Git: https://salsa.debian.org/debian-gis-team/node-leaflet-formbuilder.git
Homepage: https://github.com/yohanboniface/Leaflet.FormBuilder#readme
Rules-Requires-Root: no
Package: node-leaflet-formbuilder
Architecture: all
...
...
debian/install
View file @
11a9101a
package.json usr/
lib
/nodejs/leaflet-formbuilder/
Leaflet.FormBuilder.js usr/
lib
/nodejs/leaflet-formbuilder/
package.json usr/
share
/nodejs/leaflet-formbuilder/
Leaflet.FormBuilder.js usr/
share
/nodejs/leaflet-formbuilder/
debian/tests/control
View file @
11a9101a
Tests: require
Depends: node-leaflet-formbuilder
Tests: runtest
Depends: node-leaflet-formbuilder, node-domino, node-leaflet, rollup
Restrictions: allow-stderr
debian/tests/require
deleted
100644 → 0
View file @
fc36d155
#!/bin/sh
set
-e
nodejs
-e
"require('leaflet-formbuilder');"
debian/tests/runtest
0 → 100644
View file @
11a9101a
#!/bin/sh
set
-e
echo
"Test for rollup to be able to bundle a simple code which uses leaflet-formbuilder"
cat
>
foo.js
<<
HERE
var domino = require('domino');
var window = domino.createWindow();
var document = window.document;
var container = document.createElement('div');
var map = L.map('mapid').setView([51.505, -0.09], 13);
var tilelayerFields = [
['options.tilelayer.name', {handler: 'BlurInput', placeholder: 'display name'}],
['options.tilelayer.maxZoom', {handler: 'BlurIntInput', placeholder: 'max zoom'}],
['options.tilelayer.minZoom', {handler: 'BlurIntInput', placeholder: 'min zoom'}],
['options.tilelayer.attribution', {handler: 'BlurInput', placeholder: 'attribution'}],
['options.tilelayer.tms', {handler: 'CheckBox', helpText: 'TMS format'}]
];
function examplecallback() {
console.log('callback executed');
}
var builder = new L.FormBuilder(map, tilelayerFields, {
callback: examplecallback,
});
container.appendChild(builder.build());
HERE
rollup foo.js
--output
.file bundle.js
--output
.format cjs
rm
-f
./bundle.js ./foo.js