@firtoz/maybe-error 1.2.3 → 1.3.1
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 +1 -1
- package/package.json +53 -48
package/README.md
CHANGED
|
@@ -235,7 +235,7 @@ async function fetchMultipleUsers(ids: string[]): Promise<MaybeError<User[]>> {
|
|
|
235
235
|
|
|
236
236
|
## Contributing
|
|
237
237
|
|
|
238
|
-
Contributions are welcome! This package is part of the [
|
|
238
|
+
Contributions are welcome! This package is part of the [fullstack-toolkit monorepo](https://github.com/firtoz/fullstack-toolkit).
|
|
239
239
|
|
|
240
240
|
## License
|
|
241
241
|
|
package/package.json
CHANGED
|
@@ -1,50 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
2
|
+
"name": "@firtoz/maybe-error",
|
|
3
|
+
"version": "1.3.1",
|
|
4
|
+
"description": "Type-safe result handling with MaybeError pattern",
|
|
5
|
+
"main": "./src/index.ts",
|
|
6
|
+
"module": "./src/index.ts",
|
|
7
|
+
"types": "./src/index.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./src/index.ts",
|
|
11
|
+
"import": "./src/index.ts",
|
|
12
|
+
"require": "./src/index.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"src/**/*.ts",
|
|
17
|
+
"!src/**/*.test.ts",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "echo 'No build step - using TypeScript source directly'",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"lint": "biome lint src --write",
|
|
24
|
+
"format": "biome format src --write",
|
|
25
|
+
"test": "bun test",
|
|
26
|
+
"test:watch": "bun test --watch"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"typescript",
|
|
30
|
+
"error-handling",
|
|
31
|
+
"result-pattern",
|
|
32
|
+
"maybe-error",
|
|
33
|
+
"type-safe"
|
|
34
|
+
],
|
|
35
|
+
"author": "Firtina Ozbalikchi <firtoz@github.com>",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"homepage": "https://github.com/firtoz/fullstack-toolkit#readme",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "https://github.com/firtoz/fullstack-toolkit.git",
|
|
41
|
+
"directory": "packages/maybe-error"
|
|
42
|
+
},
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/firtoz/fullstack-toolkit/issues"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18.0.0"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"bun-types": "^1.2.23"
|
|
54
|
+
}
|
|
50
55
|
}
|