Skip to content

Commit e16d4bb

Browse files
committed
Require npmctl 0.3.8 or newer
1 parent 4e21c7d commit e16d4bb

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
python-version: '3.12'
2121
- name: Install npmctl from PyPI
22-
run: python -m pip install --upgrade npmctl npmctl-namecheap
22+
run: python -m pip install --upgrade "npmctl>=0.3.8" "npmctl-namecheap>=0.3.8"
2323
- run: npm ci
2424
- run: npm run check
2525
- run: npm run build

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
name: docs-dist
5858
path: dist
5959
- name: Install npmctl from PyPI
60-
run: python -m pip install --upgrade npmctl npmctl-namecheap
60+
run: python -m pip install --upgrade "npmctl>=0.3.8" "npmctl-namecheap>=0.3.8"
6161
- name: Validate npmctl orchestration secrets
6262
shell: bash
6363
run: |

.github/workflows/dns.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
python-version: '3.12'
3333
- name: Install npmctl from PyPI
34-
run: python -m pip install --upgrade npmctl npmctl-namecheap
34+
run: python -m pip install --upgrade "npmctl>=0.3.8" "npmctl-namecheap>=0.3.8"
3535
- name: Render DNS desired state
3636
shell: bash
3737
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Standalone ZDX documentation repository for [docs.swarmauri.com](https://docs.sw
88
- `npm run check`
99
- `npm run build`
1010
- `npm run docker:build`
11-
- `npm run dns:plan` (uses PyPI `npmctl` plus `npmctl-namecheap`)
11+
- `npm run dns:plan` (uses PyPI `npmctl>=0.3.8` plus `npmctl-namecheap>=0.3.8`)
1212
- `npm run proxy:plan` (uses PyPI `npmctl`)
1313

14-
The GitHub workflows install `npmctl` and `npmctl-namecheap` from PyPI, then use `npmctl validate`, `npmctl plan`, and `npmctl apply` against `desired-state/`.
14+
The GitHub workflows install `npmctl>=0.3.8` and `npmctl-namecheap>=0.3.8` from PyPI, then use `npmctl validate`, `npmctl plan`, and `npmctl apply` against `desired-state/`.
1515

1616
## Deployment
1717

18-
This repo deploys as the `docs-swarmauri-com` self-hosted Docker service. DNS is managed through the PyPI `npmctl-namecheap` provider for the `swarmauri.com` zone and is declared in `desired-state/dns.yaml`.
18+
This repo deploys as the `docs-swarmauri-com` self-hosted Docker service. DNS is managed through the PyPI `npmctl-namecheap>=0.3.8` provider for the `swarmauri.com` zone and is declared in `desired-state/dns.yaml`.

npmctl.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"dns:plan": "npmctl plan desired-state/dns.yaml --owner docs-swarmauri-com",
3434
"deploy:dry-run": "node scripts/deploy.mjs --dry-run",
3535
"deploy": "docker compose up -d --build --force-recreate --no-deps docs-swarmauri-com",
36-
"npmctl:install": "python -m pip install --upgrade npmctl npmctl-namecheap",
36+
"npmctl:install": "python -m pip install --upgrade \"npmctl>=0.3.8\" \"npmctl-namecheap>=0.3.8\"",
3737
"npmctl:validate": "npmctl validate desired-state",
3838
"npmctl:schema": "npmctl schema check",
3939
"dns:doctor": "npmctl dns doctor --provider namecheap",
@@ -45,7 +45,7 @@
4545
"npmctl": {
4646
"package": "npmctl",
4747
"dnsProviderPackage": "npmctl-namecheap",
48-
"installCommand": "python -m pip install --upgrade npmctl npmctl-namecheap",
48+
"installCommand": "python -m pip install --upgrade \"npmctl>=0.3.8\" \"npmctl-namecheap>=0.3.8\"",
4949
"proxyManagerApiEndpoint": "https://nginx.bz23.xyz/api"
5050
}
5151
}

0 commit comments

Comments
 (0)