type-git 0.3.0-alpha.3 → 0.3.0-beta.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 +32 -2
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ This library wraps Git CLI (and optionally libgit2) with a focus on:
|
|
|
45
45
|
## Installation
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
|
-
npm install type-git
|
|
48
|
+
npm install type-git@beta
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
## Usage
|
|
@@ -200,7 +200,37 @@ src/
|
|
|
200
200
|
|
|
201
201
|
## Development Status
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
type-git 0.3.0 is in **beta** and ready for evaluation in real applications. The
|
|
204
|
+
public API is taking shape, but compatibility is not yet guaranteed. Breaking
|
|
205
|
+
changes during beta will be documented in the changelog; pin an exact version if
|
|
206
|
+
your application needs controlled upgrades. Install with `npm install type-git@beta`.
|
|
207
|
+
|
|
208
|
+
### Validation scope
|
|
209
|
+
|
|
210
|
+
- **Node.js**: Unit and real-Git integration tests run in CI on Linux and Windows
|
|
211
|
+
with Node.js 20, 22, and 24. A separate job checks legacy Git 2.25 compatibility.
|
|
212
|
+
- **Bun and Deno**: Adapter and basic repository-operation smoke tests run on Linux.
|
|
213
|
+
Their test coverage is narrower than Node.js; cross-runtime behavior still needs
|
|
214
|
+
more real-application feedback.
|
|
215
|
+
- **Package distribution**: CI installs the npm tarball and checks ESM, CommonJS,
|
|
216
|
+
and TypeScript consumers. Repository API type assertions are also compiled in CI.
|
|
217
|
+
- **LFS**: Automated tests cover command construction, progress callback wiring,
|
|
218
|
+
and smudge-mode handling, primarily with mocked adapters. Remote-service
|
|
219
|
+
authentication, interrupted transfers, and large transfers need further validation.
|
|
220
|
+
- **macOS**: Not currently included in the CI matrix.
|
|
221
|
+
|
|
222
|
+
### Toward 1.0
|
|
223
|
+
|
|
224
|
+
The 1.0 release will establish a public API maintained with semantic versioning.
|
|
225
|
+
Before then, the priorities are sustained use in real applications, broader Git/LFS
|
|
226
|
+
transfer and failure-path validation, and settling the contracts for errors,
|
|
227
|
+
cancellation, progress callbacks, and environment inheritance. Full coverage of
|
|
228
|
+
every Git command-line option is not a release requirement; `raw()` remains the
|
|
229
|
+
escape hatch.
|
|
230
|
+
|
|
231
|
+
Please report issues with your type-git, runtime, Git, and Git LFS versions,
|
|
232
|
+
operating system, and a minimal reproduction. Remove credentials from logs before
|
|
233
|
+
sharing them.
|
|
204
234
|
|
|
205
235
|
## License
|
|
206
236
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "type-git",
|
|
3
|
-
"version": "0.3.0-
|
|
3
|
+
"version": "0.3.0-beta.0",
|
|
4
4
|
"description": "Type-safe Git wrapper library with LFS support, progress tracking, and abort control for Node.js/Deno/Bun",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -87,12 +87,13 @@
|
|
|
87
87
|
"format:check": "biome format src",
|
|
88
88
|
"check": "biome check src",
|
|
89
89
|
"check:fix": "biome check --write src",
|
|
90
|
-
"typecheck": "tsc --noEmit",
|
|
90
|
+
"typecheck": "tsc --noEmit && pnpm test:types",
|
|
91
91
|
"docs:dev": "pnpm --filter type-git-docs dev",
|
|
92
92
|
"docs:build": "pnpm --filter type-git-docs build",
|
|
93
93
|
"docs:preview": "pnpm --filter type-git-docs preview",
|
|
94
94
|
"changeset": "changeset",
|
|
95
95
|
"version-packages": "changeset version",
|
|
96
|
-
"release": "changeset publish"
|
|
96
|
+
"release": "changeset publish",
|
|
97
|
+
"test:types": "tsc --project test/types/tsconfig.json"
|
|
97
98
|
}
|
|
98
99
|
}
|