Skip to content

Commit

Permalink
change min nodeJS version to 14
Browse files Browse the repository at this point in the history
  • Loading branch information
nf-s committed Jul 21, 2022
1 parent 5526c5b commit ec3b9bc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Change Log

#### next release (8.2.10)

* **Breaking changes:**
* **Minimum NodeJS version is now 14**
* Consolidate `HasLocalData` interface
* Add `GlTf` type definition (v2)
* Add `gltfModelUrl` to `GltfMixin` - this must be implemented by Models which use `GltfMixin`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Sites we're aware of that are using TerriaJS. These are not endorsements or test

### Technical

* NodeJS v12, 14 or 16 are supported
* NodeJS v14 or v16 are supported
* Built in TypeScript & ES2020+ JavaScript, compiled with Babel to ES5.
* Supports modern browsers (recent versions of Microsoft Edge, Mozilla Firefox & Google Chrome).
* [TerriaJS Server component](https://github.com/TerriajS/TerriaJS-Server) runs in NodeJS and provides proxying for web services that don't support CORS or require authentication. Instead of using TerriaJS-Sever proxy service, an alternative proxying service URL can be specified. See [Specify an alternative proxy server URL](/doc/connecting-to-data/cross-origin-resource-sharing.md)
Expand Down
2 changes: 0 additions & 2 deletions doc/customizing/client-side-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ If your TerriaMap has many (>50) dynamic groups (groups which need to be loaded

The https://github.com/nextapps-de/flexsearch library is used to index and search the catalog index file.

**Note** NodeJS v10 is not supported, please use v12 or v14.

To generate the catalog index:

- `yarn build-tools`
Expand Down
2 changes: 1 addition & 1 deletion doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you run into trouble or want more explanation, read on.
TerriaJS can be built and run on almost any macOS, Linux, or Windows system. The following are required to build TerriaJS:

* The Bash command shell. On macOS or Linux you almost certainly already have this. On Windows, you can easily get it by installing [Git for Windows](https://gitforwindows.org/). In the instructions below, we assume you're using a Bash command prompt.
* [Node.js](https://nodejs.org) v12.0 or later. You can check your node version by running `node --version` on the command-line.
* [Node.js](https://nodejs.org) v14.0 or later. You can check your node version by running `node --version` on the command-line.
* [npm](https://www.npmjs.com/) v6.0 or later. npm is usually installed automatically alongside the above. You can check your npm version by running `npm --version`.
* [yarn](https://yarnpkg.com/) v1.19.0 or later. This can be installed using `npm install -g yarn@^1.19.0`

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Geospatial data visualization platform.",
"license": "Apache-2.0",
"engines": {
"node": ">= 12.0.0"
"node": ">= 14.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -246,4 +246,4 @@
"build-for-node": "tsc -b tsconfig-node.json",
"prepare": "yarn build-for-node && husky install"
}
}
}

0 comments on commit ec3b9bc

Please sign in to comment.