@calmlens/sdk 0.0.0-stage → 0.5.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 +554 -2
- package/bin/calmlens.js +1323 -0
- package/cjs/CalmLensTypes-DG_kHVqY.d.ts +3521 -0
- package/cjs/CalmLensUtils-0QaxbI3A.js +551 -0
- package/cjs/index.d.ts +2741 -0
- package/cjs/index.js +1206 -0
- package/cjs/package.json +3 -0
- package/cjs/testing.d.ts +149 -0
- package/cjs/testing.js +702 -0
- package/esm/CalmLensTypes-DG_kHVqY.d.ts +3521 -0
- package/esm/CalmLensUtils-BQEgxGWk.js +410 -0
- package/esm/index.d.ts +2741 -0
- package/esm/index.js +1196 -0
- package/esm/package.json +3 -0
- package/esm/testing.d.ts +149 -0
- package/esm/testing.js +696 -0
- package/package.json +88 -4
package/package.json
CHANGED
|
@@ -1,6 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calmlens/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "https://github.com/Censkh/CalmLens.git",
|
|
7
|
+
"directory": "packages/js-sdk"
|
|
8
|
+
},
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
12
|
+
},
|
|
13
|
+
"main": "cjs/index.js",
|
|
14
|
+
"types": "cjs/index.d.ts",
|
|
15
|
+
"module": "esm/index.js",
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"bin": {
|
|
18
|
+
"calmlens": "bin/calmlens.js"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"generate:fixtures": "bun scripts/generateFixtures.ts",
|
|
22
|
+
"prepublishOnly": "npm run check && npm run test && npm run build",
|
|
23
|
+
"test": "bun test --parallel=4 tests",
|
|
24
|
+
"example:start": "cd example && npm run start",
|
|
25
|
+
"check:fix": "tsc --noEmit --project tsconfig.json && npx @biomejs/biome check --write",
|
|
26
|
+
"check": "tsc --noEmit --project tsconfig.json && npx @biomejs/biome check",
|
|
27
|
+
"cleanup": "rimraf esm && rimraf cjs && rimraf bin",
|
|
28
|
+
"build": "npm run cleanup && rolldown -c rolldown.config.mjs && node scripts/post-build.js && npm run verify:package",
|
|
29
|
+
"verify:package": "node scripts/verify-package.mjs",
|
|
30
|
+
"website:dev": "cd website && npm run start",
|
|
31
|
+
"website:deploy": "cd website && npm run deploy"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"typescript",
|
|
35
|
+
"javascript",
|
|
36
|
+
"node",
|
|
37
|
+
"web",
|
|
38
|
+
"api",
|
|
39
|
+
"typed",
|
|
40
|
+
"cache",
|
|
41
|
+
"fetch",
|
|
42
|
+
"retry",
|
|
43
|
+
"middleware"
|
|
44
|
+
],
|
|
45
|
+
"files": [
|
|
46
|
+
"LICENSE",
|
|
47
|
+
"README.md",
|
|
48
|
+
"esm/",
|
|
49
|
+
"cjs/",
|
|
50
|
+
"bin/"
|
|
51
|
+
],
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@biomejs/biome": "^2.5.13",
|
|
54
|
+
"@oxc-project/runtime": "0.148.0",
|
|
55
|
+
"@types/bun": "^1.3.13",
|
|
56
|
+
"@types/node": "22.20.2",
|
|
57
|
+
"rimraf": "6.1.3",
|
|
58
|
+
"rolldown": "1.2.7",
|
|
59
|
+
"rolldown-plugin-dts": "0.28.6",
|
|
60
|
+
"typescript": "catalog:"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"api-def": "^0.17.1",
|
|
64
|
+
"json-schema-to-ts": "^3.1.1",
|
|
65
|
+
"sendable-error": "^0.11.4",
|
|
66
|
+
"zod": "^4.6.5"
|
|
67
|
+
},
|
|
68
|
+
"exports": {
|
|
69
|
+
".": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./esm/index.d.ts",
|
|
72
|
+
"default": "./esm/index.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./cjs/index.d.ts",
|
|
76
|
+
"default": "./cjs/index.js"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"./testing": {
|
|
80
|
+
"import": {
|
|
81
|
+
"types": "./esm/testing.d.ts",
|
|
82
|
+
"default": "./esm/testing.js"
|
|
83
|
+
},
|
|
84
|
+
"require": {
|
|
85
|
+
"types": "./cjs/testing.d.ts",
|
|
86
|
+
"default": "./cjs/testing.js"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|