Bas Couwenberg pushed to branch master at Debian GIS Project / node-leaflet-formbuilder
Commits: 7f005c79 by Nilesh Patra at 2020-02-11T14:20:45+05:30 Remove require, add a simple autopkgtest - - - - - 9bf46817 by Nilesh Patra at 2020-02-11T14:21:58+05:30 Install in /usr/share - - - - - 2c41af59 by Nilesh Patra at 2020-02-11T14:22:52+05:30 Add "Rules-Requires-Root: no" - - - - - 25b03f42 by Nilesh Patra at 2020-02-11T14:27:52+05:30 Fix control with cme - - - - - 11a9101a by Nilesh Patra at 2020-02-11T14:29:18+05:30 Update changelog - - - - - 6 changed files: - debian/changelog - debian/control - debian/install - debian/tests/control - − debian/tests/require - + debian/tests/runtest Changes: ===================================== debian/changelog ===================================== @@ -1,10 +1,19 @@ -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 <[email protected]> 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 <[email protected]> Tue, 11 Feb 2020 14:25:36 +0530 node-leaflet-formbuilder (0.2.1-3) unstable; urgency=medium ===================================== debian/control ===================================== @@ -1,15 +1,16 @@ Source: node-leaflet-formbuilder -Section: javascript -Priority: optional Maintainer: Debian GIS Project <[email protected]> Uploaders: Ross Gammon <[email protected]> +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 ===================================== @@ -1,2 +1,2 @@ -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 ===================================== @@ -1,2 +1,3 @@ -Tests: require -Depends: node-leaflet-formbuilder +Tests: runtest +Depends: node-leaflet-formbuilder, node-domino, node-leaflet, rollup +Restrictions: allow-stderr ===================================== debian/tests/require deleted ===================================== @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -nodejs -e "require('leaflet-formbuilder');" ===================================== debian/tests/runtest ===================================== @@ -0,0 +1,31 @@ +#!/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 + View it on GitLab: https://salsa.debian.org/debian-gis-team/node-leaflet-formbuilder/compare/fc36d1558fcb624bcbe265b1852220d28ee4ad99...11a9101ae708accc4f54d4afa474b89ce25f3f6f -- View it on GitLab: https://salsa.debian.org/debian-gis-team/node-leaflet-formbuilder/compare/fc36d1558fcb624bcbe265b1852220d28ee4ad99...11a9101ae708accc4f54d4afa474b89ce25f3f6f You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
