@baton-dx/cli 0.1.2 → 0.1.3
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 +66 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Baton
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@baton-dx/cli)
|
|
4
|
+
[](https://github.com/baton-dx/baton-dx/actions)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
**Baton is a CLI package manager for Developer Experience & AI configuration.** Manage Skills, Rules, Agents, Memory Files, and file configs as versioned, composable profiles for 14 AI coding tools.
|
|
8
|
+
|
|
9
|
+
## Quick Start
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
# Install
|
|
13
|
+
bun install -g @baton-dx/cli
|
|
14
|
+
|
|
15
|
+
# Connect your team's source repository
|
|
16
|
+
baton source connect github:your-org/dx-configs --name my-team
|
|
17
|
+
|
|
18
|
+
# Initialize in any project
|
|
19
|
+
baton init
|
|
20
|
+
|
|
21
|
+
# Sync all configurations
|
|
22
|
+
baton sync
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Features
|
|
26
|
+
|
|
27
|
+
- **Unified AI Configuration** — One manifest for 14 AI coding tools
|
|
28
|
+
- **Profile Inheritance** — Compose profiles with `extends` for layered configuration
|
|
29
|
+
- **Smart Sync** — Transform and place files in the correct format for each tool
|
|
30
|
+
- **Version Control** — Lockfile-based reproducibility with SHA-256 integrity
|
|
31
|
+
- **Merge Strategies** — replace, deep, append, prepend, skip, prompt, directory, import
|
|
32
|
+
- **Auto-Detection** — Automatically detect installed AI tools and IDEs
|
|
33
|
+
- **Scaffold Templates** — Bootstrap source repositories with `baton source create`
|
|
34
|
+
|
|
35
|
+
## Supported AI Tools
|
|
36
|
+
|
|
37
|
+
| Tool | Key | Tool | Key |
|
|
38
|
+
|------|-----|------|-----|
|
|
39
|
+
| Claude Code | `claude-code` | OpenCode | `opencode` |
|
|
40
|
+
| Cursor | `cursor` | Amp | `amp` |
|
|
41
|
+
| Windsurf | `windsurf` | Kiro | `kiro` |
|
|
42
|
+
| Antigravity | `antigravity` | Zed | `zed` |
|
|
43
|
+
| Codex CLI | `codex` | Cline | `cline` |
|
|
44
|
+
| GitHub Copilot | `github-copilot` | Roo | `roo` |
|
|
45
|
+
| Junie | `junie` | Trae | `trae` |
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
|
|
49
|
+
- [Installation](docs/01-installation.md) — Prerequisites and install methods
|
|
50
|
+
- [Quick Start Guide](docs/02-quickstart.md) — Get running in 5 minutes
|
|
51
|
+
- [Creating Sources](docs/03-creating-sources.md) — Build source repositories
|
|
52
|
+
- [Creating Profiles](docs/04-creating-profiles.md) — Design profile manifests
|
|
53
|
+
- [Using Profiles](docs/05-using-profiles.md) — Use profiles in your projects
|
|
54
|
+
- [CLI Reference](docs/06-cli-reference.md) — Complete command reference
|
|
55
|
+
- [Configuration Reference](docs/07-configuration-reference.md) — All config file schemas
|
|
56
|
+
- [AI Tools Reference](docs/08-ai-tools-reference.md) — All 14 supported AI tools
|
|
57
|
+
- [IDE Platforms](docs/09-ide-platforms-reference.md) — Supported IDE platforms
|
|
58
|
+
- [Merge Strategies](docs/10-merge-strategies.md) — Deep dive into merge strategies
|
|
59
|
+
|
|
60
|
+
## Contributing
|
|
61
|
+
|
|
62
|
+
See [Contributing Guide](docs/11-contributing.md) for development setup, coding conventions, and PR workflow.
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
MIT © 2026 Baton Contributors
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baton-dx/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "CLI for Baton - the package manager for Developer Experience & AI configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.mjs",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsdown",
|
|
25
|
-
"typecheck": "tsc --noEmit"
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
26
|
+
"prepack": "cp ../../README.md ."
|
|
26
27
|
},
|
|
27
28
|
"dependencies": {},
|
|
28
29
|
"devDependencies": {
|