@aracna/telegram-bot 2.0.4 → 2.0.6

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 +21 -21
  2. package/README.md +18 -18
  3. package/package.json +22 -22
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Dario Sechi
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Dario Sechi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
- ![NPM](https://img.shields.io/npm/l/@aracna/telegram-bot)
2
- ![npm (scoped)](https://img.shields.io/npm/v/@aracna/telegram-bot)
3
- [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=coverage)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
4
- [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
5
- [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
6
- [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
7
- [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
8
- [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
9
- [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
10
- [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
11
-
12
- # Aracna Telegram Bot
13
-
14
- This library makes building Telegram Bot back-ends a breeze by abstracting all the tedious parts and exposing a simple API to work with.
15
-
16
- ### Documentation
17
-
18
- You can find the telegram bot documentation on the [Aracna Website](https://aracna.dariosechi.it).
1
+ ![NPM](https://img.shields.io/npm/l/@aracna/telegram-bot)
2
+ ![npm (scoped)](https://img.shields.io/npm/v/@aracna/telegram-bot)
3
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=coverage)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
4
+ [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
5
+ [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
6
+ [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
7
+ [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
8
+ [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
9
+ [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
10
+ [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=aracna_telegram-bot&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=aracna_telegram-bot)
11
+
12
+ # Aracna Telegram Bot
13
+
14
+ This library makes building Telegram Bot back-ends a breeze by abstracting all the tedious parts and exposing a simple API to work with.
15
+
16
+ ### Documentation
17
+
18
+ You can find the telegram bot documentation on the [Aracna Website](https://aracna.dariosechi.it).
package/package.json CHANGED
@@ -1,45 +1,45 @@
1
1
  {
2
2
  "author": "Dario Sechi",
3
3
  "devDependencies": {
4
- "@aracna/core": "^1.1.91",
5
- "@aracna/telegram-bot-types": "^1.2.14",
6
- "@fastify/multipart": "^8.3.0",
7
- "@microsoft/api-extractor": "^7.47.5",
8
- "@ngrok/ngrok": "^1.4.1",
9
- "@types/node": "^22.2.0",
10
- "@vitest/coverage-v8": "^2.0.5",
11
- "@vitest/ui": "^2.0.5",
12
- "dotenv": "^16.4.5",
13
- "fastify": "^4.28.1",
14
- "sharp": "^0.33.5",
15
- "typescript": "^5.5.4",
16
- "vitest": "^2.0.5"
4
+ "@aracna/core": "^1.3.1",
5
+ "@aracna/telegram-bot-types": "^1.2.15",
6
+ "@fastify/multipart": "^9.0.3",
7
+ "@microsoft/api-extractor": "^7.52.8",
8
+ "@ngrok/ngrok": "^1.5.1",
9
+ "@types/node": "^24.0.0",
10
+ "@vitest/coverage-v8": "^3.2.3",
11
+ "@vitest/ui": "^3.2.3",
12
+ "dotenv": "^16.5.0",
13
+ "fastify": "^5.3.3",
14
+ "sharp": "^0.34.2",
15
+ "typescript": "^5.8.3",
16
+ "vitest": "^3.2.3"
17
17
  },
18
18
  "engines": {
19
- "node": ">=16",
20
- "pnpm": ">=8"
19
+ "node": ">=18",
20
+ "pnpm": ">=10"
21
21
  },
22
22
  "exports": {
23
+ "types": "./index.d.ts",
23
24
  "import": "./index.js",
24
- "require": "./index.js",
25
- "types": "./index.d.ts"
25
+ "require": "./index.js"
26
26
  },
27
27
  "license": "MIT",
28
28
  "main": "index.js",
29
29
  "name": "@aracna/telegram-bot",
30
30
  "peerDependencies": {
31
- "@aracna/core": ">= 1.1.12",
31
+ "@aracna/core": ">= 1.3.0",
32
32
  "@aracna/telegram-bot-types": ">= 1.2.0"
33
33
  },
34
34
  "publishConfig": {
35
35
  "directory": "dist"
36
36
  },
37
- "repository": "https://github.com/aracna/telegram-bot",
37
+ "repository": "https://github.com/queelag/telegram-bot",
38
38
  "types": "index.d.ts",
39
- "version": "2.0.4",
39
+ "version": "2.0.6",
40
40
  "scripts": {
41
- "build": "rm -rf dist && pnpm tsc && pnpm api-extractor run --local",
42
- "prepublish": "pnpm test && pnpm build && cp LICENSE package.json README.md dist",
41
+ "build": "node scripts/build.mjs && pnpm tsc && pnpm api-extractor run --local",
42
+ "prepublish": "pnpm test && pnpm build && node scripts/pre-publish.mjs",
43
43
  "test": "vitest run"
44
44
  }
45
45
  }