- Updated all package.json name fields and dependency references - Updated all TypeScript/JavaScript imports - Updated .woodpecker/publish.yml filters and registry paths - Updated tools/install.sh scope default - Updated .npmrc registry paths (worktree + host) - Enhanced update-checker.ts with checkForAllUpdates() multi-package support - Updated CLI update command to show table of all packages - Added KNOWN_PACKAGES, formatAllPackagesTable, getInstallAllCommand - Marked checkForUpdate() with @deprecated JSDoc Closes #391
1.7 KiB
1.7 KiB
Scratchpad: CI Docker Publish (2026-03-30)
- Objective: Add Woodpecker Docker build+push steps for gateway and web images on
mainpushes. - Scope:
.woodpecker/ci.yml. - Constraints:
- Use existing Dockerfiles at
docker/gateway.Dockerfileanddocker/web.Dockerfile. - Publish to
git.mosaicstack.devwithfrom_secretcredentials. - Tag both
latestand${CI_COMMIT_SHA}. - Do not run publish steps on pull requests.
- Use existing Dockerfiles at
- ASSUMPTION: Publishing
latestis required by the task for registry convenience, even though immutable tags remain the safer deployment reference. - Findings:
- Existing pipeline already has
buildafterlint,format, andtest. apps/gateway/package.jsonusestscforbuild; no Prisma dependency orprisma generatehook is present.
- Existing pipeline already has
- Plan:
- Patch
.woodpecker/ci.ymlto keepbuildas the quality gate successor and addpublish-gatewaypluspublish-web. - Validate YAML and run repo quality gates relevant to the change.
- Review the diff, then commit/push/PR if validation passes.
- Patch
- Verification:
python3 -c "import yaml; yaml.safe_load(open('.woodpecker/ci.yml'))" && echo "YAML valid"pnpm lintpnpm typecheckpnpm format:checkdocker compose up -dpnpm --filter @mosaicstack/db db:pushpnpm testpnpm build- Manual review of
.woodpecker/ci.ymldiff: publish steps are main-only, depend onbuild, and use secret-backed registry auth plus dual tags.
- Risks:
- Pipeline behavior beyond YAML validation cannot be fully proven locally; remote Woodpecker execution will be the final situational check after push.
- Repo baseline required two existing
plugins/macpfiles to be reformatted beforepnpm format:checkwould pass.