This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 297
Use GitHub packages instead of release tags #919
Comments
This was referenced Mar 25, 2021
This was referenced Apr 13, 2021
This was referenced May 10, 2021
@sadick254 @darangi Will this ever happen? |
This was referenced May 15, 2021
This was referenced Jun 28, 2021
This was referenced Jul 12, 2021
This was referenced Jul 28, 2021
This was referenced Aug 5, 2021
This was referenced Aug 13, 2021
This was referenced Aug 25, 2021
This was referenced Sep 13, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue offers a new solution for the long old issue of APM and @atom that uses Git release tags for its packages.
The Solution
My solution is to use GitHub packages.
@github packages are available from
npm
, so the integration toapm
is quite easy. We need to pass the arguments tonpm
.https://github.com/features/packages
The Problems
If we want to put binaries/transpiled/compiled files into the package, we have to commit them into the repo and upgrade them on each change.
This means that people will have to download all the unnecessary files to use the package. This results in huge download sizes, which has caused numerous installation issues.
For the developers, this is considered annoying compared to publishing a package to
npm
.If we decide not to commit the files, then people should download Gigabytes from
npm
devDependnecies
just to build the code.We can not use a
.npmignore
in the repo. -> It has the same above-mentioned issues. For example, people should download thetests
,docs
, etc which can have a huge size.We can not support mono repo architectures with this
This is backward compatible
For the installation, apm should check if a package is registered using a GitHub package, and if not, fall back to the old release-tag method.
The old #498 issue:
The text was updated successfully, but these errors were encountered: