batch-run-local 1.1.2 → 1.2.1

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.
@@ -90,7 +90,7 @@ select {
90
90
  margin-bottom: 18px;
91
91
  }
92
92
 
93
- .panel-header-left{
93
+ .panel-header-left {
94
94
  flex: 1;
95
95
  }
96
96
 
@@ -134,6 +134,14 @@ h2 {
134
134
  font-weight: 600;
135
135
  }
136
136
 
137
+ .form label .required {
138
+ color: #dc2626;
139
+ font-size: 12px;
140
+ font-weight: 600;
141
+ margin-left: 4px;
142
+ }
143
+
144
+
137
145
  .project-list,
138
146
  .script-list {
139
147
  display: grid;
@@ -152,6 +160,119 @@ h2 {
152
160
  align-content: start;
153
161
  }
154
162
 
163
+ .tag-group {
164
+ display: grid;
165
+ gap: 8px;
166
+ }
167
+
168
+ .tag-group + .tag-group {
169
+ margin-top: 14px;
170
+ }
171
+
172
+ .tag-header {
173
+ display: flex;
174
+ align-items: center;
175
+ gap: 8px;
176
+ border: 1px dashed #cbd5e1;
177
+ border-radius: 12px;
178
+ background: #f1f5f9;
179
+ color: #334155;
180
+ padding: 8px 12px;
181
+ font-size: 13px;
182
+ font-weight: 700;
183
+ user-select: none;
184
+ }
185
+
186
+ .tag-toggle {
187
+ cursor: pointer;
188
+ }
189
+
190
+ .expanded-icon {
191
+ width: 0;
192
+ height: 0;
193
+ border-style: solid;
194
+ }
195
+
196
+ .expanded-icon.expanded {
197
+ border-top: 10px solid #334155;
198
+ border-bottom: 0 solid transparent;
199
+ border-left: 5px solid transparent;
200
+ border-right: 5px solid transparent;
201
+ }
202
+ .expanded-icon.collapsed {
203
+ border-left: 10px solid #334155;
204
+ border-top: 5px solid transparent;
205
+ border-bottom: 5px solid transparent;
206
+ border-right: 0 solid transparent;
207
+ }
208
+
209
+ .tag-toggle:hover {
210
+ background: #e2e8f0;
211
+ }
212
+
213
+ .tag-title {
214
+ flex: 1;
215
+ min-width: 0;
216
+ cursor: grab;
217
+ }
218
+
219
+ .tag-title:active {
220
+ cursor: grabbing;
221
+ }
222
+
223
+ .tag-header.dragging .tag-title {
224
+ cursor: grabbing;
225
+ }
226
+
227
+ .tag-header.collapsed-drop-target {
228
+ border-color: #93c5fd;
229
+ background: #eff6ff;
230
+ }
231
+
232
+ .tag-group.collapsed .tag-projects {
233
+ display: none;
234
+ }
235
+
236
+ .tag-header.dragging {
237
+ opacity: 0.45;
238
+ }
239
+
240
+ .tag-header.drop-after::after,
241
+ .tag-group.drop-target::after {
242
+ display: block;
243
+ height: 3px;
244
+ margin-top: 6px;
245
+ border-radius: 999px;
246
+ background: #2563eb;
247
+ content: '';
248
+ }
249
+
250
+ .tag-group.drop-target {
251
+ border-radius: 12px;
252
+ outline: 2px dashed #93c5fd;
253
+ outline-offset: 2px;
254
+ }
255
+
256
+ .tag-count {
257
+ flex: 0 0 auto;
258
+ color: #64748b;
259
+ font-size: 12px;
260
+ font-weight: 600;
261
+ }
262
+
263
+ .tag-projects {
264
+ display: grid;
265
+ gap: 10px;
266
+ min-height: 8px;
267
+ }
268
+
269
+ .tag-projects.drag-over {
270
+ border-radius: 12px;
271
+ background: #eff6ff;
272
+ outline: 1px dashed #93c5fd;
273
+ outline-offset: 2px;
274
+ }
275
+
155
276
  .content-body {
156
277
  flex: 1;
157
278
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "batch-run-local",
3
- "version": "1.1.2",
3
+ "version": "1.2.1",
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
  },