Skip to content

Commit

Permalink
feat: support node v16
Browse files Browse the repository at this point in the history
Note: v15 is no longer supported

Signed-off-by: Francisco Buceta <[email protected]>
  • Loading branch information
frbuceta committed Apr 21, 2021
1 parent 9611aef commit ac99415
Show file tree
Hide file tree
Showing 77 changed files with 82 additions and 82 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
- cron: '0 2 * * 1' # At 02:00 on Monday

env:
CI: true
NODE_OPTIONS: --max-old-space-size=4096

jobs:
Expand All @@ -20,10 +19,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [10, 12, 14]
node-version: [10, 12, 14, 16]
include:
- os: macos-latest
node-version: 14
node-version: 14 # LTS
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -56,7 +55,7 @@ jobs:
- name: Bootstrap benchmark tests
run: |
npm ci --ignore-scripts
./node_modules/.bin/lerna bootstrap --scope "@loopback/benchmark" --include-dependencies
npx lerna bootstrap --scope "@loopback/benchmark" --include-dependencies
- name: Run benchmark tests
run: npm test --prefix benchmark

Expand Down Expand Up @@ -95,9 +94,9 @@ jobs:
- name: Install monorepo tools
run: |
npm ci --ignore-scripts
./node_modules/.bin/lerna bootstrap --scope "@loopback/monorepo" --include-dependencies
npx lerna bootstrap --scope "@loopback/monorepo" --include-dependencies
- name: Verify commit linting
run: ./node_modules/.bin/commitlint --from origin/master --to HEAD --verbose
run: npx commitlint --from origin/master --to HEAD --verbose

verify-docs:
name: Verify Docs
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 @@ -6,7 +6,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -6,7 +6,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -6,7 +6,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -6,7 +6,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -6,7 +6,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"benchmark"
],
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion bodyparsers/rest-msgpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -17,7 +17,7 @@
"@loopback/build": "^6.3.1"
},
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"files": [
"*.md",
Expand Down
2 changes: 1 addition & 1 deletion examples/access-control-migration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/binding-resolution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/context/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
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 @@ -12,7 +12,7 @@
"express"
],
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/file-transfer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"publishConfig": {
"access": "public"
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-tenancy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"multi-tenancy"
],
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/passport-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/rest-crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
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 @@ -9,7 +9,7 @@
"loopback"
],
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/soap-calculator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"soap"
],
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/socketio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/validation-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"types": "dist/index.d.ts",
"unpkg": "dist/bundle-web.js",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"author": "IBM Corp.",
"copyright.owner": "IBM Corp.",
Expand Down
2 changes: 1 addition & 1 deletion extensions/apiconnect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/authentication-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
Expand Down
2 changes: 1 addition & 1 deletion extensions/context-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/cron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
2 changes: 1 addition & 1 deletion extensions/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.3.1",
"description": "LoopBack's graphql integration",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion extensions/health/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"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 @@ -5,7 +5,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": "^10.16 || 12 || 14 || 15"
"node": "^10.16 || 12 || 14 || 16"
},
"scripts": {
"build": "lb-tsc",
Expand Down
Loading

0 comments on commit ac99415

Please sign in to comment.