From 4f8a631ae2528d4924343ac96ed341fa7e01ef79 Mon Sep 17 00:00:00 2001 From: vzaytsev Date: Fri, 15 Nov 2024 13:53:36 +0300 Subject: [PATCH] 1 --- CHANGELOG.md | 1110 +++++++++++++++++ LICENSE | 25 + README.md | 75 +- package.json | 69 +- .../acceptance/application.acceptance.ts | 38 + src/application.ts | 37 +- src/controllers/ping.controller.ts | 9 - src/index.ts | 36 +- src/sequence.ts | 35 - tsconfig.json | 24 +- 10 files changed, 1374 insertions(+), 84 deletions(-) create mode 100644 CHANGELOG.md create mode 100644 LICENSE create mode 100644 src/__tests__/acceptance/application.acceptance.ts delete mode 100644 src/controllers/ping.controller.ts delete mode 100644 src/sequence.ts diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..311668a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,1110 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [7.0.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.6...@loopback/example-hello-world@7.0.7) (2024-10-15) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [7.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.5...@loopback/example-hello-world@7.0.6) (2024-09-12) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [7.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.4...@loopback/example-hello-world@7.0.5) (2024-08-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [7.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.3...@loopback/example-hello-world@7.0.4) (2024-07-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [7.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.2...@loopback/example-hello-world@7.0.3) (2024-06-10) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [7.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.1...@loopback/example-hello-world@7.0.2) (2024-05-17) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [7.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@7.0.0...@loopback/example-hello-world@7.0.1) (2024-04-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +# [7.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.1.5...@loopback/example-hello-world@7.0.0) (2024-03-04) + + +### chore + +* drop Node.js 16 support ([b9efcb4](https://github.com/loopbackio/loopback-next/commit/b9efcb477d50507ba3c778ba23ea7acba7692593)) + + +### BREAKING CHANGES + +* Drop Node.js 16 support in all LB4 modules and extensions + +Signed-off-by: dhmlau + + + + + +## [6.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.1.4...@loopback/example-hello-world@6.1.5) (2024-01-11) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [6.1.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.1.3...@loopback/example-hello-world@6.1.4) (2023-12-12) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [6.1.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.1.2...@loopback/example-hello-world@6.1.3) (2023-09-12) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [6.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.1.1...@loopback/example-hello-world@6.1.2) (2023-08-15) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [6.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.1.0...@loopback/example-hello-world@6.1.1) (2023-07-17) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +# [6.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@6.0.0...@loopback/example-hello-world@6.1.0) (2023-06-28) + + +### Features + +* update dependency @types/node to ^16 ([2af42b7](https://github.com/loopbackio/loopback-next/commit/2af42b721c6dfc2df49bfcac1cbea478aba417ab)) + + + + + +# [6.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.10...@loopback/example-hello-world@6.0.0) (2023-05-15) + + +### Features + +* add support for node v20 ([e23cefa](https://github.com/loopbackio/loopback-next/commit/e23cefaf5cce3fb990cb09f4c94239d1979615b1)) +* remove support for node v14 ([5425762](https://github.com/loopbackio/loopback-next/commit/5425762f1353869994acf081bcda4816e6a9c3b0)) +* remove support for node v19 ([e26a2ac](https://github.com/loopbackio/loopback-next/commit/e26a2ac2e43245d09dfc9721ccfa41d830daccb8)) + + +### BREAKING CHANGES + +* End of life of Node v14 + +Signed-off-by: Francisco Buceta + + + + + +## [5.0.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.9...@loopback/example-hello-world@5.0.10) (2023-04-13) + + +### Bug Fixes + +* refresh package lock files ([9979eb1](https://github.com/loopbackio/loopback-next/commit/9979eb183b6c6cd5775da7478cdede8a92ce0d5e)), closes [#9351](https://github.com/loopbackio/loopback-next/issues/9351) + + + + + +## [5.0.9](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.8...@loopback/example-hello-world@5.0.9) (2023-03-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [5.0.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.7...@loopback/example-hello-world@5.0.8) (2023-02-07) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [5.0.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.6...@loopback/example-hello-world@5.0.7) (2023-01-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + + + +## [5.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.5...@loopback/example-hello-world@5.0.6) (2022-12-14) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [5.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.4...@loopback/example-hello-world@5.0.5) (2022-11-24) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [5.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.3...@loopback/example-hello-world@5.0.4) (2022-10-13) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [5.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.2...@loopback/example-hello-world@5.0.3) (2022-08-25) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [5.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.1...@loopback/example-hello-world@5.0.2) (2022-07-14) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [5.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@5.0.0...@loopback/example-hello-world@5.0.1) (2022-06-13) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [5.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.1.2...@loopback/example-hello-world@5.0.0) (2022-05-05) + +### ⚠ BREAKING CHANGES + +- remove node v12 support + +### Features + +- add support for node v18 ([ccb4c61](https://github.com/loopbackio/loopback-next/commit/ccb4c61307d94ab7bb07a19c547dfc4fa7d388a8)) +- remove node v12 support ([5f66e5b](https://github.com/loopbackio/loopback-next/commit/5f66e5bd288ba806b3aa6550fc29c5009de8b60d)) + +## [4.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.1.1...@loopback/example-hello-world@4.1.2) (2022-03-29) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [4.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.1.0...@loopback/example-hello-world@4.1.1) (2022-02-28) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [4.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.0.1...@loopback/example-hello-world@4.1.0) (2022-02-14) + +### Features + +- update @types/node to v12 ([65a09a4](https://github.com/loopbackio/loopback-next/commit/65a09a406e4865f774f97b58af9e616733b8b255)) + +## [4.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.0.0...@loopback/example-hello-world@4.0.1) (2022-01-11) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [4.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@3.0.2...@loopback/example-hello-world@4.0.0) (2021-11-18) + +### Features + +- drop support for Node.js v10 ([9bcbbb3](https://github.com/loopbackio/loopback-next/commit/9bcbbb358ec3eabc3033d4e7e1c22b524a7069b3)) +- support Node.js v17 ([8d86c03](https://github.com/loopbackio/loopback-next/commit/8d86c03cb7047e2b1f18d05870628ef5783e71b2)) +- upgrade to TypeScript 4.5.2 ([72ece91](https://github.com/loopbackio/loopback-next/commit/72ece91289ecfdfd8747bb9888ad75db73e8ff4b)) + +### BREAKING CHANGES + +- drop support for Node.js v10 + +Co-authored-by: Francisco Buceta +Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com> + +## [3.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@3.0.1...@loopback/example-hello-world@3.0.2) (2021-10-18) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [3.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@3.0.0...@loopback/example-hello-world@3.0.1) (2021-09-16) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [3.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.3.1...@loopback/example-hello-world@3.0.0) (2021-07-15) + +### Features + +- **rest:** upgrade to ajv@8.x ([d3b20ed](https://github.com/loopbackio/loopback-next/commit/d3b20edc142d5c014c17ffbfa69f74403793330f)) + +### BREAKING CHANGES + +- **rest:** We upgrade to ajv@8.x, which contains breaking changes + for validations. See https://github.com/ajv-validator/ajv/blob/master/docs/v6-to-v8-migration.md. + +Signed-off-by: Raymond Feng + +## [2.3.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.3.0...@loopback/example-hello-world@2.3.1) (2021-06-10) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [2.3.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.2.1...@loopback/example-hello-world@2.3.0) (2021-05-03) + +### Features + +- support node v16 ([ac99415](https://github.com/loopbackio/loopback-next/commit/ac994154543bde22b4482ba98813351656db1b55)) + +## [2.2.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.2.0...@loopback/example-hello-world@2.2.1) (2021-04-06) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [2.2.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.17...@loopback/example-hello-world@2.2.0) (2021-03-18) + +### Features + +- update package-lock.json to v2 consistently ([dfc3fbd](https://github.com/loopbackio/loopback-next/commit/dfc3fbdae0c9ca9f34c64154a471bef22d5ac6b7)) +- upgrade to TypeScript 4.2.x ([05930bc](https://github.com/loopbackio/loopback-next/commit/05930bc0cece3909dd66f75ad91eeaa2d365a480)) + +## [2.1.17](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.16...@loopback/example-hello-world@2.1.17) (2021-02-09) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.16](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.15...@loopback/example-hello-world@2.1.16) (2021-01-21) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.15](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.14...@loopback/example-hello-world@2.1.15) (2020-12-07) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.14](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.13...@loopback/example-hello-world@2.1.14) (2020-11-18) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.13](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.12...@loopback/example-hello-world@2.1.13) (2020-11-05) + +### Bug Fixes + +- **cli:** update affected example projects ([a4386e9](https://github.com/loopbackio/loopback-next/commit/a4386e921713739417de5d4795950209d2f14e22)), closes [#3259](https://github.com/loopbackio/loopback-next/issues/3259) + +## [2.1.12](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.11...@loopback/example-hello-world@2.1.12) (2020-10-07) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.11](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.10...@loopback/example-hello-world@2.1.11) (2020-09-17) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.9...@loopback/example-hello-world@2.1.10) (2020-09-15) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.9](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.8...@loopback/example-hello-world@2.1.9) (2020-08-27) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.7...@loopback/example-hello-world@2.1.8) (2020-08-19) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.6...@loopback/example-hello-world@2.1.7) (2020-08-05) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.5...@loopback/example-hello-world@2.1.6) (2020-07-20) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.4...@loopback/example-hello-world@2.1.5) (2020-06-30) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.3...@loopback/example-hello-world@2.1.4) (2020-06-23) + +### Bug Fixes + +- set node version to >=10.16 to support events.once ([e39da1c](https://github.com/loopbackio/loopback-next/commit/e39da1ca47728eafaf83c10ce35b09b03b6a4edc)) + +## [2.1.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.2...@loopback/example-hello-world@2.1.3) (2020-06-11) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.1...@loopback/example-hello-world@2.1.2) (2020-05-28) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.1.0...@loopback/example-hello-world@2.1.1) (2020-05-20) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [2.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.8...@loopback/example-hello-world@2.1.0) (2020-05-19) + +### Features + +- upgrade to TypeScript 3.9.x ([3300e45](https://github.com/loopbackio/loopback-next/commit/3300e4569ab8410bb1285f7a54d326e9d976476d)) + +## [2.0.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.7...@loopback/example-hello-world@2.0.8) (2020-05-07) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.6...@loopback/example-hello-world@2.0.7) (2020-04-29) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.5...@loopback/example-hello-world@2.0.6) (2020-04-23) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.4...@loopback/example-hello-world@2.0.5) (2020-04-22) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.3...@loopback/example-hello-world@2.0.4) (2020-04-11) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.2...@loopback/example-hello-world@2.0.3) (2020-04-08) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.1...@loopback/example-hello-world@2.0.2) (2020-03-24) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [2.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@2.0.0...@loopback/example-hello-world@2.0.1) (2020-03-17) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [2.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.25...@loopback/example-hello-world@2.0.0) (2020-03-05) + +### chore + +- remove support for Node.js v8.x ([4281d9d](https://github.com/loopbackio/loopback-next/commit/4281d9df50f0715d32879e1442a90b643ec8f542)) + +### Features + +- add `tslib` as dependency ([a6e0b4c](https://github.com/loopbackio/loopback-next/commit/a6e0b4ce7b862764167cefedee14c1115b25e0a4)), closes [#4676](https://github.com/loopbackio/loopback-next/issues/4676) + +### BREAKING CHANGES + +- Node.js v8.x is now end of life. Please upgrade to version + 10 and above. See https://nodejs.org/en/about/releases. + +## [1.2.25](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.24...@loopback/example-hello-world@1.2.25) (2020-02-06) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.24](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.23...@loopback/example-hello-world@1.2.24) (2020-02-05) + +### Bug Fixes + +- update clean script for examples to be compatible with `lb4 example` ([d9f5741](https://github.com/loopbackio/loopback-next/commit/d9f574160f6edbf73a8f728cd3695ca69297148a)) + +## [1.2.23](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.22...@loopback/example-hello-world@1.2.23) (2020-01-27) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.22](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.21...@loopback/example-hello-world@1.2.22) (2020-01-07) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.21](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.20...@loopback/example-hello-world@1.2.21) (2019-12-09) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.20](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.19...@loopback/example-hello-world@1.2.20) (2019-11-25) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.19](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.18...@loopback/example-hello-world@1.2.19) (2019-11-12) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.18](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.17...@loopback/example-hello-world@1.2.18) (2019-10-24) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.17](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.16...@loopback/example-hello-world@1.2.17) (2019-10-07) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.16](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.15...@loopback/example-hello-world@1.2.16) (2019-09-28) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.15](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.14...@loopback/example-hello-world@1.2.15) (2019-09-27) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.14](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.13...@loopback/example-hello-world@1.2.14) (2019-09-17) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.13](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.12...@loopback/example-hello-world@1.2.13) (2019-09-06) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.12](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.11...@loopback/example-hello-world@1.2.12) (2019-09-03) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.11](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.10...@loopback/example-hello-world@1.2.11) (2019-08-19) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.9...@loopback/example-hello-world@1.2.10) (2019-08-15) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.9](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.8...@loopback/example-hello-world@1.2.9) (2019-08-15) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.7...@loopback/example-hello-world@1.2.8) (2019-07-31) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.6...@loopback/example-hello-world@1.2.7) (2019-07-26) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.5...@loopback/example-hello-world@1.2.6) (2019-07-17) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.4...@loopback/example-hello-world@1.2.5) (2019-06-28) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.3...@loopback/example-hello-world@1.2.4) (2019-06-21) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.2...@loopback/example-hello-world@1.2.3) (2019-06-20) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.2.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.1...@loopback/example-hello-world@1.2.2) (2019-06-17) + +### Bug Fixes + +- remove forgotten references to tslint ([faa0a92](https://github.com/loopbackio/loopback-next/commit/faa0a92)) + +## [1.2.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.2.0...@loopback/example-hello-world@1.2.1) (2019-06-06) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [1.2.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.20...@loopback/example-hello-world@1.2.0) (2019-06-03) + +### Features + +- replace tslint with eslint ([44185a7](https://github.com/loopbackio/loopback-next/commit/44185a7)) + +## [1.1.20](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.19...@loopback/example-hello-world@1.1.20) (2019-05-31) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.19](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.18...@loopback/example-hello-world@1.1.19) (2019-05-30) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.18](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.17...@loopback/example-hello-world@1.1.18) (2019-05-23) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.17](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.16...@loopback/example-hello-world@1.1.17) (2019-05-14) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.16](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.15...@loopback/example-hello-world@1.1.16) (2019-05-10) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.15](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.14...@loopback/example-hello-world@1.1.15) (2019-05-09) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.14](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.13...@loopback/example-hello-world@1.1.14) (2019-05-06) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.13](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.12...@loopback/example-hello-world@1.1.13) (2019-04-26) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.12](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.11...@loopback/example-hello-world@1.1.12) (2019-04-20) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.11](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.10...@loopback/example-hello-world@1.1.11) (2019-04-11) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.9...@loopback/example-hello-world@1.1.10) (2019-04-09) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.9](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.8...@loopback/example-hello-world@1.1.9) (2019-04-05) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.7...@loopback/example-hello-world@1.1.8) (2019-03-22) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.6...@loopback/example-hello-world@1.1.7) (2019-03-22) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.5...@loopback/example-hello-world@1.1.6) (2019-03-12) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.4...@loopback/example-hello-world@1.1.5) (2019-03-01) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.3...@loopback/example-hello-world@1.1.4) (2019-02-25) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.2...@loopback/example-hello-world@1.1.3) (2019-02-08) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.1...@loopback/example-hello-world@1.1.2) (2019-01-28) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.1.0...@loopback/example-hello-world@1.1.1) (2019-01-15) + +**Note:** Version bump only for package @loopback/example-hello-world + +# [1.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.8...@loopback/example-hello-world@1.1.0) (2019-01-14) + +### Features + +- always include tslint and typescript in project dev-dependencies ([e0df285](https://github.com/loopbackio/loopback-next/commit/e0df285)) + +## [1.0.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.7...@loopback/example-hello-world@1.0.8) (2018-12-20) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.0.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.6...@loopback/example-hello-world@1.0.7) (2018-12-13) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.5...@loopback/example-hello-world@1.0.6) (2018-11-26) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.4...@loopback/example-hello-world@1.0.5) (2018-11-17) + +**Note:** Version bump only for package @loopback/example-hello-world + +## [1.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.3...@loopback/example-hello-world@1.0.4) (2018-11-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [1.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.1...@loopback/example-hello-world@1.0.3) (2018-11-08) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [1.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@1.0.0...@loopback/example-hello-world@1.0.1) (2018-10-17) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.6...@loopback/example-hello-world@0.10.7) (2018-10-08) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.5...@loopback/example-hello-world@0.10.6) (2018-10-06) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.4...@loopback/example-hello-world@0.10.5) (2018-10-05) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.3...@loopback/example-hello-world@0.10.4) (2018-10-03) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.2...@loopback/example-hello-world@0.10.3) (2018-09-28) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.1...@loopback/example-hello-world@0.10.2) (2018-09-27) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.10.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.10.0...@loopback/example-hello-world@0.10.1) (2018-09-25) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.10.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.14...@loopback/example-hello-world@0.10.0) (2018-09-21) + +### Features + +- **testlab:** add createRestAppClient(), simplify usage in tests ([d75be77](https://github.com/loopbackio/loopback-next/commit/d75be77)) +- **testlab:** set port to 0 in givenHttpServerConfig ([90a0bfb](https://github.com/loopbackio/loopback-next/commit/90a0bfb)) + + + +## [0.9.14](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.13...@loopback/example-hello-world@0.9.14) (2018-09-19) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.13](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.12...@loopback/example-hello-world@0.9.13) (2018-09-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.12](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.11...@loopback/example-hello-world@0.9.12) (2018-09-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.11](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.10...@loopback/example-hello-world@0.9.11) (2018-09-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.9...@loopback/example-hello-world@0.9.10) (2018-09-12) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.9](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.8...@loopback/example-hello-world@0.9.9) (2018-09-10) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.7...@loopback/example-hello-world@0.9.8) (2018-09-10) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.6...@loopback/example-hello-world@0.9.7) (2018-09-08) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.5...@loopback/example-hello-world@0.9.6) (2018-08-25) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.4...@loopback/example-hello-world@0.9.5) (2018-08-24) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.3...@loopback/example-hello-world@0.9.4) (2018-08-15) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.2...@loopback/example-hello-world@0.9.3) (2018-08-08) + +### Bug Fixes + +- **cli:** install dependencies for clones examples ([5774f1f](https://github.com/loopbackio/loopback-next/commit/5774f1f)) + + + +## [0.9.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.1...@loopback/example-hello-world@0.9.2) (2018-07-21) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.9.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.9.0...@loopback/example-hello-world@0.9.1) (2018-07-20) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.9.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.14...@loopback/example-hello-world@0.9.0) (2018-07-20) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.14](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.13...@loopback/example-hello-world@0.8.14) (2018-07-13) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.13](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.12...@loopback/example-hello-world@0.8.13) (2018-07-11) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.12](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.11...@loopback/example-hello-world@0.8.12) (2018-07-10) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.11](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.10...@loopback/example-hello-world@0.8.11) (2018-07-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.9...@loopback/example-hello-world@0.8.10) (2018-06-28) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.9](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.8...@loopback/example-hello-world@0.8.9) (2018-06-27) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.7...@loopback/example-hello-world@0.8.8) (2018-06-26) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.5...@loopback/example-hello-world@0.8.7) (2018-06-25) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.5...@loopback/example-hello-world@0.8.6) (2018-06-25) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.4...@loopback/example-hello-world@0.8.5) (2018-06-20) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.3...@loopback/example-hello-world@0.8.4) (2018-06-11) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.2...@loopback/example-hello-world@0.8.3) (2018-06-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.0...@loopback/example-hello-world@0.8.2) (2018-06-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.8.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.8.0...@loopback/example-hello-world@0.8.1) (2018-06-09) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.8.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.7.5...@loopback/example-hello-world@0.8.0) (2018-06-08) + +### Features + +- **cli:** add vscode config files ([3738b9c](https://github.com/loopbackio/loopback-next/commit/3738b9c)) + + + +## [0.7.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.7.4...@loopback/example-hello-world@0.7.5) (2018-05-28) + +### Bug Fixes + +- clone the test folder for examples ([00688ea](https://github.com/loopbackio/loopback-next/commit/00688ea)) + + + +## [0.7.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.7.3...@loopback/example-hello-world@0.7.4) (2018-05-20) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.7.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.7.2...@loopback/example-hello-world@0.7.3) (2018-05-14) + +### Bug Fixes + +- change index.d.ts files to point to dist8 ([42ca42d](https://github.com/loopbackio/loopback-next/commit/42ca42d)) +- update example scripts and files in package.json ([65f5d52](https://github.com/loopbackio/loopback-next/commit/65f5d52)) + + + +## [0.7.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.7.1...@loopback/example-hello-world@0.7.2) (2018-05-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.7.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.7.0...@loopback/example-hello-world@0.7.1) (2018-05-08) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.7.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.5.3...@loopback/example-hello-world@0.7.0) (2018-05-03) + +### Features + +- add helper package "dist-util" ([532f153](https://github.com/loopbackio/loopback-next/commit/532f153)) + + + +# [0.6.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.5.3...@loopback/example-hello-world@0.6.0) (2018-05-03) + +### Features + +- add helper package "dist-util" ([532f153](https://github.com/loopbackio/loopback-next/commit/532f153)) + + + +## [0.5.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.5.2...@loopback/example-hello-world@0.5.3) (2018-04-26) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.5.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.5.1...@loopback/example-hello-world@0.5.2) (2018-04-26) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.5.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.5.0...@loopback/example-hello-world@0.5.1) (2018-04-25) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.5.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.7...@loopback/example-hello-world@0.5.0) (2018-04-16) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.6...@loopback/example-hello-world@0.4.7) (2018-04-16) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.6](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.5...@loopback/example-hello-world@0.4.6) (2018-04-12) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.4...@loopback/example-hello-world@0.4.5) (2018-04-11) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.2...@loopback/example-hello-world@0.4.4) (2018-04-11) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.2...@loopback/example-hello-world@0.4.3) (2018-04-06) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.1...@loopback/example-hello-world@0.4.2) (2018-04-04) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.4.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.4.0...@loopback/example-hello-world@0.4.1) (2018-04-02) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.4.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.3.1...@loopback/example-hello-world@0.4.0) (2018-03-29) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.3.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.3.0...@loopback/example-hello-world@0.3.1) (2018-03-23) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.3.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.2.5...@loopback/example-hello-world@0.3.0) (2018-03-21) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.2.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.2.4...@loopback/example-hello-world@0.2.5) (2018-03-14) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.2.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.2.3...@loopback/example-hello-world@0.2.4) (2018-03-13) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.2.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.2.2...@loopback/example-hello-world@0.2.3) (2018-03-08) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.2.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.2.1...@loopback/example-hello-world@0.2.2) (2018-03-07) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.2.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.2.0...@loopback/example-hello-world@0.2.1) (2018-03-06) + +### Bug Fixes + +- fix typo of `additional` ([2fd7610](https://github.com/loopbackio/loopback-next/commit/2fd7610)) + + + +# [0.2.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.1.2...@loopback/example-hello-world@0.2.0) (2018-03-01) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.1.1...@loopback/example-hello-world@0.1.2) (2018-03-01) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +## [0.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@0.1.0...@loopback/example-hello-world@0.1.1) (2018-02-23) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [0.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.0.0-alpha.4...@loopback/example-hello-world@0.1.0) (2018-02-21) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [4.0.0-alpha.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.0.0-alpha.3...@loopback/example-hello-world@4.0.0-alpha.4) (2018-02-15) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# [4.0.0-alpha.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.0.0-alpha.2...@loopback/example-hello-world@4.0.0-alpha.3) (2018-02-07) + +### Bug Fixes + +- **build:** fix tslint config and slipped violations ([22f8e05](https://github.com/loopbackio/loopback-next/commit/22f8e05)) + +### build + +- drop dist6 related targets ([#945](https://github.com/loopbackio/loopback-next/issues/945)) ([a2368ce](https://github.com/loopbackio/loopback-next/commit/a2368ce)) + +### BREAKING CHANGES + +- Support for Node.js version lower than 8.0 has been dropped. + Please upgrade to the latest Node.js 8.x LTS version. + +Co-Authored-by: Taranveer Virk + + + +# [4.0.0-alpha.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-hello-world@4.0.0-alpha.1...@loopback/example-hello-world@4.0.0-alpha.2) (2018-02-04) + +**Note:** Version bump only for package @loopback/example-hello-world + + + +# 4.0.0-alpha.1 (2018-01-30) + +**Note:** Version bump only for package @loopback/example-hello-world diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..acdab11 --- /dev/null +++ b/LICENSE @@ -0,0 +1,25 @@ +Copyright (c) IBM Corp. and LoopBack contributors 2018,2019. +Node module: @loopback/example-hello-world +This project is licensed under the MIT License, full text below. + +-------- + +MIT license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index 57b4eb7..c191068 100644 --- a/README.md +++ b/README.md @@ -1 +1,74 @@ -# testnode \ No newline at end of file +# @loopback/example-hello-world + +A simple hello-world application using LoopBack 4! + +## Summary + +This project shows how to write the simplest LoopBack 4 application possible. +Check out +[src/application.ts](https://github.com/loopbackio/loopback-next/blob/master/examples/hello-world/src/application.ts) +to learn how we configured our application to always respond with "Hello +World!". + +## Prerequisites + +Before we can begin, you'll need to make sure you have some things installed: + +- [Node.js](https://nodejs.org/en/) at v10 or greater + +Additionally, this tutorial assumes that you are comfortable with certain +technologies, languages and concepts. + +- JavaScript (ES6) +- [npm](https://www.npmjs.com/) +- [REST](https://en.wikipedia.org/wiki/Representational_state_transfer) + +## Installation + +1. Install the new loopback CLI toolkit. + +```sh +npm i -g @loopback/cli +``` + +2. Download the "hello-world" application. + +```sh +lb4 example hello-world +``` + +3. Switch to the directory. + +```sh +cd loopback4-example-hello-world +``` + +## Use + +Start the app: + +```sh +npm start +``` + +The application will start on port `3000`. Use your favourite browser or REST +client to access any path with a GET request, and watch it return +`Hello world!`. + +## Contributions + +- [Guidelines](https://github.com/loopbackio/loopback-next/blob/master/docs/CONTRIBUTING.md) +- [Join the team](https://github.com/loopbackio/loopback-next/issues/110) + +## Tests + +Run `npm test` from the root folder. + +## Contributors + +See +[all contributors](https://github.com/loopbackio/loopback-next/graphs/contributors). + +## License + +MIT diff --git a/package.json b/package.json index 9269321..8b2b2f2 100644 --- a/package.json +++ b/package.json @@ -1,26 +1,61 @@ { - "name": "loopback-app", - "version": "1.0.0", - "description": "Simple LoopBack 4 application", + "name": "@loopback/example-hello-world", + "description": "A simple hello-world Application using LoopBack 4", + "version": "7.0.7", + "keywords": [ + "loopback", + "LoopBack", + "example", + "tutorial" + ], + "license": "MIT", "main": "dist/index.js", + "types": "dist/index.d.ts", + "author": "IBM Corp. and LoopBack contributors", + "copyright.owner": "IBM Corp. and LoopBack contributors", + "repository": { + "type": "git", + "url": "https://github.com/loopbackio/loopback-next.git", + "directory": "examples/hello-world" + }, + "engines": { + "node": "18 || 20 || 22" + }, "scripts": { + "acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"", "build": "lb-tsc", - "start": "node -r source-map-support/register .", - "clean": "rimraf dist", - "prestart": "npm run build" + "build:watch": "lb-tsc --watch", + "clean": "lb-clean *example-hello-world*.tgz dist *.tsbuildinfo package", + "verify": "npm pack && tar xf *example-hello-world*.tgz && tree package && npm run clean", + "lint": "npm run prettier:check && npm run eslint", + "lint:fix": "npm run eslint:fix && npm run prettier:fix", + "prettier:cli": "lb-prettier \"**/*.ts\" \"**/*.js\"", + "prettier:check": "npm run prettier:cli -- -l", + "prettier:fix": "npm run prettier:cli -- --write", + "eslint": "lb-eslint --report-unused-disable-directives .", + "eslint:fix": "npm run eslint -- --fix", + "pretest": "npm run rebuild", + "test": "lb-mocha --allow-console-logs \"dist/__tests__/**/*.js\"", + "posttest": "npm run lint", + "test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest", + "rebuild": "npm run clean && npm run build", + "prestart": "npm run rebuild", + "start": "node ." + }, + "publishConfig": { + "access": "public" }, "dependencies": { - "@loopback/boot": "^5.0.0", - "@loopback/core": "^5.0.0", - "@loopback/rest": "^5.0.0", - "@loopback/repository": "^5.0.0", - "@loopback/rest-explorer": "^5.0.0", - "source-map-support": "^0.5.21" + "@loopback/core": "^6.1.4", + "@loopback/rest": "^14.0.7", + "tslib": "^2.6.3" }, "devDependencies": { - "@loopback/build": "^6.0.0", - "rimraf": "^5.0.0", - "typescript": "^5.2.2" - }, - "license": "MIT" + "@loopback/build": "^11.0.6", + "@loopback/eslint-config": "^15.0.4", + "@loopback/testlab": "^7.0.6", + "@types/node": "^16.18.119", + "eslint": "^8.57.0", + "typescript": "~5.2.2" + } } diff --git a/src/__tests__/acceptance/application.acceptance.ts b/src/__tests__/acceptance/application.acceptance.ts new file mode 100644 index 0000000..bf122a6 --- /dev/null +++ b/src/__tests__/acceptance/application.acceptance.ts @@ -0,0 +1,38 @@ +// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved. +// Node module: @loopback/example-hello-world +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT + +import { + Client, + createRestAppClient, + expect, + givenHttpServerConfig, +} from '@loopback/testlab'; +import {HelloWorldApplication} from '../../application'; + +describe('Application', () => { + let app: HelloWorldApplication; + let client: Client; + + before(givenAnApplication); + before(async () => { + await app.start(); + client = createRestAppClient(app); + }); + after(async () => { + await app.stop(); + }); + + it('responds with hello world', async () => { + const response = await client.get('/').expect(200); + expect(response.text).to.eql('Hello World!'); + }); + + function givenAnApplication() { + app = new HelloWorldApplication({ + rest: givenHttpServerConfig(), + disableConsoleLog: true, + }); + } +}); diff --git a/src/application.ts b/src/application.ts index 2a642d5..749a139 100644 --- a/src/application.ts +++ b/src/application.ts @@ -1,16 +1,33 @@ -import {ApplicationConfig} from '@loopback/core'; -import {RestApplication} from '@loopback/rest'; -import {RestExplorerBindings} from '@loopback/rest-explorer'; -import {PingController} from './controllers/ping.controller'; +// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved. +// Node module: @loopback/example-hello-world +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT -export class Application extends RestApplication { +import {ApplicationConfig} from '@loopback/core'; +import {RestApplication, RestServer} from '@loopback/rest'; +export {ApplicationConfig}; + +export class HelloWorldApplication extends RestApplication { constructor(options: ApplicationConfig = {}) { super(options); - this.projectRoot = __dirname; - this.controller(PingController); - this.bind(RestExplorerBindings.CONFIG).to({ - path: '/explorer', + + // In this example project, we configure a sequence that always + // returns the same HTTP response: Hello World! + // Learn more about the concept of Sequence in our docs: + // http://loopback.io/doc/en/lb4/Sequence.html + this.handler(({response}, sequence) => { + sequence.send(response, 'Hello World!'); }); } -} + async start() { + await super.start(); + + if (!this.options?.disableConsoleLog) { + const rest = await this.getServer(RestServer); + console.log( + `REST server running on port: ${await rest.get('rest.port')}`, + ); + } + } +} diff --git a/src/controllers/ping.controller.ts b/src/controllers/ping.controller.ts deleted file mode 100644 index 7b76301..0000000 --- a/src/controllers/ping.controller.ts +++ /dev/null @@ -1,9 +0,0 @@ -import {get} from '@loopback/rest'; - -export class PingController { - @get('/ping') - ping(): object { - return {message: 'pong'}; - } -} - diff --git a/src/index.ts b/src/index.ts index 7c0b431..302aeac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,14 +1,30 @@ -import {Application} from './application'; +// Copyright IBM Corp. and LoopBack contributors 2018,2020. All Rights Reserved. +// Node module: @loopback/example-hello-world +// This file is licensed under the MIT License. +// License text available at https://opensource.org/licenses/MIT -export async function main() { - const app = new Application(); - await app.boot(); +import {ApplicationConfig, HelloWorldApplication} from './application'; + +export async function main(config: ApplicationConfig) { + const app = new HelloWorldApplication(); await app.start(); - console.log(`Application is running at http://127.0.0.1:3000`); + return app; } -main().catch(err => { - console.error('Cannot start the application.', err); - process.exit(1); -}); - +if (require.main === module) { + // Run the application + const config = { + rest: { + port: +(process.env.PORT ?? 3000), + host: process.env.HOST ?? 'localhost', + openApiSpec: { + // useful when used with OpenAPI-to-GraphQL to locate your application + setServersFromRequest: true, + }, + }, + }; + main(config).catch(err => { + console.error('Cannot start the application.', err); + process.exit(1); + }); +} diff --git a/src/sequence.ts b/src/sequence.ts deleted file mode 100644 index 1712299..0000000 --- a/src/sequence.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { - SequenceHandler, - FindRoute, - ParseParams, - InvokeMethod, - Send, - Reject, - RequestContext, -} from '@loopback/rest'; - -export class MySequence implements SequenceHandler { - constructor( - public findRoute: FindRoute, - public parseParams: ParseParams, - public invoke: InvokeMethod, - public send: Send, - public reject: Reject, - ) {} - - async handle(context: RequestContext): Promise { - const {request, response} = context; - try { - const route = this.findRoute(request); - - const args = await this.parseParams(request, route); - - const result = await this.invoke(route, args); - - this.send(response, result); - } catch (error) { - this.reject(context, error); - } - } -} - diff --git a/tsconfig.json b/tsconfig.json index 10e6652..40d7c10 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,4 +1,24 @@ { - "extends": "./node_modules/@loopback/build/config/tsconfig.common.json", - "include": ["src"] + "$schema": "https://json.schemastore.org/tsconfig", + "extends": "@loopback/build/config/tsconfig.common.json", + "compilerOptions": { + "outDir": "dist", + "rootDir": "src", + "composite": true + }, + "include": [ + "src/**/*", + "src/**/*.json" + ], + "references": [ + { + "path": "../../packages/core/tsconfig.json" + }, + { + "path": "../../packages/rest/tsconfig.json" + }, + { + "path": "../../packages/testlab/tsconfig.json" + } + ] }