Comments (5)
In that case I would remove dependency on the npm registry and load the last release from GitHub tags. As far as I know, npm@5 also supports semantic versions from GitHub tags.
With a GitHub app we have the opportunity to create a language agnostic solution which has no outside dependencies. Once we have that folks can create a "publish to npm" GitHub app which listens to releases on GitHub, for example.
from app.
We use it here to get the latest version. Currently just depending on the dist-tags.latest
.
from app.
Hm. Pretty good point. I can try to do it that way when get time again, otherwise PRs are welcome.
folks can create a "publish to npm" GitHub app
That sounds great, but is impossible. Actually not possible through the npm api, but may be easy to clone the repo and then publish through the folder, hm.
from app.
the "publish to npm" GitHub app will need to be able to spawn servers on-demand, similar to how CI services work. It could even utilize sth like Travis, it's basically how semantit-release works today. It will need to create an environment where it can git clone
the repository and run npm install
and npm publish
on it. Nothing that hasn’t been done before :)
from app.
Yea, but is too much. It's enough and a lot more easier to just have a package as dependency which will (as SR currently do) publish on CI, no matter which one.
That's why i think that once we did great github app for just releases, we can then remove everything related to that from the SR package, which in turn will just do the npm publishing and redirect users to use them both - the github app and semantic-release
as devDependency.
from app.
Related Issues (20)
- Should it wait all statuses to finish before release? HOT 6
- Add commit body & footer after the bullets list HOT 1
- template: the `commit.heading` is empty when (v1.0.0 / first) major release is published HOT 1
- Add config option for required status checks
- Reminder to not forget what is the trick with now.sh
- Support release template to link updated dependencies
- Don't rely on `context.github.repos.getTags` but on `new-release`'s `getVersions` HOT 1
- Use `new-release@4`
- Activate Renovate and add CircleCI job for auto releasing to Now.sh
- Publishes releases before CI ends HOT 1
- Release template
- Detect `[skip ci]` and `[ci skip]` insensitive
- For the config: allow a list of regexes for "required" status checks
- Reimplement from scratch - done (in ~100 lines as a whole) HOT 2
- Monorepo support HOT 5
- Bug in rendering HOT 3
- Use `pkg.version` instead of `pkg.dist-tags.latest`? HOT 1
- Don't use NPM et al HOT 1
- Catch if getTags throws and fallback HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app.