@datamitsu/datamitsu 0.0.12 → 0.0.15
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 +76 -0
- package/package.json +9 -9
package/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# @datamitsu/datamitsu
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://datamitsu.com/img/logo.png" alt="datamitsu" width="400" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/@datamitsu/datamitsu"><img src="https://img.shields.io/npm/v/@datamitsu/datamitsu" alt="npm"></a>
|
|
9
|
+
<a href="https://github.com/datamitsu/datamitsu/actions/workflows/pr-checks.yml"><img src="https://github.com/datamitsu/datamitsu/actions/workflows/pr-checks.yml/badge.svg" alt="CI"></a>
|
|
10
|
+
<a href="https://codecov.io/gh/datamitsu/datamitsu"><img src="https://codecov.io/gh/datamitsu/datamitsu/graph/badge.svg" alt="codecov"></a>
|
|
11
|
+
<a href="https://scorecard.dev/viewer/?uri=github.com/datamitsu/datamitsu"><img src="https://api.securityscorecards.dev/projects/github.com/datamitsu/datamitsu/badge" alt="OpenSSF Scorecard"></a>
|
|
12
|
+
<a href="https://github.com/datamitsu/datamitsu/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
Configuration management and binary distribution tool. JavaScript-configurable tool orchestration written in Go.
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# pnpm (recommended)
|
|
21
|
+
pnpm add -D @datamitsu/datamitsu
|
|
22
|
+
|
|
23
|
+
# npm
|
|
24
|
+
npm install --save-dev @datamitsu/datamitsu
|
|
25
|
+
|
|
26
|
+
# yarn
|
|
27
|
+
yarn add -D @datamitsu/datamitsu
|
|
28
|
+
|
|
29
|
+
# bun
|
|
30
|
+
bun add -D @datamitsu/datamitsu
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Initialize datamitsu in your project
|
|
37
|
+
npx datamitsu init
|
|
38
|
+
|
|
39
|
+
# Run checks (fix + lint)
|
|
40
|
+
npx datamitsu check
|
|
41
|
+
|
|
42
|
+
# Fix issues automatically
|
|
43
|
+
npx datamitsu fix
|
|
44
|
+
|
|
45
|
+
# Lint without fixing
|
|
46
|
+
npx datamitsu lint
|
|
47
|
+
|
|
48
|
+
# Execute a managed binary
|
|
49
|
+
npx datamitsu exec shellcheck script.sh
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Programmatic API
|
|
53
|
+
|
|
54
|
+
```javascript
|
|
55
|
+
import { fix, lint } from "@datamitsu/datamitsu";
|
|
56
|
+
|
|
57
|
+
await fix({ files: ["src/generated.ts"] });
|
|
58
|
+
const result = await lint({ explain: "json" });
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Platform Support
|
|
62
|
+
|
|
63
|
+
This package automatically installs the correct binary for your platform via optional dependencies:
|
|
64
|
+
|
|
65
|
+
- Linux (x86_64, ARM64)
|
|
66
|
+
- macOS (x86_64, ARM64)
|
|
67
|
+
- Windows (x86_64, ARM64)
|
|
68
|
+
- FreeBSD (x86_64, ARM64)
|
|
69
|
+
|
|
70
|
+
## Documentation
|
|
71
|
+
|
|
72
|
+
For full documentation, visit: https://datamitsu.com
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
MIT License - see https://github.com/datamitsu/datamitsu/blob/main/LICENSE
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datamitsu/datamitsu",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Configuration management and binary distribution tool. JavaScript-configurable tool orchestration written in Go.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datamitsu",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@shibanet0/datamitsu-config": "0.0.6"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@datamitsu/datamitsu-darwin-arm64": "0.0.
|
|
55
|
-
"@datamitsu/datamitsu-darwin-x64": "0.0.
|
|
56
|
-
"@datamitsu/datamitsu-freebsd-arm64": "0.0.
|
|
57
|
-
"@datamitsu/datamitsu-freebsd-x64": "0.0.
|
|
58
|
-
"@datamitsu/datamitsu-linux-arm64": "0.0.
|
|
59
|
-
"@datamitsu/datamitsu-linux-x64": "0.0.
|
|
60
|
-
"@datamitsu/datamitsu-win32-arm64": "0.0.
|
|
61
|
-
"@datamitsu/datamitsu-win32-x64": "0.0.
|
|
54
|
+
"@datamitsu/datamitsu-darwin-arm64": "0.0.15",
|
|
55
|
+
"@datamitsu/datamitsu-darwin-x64": "0.0.15",
|
|
56
|
+
"@datamitsu/datamitsu-freebsd-arm64": "0.0.15",
|
|
57
|
+
"@datamitsu/datamitsu-freebsd-x64": "0.0.15",
|
|
58
|
+
"@datamitsu/datamitsu-linux-arm64": "0.0.15",
|
|
59
|
+
"@datamitsu/datamitsu-linux-x64": "0.0.15",
|
|
60
|
+
"@datamitsu/datamitsu-win32-arm64": "0.0.15",
|
|
61
|
+
"@datamitsu/datamitsu-win32-x64": "0.0.15"
|
|
62
62
|
}
|
|
63
63
|
}
|