@bobfrankston/lxlan 0.1.3 → 0.1.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/lxlan",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "LIFX LAN protocol library for device control via UDP",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -0,0 +1,113 @@
1
+ @echo off
2
+ REM Release all LIFX packages in dependency order
3
+ REM Stops on first error for debugging
4
+
5
+ setlocal enabledelayedexpansion
6
+
7
+ REM Suppress npm and git color output to avoid escape sequences
8
+ set NO_COLOR=1
9
+ set FORCE_COLOR=0
10
+ set NPM_CONFIG_COLOR=false
11
+
12
+ echo.
13
+ echo === Releasing LIFX Packages ===
14
+ echo.
15
+
16
+ REM Base packages (no dependencies on each other)
17
+ echo ^>^>^> Releasing hlib...
18
+ cd /d "y:\dev\homecontrol\utils\hlib"
19
+ call npm run release
20
+ if errorlevel 1 (
21
+ echo ERROR: hlib release failed
22
+ exit /b 1
23
+ )
24
+ echo.
25
+
26
+ echo ^>^>^> Releasing rmfudp...
27
+ cd /d "y:\dev\homecontrol\utils\rmfudp"
28
+ call npm run release
29
+ if errorlevel 1 (
30
+ echo ERROR: rmfudp release failed
31
+ exit /b 1
32
+ )
33
+ echo.
34
+
35
+ echo ^>^>^> Releasing colorlib...
36
+ cd /d "y:\dev\homecontrol\utils\colorlib"
37
+ call npm run release
38
+ if errorlevel 1 (
39
+ echo ERROR: colorlib release failed
40
+ exit /b 1
41
+ )
42
+ echo.
43
+
44
+ echo ^>^>^> Releasing lxlan...
45
+ cd /d "y:\dev\homecontrol\Others\LifX\Apps\lxlan"
46
+ call npm run release
47
+ if errorlevel 1 (
48
+ echo ERROR: lxlan release failed
49
+ exit /b 1
50
+ )
51
+ echo.
52
+
53
+ REM Update dependencies after base packages
54
+ echo ^>^>^> Updating lxlan-node dependencies...
55
+ cd /d "y:\dev\homecontrol\Others\LifX\Apps\lxlan-node"
56
+ call npm install
57
+ if errorlevel 1 (
58
+ echo ERROR: lxlan-node npm install failed
59
+ exit /b 1
60
+ )
61
+
62
+ echo ^>^>^> Releasing lxlan-node...
63
+ call npm run release
64
+ if errorlevel 1 (
65
+ echo ERROR: lxlan-node release failed
66
+ exit /b 1
67
+ )
68
+ echo.
69
+
70
+ REM Update lifxer dependencies
71
+ echo ^>^>^> Updating lifxer dependencies...
72
+ cd /d "y:\dev\homecontrol\Others\LifX\Apps\lifxer"
73
+ call npm install
74
+ if errorlevel 1 (
75
+ echo ERROR: lifxer npm install failed
76
+ exit /b 1
77
+ )
78
+
79
+ echo ^>^>^> Releasing lifxer...
80
+ call npm run release
81
+ if errorlevel 1 (
82
+ echo ERROR: lifxer release failed
83
+ exit /b 1
84
+ )
85
+ echo.
86
+
87
+ REM lxtest (local only, no publish)
88
+ echo ^>^>^> Updating lxtest dependencies...
89
+ cd /d "y:\dev\homecontrol\Others\LifX\Apps\lxtest"
90
+ call npm install
91
+ if errorlevel 1 (
92
+ echo ERROR: lxtest npm install failed
93
+ exit /b 1
94
+ )
95
+
96
+ echo ^>^>^> Releasing lxtest (local only)...
97
+ call npm run release
98
+ if errorlevel 1 (
99
+ echo ERROR: lxtest release failed
100
+ exit /b 1
101
+ )
102
+ echo.
103
+
104
+ echo === All releases completed successfully! ===
105
+ echo.
106
+ echo Released packages:
107
+ echo - @bobfrankston/hlib
108
+ echo - @bobfrankston/rmfudp
109
+ echo - @bobfrankston/colorlib
110
+ echo - @bobfrankston/lxlan
111
+ echo - @bobfrankston/lxlan-node
112
+ echo - @bobfrankston/lifxer
113
+ echo - lxtest (local)
@@ -0,0 +1,110 @@
1
+ #!/usr/bin/env pwsh
2
+ # Release all LIFX packages in dependency order
3
+ # Stops on first error for debugging
4
+
5
+ $ErrorActionPreference = "Stop"
6
+
7
+ # Suppress npm color output to avoid escape sequences
8
+ $env:NO_COLOR = "1"
9
+
10
+ Write-Host "=== Releasing LIFX Packages ===" -ForegroundColor Cyan
11
+ Write-Host ""
12
+
13
+ # Base packages (no dependencies on each other)
14
+ Write-Host ">>> Releasing hlib..." -ForegroundColor Yellow
15
+ Set-Location "y:\dev\homecontrol\utils\hlib"
16
+ npm run release
17
+ if ($LASTEXITCODE -ne 0) {
18
+ Write-Host "ERROR: hlib release failed" -ForegroundColor Red
19
+ exit 1
20
+ }
21
+ Write-Host ""
22
+
23
+ Write-Host ">>> Releasing rmfudp..." -ForegroundColor Yellow
24
+ Set-Location "y:\dev\homecontrol\utils\rmfudp"
25
+ npm run release
26
+ if ($LASTEXITCODE -ne 0) {
27
+ Write-Host "ERROR: rmfudp release failed" -ForegroundColor Red
28
+ exit 1
29
+ }
30
+ Write-Host ""
31
+
32
+ Write-Host ">>> Releasing colorlib..." -ForegroundColor Yellow
33
+ Set-Location "y:\dev\homecontrol\utils\colorlib"
34
+ npm run release
35
+ if ($LASTEXITCODE -ne 0) {
36
+ Write-Host "ERROR: colorlib release failed" -ForegroundColor Red
37
+ exit 1
38
+ }
39
+ Write-Host ""
40
+
41
+ Write-Host ">>> Releasing lxlan..." -ForegroundColor Yellow
42
+ Set-Location "y:\dev\homecontrol\Others\LifX\Apps\lxlan"
43
+ npm run release
44
+ if ($LASTEXITCODE -ne 0) {
45
+ Write-Host "ERROR: lxlan release failed" -ForegroundColor Red
46
+ exit 1
47
+ }
48
+ Write-Host ""
49
+
50
+ # Update dependencies after base packages
51
+ Write-Host ">>> Updating lxlan-node dependencies..." -ForegroundColor Yellow
52
+ Set-Location "y:\dev\homecontrol\Others\LifX\Apps\lxlan-node"
53
+ npm install
54
+ if ($LASTEXITCODE -ne 0) {
55
+ Write-Host "ERROR: lxlan-node npm install failed" -ForegroundColor Red
56
+ exit 1
57
+ }
58
+
59
+ Write-Host ">>> Releasing lxlan-node..." -ForegroundColor Yellow
60
+ npm run release
61
+ if ($LASTEXITCODE -ne 0) {
62
+ Write-Host "ERROR: lxlan-node release failed" -ForegroundColor Red
63
+ exit 1
64
+ }
65
+ Write-Host ""
66
+
67
+ # Update lifxer dependencies
68
+ Write-Host ">>> Updating lifxer dependencies..." -ForegroundColor Yellow
69
+ Set-Location "y:\dev\homecontrol\Others\LifX\Apps\lifxer"
70
+ npm install
71
+ if ($LASTEXITCODE -ne 0) {
72
+ Write-Host "ERROR: lifxer npm install failed" -ForegroundColor Red
73
+ exit 1
74
+ }
75
+
76
+ Write-Host ">>> Releasing lifxer..." -ForegroundColor Yellow
77
+ npm run release
78
+ if ($LASTEXITCODE -ne 0) {
79
+ Write-Host "ERROR: lifxer release failed" -ForegroundColor Red
80
+ exit 1
81
+ }
82
+ Write-Host ""
83
+
84
+ # lxtest (local only, no publish)
85
+ Write-Host ">>> Updating lxtest dependencies..." -ForegroundColor Yellow
86
+ Set-Location "y:\dev\homecontrol\Others\LifX\Apps\lxtest"
87
+ npm install
88
+ if ($LASTEXITCODE -ne 0) {
89
+ Write-Host "ERROR: lxtest npm install failed" -ForegroundColor Red
90
+ exit 1
91
+ }
92
+
93
+ Write-Host ">>> Releasing lxtest (local only)..." -ForegroundColor Yellow
94
+ npm run release
95
+ if ($LASTEXITCODE -ne 0) {
96
+ Write-Host "ERROR: lxtest release failed" -ForegroundColor Red
97
+ exit 1
98
+ }
99
+ Write-Host ""
100
+
101
+ Write-Host "=== All releases completed successfully! ===" -ForegroundColor Green
102
+ Write-Host ""
103
+ Write-Host "Released packages:"
104
+ Write-Host " - @bobfrankston/hlib"
105
+ Write-Host " - @bobfrankston/rmfudp"
106
+ Write-Host " - @bobfrankston/colorlib"
107
+ Write-Host " - @bobfrankston/lxlan"
108
+ Write-Host " - @bobfrankston/lxlan-node"
109
+ Write-Host " - @bobfrankston/lifxer"
110
+ Write-Host " - lxtest (local)"