HorseAJ86 / node-jquery

jQuery with a thin wrapper for Ender.JS, Node.JS, and other npm-based packaging systems
http://jquery.com
MIT License
431 stars 66 forks source link

npm deployed package does not include dependencies #34

Closed linuxwolf closed 12 years ago

linuxwolf commented 12 years ago

When running 'npm install jQuery', the installed package does not include any dependencies.

Looking at its package.json, it appears that "dependencies" was renamed " dependencies" (and "devDependencies" renamed " devDependencies") (minus spaces)

treasonx commented 12 years ago

This a little confusing and its from legacy needs.

jQuery is for ender

jquery is for node.

so in your case you should do npm jquery and it'll pull in your dependencies.

I am currently looking at a way to deprecate jQuery

linuxwolf commented 12 years ago

I think I was screwed up because my patches used "jQuery" everywhere instead of "jquery", and kept going in that direction.

treasonx commented 12 years ago

I started to have jquery and jQuery mirror each other but I caused some issues with people using ender.

coolaj86 commented 12 years ago

I think npm is moving towards case-insensitive as well. Ender has added a new overlay key for dependencies. I think it's { ender: { dependencies: {} }}... not sure

treasonx commented 12 years ago

I would love to merge jQuery and jquery but i'm not sure how I can get ender to ignore node dependencies.