diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..4218b12 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Tim Fabian + +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. \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d762df0..743b1b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,16 +1,15 @@ { "name": "lbx-multithreading", - "version": "0.0.1", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lbx-multithreading", - "version": "0.0.1", + "version": "1.0.0", + "license": "MIT", "dependencies": { - "rxjs": "^7.8.1", - "tslib": "^2.6.3", - "uuid": "^10.0.0" + "tslib": "^2.6.3" }, "devDependencies": { "@loopback/build": "^11.0.3", @@ -20,15 +19,19 @@ "@types/node": "^20.14.6", "@types/uuid": "^9.0.8", "eslint-config-service-soft": "^1.5.1", + "rxjs": "^7.8.1", "source-map-support": "^0.5.21", - "typescript": "~5.4.5" + "typescript": "~5.4.5", + "uuid": "^10.0.0" }, "engines": { "node": "18 || 20 || 22" }, "peerDependencies": { "@loopback/core": "^6.0.2", - "ts-node": "" + "rxjs": "", + "ts-node": "", + "uuid": "^10" } }, "node_modules/@ampproject/remapping": { @@ -10263,6 +10266,7 @@ "version": "7.8.1", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "dev": true, "dependencies": { "tslib": "^2.1.0" } @@ -11652,6 +11656,7 @@ "version": "10.0.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "dev": true, "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" diff --git a/package.json b/package.json index f35347b..31a7b69 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,14 @@ { "name": "lbx-multithreading", - "version": "0.0.1", - "description": "Open Source", + "version": "1.0.0", + "description": "This packages aims to take care of most of your multi threading concerns, including: -a reusable worker pool that is automatically sized based on the available threads (can be [configured](#optional-configuration)) - support for typescript out of the box - a way to run worker files, being really close to the original implementation - a simple way to run a function in a separate thread - storing data about your thread jobs like status, error etc. inside the database - utility functions to easily update the progress, status, error or result of the job - configurable timeouts for jobs and self healing capabilities of the worker pool", "keywords": [ - "loopback-extension", - "loopback" + "loopback-4", + "loopback", + "multithreading", + "thread", + "worker", + "worker-pool" ], "main": "dist/index.js", "types": "dist/index.d.ts", @@ -27,23 +31,26 @@ "url": "" }, "author": "tim-fabian ", - "license": "", + "license": "MIT", "files": [ "README.md", + "LICENSE.md", "dist", "src", "!*/__tests__" ], "peerDependencies": { "@loopback/core": "^6.0.2", - "ts-node": "" + "rxjs": "", + "ts-node": "", + "uuid": "^10" }, "dependencies": { - "rxjs": "^7.8.1", - "tslib": "^2.6.3", - "uuid": "^10.0.0" + "tslib": "^2.6.3" }, "devDependencies": { + "rxjs": "^7.8.1", + "uuid": "^10.0.0", "@loopback/build": "^11.0.3", "@loopback/core": "^6.1.0", "@loopback/repository": "^7.0.3", @@ -54,4 +61,4 @@ "source-map-support": "^0.5.21", "typescript": "~5.4.5" } -} +} \ No newline at end of file