Skip to content

Commit

Permalink
chore: remove support for Node.js v8.x
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node.js v8.x is now end of life. Please upgrade to version
10 and above. See https://nodejs.org/en/about/releases.
  • Loading branch information
raymondfeng committed Feb 11, 2020
1 parent 9e2370f commit 4281d9d
Show file tree
Hide file tree
Showing 62 changed files with 61 additions and 62 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
sudo: false
language: node_js
node_js:
- "8"
- "10"
- "12"
- "13"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for more details.

Make sure you have the following installed:

- [Node.js](https://nodejs.org/en/download/) >= 8.9.0
- [Node.js](https://nodejs.org/en/download/) >= 10

Install LoopBack 4 CLI to help create new projects as follows:

Expand Down
2 changes: 1 addition & 1 deletion acceptance/extension-logging-fluentd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Acceptance test for extension-logging with fluentd",
"private": true,
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-cloudant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"private": true,
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"private": true,
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"private": true,
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion acceptance/repository-postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"private": true,
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
environment:
matrix:
- nodejs_version: "8"
- nodejs_version: "10"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://github.com/strongloop/loopback-next/tree/master/docs",
"author": "IBM Corp.",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"files": [
"**/*"
Expand Down
2 changes: 1 addition & 1 deletion docs/site/Getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ summary: Write and run a LoopBack 4 "Hello World" project in TypeScript.

## Prerequisites

Install [Node.js](https://nodejs.org/en/download/) (version 8.9 or higher) if it
Install [Node.js](https://nodejs.org/en/download/) (version 10 or higher) if it
is not already installed on your machine.

## Install LoopBack 4 CLI
Expand Down
2 changes: 1 addition & 1 deletion docs/site/deployment/Deploying_to_ibm_cloud_kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ application onto [Kubernetes](http://kubernetes.io/) on the

You’ll need the following:

1. [Node.js 8.9 or higher](https://nodejs.org)
1. [Node.js 10 or higher](https://nodejs.org)
2. [Docker 18.06 or higher](https://docs.docker.com/install/)
3. [Sign up for an IBM Cloud account](https://cloud.ibm.com/) if you don't have
one already.
Expand Down
2 changes: 1 addition & 1 deletion examples/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Standalone examples for @loopback/context",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/express-composition/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is an example of how to mount LoopBack 4 REST API on a simple

First, you'll need to install a supported version of Node:

- [Node.js](https://nodejs.org/en/) at v8.9 or greater
- [Node.js](https://nodejs.org/en/) at v10 or greater

Additionally, this tutorial assumes that you are comfortable with certain
technologies, languages and concepts.
Expand Down
2 changes: 1 addition & 1 deletion examples/express-composition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/greeter-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "An example extension point/extensions for LoopBack 4",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/greeting-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "An example greeting application for LoopBack 4",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ World!".

Before we can begin, you'll need to make sure you have some things installed:

- [Node.js](https://nodejs.org/en/) at v8.9 or greater
- [Node.js](https://nodejs.org/en/) at v10 or greater

Additionally, this tutorial assumes that you are comfortable with certain
technologies, languages and concepts.
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A simple hello-world Application using LoopBack 4",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/lb3-application/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Tutorial example on how to add existing an LB3 application to a LB4 project",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/log-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "An example extension project for LoopBack 4",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/metrics-prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Standalone examples for @loopback/metrics",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"loopback"
],
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/soap-calculator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ you will be creating in blue.

You'll need to make sure you have some things installed:

- [Node.js](https://nodejs.org/en/) at v8.9 or greater
- [Node.js](https://nodejs.org/en/) at v10 or greater

Lastly, you'll need to install the LoopBack 4 CLI toolkit:

Expand Down
2 changes: 1 addition & 1 deletion examples/todo-list/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ straight to our first step:
If not, you'll need to make sure you have a couple of things installed before we
get started:

- [Node.js](https://nodejs.org/en/) at v8.9 or greater
- [Node.js](https://nodejs.org/en/) at v10 or greater

Next, you'll need to install the LoopBack 4 CLI toolkit:

Expand Down
2 changes: 1 addition & 1 deletion examples/todo-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Continuation of the todo example using relations in LoopBack 4.",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LoopBack 4. You will experience how you can create REST APIs with just

First, you'll need to install a supported version of Node:

- [Node.js](https://nodejs.org/en/) at v8.9 or greater
- [Node.js](https://nodejs.org/en/) at v10 or greater

Additionally, this tutorial assumes that you are comfortable with certain
technologies, languages and concepts.
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Tutorial example on how to build an application with LoopBack 4.",
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion extensions/authentication-passport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.3",
"description": "A package creating adapters between the passport module and @loopback/authentication",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/health/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.2.17",
"description": "LoopBack Health",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"description": "LoopBack Logging for Winston and Fluentd",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.6",
"description": "LoopBack Metrics for Prometheus",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"version": "0.1.0",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.3.3",
"description": "A LoopBack component for authentication support.",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/authorization/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.4.10",
"description": "A LoopBack component for authorization support.",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.7.4",
"description": "A collection of Booters for LoopBack 4 Applications",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/src/__tests__/fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"loopback"
],
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
},
Expand Down
2 changes: 1 addition & 1 deletion packages/booter-lb3app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.3.12",
"description": "Boot a LoopBack 3 application in a LoopBack 4 project",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"version": "3.1.1",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"author": "IBM Corp.",
"main": "index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/generators/project/templates/package.json.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "lb-tsc",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"main": "index.js",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"build": "tsc",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage": "https://github.com/strongloop/loopback-next/tree/master/packages/cli",
"author": "IBM Corp.",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"files": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion packages/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "2.1.1",
"description": "LoopBack's container for Inversion of Control",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.12.4",
"description": "LoopBack 4 core",
"engines": {
"node": ">=8.9"
"node": ">=10"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
Loading

0 comments on commit 4281d9d

Please sign in to comment.