grob/rp — Issue #1: Check dependency on specific RingoJS versions
Author: grob
Created: 2012-02-03 08:35:41+00:00
State: open

See Hannes' [posting](https://groups.google.com/group/ringojs/msg/270e561dae4f829f) in RingoJS group

rp should check if a package or it's dependencies requires a specific version of RingoJS, and at least display a message if the local ringojs installation doesn't meet this requirement (or prohibit the installation of such packages at all).

for this the package.json descriptor of a package should contain the following property:

"engines": {
"ringojs": ">= 0.8"
}

evalPackageDescriptor() in publish command should probably display a warning if the descriptor doesn't specify this (or throw an error if it's an array of engine names).

(commonjs package specifies "engines" as array of engine names, but rp should follow [kris kowal's proposal](http://groups.google.com/group/commonjs/browse_thread/thread/d079d42067a3598c))