Closed
Description
My proposal is to remove all db client libraries from package.json
and require user to install the requested one, and move js-data
and knex
as dependencies
. I suggest this for the following reasons:
- It's rather odd (and eats up space) to have all the db client libraries installed when performing
npm install js-data-sql
. - I'm using the
mysql2
driver instead ofmysql
which means I have 2 db client libraries installed for MySQL. - Knex requires you to install your desired library
- NPM3 will no longer install peer dependencies by default (which is the reason for moving
js-data
andknex
as truedependencies
$ npm install --save js-data js-data-sql
npm WARN peerDependencies The peer dependency mariasql@>=0.1.21 included from js-data-sql will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency mysql@>=2.5.5 included from js-data-sql will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency pg@>=4.3.0 included from js-data-sql will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN peerDependencies The peer dependency sqlite3@>=3.0.5 included from js-data-sql will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
Metadata
Metadata
Assignees
Labels
No labels