@adaas/a-utils 0.1.16 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +10 -19
  2. package/README.md +8 -2
  3. package/package.json +45 -35
package/LICENSE CHANGED
@@ -1,22 +1,13 @@
1
- (The MIT License)
1
+ Copyright 2025 ADAAS YAZILIM LİMİTED ŞİRKETİ
2
2
 
3
- Copyright (c) 2024 ADAAS <https://adaas.org>
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
4
6
 
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- 'Software'), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
7
+ http://www.apache.org/licenses/LICENSE-2.0
12
8
 
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md CHANGED
@@ -4,10 +4,9 @@
4
4
 
5
5
  ![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
6
6
  ![Node.js](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)
7
- ![Jest](https://img.shields.io/badge/Jest-323330?style=for-the-badge&logo=Jest&logoColor=white)
8
7
  ![npm](https://img.shields.io/badge/npm-CB3837?style=for-the-badge&logo=npm&logoColor=white)
9
8
 
10
- ![License](https://img.shields.io/badge/license-ISC-blue.svg)
9
+ ![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)
11
10
  ![Version](https://img.shields.io/npm/v/@adaas/a-utils)
12
11
  ![Downloads](https://img.shields.io/npm/dm/@adaas/a-utils)
13
12
  ![Build Status](https://img.shields.io/badge/build-passing-brightgreen)
@@ -602,3 +601,10 @@ Additional environment variables may be required by specific components like A-C
602
601
  - [Report Issues](https://github.com/ADAAS-org/adaas-a-utils/issues)
603
602
  - [Become Future Creator](https://sso.adaas.org)
604
603
  ---
604
+
605
+ ## License
606
+
607
+ This project is licensed under the [Apache License 2.0](LICENSE).
608
+
609
+ © 2025 ADAAS YAZILIM LİMİTED ŞİRKETİ All rights reserved.
610
+ All original code and concepts are the intellectual property of ADAAS YAZILIM LİMİTED ŞİRKETİ
package/package.json CHANGED
@@ -1,40 +1,16 @@
1
1
  {
2
2
  "name": "@adaas/a-utils",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
4
4
  "description": "A-Utils is a set of utilities that are used across the ADAAS ecosystem. This package is designed to be a collection of utilities that are used across the ADAAS ecosystem.",
5
- "main": "./dist/index.js",
5
+ "license": "Apache-2.0",
6
+ "main": "./dist/index.cjs",
6
7
  "module": "./dist/index.mjs",
7
8
  "types": "./dist/index.d.ts",
8
- "nodemonConfig": {
9
- "ignore": [
10
- "**/*.test.ts",
11
- "**/*.spec.ts",
12
- ".git",
13
- "node_modules"
14
- ],
15
- "watch": [
16
- "config",
17
- "constants",
18
- "src",
19
- "lib",
20
- "db",
21
- "shared"
22
- ],
23
- "exec": "node -r tsconfig-paths/register -r ts-node/register ",
24
- "ext": "ts, js"
25
- },
26
- "scripts": {
27
- "test": "jest ",
28
- "start": "nodemon ./tests/log.ts",
29
- "examples:config": "nodemon ./examples/config.ts",
30
- "examples:logger": "nodemon ./examples/A-Logger-examples.ts",
31
- "release": "npm run test && npm run build && git add . && git commit -m \"new version created :: $(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g')\" && npm version patch && npm publish --access public",
32
- "preversion": "echo test",
33
- "version": "echo git add .",
34
- "postversion": "git push --no-verify && git push --tags --no-verify && echo \"\n======Version Pushed Successfully=====\n\" ",
35
- "echo-version": "echo $npm_package_version",
36
- "build": "tsup --config tsup.config.ts"
9
+ "author": {
10
+ "name": "ADAAS YAZILIM LİMİTED ŞİRKETİ",
11
+ "email": "contact-us@adaas.org"
37
12
  },
13
+ "homepage": "https://github.com/ADAAS-org/adaas-a-utils#readme",
38
14
  "repository": {
39
15
  "type": "git",
40
16
  "url": "git+https://github.com/ADAAS-org/adaas-a-utils.git"
@@ -62,14 +38,48 @@
62
38
  "lifecycle",
63
39
  "error-handling"
64
40
  ],
65
- "author": "adaas.org",
66
- "license": "ISC",
67
41
  "bugs": {
68
42
  "url": "https://github.com/ADAAS-org/adaas-a-utils/issues"
69
43
  },
70
- "homepage": "https://github.com/ADAAS-org/adaas-a-utils#readme",
44
+ "sideEffects": false,
45
+ "exports": {
46
+ ".": {
47
+ "import": "./dist/index.mjs",
48
+ "require": "./dist/index.cjs"
49
+ }
50
+ },
51
+ "nodemonConfig": {
52
+ "ignore": [
53
+ "**/*.test.ts",
54
+ "**/*.spec.ts",
55
+ ".git",
56
+ "node_modules"
57
+ ],
58
+ "watch": [
59
+ "config",
60
+ "constants",
61
+ "src",
62
+ "lib",
63
+ "db",
64
+ "shared"
65
+ ],
66
+ "exec": "node -r tsconfig-paths/register -r ts-node/register ",
67
+ "ext": "ts, js"
68
+ },
69
+ "scripts": {
70
+ "test": "jest ",
71
+ "start": "nodemon ./tests/log.ts",
72
+ "examples:config": "nodemon ./examples/config.ts",
73
+ "examples:logger": "nodemon ./examples/A-Logger-examples.ts",
74
+ "release": "npm run test && npm run build && git add . && git commit -m \"new version created :: $(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g')\" && npm version patch && npm publish --access public",
75
+ "preversion": "echo test",
76
+ "version": "echo git add .",
77
+ "postversion": "git push --no-verify && git push --tags --no-verify && echo \"\n======Version Pushed Successfully=====\n\" ",
78
+ "echo-version": "echo $npm_package_version",
79
+ "build": "tsup --config tsup.config.ts"
80
+ },
71
81
  "dependencies": {
72
- "@adaas/a-concept": "^0.1.28"
82
+ "@adaas/a-concept": "^0.1.29"
73
83
  },
74
84
  "devDependencies": {
75
85
  "@types/chai": "^4.3.14",