@tinyrack/dotweave 0.39.4 → 0.39.7

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +54 -0
  3. package/package.json +20 -21
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 winetree94
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,54 @@
1
+ <div align="center">
2
+
3
+ # Dotweave
4
+
5
+ **Git-backed configuration sync for your development environment.**
6
+
7
+ [![CI](https://github.com/tinyrack-net/dotweave/actions/workflows/ci.yml/badge.svg)](https://github.com/tinyrack-net/dotweave/actions/workflows/ci.yml)
8
+ [![npm](https://img.shields.io/npm/v/@tinyrack/dotweave)](https://www.npmjs.com/package/@tinyrack/dotweave)
9
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10
+ [![Node.js](https://img.shields.io/badge/node-%3E%3D24-brightgreen)](https://nodejs.org/)
11
+
12
+ [Documentation](https://dotweave.tinyrack.net/en/) · [Getting Started](https://dotweave.tinyrack.net/en/getting-started/) · [한국어](https://dotweave.tinyrack.net/ko/)
13
+
14
+ </div>
15
+
16
+ ---
17
+
18
+ Dotweave is a cross-platform CLI that syncs the configuration files in your home directory across multiple devices using git.
19
+
20
+ Most dotfiles tools start from the repository and ask you to shape your local system around it. Dotweave takes the opposite approach — your real config under `HOME` is the source of truth, and the git repository is just the sync artifact.
21
+
22
+ ## Features
23
+
24
+ - **Track files and directories** under your home directory
25
+ - **Encrypt secrets** with [age](https://github.com/FiloSottile/age) before storing in the repo
26
+ - **Profiles** for syncing different subsets on different machines
27
+ - **Platform-specific paths** across Windows, macOS, Linux, and WSL
28
+ - **Dry-run previews** for both push and pull directions
29
+
30
+ ## Quick Start
31
+
32
+ ```bash
33
+ # Install
34
+ npm install -g @tinyrack/dotweave
35
+
36
+ # Initialize
37
+ dotweave init
38
+
39
+ # Track some configs
40
+ dotweave track ~/.gitconfig
41
+ dotweave track ~/.zshrc
42
+ dotweave track ~/.ssh/config --mode secret
43
+
44
+ # Push local state to sync repo
45
+ dotweave push
46
+ ```
47
+
48
+ ## Documentation
49
+
50
+ For detailed guides, command reference, and troubleshooting, visit the **[Dotweave documentation site](https://dotweave.tinyrack.net/en/)**.
51
+
52
+ ## License
53
+
54
+ [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinyrack/dotweave",
3
- "version": "0.39.4",
3
+ "version": "0.39.7",
4
4
  "description": "A personal CLI tool for git-backed configuration sync.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,6 +42,24 @@
42
42
  "engines": {
43
43
  "node": ">=24.0.0"
44
44
  },
45
+ "dependencies": {
46
+ "@stricli/core": "^1.2.6",
47
+ "age-encryption": "^0.3.0",
48
+ "consola": "^3.4.2",
49
+ "picocolors": "^1.1.1",
50
+ "zod": "^4.3.6"
51
+ },
52
+ "devDependencies": {
53
+ "@biomejs/biome": "^2.3.10",
54
+ "@types/node": "^24.12.0",
55
+ "@vitest/coverage-v8": "^4.1.1",
56
+ "execa": "^9.6.1",
57
+ "node-pty": "^1.1.0",
58
+ "typescript": "^6.0.2",
59
+ "vite": "^7.3.1",
60
+ "vitest": "^4.1.1",
61
+ "node-gyp": "^12.2.0"
62
+ },
45
63
  "scripts": {
46
64
  "dev": "tsc -p tsconfig.build.json --watch",
47
65
  "build": "tsc -p tsconfig.build.json",
@@ -51,7 +69,6 @@
51
69
  "sea:build": "node --conditions=@dotweave/source scripts/build-sea.ts",
52
70
  "sea:smoke": "node --conditions=@dotweave/source scripts/smoke-sea.ts",
53
71
  "start": "node dist/index.js",
54
- "prepack": "pnpm run build",
55
72
  "typecheck": "tsc -p tsconfig.json",
56
73
  "test": "vitest run",
57
74
  "test:watch": "vitest",
@@ -62,23 +79,5 @@
62
79
  "release:patch": "node scripts/release.ts patch",
63
80
  "release:minor": "node scripts/release.ts minor",
64
81
  "release:major": "node scripts/release.ts major"
65
- },
66
- "dependencies": {
67
- "@stricli/core": "^1.2.6",
68
- "age-encryption": "^0.3.0",
69
- "consola": "^3.4.2",
70
- "picocolors": "^1.1.1",
71
- "zod": "^4.3.6"
72
- },
73
- "devDependencies": {
74
- "@biomejs/biome": "^2.3.10",
75
- "@types/node": "^24.12.0",
76
- "@vitest/coverage-v8": "^4.1.1",
77
- "execa": "^9.6.1",
78
- "node-pty": "^1.1.0",
79
- "typescript": "^6.0.2",
80
- "vite": "^7.3.1",
81
- "vitest": "^4.1.1",
82
- "node-gyp": "^12.2.0"
83
82
  }
84
- }
83
+ }