Allow package to be published in npm registry #2771
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've contacted the maintainer of the https://www.npmjs.org/package/openlayers package (in addition to the npm folks) to see if we can take over ownership. Until then, we can publish packages under the name 'ol'.
Once the process is ironed out, I'll document package publishing as part of the release process. I'd like to publish (frequent) pre-releases under the
next
tag. That will allow anyone usingnpm
to install the latest pre-release withnpm install ol@next
.A manual set of publishing steps will look something like this:
We can create git tags for pre-releases if we want to as well (though not required). This should not interfere with the normal release process, it is only intended as a way to let people use ol3 with the npm registry.