diff --git a/README.md b/README.md index e567e98..33756cd 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,14 @@ LoopBack CLI tool for creating projects, models and more. This package supersedes the older `slc` tool. -This module is in Active LTS mode, new features are no longer accepted. -(See [Module Long Term Support Policy](#module-long-term-support-policy) below.) +**⚠️ LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. (See +[Module Long Term Support Policy](#module-long-term-support-policy) below.)** -LoopBack 3 users looking for new features are encouraged to upgrade to LoopBack 4. Refer to [loopback-next#1849](https://github.com/strongloop/loopback-next/issues/1849) for more information on how to upgrade. +We urge all LoopBack 3 users to migrate their applications to LoopBack 4 as +soon as possible. Refer to our +[Migration Guide](https://loopback.io/doc/en/lb4/migration-overview.html) +for more information on how to upgrade. ## Installation @@ -96,8 +100,8 @@ This module adopts the [Module Long Term Support (LTS)](http://github.com/CloudN | Version | Status | Published | EOL | | ------- | --------------- | --------- | -------- | -| 5.x | Active LTS | Nov 2018 | Dec 2019 | -| 4.x | Maintenance LTS | Sep 2017 | Dec 2019 | +| 5.x | Maintenance LTS | Nov 2018 | Dec 2020 | +| 4.x | End-of-Life | Sep 2017 | Dec 2019 | | 3.x | End-of-Life | Jul 2017 | Apr 2019 | Learn more about our LTS plan in the [docs](https://loopback.io/doc/en/contrib/Long-term-support.html). diff --git a/bin/loopback-cli.js b/bin/loopback-cli.js index eebbc51..b2f10ae 100755 --- a/bin/loopback-cli.js +++ b/bin/loopback-cli.js @@ -8,10 +8,19 @@ const assert = require('assert'); const camelCaseKeys = require('camelcase-keys'); +const chalk = require('ansi-colors'); const debug = require('debug')('loopback:cli'); const minimist = require('minimist'); const path = require('path'); +console.log(chalk.bold(chalk.red(` +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html +`))); + const opts = minimist(process.argv.slice(2), { alias: { help: 'h', diff --git a/package.json b/package.json index 7d698ed..cb0e1bf 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ } }, "dependencies": { + "ansi-colors": "^4.1.1", "camelcase-keys": "^4.2.0", "debug": "^4.0.1", "generator-loopback": "^6.0.0", diff --git a/test/fixtures/help-lb-acl.txt b/test/fixtures/help-lb-acl.txt index 59967ff..550d953 100644 --- a/test/fixtures/help-lb-acl.txt +++ b/test/fixtures/help-lb-acl.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb acl [options] diff --git a/test/fixtures/help-lb-bluemix.txt b/test/fixtures/help-lb-bluemix.txt index 3ef108c..1d3c838 100644 --- a/test/fixtures/help-lb-bluemix.txt +++ b/test/fixtures/help-lb-bluemix.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb bluemix [options] diff --git a/test/fixtures/help-lb-boot-script.txt b/test/fixtures/help-lb-boot-script.txt index a20c545..deb05ea 100644 --- a/test/fixtures/help-lb-boot-script.txt +++ b/test/fixtures/help-lb-boot-script.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb boot-script [options] [] diff --git a/test/fixtures/help-lb-datasource.txt b/test/fixtures/help-lb-datasource.txt index 91782d4..be9f5a7 100644 --- a/test/fixtures/help-lb-datasource.txt +++ b/test/fixtures/help-lb-datasource.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb datasource [options] [] diff --git a/test/fixtures/help-lb-export-api-def.txt b/test/fixtures/help-lb-export-api-def.txt index 4a4e00e..1e03dbb 100644 --- a/test/fixtures/help-lb-export-api-def.txt +++ b/test/fixtures/help-lb-export-api-def.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb export-api-def [options] diff --git a/test/fixtures/help-lb-middleware.txt b/test/fixtures/help-lb-middleware.txt index ec20305..55a8f7d 100644 --- a/test/fixtures/help-lb-middleware.txt +++ b/test/fixtures/help-lb-middleware.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb middleware [options] [] diff --git a/test/fixtures/help-lb-model.txt b/test/fixtures/help-lb-model.txt index 5cde92a..7aeece6 100644 --- a/test/fixtures/help-lb-model.txt +++ b/test/fixtures/help-lb-model.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb model [options] [] diff --git a/test/fixtures/help-lb-oracle.txt b/test/fixtures/help-lb-oracle.txt index 48fa3bb..ed281ce 100644 --- a/test/fixtures/help-lb-oracle.txt +++ b/test/fixtures/help-lb-oracle.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb oracle [options] diff --git a/test/fixtures/help-lb-property.txt b/test/fixtures/help-lb-property.txt index 3677631..d23cf97 100644 --- a/test/fixtures/help-lb-property.txt +++ b/test/fixtures/help-lb-property.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb property [options] diff --git a/test/fixtures/help-lb-relation.txt b/test/fixtures/help-lb-relation.txt index dea57c6..188c176 100644 --- a/test/fixtures/help-lb-relation.txt +++ b/test/fixtures/help-lb-relation.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb relation [options] diff --git a/test/fixtures/help-lb-remote-method.txt b/test/fixtures/help-lb-remote-method.txt index b449f40..1187e8b 100644 --- a/test/fixtures/help-lb-remote-method.txt +++ b/test/fixtures/help-lb-remote-method.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb remote-method [options] [] [] diff --git a/test/fixtures/help-lb-soap.txt b/test/fixtures/help-lb-soap.txt index 7db8540..9b5c073 100644 --- a/test/fixtures/help-lb-soap.txt +++ b/test/fixtures/help-lb-soap.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb soap [options] [] diff --git a/test/fixtures/help-lb-swagger.txt b/test/fixtures/help-lb-swagger.txt index a4bccee..1ed725d 100644 --- a/test/fixtures/help-lb-swagger.txt +++ b/test/fixtures/help-lb-swagger.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb swagger [options] [] diff --git a/test/fixtures/help-lb-zosconnectee.txt b/test/fixtures/help-lb-zosconnectee.txt index 1d2b617..ff9107f 100644 --- a/test/fixtures/help-lb-zosconnectee.txt +++ b/test/fixtures/help-lb-zosconnectee.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb zosconnectee [options] diff --git a/test/fixtures/help-lb.txt b/test/fixtures/help-lb.txt index 37ad104..6899cd6 100644 --- a/test/fixtures/help-lb.txt +++ b/test/fixtures/help-lb.txt @@ -1,3 +1,10 @@ + +LoopBack 3 is in Maintenance LTS mode, only critical bugs and critical +security fixes will be provided. The support ends in December 2020. We +urge all LoopBack 3 users to migrate their applications to LoopBack 4 +as soon as possible. Refer to our Migration Guide for more information +on how to upgrade: https://loopback.io/doc/en/lb4/migration-overview.html + Usage: lb app [options] []