@hautechai/sdk 2.3.0 → 2.3.2

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 (2) hide show
  1. package/README.md +48 -0
  2. package/package.json +1 -3
package/README.md CHANGED
@@ -60,3 +60,51 @@ const sdk = createSDK({ authToken: () => accountToken }); // you should call the
60
60
  ### Using SDK
61
61
 
62
62
  Docs about how to use the SDK are available [here](https://docs.hautech.ai/)
63
+
64
+ ## Development
65
+
66
+ ### Prerequisites
67
+
68
+ - Node.js 22+
69
+ - PNPM 10+
70
+
71
+ ### Installation
72
+
73
+ ```bash
74
+ pnpm install --frozen-lockfile
75
+ ```
76
+
77
+ ### Building
78
+
79
+ ```bash
80
+ pnpm build
81
+ ```
82
+
83
+ ### Testing
84
+
85
+ ```bash
86
+ # Run all tests (unit + e2e)
87
+ pnpm test
88
+
89
+ # Run unit tests only
90
+ pnpm test:unit
91
+
92
+ # Run e2e tests only
93
+ pnpm test:e2e
94
+
95
+ # Run tests with coverage
96
+ pnpm test:cov
97
+ ```
98
+
99
+ ### Linting and Formatting
100
+
101
+ ```bash
102
+ # Check code formatting
103
+ npx prettier --check .
104
+
105
+ # Fix code formatting
106
+ npx prettier --write .
107
+
108
+ # Type checking
109
+ npx tsc --noEmit
110
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hautechai/sdk",
3
- "version": "2.3.0",
3
+ "version": "2.3.2",
4
4
  "license": "MIT",
5
5
  "keywords": [],
6
6
  "repository": {
@@ -16,8 +16,6 @@
16
16
  "scripts": {
17
17
  "build": "tsup",
18
18
  "generate": "./scripts/generate.sh",
19
- "lint": "nx run-many --all --target=lint",
20
- "lint:fix": "nx run-many --all --target=lint --fix",
21
19
  "test": "pnpm run test:unit && pnpm run test:e2e",
22
20
  "test:unit": "vitest run --passWithNoTests",
23
21
  "test:e2e": "vitest run --config vitest.e2e.config.ts --passWithNoTests",