gulp-mu-gulp-api 0.4.1 → 0.4.2
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 +16 -8
- package/package.json +5 -8
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# gulp-mu-gulp-api
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
|
-
<a href="https://
|
|
5
|
-
<img src="https://
|
|
4
|
+
<a href="https://microgulp.dev">
|
|
5
|
+
<img src="https://microgulp.dev/assets/media/logo_readme.png" alt="µGulp logo" width="180">
|
|
6
6
|
</a>
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<p align="center">
|
|
10
|
-
<a href="https://
|
|
11
|
-
<img src="https://
|
|
10
|
+
<a href="https://microgulp.dev">
|
|
11
|
+
<img src="https://microgulp.dev/assets/media/microgulp-ready.png" alt="µGulp ready" width="150">
|
|
12
12
|
</a>
|
|
13
13
|
</p>
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
Public task API of the **µGulp™** orchestrator — progress reporting, i18x console output and interactive dashboard inputs from within gulp tasks.
|
|
19
19
|
|
|
20
|
-
[](https://www.npmjs.com/package/gulp-mu-gulp-api) · [µGulp™
|
|
20
|
+
[](https://www.npmjs.com/package/gulp-mu-gulp-api) · [µGulp™](https://microgulp.dev) · [Support](mailto:support@microgulp.dev)
|
|
21
21
|
|
|
22
22
|
[English](#english) · [Deutsch](#deutsch)
|
|
23
23
|
|
|
@@ -37,6 +37,10 @@ The module is deliberately **dependency-free** and knows nothing about µGulp™
|
|
|
37
37
|
npm install gulp-mu-gulp-api
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
### 0.4.2
|
|
41
|
+
|
|
42
|
+
- **Updated** homepage, support and README images to the public site [microgulp.dev](https://microgulp.dev) and [support@microgulp.dev](mailto:support@microgulp.dev). The source repository is private.
|
|
43
|
+
|
|
40
44
|
### 0.4.1
|
|
41
45
|
|
|
42
46
|
- **Fixed** a placeholder with an unknown named format rendered as an empty string instead of its value — gulp lifecycle lines lost their duration (`Finished 'task' after`). The raw value is kept when the format is missing.
|
|
@@ -217,7 +221,7 @@ DEPLOY.µParameters = [
|
|
|
217
221
|
];
|
|
218
222
|
```
|
|
219
223
|
|
|
220
|
-
The declaration uses the same field types as `RequestForm` plus the `boolean`
|
|
224
|
+
The declaration uses the same field types as `RequestForm` plus the `boolean` slide switch. `id` must be env-var safe. Values arrive as `MICROGULP_PARAMS` (JSON) and `MICROGULP_PARAM_<ID>`, so shell steps in the task can read them as well — and running the gulpfile through the plain gulp CLI works by setting those variables yourself:
|
|
221
225
|
|
|
222
226
|
```bash
|
|
223
227
|
MICROGULP_PARAM_TARGET=staging npx gulp DEPLOY
|
|
@@ -342,7 +346,7 @@ $env:NPM_OTP="123456"; npm run publish:api
|
|
|
342
346
|
|
|
343
347
|
**gulp-mu-gulp-api** ist die öffentliche Task-API des **µGulp™**-Orchestrators. Gulp-Tasks (und beliebige npm-Pakete innerhalb des Task-Streams) erhalten damit Zugriff auf die erweiterten µGulp™-Dashboard-Funktionen: Fortschrittsanzeige, i18x-Konsolenausgabe, Texteingaben mit Validierung, Farb- und Schriftart-Auswahl, Einzel- und Mehrfachauswahl, Slider und komplette Formulare.
|
|
344
348
|
|
|
345
|
-
[](https://www.npmjs.com/package/gulp-mu-gulp-api) · [µGulp™
|
|
349
|
+
[](https://www.npmjs.com/package/gulp-mu-gulp-api) · [µGulp™](https://microgulp.dev) · [Support](mailto:support@microgulp.dev)
|
|
346
350
|
|
|
347
351
|
Das Modul ist bewusst **abhängigkeitsfrei** und kennt keine µGulp™-Interna: Läuft der Task unter µGulp™, spricht es direkt über den IPC-Kanal des Worker-Prozesses mit der Engine. Läuft das Gulpfile klassisch über die gulp-CLI, degradieren alle Funktionen sauber — Fortschritt landet auf dem Terminal, Eingaben werden per readline abgefragt (TTY) oder mit den deklarierten Default-Werten beantwortet (CI/non-TTY). Tasks bleiben ohne µGulp™ voll lauffähig.
|
|
348
352
|
|
|
@@ -352,6 +356,10 @@ Das Modul ist bewusst **abhängigkeitsfrei** und kennt keine µGulp™-Interna:
|
|
|
352
356
|
npm install gulp-mu-gulp-api
|
|
353
357
|
```
|
|
354
358
|
|
|
359
|
+
### 0.4.2
|
|
360
|
+
|
|
361
|
+
- **Aktualisiert** Homepage, Support und README-Bilder auf die öffentliche Seite [microgulp.dev](https://microgulp.dev) und [support@microgulp.dev](mailto:support@microgulp.dev). Das Quellrepository ist privat.
|
|
362
|
+
|
|
355
363
|
### 0.4.1
|
|
356
364
|
|
|
357
365
|
- **Behoben** Ein Platzhalter mit unbekanntem benanntem Format wurde als leerer Text gerendert statt mit seinem Wert — den Gulp-Lifecycle-Zeilen fehlte dadurch die Dauer (`Finished 'task' after`). Fehlt das Format, bleibt der Rohwert erhalten.
|
|
@@ -532,7 +540,7 @@ DEPLOY.µParameters = [
|
|
|
532
540
|
];
|
|
533
541
|
```
|
|
534
542
|
|
|
535
|
-
Die Deklaration nutzt die Feldtypen von `RequestForm` plus die Kurzform `boolean` (
|
|
543
|
+
Die Deklaration nutzt die Feldtypen von `RequestForm` plus die Kurzform `boolean` (Schiebeschalter). `id` muss als Umgebungsvariablenname taugen. Die Werte kommen als `MICROGULP_PARAMS` (JSON) und `MICROGULP_PARAM_<ID>` an — auch Shell-Schritte im Task können sie lesen, und unter der reinen gulp-CLI setzt man sie einfach selbst:
|
|
536
544
|
|
|
537
545
|
```bash
|
|
538
546
|
MICROGULP_PARAM_TARGET=staging npx gulp DEPLOY
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gulp-mu-gulp-api",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Public task API for the µGulp orchestrator: progress reporting, declared task parameters, sound signals, speech output, localized console output (i18x) and interactive UI inputs (text, password, number, textarea, color, font, select, radio, multi-select checkbox, range slider, date/time, file) from within gulp tasks — with graceful CLI fallbacks when running without µGulp.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.mjs",
|
|
@@ -34,14 +34,11 @@
|
|
|
34
34
|
"task-api"
|
|
35
35
|
],
|
|
36
36
|
"license": "MIT",
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"url": "git+https://github.com/mamekudz/microGulp.git",
|
|
40
|
-
"directory": "gulp-mu-gulp-api"
|
|
41
|
-
},
|
|
42
|
-
"homepage": "https://github.com/mamekudz/microGulp/tree/main/gulp-mu-gulp-api#readme",
|
|
37
|
+
"author": "Meinolf Amekudzi <support@microgulp.dev>",
|
|
38
|
+
"homepage": "https://microgulp.dev",
|
|
43
39
|
"bugs": {
|
|
44
|
-
"url": "https://
|
|
40
|
+
"url": "https://microgulp.dev",
|
|
41
|
+
"email": "support@microgulp.dev"
|
|
45
42
|
},
|
|
46
43
|
"publishConfig": {
|
|
47
44
|
"access": "public"
|