patchy-cli 0.0.2 → 0.0.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +27 -26
package/README.md CHANGED
@@ -48,7 +48,7 @@ my-patch-repo/
48
48
  "patches_dir": "./patches/", // Override: --patches-dir | env: PATCHY_PATCHES_DIR
49
49
 
50
50
  // Parent directory for cloning repos. You can easily clone more repos here from repo_url.
51
- "repo_base_dir": "~/repos", // Override: --repo-base-dir | env: PATCHY_REPO_BASE_DIR
51
+ "clones_dir": "./clones/", // Override: --clones-dir | env: PATCHY_CLONES_DIR
52
52
 
53
53
  // Git ref to checkout (branch, tag, SHA).
54
54
  "ref": "main" // Override: --ref | env: PATCHY_REF
@@ -129,10 +129,10 @@ patchy repo checkout --ref main [--repo-dir]
129
129
 
130
130
  ### `patchy repo clone --url <git-url>`
131
131
 
132
- Clone a repository into a subdirectory of `repo_base_dir`. The target directory is derived from the repo name.
132
+ Clone a repository into a subdirectory of `clones_dir`. The target directory is derived from the repo name.
133
133
 
134
134
  ```sh
135
- patchy repo clone [--repo-base-dir] [--ref] [--repo-url]
135
+ patchy repo clone [--clones-dir] [--ref] [--repo-url]
136
136
  ```
137
137
 
138
138
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patchy-cli",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A CLI tool for managing Git patch workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -12,12 +12,13 @@
12
12
  "scripts": {
13
13
  "build": "bun run ./scripts/build.ts",
14
14
  "build-single": "bun run ./scripts/build.ts --single",
15
- "check": "biome check --error-on-warnings --diagnostic-level=warn",
15
+ "check": "bun run scripts/check.ts",
16
16
  "check-fix": "biome check --write --error-on-warnings --diagnostic-level=warn",
17
17
  "changeset": "changeset",
18
18
  "changeset-version": "changeset version",
19
19
  "dev": "bun run src/cli.ts",
20
- "local-ci": "concurrently --group -p none -n 'check,typecheck,test' 'bun run check-fix' 'bun run typecheck' 'bun run test'",
20
+ "knip": "knip-bun",
21
+ "local-ci": "bun run scripts/local-ci.ts",
21
22
  "prepare": "[ -n \"$CI\" ] || lefthook install",
22
23
  "typecheck": "tsgo --noEmit",
23
24
  "test": "bun run scripts/test.ts",
@@ -25,26 +26,26 @@
25
26
  "test-coverage": "bun test --coverage"
26
27
  },
27
28
  "devDependencies": {
28
- "@biomejs/biome": "2.1.1",
29
- "@changesets/changelog-github": "^0.5.1",
30
- "@changesets/cli": "^2.29.5",
31
- "@types/node": "^24.0.13",
32
- "@typescript/native-preview": "7.0.0-dev.20250712.1",
33
- "bun-types": "^1.3.4",
34
- "concurrently": "^9.2.0",
35
- "lefthook": "^1.12.2",
36
- "typescript": "^5.9.2"
29
+ "@biomejs/biome": "=2.3.8",
30
+ "@changesets/changelog-github": "=0.5.2",
31
+ "@changesets/cli": "=2.29.8",
32
+ "@types/node": "=24.10.3",
33
+ "@typescript/native-preview": "=7.0.0-dev.20251213.1",
34
+ "bun-types": "=1.3.4",
35
+ "knip": "=5.73.4",
36
+ "lefthook": "=2.0.11",
37
+ "typescript": "=5.9.3"
37
38
  },
38
39
  "dependencies": {
39
- "@clack/prompts": "^0.11.0",
40
- "@stricli/core": "^1.2.0",
41
- "chalk": "^5.4.1",
42
- "diff": "^8.0.2",
43
- "es-toolkit": "^1.39.8",
44
- "jsonc-parser": "^3.3.1",
45
- "simple-git": "^3.30.0",
46
- "ts-essentials": "^10.1.1",
47
- "zod": "^4.0.13"
40
+ "@clack/prompts": "1.0.0-alpha.8",
41
+ "@stricli/core": "=1.2.4",
42
+ "chalk": "=5.6.2",
43
+ "diff": "=8.0.2",
44
+ "es-toolkit": "=1.43.0",
45
+ "jsonc-parser": "=3.3.1",
46
+ "simple-git": "=3.30.0",
47
+ "untildify": "=6.0.0",
48
+ "zod": "=4.1.13"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "typescript": ">=5.0.4"
@@ -59,11 +60,11 @@
59
60
  "url": "https://github.com/richardgill/patchy"
60
61
  },
61
62
  "optionalDependencies": {
62
- "patchy-cli-linux-x64": "0.0.2",
63
- "patchy-cli-linux-arm64": "0.0.2",
64
- "patchy-cli-darwin-x64": "0.0.2",
65
- "patchy-cli-darwin-arm64": "0.0.2",
66
- "patchy-cli-windows-x64": "0.0.2"
63
+ "patchy-cli-linux-x64": "0.0.3",
64
+ "patchy-cli-linux-arm64": "0.0.3",
65
+ "patchy-cli-darwin-x64": "0.0.3",
66
+ "patchy-cli-darwin-arm64": "0.0.3",
67
+ "patchy-cli-windows-x64": "0.0.3"
67
68
  },
68
69
  "publishConfig": {
69
70
  "access": "public"