shamela 1.0.6 → 1.1.0
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.
- package/README.md +247 -38
- package/dist/index.d.ts +303 -63
- package/dist/index.js +44 -0
- package/dist/index.js.map +1 -0
- package/package.json +29 -29
- package/dist/main.js +0 -629
- package/dist/main.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,29 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shamela",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Library to interact with the Maktabah Shamela v4 APIs",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/ragaeeb/shamela.git"
|
|
8
8
|
},
|
|
9
9
|
"private": false,
|
|
10
|
-
"main": "dist/
|
|
10
|
+
"main": "dist/index.js",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js",
|
|
12
13
|
"source": "src/index.ts",
|
|
13
14
|
"type": "module",
|
|
14
15
|
"engines": {
|
|
16
|
+
"bun": ">=1.2.20",
|
|
15
17
|
"node": ">=22.0.0"
|
|
16
18
|
},
|
|
17
19
|
"scripts": {
|
|
18
|
-
"build": "
|
|
19
|
-
"test": "
|
|
20
|
-
"e2e": "bun
|
|
21
|
-
"e2e:ci": "bun
|
|
20
|
+
"build": "tsup",
|
|
21
|
+
"test": "bun test src/ --coverage --coverage-reporter=lcov",
|
|
22
|
+
"e2e": "bun test e2e --env-file .env",
|
|
23
|
+
"e2e:ci": "bun test e2e"
|
|
24
|
+
},
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts"
|
|
30
|
+
}
|
|
22
31
|
},
|
|
23
32
|
"files": [
|
|
24
|
-
"dist
|
|
25
|
-
"dist/main.js.map",
|
|
26
|
-
"dist/*.d.ts"
|
|
33
|
+
"dist/**"
|
|
27
34
|
],
|
|
28
35
|
"keywords": [
|
|
29
36
|
"shamela",
|
|
@@ -34,31 +41,24 @@
|
|
|
34
41
|
"author": "Ragaeeb Haq",
|
|
35
42
|
"license": "MIT",
|
|
36
43
|
"devDependencies": {
|
|
37
|
-
"@eslint/js": "^9.
|
|
38
|
-
"@parcel/packager-ts": "^2.14.4",
|
|
39
|
-
"@parcel/transformer-typescript-types": "^2.14.4",
|
|
44
|
+
"@eslint/js": "^9.34.0",
|
|
40
45
|
"@semantic-release/changelog": "^6.0.3",
|
|
41
46
|
"@semantic-release/git": "^10.0.1",
|
|
42
|
-
"@types/bun": "^1.2.
|
|
43
|
-
"@types/node": "^
|
|
47
|
+
"@types/bun": "^1.2.20",
|
|
48
|
+
"@types/node": "^24.3.0",
|
|
44
49
|
"@types/unzipper": "^0.10.11",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"eslint": "^
|
|
48
|
-
"eslint-
|
|
49
|
-
"eslint-plugin-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"typescript": "^
|
|
55
|
-
"typescript-eslint": "^8.29.0",
|
|
56
|
-
"vitest": "^3.1.1"
|
|
50
|
+
"dotenv-vault": "^1.27.0",
|
|
51
|
+
"eslint": "^9.34.0",
|
|
52
|
+
"eslint-config-prettier": "^10.1.8",
|
|
53
|
+
"eslint-plugin-perfectionist": "^4.15.0",
|
|
54
|
+
"eslint-plugin-prettier": "^5.5.4",
|
|
55
|
+
"globals": "^16.3.0",
|
|
56
|
+
"prettier": "^3.6.2",
|
|
57
|
+
"semantic-release": "^24.2.7",
|
|
58
|
+
"tsup": "^8.5.0",
|
|
59
|
+
"typescript-eslint": "^8.41.0"
|
|
57
60
|
},
|
|
58
61
|
"dependencies": {
|
|
59
|
-
"@libsql/client": "^0.15.2",
|
|
60
|
-
"pino": "^9.6.0",
|
|
61
|
-
"pino-pretty": "^13.0.0",
|
|
62
62
|
"unzipper": "^0.12.3"
|
|
63
63
|
}
|
|
64
64
|
}
|