-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing/yarn: new aport #714
Conversation
4eabf3a
to
abe99b1
Compare
Can this get merged in? What is the hold up? |
@@ -13,6 +13,7 @@ depends_dev="libuv" | |||
makedepends="$depends_dev python2 openssl-dev zlib-dev libuv-dev linux-headers | |||
paxmark binutils-gold http-parser-dev ca-certificates" | |||
subpackages="$pkgname-dev $pkgname-doc" | |||
provides="nodejs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to increment pkgrel for this change.
mv "$srcdir"/dist/lib "$pkgdir"/usr/share/yarn | ||
mv "$srcdir"/dist/lib-legacy "$pkgdir"/usr/share/yarn | ||
mv "$srcdir"/dist/node_modules "$pkgdir"/usr/share/yarn | ||
mv "$srcdir"/dist/package.json "$pkgdir"/usr/share/yarn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We normally copy, or link things, so abuild can be ran multiple times for same source tree.
https://yarnpkg.com/ Fast, reliable, and secure dependency management for Node.js.
In order that yarn can be used with either version of nodejs.
It seems that this package is very desirable. I’ve fixed issues and gonna merge it. |
Merged in 529a068, febd214, 1c1cddd by @jirutka. Thanks for your contribution! (This pull request has been closed automatically by GitHub PR Closer. If you think that it’s not resolved yet, please add a comment.) |
Given the official Docker node/alpine image (https://github.com/nodejs/docker-node/blob/28425ed95cebaea2ff589c1516d79c60181983b2/7.4/alpine/Dockerfile) uses alpine 3.4, is it possible to get this in the repo for 3.4 too? |
@samjarrett packages in testing are only built for edge...
Even if that happens it would end up landing in 3.6 I would imagine ... |
Is it possible to install this package without installing a different version of node?
|
@jpadilla How have you installed your node? |
@jirutka currently using https://github.com/mhart/alpine-node |
Aha… What about using clean alpine container and installing node using apk as any other package? We maintain package main/nodejs for LTS version of node, currently 6.9.2 in v3.5 (latest stable). |
@jirutka will give that a try, thanks! |
arch="noarch" | ||
license="BSD-2" | ||
depends="nodejs" | ||
source="https://github.com/yarnpkg/$pkgname/releases/download/v$pkgver/$pkgname-v$pkgver.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update this to use https://yarnpkg.com/downloads/$pkgver/yarn-v$pkgver.tar.gz
? In the Yarn project, we're trying to avoid hard-coding GitHub URLs for downloads.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, changed in bfe221d.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 😃
https://yarnpkg.com/
Fast, reliable, and secure dependency management for Node.js.