Subscribe on changes!

No link to download an archive containing both the production version of vue 3 and the license file

avatar
Nov 20th 2020

Version

3.0.2

Reproduction link

https://github.com/vuejs/vue-next/archive/v3.0.2.tar.gz

Steps to reproduce

The archive at https://github.com/vuejs/vue/archive/v2.6.12.tar.gz contains both the LICENSE file, which buildroot uses to verify the license hasn't changed without notice, and the dist/vue.min.js file which it installs on the production system. In vue 3, the github archive does not contain the dist directory anymore.

What is expected?

Ideally, I would like a link to download an archive that contain both the production files and the license file, for a specific version of vue.

What is actually happening?

Using the same procedure as for vue2, I get an archive without the production files in it.


What is the official procedure to download vue3 production files?

avatar
Dec 7th 2020

The assets are now the source code without the dist files. The dist files are published on the npm registry so there must be a way to retrieve the actual url

avatar
Dec 7th 2020

Yes I can get a tarball from npm registry (e.g., https://registry.npmjs.org/vue/-/vue-3.0.4.tgz) but this tarball is missing the LICENSE file.

avatar
Dec 7th 2020

Yeah, so I think we could copy the LICENSE file from the root to all the packages when publishing. Right now it's not included because the License is only at the root folder

avatar
Dec 21st 2020

@posva We can just copy the file to each package's root once. the tarball contains more than the /dist folder. This way, we don't have to adjust anything about the build system.

avatar
Dec 21st 2020

Agree, it's usually only one change per year (if any since there is present in the year), not worth automating