[Pkg-javascript-commits] [node-rollup-plugin-json] 01/07: Use rollup -- like upstream!

Julien Puydt julien.puydt at laposte.net
Sun Feb 25 08:12:08 UTC 2018


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

jpuydt-guest pushed a commit to branch master
in repository node-rollup-plugin-json.

commit 3eb13eae1fa9d2bf36405322c738715ac38c391f
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun Feb 25 09:00:03 2018 +0100

    Use rollup -- like upstream!
---
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 debian/install   | 2 +-
 debian/links     | 1 +
 debian/rules     | 5 ++---
 5 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 85781f1..e436c9c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-rollup-plugin-json (2.3.0-3) UNRELEASED; urgency=medium
+
+  * Use rollup -- like upstream!
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Sun, 25 Feb 2018 08:59:37 +0100
+
 node-rollup-plugin-json (2.3.0-2) unstable; urgency=medium
 
   * Improve exports.
diff --git a/debian/control b/debian/control
index ce79e0f..d1c7c11 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 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 (>= 9), nodejs, node-es6-module-transpiler, node-rollup-pluginutils
+Build-Depends: debhelper (>= 9), nodejs, node-rollup-pluginutils, rollup
 Standards-Version: 4.0.0
 Homepage: https://github.com/rollup/rollup-plugin-json
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-rollup-plugin-json.git
diff --git a/debian/install b/debian/install
index 3d70972..41f74a7 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,2 @@
 package.json usr/lib/nodejs/rollup-plugin-json/
-index.js usr/lib/nodejs/rollup-plugin-json/
+dist/* usr/lib/nodejs/rollup-plugin-json/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..5294e66
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/rollup-plugin-json/rollup-plugin-json.cjs.js usr/lib/nodejs/rollup-plugin-json/index.js
diff --git a/debian/rules b/debian/rules
index 791bb50..b5c981d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,7 @@
 	dh $@
 
 override_dh_auto_build:
-	compile-modules convert -f commonjs -I/usr/lib/nodejs src/index.js > index.js
-	sed -i index.js -e "s/exports.*/module.exports = json;/g"
+	rollup -c
 
 override_dh_auto_clean:
-	rm -f index.js
+	rm -f dist

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



More information about the Pkg-javascript-commits mailing list