[Pkg-javascript-commits] [node-yarnpkg] 08/13: patch all scripts for nodejs

Paolo Greppi paolog-guest at moszumanska.debian.org
Sat Dec 24 14:36:19 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-yarnpkg.

commit f40517b11bcf78c3fe89e17260caf0b4ca777973
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Sat Dec 24 13:40:06 2016 +0000

    patch all scripts for nodejs
---
 debian/patches/00-nodejs.diff | 58 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/debian/patches/00-nodejs.diff b/debian/patches/00-nodejs.diff
index ca5350b..3be2be2 100644
--- a/debian/patches/00-nodejs.diff
+++ b/debian/patches/00-nodejs.diff
@@ -20,3 +20,61 @@ Index: node-yarnpkg/bin/yarn.js
  
  /* eslint-disable no-var */
  /* eslint-disable flowtype/require-valid-file-annotation */
+Index: node-yarnpkg/scripts/build-webpack.js
+===================================================================
+--- node-yarnpkg.orig/scripts/build-webpack.js
++++ node-yarnpkg/scripts/build-webpack.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ /* eslint-disable */
+ 
+ const webpack = require('webpack');
+@@ -29,7 +29,7 @@ const compiler = webpack({
+   },
+   plugins: [
+     new webpack.BannerPlugin({
+-      banner: "#!/usr/bin/env node",
++      banner: "#!/usr/bin/env nodejs",
+       raw: true
+     })
+   ],
+@@ -66,7 +66,7 @@ const compilerLegacy = webpack({
+   },
+   plugins: [
+     new webpack.BannerPlugin({
+-      banner: "#!/usr/bin/env node",
++      banner: "#!/usr/bin/env nodejs",
+       raw: true
+     })
+   ],
+Index: node-yarnpkg/scripts/generate-licenses-js.js
+===================================================================
+--- node-yarnpkg.orig/scripts/generate-licenses-js.js
++++ node-yarnpkg/scripts/generate-licenses-js.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ /* eslint-disable */
+ 
+ const path = require('path');
+Index: node-yarnpkg/scripts/set-dev-version.js
+===================================================================
+--- node-yarnpkg.orig/scripts/set-dev-version.js
++++ node-yarnpkg/scripts/set-dev-version.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ /**
+  * Sets a a nice build number when building nightly builds
+  * (eg. "0.16.0-20161019.1800")
+Index: node-yarnpkg/scripts/set-installation-method.js
+===================================================================
+--- node-yarnpkg.orig/scripts/set-installation-method.js
++++ node-yarnpkg/scripts/set-installation-method.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ /**
+  * Sets the installationMethod field in package.json. Useful for setting it in
+  * shell scripts.

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



More information about the Pkg-javascript-commits mailing list