From 7a5a215304241c10060170c998ebc5e4d6f69a5d Mon Sep 17 00:00:00 2001 From: Sebastian Clausen Date: Tue, 8 Jun 2021 08:06:26 +0200 Subject: [PATCH] added license to published library. fixes #186 --- package.json | 2 +- projects/ngx-mqtt/LICENSE | 21 +++++++++++++++++++++ projects/ngx-mqtt/ng-package.json | 3 +++ projects/ngx-mqtt/package.json | 3 ++- 4 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 projects/ngx-mqtt/LICENSE diff --git a/package.json b/package.json index c4f29d7..9002b50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-mqtt", - "version": "9.0.4", + "version": "9.0.5", "description": "ngx mqtt client library", "repository": { "type": "git", diff --git a/projects/ngx-mqtt/LICENSE b/projects/ngx-mqtt/LICENSE new file mode 100644 index 0000000..165134c --- /dev/null +++ b/projects/ngx-mqtt/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2017 Sebastian Clausen github@sebastian-clausen.de + +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/projects/ngx-mqtt/ng-package.json b/projects/ngx-mqtt/ng-package.json index a625bf5..b29976b 100644 --- a/projects/ngx-mqtt/ng-package.json +++ b/projects/ngx-mqtt/ng-package.json @@ -4,6 +4,9 @@ "lib": { "entryFile": "src/public-api.ts" }, + "assets": [ + "LICENSE" + ], "allowedNonPeerDependencies": [ "mqtt-browser", "mqtt-packet", diff --git a/projects/ngx-mqtt/package.json b/projects/ngx-mqtt/package.json index 03720f7..effa33c 100644 --- a/projects/ngx-mqtt/package.json +++ b/projects/ngx-mqtt/package.json @@ -4,7 +4,8 @@ "type": "git", "url": "https://github.com/sclausen/ngx-mqtt.git" }, - "version": "9.0.4", + "version": "9.0.5", + "license": "MIT", "peerDependencies": { "@angular/common": ">=9.0.0", "@angular/core": ">=9.0.0"