batch-run-local 1.1.1 → 1.2.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.
@@ -16,7 +16,8 @@ body {
16
16
  }
17
17
 
18
18
  button,
19
- input {
19
+ input,
20
+ select {
20
21
  font: inherit;
21
22
  }
22
23
 
@@ -50,7 +51,8 @@ button:disabled {
50
51
  opacity: 0.6;
51
52
  }
52
53
 
53
- input {
54
+ input,
55
+ select {
54
56
  width: 100%;
55
57
  border: 1px solid #cbd5e1;
56
58
  border-radius: 10px;
@@ -88,6 +90,10 @@ input {
88
90
  margin-bottom: 18px;
89
91
  }
90
92
 
93
+ .panel-header-left{
94
+ flex: 1;
95
+ }
96
+
91
97
  .header-actions {
92
98
  display: flex;
93
99
  flex: 0 0 auto;
@@ -146,10 +152,126 @@ h2 {
146
152
  align-content: start;
147
153
  }
148
154
 
155
+ .tag-group {
156
+ display: grid;
157
+ gap: 8px;
158
+ }
159
+
160
+ .tag-group + .tag-group {
161
+ margin-top: 14px;
162
+ }
163
+
164
+ .tag-header {
165
+ display: flex;
166
+ align-items: center;
167
+ gap: 8px;
168
+ border: 1px dashed #cbd5e1;
169
+ border-radius: 12px;
170
+ background: #f1f5f9;
171
+ color: #334155;
172
+ padding: 8px 12px;
173
+ font-size: 13px;
174
+ font-weight: 700;
175
+ user-select: none;
176
+ }
177
+
178
+ .tag-toggle {
179
+ flex: 0 0 auto;
180
+ width: 24px;
181
+ height: 24px;
182
+ border: 0;
183
+ border-radius: 6px;
184
+ background: transparent;
185
+ color: #475569;
186
+ padding: 0;
187
+ line-height: 1;
188
+ cursor: pointer;
189
+ }
190
+
191
+ .tag-toggle:hover {
192
+ background: #e2e8f0;
193
+ }
194
+
195
+ .tag-title {
196
+ flex: 1;
197
+ min-width: 0;
198
+ cursor: grab;
199
+ }
200
+
201
+ .tag-title:active {
202
+ cursor: grabbing;
203
+ }
204
+
205
+ .tag-header.dragging .tag-title {
206
+ cursor: grabbing;
207
+ }
208
+
209
+ .tag-header.collapsed-drop-target {
210
+ border-color: #93c5fd;
211
+ background: #eff6ff;
212
+ }
213
+
214
+ .tag-group.collapsed .tag-projects {
215
+ display: none;
216
+ }
217
+
218
+ .tag-header.dragging {
219
+ opacity: 0.45;
220
+ }
221
+
222
+ .tag-header.drop-after::after,
223
+ .tag-group.drop-target::after {
224
+ display: block;
225
+ height: 3px;
226
+ margin-top: 6px;
227
+ border-radius: 999px;
228
+ background: #2563eb;
229
+ content: '';
230
+ }
231
+
232
+ .tag-group.drop-target {
233
+ border-radius: 12px;
234
+ outline: 2px dashed #93c5fd;
235
+ outline-offset: 2px;
236
+ }
237
+
238
+ .tag-count {
239
+ flex: 0 0 auto;
240
+ color: #64748b;
241
+ font-size: 12px;
242
+ font-weight: 600;
243
+ }
244
+
245
+ .tag-projects {
246
+ display: grid;
247
+ gap: 10px;
248
+ min-height: 8px;
249
+ }
250
+
251
+ .tag-projects.drag-over {
252
+ border-radius: 12px;
253
+ background: #eff6ff;
254
+ outline: 1px dashed #93c5fd;
255
+ outline-offset: 2px;
256
+ }
257
+
149
258
  .content-body {
150
259
  flex: 1;
151
260
  }
152
261
 
262
+ .branch-panel {
263
+ width: min(260px, 100%);
264
+ flex-shrink: 0;
265
+ }
266
+
267
+ .branch-panel select {
268
+ padding: 4px 8px;
269
+ }
270
+
271
+ .branch-panel[hidden] {
272
+ display: none;
273
+ }
274
+
153
275
  .project-card,
154
276
  .script-card {
155
277
  border: 1px solid #e2e8f0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "batch-run-local",
3
- "version": "1.1.1",
3
+ "version": "1.2.0",
4
4
  "description": "Manage and run package.json scripts across local projects from CLI and a local web UI.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -24,6 +24,14 @@
24
24
  ],
25
25
  "author": "",
26
26
  "license": "MIT",
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/liwangying55555/batch-run-local.git"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/liwangying55555/batch-run-local/issues"
33
+ },
34
+ "homepage": "https://github.com/liwangying55555/batch-run-local#readme",
27
35
  "engines": {
28
36
  "node": ">=18"
29
37
  },