Update docs: Node.js and npm version

This commit is contained in:
Daniel García Aubert 2019-01-02 11:16:00 +01:00
parent 2404368e36
commit e9e2117046
4 changed files with 19 additions and 11 deletions

View File

@ -1,12 +1,9 @@
1. Test (make clean all check), fix if broken before proceeding
2. Ensure proper version in package.json
2. Ensure proper version in package.json and package-lock.json
3. Ensure NEWS section exists for the new version, review it, add release date
4. Drop npm-shrinkwrap.json
5. Run npm shrinkwrap to recreate npm-shrinkwrap.json
6. Commit package.json, npm-shrinwrap.json, NEWS
7. git tag -a Major.Minor.Patch # use NEWS section as content
8. Announce on cartodb@googlegroups.com
9. Stub NEWS/package for next version
4. Commit package.json, npm-shrinwrap.json, NEWS
5. git tag -a Major.Minor.Patch # use NEWS section as content
6. Stub NEWS/package for next version
Versions:

View File

@ -3,6 +3,9 @@
## 2.3.2
Released 2018-mm-dd
Announcements:
* Update docs: compatible Node.js and npm versions
## 2.3.1
Released 2018-12-23

View File

@ -11,19 +11,27 @@ Provides a node.js based API for running SQL queries against CartoDB.
core requirements
-----------------
* Node >= 10.14.2 or 6.9.2
* npm >= 6.4.1 || 3.10.9 || 3.10.10
* Postgres `9.3+`.
* Postgis `2.2`.
* [CartoDB Postgres Extension](https://github.com/CartoDB/cartodb-postgresql/blob/0.19.2/README.md) `0.19+`.
* GDAL `1.11.0` (bin utils). See [installing GDAL](http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries)
* zip commandline tool.
* Redis `3`, recommended reversion `3.0.2`.
* Node.js `6`, recommended reversion `6.9.2`.
* npm `3`, recommended version `3.10.9`.
Install dependencies
--------------------
- Node.js >= 10.14.2:
```
$ mv npm-shrinkwrap.json npm-shrinkwrap.json.backup
$ npm ci
$ mv npm-shrinkwrap.json.backup npm-shrinkwrap.json
```
- Node.js 6.9.2:
```sh
npm install
```

View File

@ -63,7 +63,7 @@
"docker-bash": "./docker-bash.sh"
},
"engines": {
"node": ">= 4.5.0",
"npm": ">=1.2.1"
"node": "6.9.2 || >= 10.14.2",
"npm": "3.10.9 || 3.10.10 || >= 6.4.1"
}
}