[Pkg-javascript-commits] [node-rollup-plugin-commonjs] 01/03: Use rollup -- as upstream!
Julien Puydt
julien.puydt at laposte.net
Sat Feb 24 23:42:59 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-commonjs.
commit 13e608f5add186179ead7e3b02aa7f708c4fc202
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sun Feb 25 00:31:27 2018 +0100
Use rollup -- as upstream!
---
debian/changelog | 6 ++++++
debian/control | 4 ++--
debian/links | 1 +
debian/rules | 19 ++-----------------
4 files changed, 11 insertions(+), 19 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3eea77f..594cc59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-rollup-plugin-commonjs (8.3.0-2) unstable; urgency=medium
+
+ * Use rollup, like upstream.
+
+ -- Julien Puydt <julien.puydt at laposte.net> Sun, 25 Feb 2018 00:37:10 +0100
+
node-rollup-plugin-commonjs (8.3.0-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/control b/debian/control
index ac5ca25..7db572e 100644
--- a/debian/control
+++ b/debian/control
@@ -5,12 +5,12 @@ Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.deb
Uploaders: Julien Puydt <julien.puydt at laposte.net>
Build-Depends: debhelper (>= 10),
node-acorn,
- node-es6-module-transpiler,
node-graceful-fs,
node-magic-string,
node-resolve,
node-rollup-pluginutils,
- nodejs
+ nodejs,
+ rollup
Standards-Version: 4.1.3
Homepage: https://github.com/rollup/rollup-plugin-commonjs
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-rollup-plugin-commonjs.git
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..4815bc9
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/lib/nodejs/rollup-plugin-commonjs/rollup-plugin-commonjs.cjs.js usr/lib/nodejs/rollup-plugin-commonjs/index.js
diff --git a/debian/rules b/debian/rules
index 75a45ff..795f4d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,25 +1,10 @@
#!/usr/bin/make -f
-SOURCES = $(shell find src/ -name "*.js")
-TARGETS = $(subst src, dist, $(SOURCES))
-
-# in fact graceful-fs isn't really necessary, but until we have rollup...
-COMPILE_MODULES = compile-modules convert -f commonjs -I/usr/lib/nodejs/graceful-fs
-
-.PHONY: dist
-
-%.js:
- $(COMPILE_MODULES) $(subst dist, src, $@) > $@
-
%:
dh $@
-override_dh_auto_build: dist $(TARGETS)
- sed -i dist/index.js -e "s/exports.*/module.exports = commonjs;/g"
- sed -i dist/transform.js -e 's/\["default"\]//g'
+override_dh_auto_build:
+ rollup -c
override_dh_auto_clean:
rm -rf dist
-
-dist:
- mkdir dist
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-rollup-plugin-commonjs.git
More information about the Pkg-javascript-commits
mailing list