[Pkg-javascript-commits] [node-vlq] 01/02: Move from node-es6-module-transpiler to node-babel

Julien Puydt julien.puydt at laposte.net
Fri Nov 3 10:38:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-vlq.

commit d25f6eb7d4bb0bb815a72fef5f6c38146c3f6d99
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Nov 3 11:32:56 2017 +0100

    Move from node-es6-module-transpiler to node-babel
---
 debian/changelog | 6 ++++++
 debian/control   | 7 +++++--
 debian/copyright | 1 -
 debian/install   | 2 +-
 debian/rules     | 5 ++++-
 5 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 442ce7e..283ca00 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-vlq (0.2.3-2) UNRELEASED; urgency=medium
+
+  * Move from node-es6-module-transpiler to node-babel.
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 03 Nov 2017 11:28:40 +0100
+
 node-vlq (0.2.3-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index b3b0f32..cb57763 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,10 @@ Section: javascript
 Priority: optional
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.puydt at laposte.net>
-Build-Depends: debhelper (>= 10), nodejs, node-es6-module-transpiler
+Build-Depends: debhelper (>= 10),
+               node-babel-cli,
+               node-babel-preset-es2015,
+               nodejs
 Standards-Version: 4.1.1
 Homepage: https://github.com/Rich-Harris/vlq
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-vlq.git
@@ -11,7 +14,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-vlq.git
 
 Package: node-vlq
 Architecture: all
-Depends: ${misc:Depends}, nodejs
+Depends: nodejs, ${misc:Depends}
 Description: Variable-length quantity mapper for Node.js
  Generate and decode base64 variable-length quantity mappings for
  source maps and other uses.
diff --git a/debian/copyright b/debian/copyright
index 006e9f0..8fcdd43 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -31,4 +31,3 @@ License: Expat
  ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.
-
diff --git a/debian/install b/debian/install
index acfcdc3..ca5c4a2 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,2 @@
-package.json usr/lib/nodejs/vlq/
 index.js usr/lib/nodejs/vlq/
+package.json usr/lib/nodejs/vlq/
diff --git a/debian/rules b/debian/rules
index 7ab9f97..7926c75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,7 @@
 	dh $@
 
 override_dh_auto_build:
-	compile-modules convert -f commonjs src/vlq.js > index.js
+	babeljs --presets=es2015 src/vlq.js > index.js
+
+override_dh_auto_clean:
+	rm -f index.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-vlq.git



More information about the Pkg-javascript-commits mailing list