Merge pull request #551 from CartoDB/update-node-npm-versions

Update docs: Node.js and npm version
This commit is contained in:
Daniel G. Aubert 2019-01-02 13:04:15 +01:00 committed by GitHub
commit 9c015d40cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 11 deletions

View File

@ -1,12 +1,9 @@
1. Test (make clean all check), fix if broken before proceeding 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 3. Ensure NEWS section exists for the new version, review it, add release date
4. Drop npm-shrinkwrap.json 4. Commit package.json, npm-shrinwrap.json, NEWS
5. Run npm shrinkwrap to recreate npm-shrinkwrap.json 5. git tag -a Major.Minor.Patch # use NEWS section as content
6. Commit package.json, npm-shrinwrap.json, NEWS 6. Stub NEWS/package for next version
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
Versions: Versions:

View File

@ -1,8 +1,13 @@
# Changelog # Changelog
**Deprecation warning**: Next major release will drop support for `Node.js 6 LTS` and `npm 3.x`. You'll be able to use the latest ES features as soon as we release 3.0.0. In the meantime, as a developer, you should keep compatibility with Node.js 6 LTS and keep updated both `package-lock.json` and `npm-shrinkwrap.json` files.
## 2.3.2 ## 2.3.2
Released 2018-mm-dd Released 2018-mm-dd
Announcements:
* Update docs: compatible Node.js and npm versions
## 2.3.1 ## 2.3.1
Released 2018-12-23 Released 2018-12-23

View File

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

View File

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