Skip to content
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

Zip support #1483

Open
csvan opened this issue Oct 26, 2016 · 9 comments
Open

Zip support #1483

csvan opened this issue Oct 26, 2016 · 9 comments

Comments

@csvan
Copy link

csvan commented Oct 26, 2016

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Does not support zip files

Bower support has been dropped, but it would be nice to see Yarn support zip archives. This may be a corner case (and NPM has no such support), but it would make the tool more versatile particularly for people managing local dependencies.

@miscbits
Copy link

+1 for this feature

@Serhii-the-Dev
Copy link

Serhii-the-Dev commented Mar 23, 2017

It's very useful thing for some cases, especially for front-end devs. In one of my projects I am forced to choose between including code of third-party plugins for WYSIWYG editor into my project's repository or using Bower alongside with Yarn to maintain those dependencies via links to zip archives.

@bennycode
Copy link

Zip support is mandatory to use Yarn as a full Bower replacement.

In my bower.json file I am having the following dependency, which I cannot resolve with yarn (😢):

{
  "name": "sample-project",
  "dependencies": {
    "cryptojs": "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/crypto-js/CryptoJS%20v3.1.2.zip"
  },
  "exportsOverride": {
    "cryptojs": {
      "js": [
        "components/core.js",
        "components/lib-typedarrays.js",
        "components/md5.js",
        "components/enc-base64.js",
        "components/sha256.js"
      ]
    }
}

mgol added a commit to mgol/angular.js that referenced this issue Dec 27, 2017
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them was
switched to the google-closure-compiler package and the latter was checked in
to the repository.

Fixes angular#16268
Fixes angular#14961
Ref yarnpkg/yarn#1483
mgol added a commit to mgol/angular.js that referenced this issue Dec 27, 2017
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them was
switched to the google-closure-compiler package and the latter was checked in
to the repository.

Fixes angular#16268
Fixes angular#14961
Ref yarnpkg/yarn#1483
mgol added a commit to mgol/angular.js that referenced this issue Dec 27, 2017
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them exists
on npm as the google-closure-compiler but only versions newer than we used are
published and they don't work with ng-closure-compiler so - instead - both were
checked in to the repository.

Fixes angular#16268
Fixes angular#14961
Ref yarnpkg/yarn#1483
mgol added a commit to mgol/angular.js that referenced this issue Dec 27, 2017
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them exists
on npm as the google-closure-compiler but only versions newer than we used are
published and they don't work with ng-closure-compiler so - instead - both were
checked in to the repository.

Fixes angular#16268
Fixes angular#14961
Ref yarnpkg/yarn#1483
Narretz pushed a commit to Narretz/angular.js that referenced this issue Jan 8, 2018
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them exists
on npm as the google-closure-compiler but only versions newer than we used are
published and they don't work with ng-closure-compiler so - instead - both were
checked in to the repository.

Fixes angular#16268
Fixes angular#14961
Ref yarnpkg/yarn#1483
Narretz pushed a commit to angular/angular.js that referenced this issue Jan 8, 2018
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them exists
on npm as the google-closure-compiler but only versions newer than we used are
published and they don't work with ng-closure-compiler so - instead - both were
checked in to the repository.

Fixes #16268
Fixes #14961
Ref yarnpkg/yarn#1483
Narretz pushed a commit to angular/angular.js that referenced this issue Jan 8, 2018
…ages

Bower was used to install multiple versions of jQuery which is now handled
using Yarn aliases. The remaining two packages, closure-compiler and
ng-closure-compiler were installed from zip files which is not supported by Yarn
(see yarnpkg/yarn#1483); the first of them exists
on npm as the google-closure-compiler but only versions newer than we used are
published and they don't work with ng-closure-compiler so - instead - both were
checked in to the repository.

Fixes #16268
Fixes #14961
Ref yarnpkg/yarn#1483
@hellboy81
Copy link

Is there possible to download yarn package from yarnpkg (may be another mirrors) as ZIP ?

@thasmo
Copy link

thasmo commented Jan 26, 2019

I'd love to ZIP support for yarn so it becomes a more versatile alternative to npm.

@kostetskyroma
Copy link

+1

1 similar comment
@hanabi1224
Copy link

+1

@koistya
Copy link

koistya commented Apr 10, 2020

I wish there was a zip option that would allow to pack and publish to Google Cloud Functions (which doesn't accept .tgz files):

yarn pack --zip            # or, yarn pack --out=package.zip
gcloud functions deploy --source=package.zip ...

@torblerone

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests