PaulUithol / Backbone-relational

Get and set relations (one-to-one, one-to-many, many-to-one) for Backbone models
http://backbonerelational.org
MIT License
2.34k stars 330 forks source link

npm - republish? #24

Closed orlin closed 11 years ago

orlin commented 13 years ago

Noticing that the npm version of backbone-rel is 0.3.0 whereas the current tag / package.json says 0.4.0 - could you please republish, so it can be built with ender more easily...

PaulUithol commented 13 years ago

What do you mean with 'republish' exactly? I didn't publish it myself - that was probably done by @dvv following issue #3?

orlin commented 13 years ago

I mean http://search.npmjs.org/#/backbone-rel was last published as 0.3.0 and the package.json version is 0.4.0 so I'm guessing somebody forgot to run $ npm publish (again). I guess being the "author" doesn't mean you published (or can republish?) it. History says you've been bumping the version. Is @dvv publishing the package?

dvv commented 13 years ago

@PaulUithol: please, take ownership over

PaulUithol commented 13 years ago

Well, I tried that a while back, but got stuck since I don't have a linux desktop around. I tried creating an npm account using the command line tool, but I couldn't get that to work (wouldn't install from the git repo) on cygwin. Does anyone know web-based tool to get there, or something that would work on windows?

dvv commented 13 years ago

@orlin: do you run linux?

orlin commented 13 years ago

Mac OSX. I can publish. The 0.5.x (unstable) node is supposed to run on Windows - its purpose... Perhaps try that first?

PaulUithol commented 13 years ago

Right, well, I've got it running on windows now - works fine! I've added a user paul.uithol. How do I take ownership of the package? Is that as simple as republishing?

orlin commented 12 years ago

@PaulUithol -- have you guys tried republishing yet? Maybe @dvv can just npm unpublish so you can publish from scratch (with the same package name) or if you want to keep the current history there is npm owner add <user> backbone-rel. Please make this happen. I really need to test / use Backbone.RelationalModel with node. Meanwhile I guess I'll npm link it locally so it can be worked with...

edwardmsmith commented 12 years ago

If you want to use HEAD, you can set up your package.json dependency like this:

        "backbone-rel": "https://github.com/PaulUithol/Backbone-relational/tarball/master"
}

Its not ideal, but it works for now.

PaulUithol commented 12 years ago

@dvv : could you please use npm owner add paul.uithol for the backbone-rel package?

roberthan818 commented 12 years ago

here's another recent npm upload: https://github.com/kmalakoff/npm-backbone-relational

What's the syntax for loading it onto the models.js? (wasn't able to find an example)

I tried

Backbone.RelationalModel = require('backbone-relational')

and coupler variations but none seemed to work...

DouweM commented 11 years ago

Closed due to inactivity.