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

Duplication in NPM's registry #27

Open
Irio opened this issue Nov 6, 2019 · 1 comment
Open

Duplication in NPM's registry #27

Irio opened this issue Nov 6, 2019 · 1 comment

Comments

@Irio
Copy link

Irio commented Nov 6, 2019

Background

Recently, I was faced with a feature that could be solved by using datapackage-views-js. One of my first actions was to search for the package in NPM's registry.

Problems

Screenshot 2019-11-06 at 09 23 37

https://www.npmjs.com/search?q=datapackage-views-js

Unfortunately, I felt confused because there were two packages with the same name. Also, the latest tagged version in Git – v1.2.0 – is not available in any of the published packages. I felt confused and wondering if the package was actually being maintained.

Expectation

I expected to see only one package available. I also expected to see v1.2.0 as the latest stable version available.

Proposal

The problems suggest that the publication of the package does not happen automatically, but manually by one of the developers. Travis CI configuration supports this hypothesis. Wouldn't that be a good opportunity to automate this task?

  1. Delete one of the packages from NPM's registry.
  2. Automate the task of publishing the package to NPM's registry.

cc @anuveyatsu

@anuveyatsu
Copy link
Member

@Irio yes, we should publish to NPM automatically.

Example of how we've done it before - https://github.com/datopian/data-cli/blob/master/.travis.yml

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

No branches or pull requests

2 participants