yarn: update to 1.10.0
This commit is contained in:
parent
d7426a7a8b
commit
add722a5c8
|
@ -1,11 +1,20 @@
|
|||
--- bin/yarn.js.orig 2017-09-14 18:50:29.701379167 -0500
|
||||
+++ bin/yarn.js 2017-09-14 17:27:32.749746288 -0500
|
||||
@@ -11,7 +11,7 @@
|
||||
console.error('Node version ' + ver + ' is not supported, please use Node.js 4.0 or higher.');
|
||||
process.exitCode = 1;
|
||||
--- bin/yarn.js.orig 2018-09-18 14:33:30.318123244 -0700
|
||||
+++ bin/yarn.js 2018-09-18 14:35:10.715515522 -0700
|
||||
@@ -12,7 +12,7 @@
|
||||
process.exit(1); // eslint-disable-line no-process-exit
|
||||
} else {
|
||||
- var dirPath = '../lib/';
|
||||
+ var dirPath = '/usr/lib/yarn/';
|
||||
var v8CompileCachePath = dirPath + 'v8-compile-cache';
|
||||
var fs = require('fs');
|
||||
// We don't have/need this on legacy builds and dev builds
|
||||
try {
|
||||
- require(__dirname + '/../lib/v8-compile-cache.js');
|
||||
+ require('/usr/lib/yarn/v8-compile-cache.js');
|
||||
} catch (err) {
|
||||
// We don't have/need this on legacy builds and dev builds
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
// `require.main === module` check inside `cli/index.js` will always
|
||||
// be truthy when built with webpack :(
|
||||
// `lib/cli` may be `lib/cli/index.js` or `lib/cli.js` depending on the build.
|
||||
- var cli = require(__dirname + '/../lib/cli');
|
||||
+ var cli = require('/usr/lib/yarn/cli');
|
||||
if (!cli.autoRun) {
|
||||
cli.default().catch(function(error) {
|
||||
console.error(error.stack || error.message || error);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'yarn'
|
||||
pkgname=yarn
|
||||
version=1.9.4
|
||||
version=1.10.0
|
||||
revision=1
|
||||
hostmakedepends="yarn-bin nodejs"
|
||||
depends="virtual?nodejs-runtime"
|
||||
|
@ -10,7 +10,7 @@ license="2-cause-BSD"
|
|||
homepage="https://yarnpkg.com/"
|
||||
distfiles="https://github.com/yarnpkg/${pkgname}/archive/v${version}.tar.gz"
|
||||
conflicts="yarn-bin>=0"
|
||||
checksum=6af347a6f9d6673700f69cb4c824a51dfc6c9deaae17a9a0ab1f709cf2afa8bc
|
||||
checksum=0d1410ea60666c52de4814f281c8c1f3ea2d98c236c22cb854f3e7ad8e7dc8c6
|
||||
|
||||
pre_build() {
|
||||
yarn
|
||||
|
|
Loading…
Reference in New Issue