arashi 1.29.0 → 1.30.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 CHANGED
@@ -132,7 +132,7 @@ Arashi currently provides these commands:
132
132
  - `arashi update [--check] [--dry-run] [--yes]`
133
133
  - `arashi add <git-url>`
134
134
  - `arashi clone [--all]`
135
- - `arashi create <branch> [--tab] [--tmux|--sesh|--herdr]`
135
+ - `arashi create <branch> [--base <branch>] [--tab] [--tmux|--sesh|--herdr]`
136
136
  - `arashi list`
137
137
  - `arashi status`
138
138
  - `arashi remove <branch|path>`
@@ -154,6 +154,7 @@ arashi init --ignore-scope tracked # opt in to a shared .gitignore block
154
154
  arashi add git@github.com:your-org/frontend.git
155
155
  arashi add git@github.com:your-org/backend.git
156
156
  arashi create feature-auth-refresh
157
+ arashi create feature-auth-refresh --base feature/auth
157
158
  arashi create feature-auth-refresh --launch
158
159
  arashi create feature-auth-refresh --tmux
159
160
  arashi create feature-auth-refresh --herdr
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arashi",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "Git worktree manager for meta-repositories - The eye of the storm for your development workflow",
5
5
  "keywords": [
6
6
  "cli",
@@ -84,6 +84,12 @@
84
84
  "CreateCommandDefaults": {
85
85
  "additionalProperties": false,
86
86
  "properties": {
87
+ "baseBranch": {
88
+ "description": "Default base branch for configured create invocations",
89
+ "minLength": 1,
90
+ "pattern": "^(?!HEAD$)(?!origin/(?:HEAD$|-))(?![-/.])(?!.*(?:/\\.|//|\\.\\.|@\\{))(?!.*\\.lock(?:/|$))(?!.*[/.]$)[^\\u0000-\\u0020\\u007F~^:?*\\[\\\\]+$",
91
+ "type": "string"
92
+ },
87
93
  "launch": {
88
94
  "$ref": "#/definitions/CreateLaunchMode",
89
95
  "description": "Post-create launch choice; omitted preserves built-in no-launch behavior"
@@ -103,12 +109,26 @@
103
109
  "additionalProperties": false,
104
110
  "properties": {
105
111
  "create": {
106
- "$ref": "#/definitions/CreateCommandDefaults",
112
+ "$ref": "#/definitions/EditorCreateCommandDefaults",
107
113
  "description": "Editor-scoped create defaults"
108
114
  }
109
115
  },
110
116
  "type": "object"
111
117
  },
118
+ "EditorCreateCommandDefaults": {
119
+ "additionalProperties": false,
120
+ "properties": {
121
+ "launch": {
122
+ "$ref": "#/definitions/CreateLaunchMode",
123
+ "description": "Post-create launch choice; omitted preserves built-in no-launch behavior"
124
+ },
125
+ "switch": {
126
+ "description": "Default to switching to the new worktree after create",
127
+ "type": "boolean"
128
+ }
129
+ },
130
+ "type": "object"
131
+ },
112
132
  "EditorDefaultsConfig": {
113
133
  "additionalProperties": false,
114
134
  "properties": {