Skip to content

Migrate from shared/ to published penguin-libs packages#91

Open
PenguinzTech wants to merge 15 commits intomainfrom
v1.1.x
Open

Migrate from shared/ to published penguin-libs packages#91
PenguinzTech wants to merge 15 commits intomainfrom
v1.1.x

Conversation

@PenguinzTech
Copy link
Copy Markdown
Contributor

Summary

  • Remove shared/ directory (122 files, ~22K lines) — template code unused by any service, replaced by published PenguinTech packages
  • Add published package dependencies: penguin-libs, penguin-licensing, penguintechinc-utils (Python) and @penguintechinc/react-libs (React) across all services
  • Integrate penguin-libs into services: sanitized logging (get_logger), password validation (IsStrongPassword), LoginPageBuilder for both frontends, AppConsoleVersion for console version display
  • Add scripts/version/update-version.sh for managing vMajor.Minor.Patch.build versions
  • Bump version from v1.0.0 to v1.1.0

Files modified (22 services/docs) + 122 deleted + 3 created

Category Changes
Docs Fix shared.licensing imports in INTEGRATIONS.md, AUTHENTICATION.md; remove shared/ CI path triggers from WORKFLOWS_EXTENDED.md
Python deps Add penguin-libs to unified-api, managerServer, webClient, containerClient requirements.txt
React deps Add @penguintechinc/react-libs to managerServer + webClient package.json; create .npmrc for GitHub Packages
Python integration Switch to get_logger() in 4 services; replace len(password) < 8 with IsStrongPassword validator
React integration Replace hand-rolled login forms with LoginPageBuilder; add AppConsoleVersion to both App.tsx
Cleanup Delete entire shared/ directory (py_libs, go_libs, node_libs, react_libs, licensing, database)
Versioning Add scripts/version/update-version.sh, bump to v1.1.0

Test plan

  • pip install -r requirements.txt succeeds in each Python service
  • npm install succeeds in both frontends (requires GitHub Packages auth)
  • Login pages render correctly using LoginPageBuilder in both managerServer and webClient
  • Password reset/change endpoints reject weak passwords via IsStrongPassword
  • AppConsoleVersion logs version info to browser console on load
  • grep -r "shared/" --include="*.py" --include="*.ts" --include="*.tsx" returns zero results
  • ./scripts/version/update-version.sh correctly bumps build timestamp
  • docker-compose build succeeds

🤖 Generated with Claude Code

PenguinzTech and others added 2 commits February 10, 2026 17:30
Replace template shared/ code (122 files, unused by services) with
published PenguinTech packages: penguin-libs, penguin-licensing,
penguintechinc-utils (Python), and @penguintechinc/react-libs (React).

- Docs: Update shared.licensing imports to penguin_licensing equivalents
- Deps: Add penguin-libs to 4 Python services and react-libs to 2 frontends
- Python: Switch to sanitized get_logger(), use IsStrongPassword validator
- React: Replace hand-rolled login forms with LoginPageBuilder, add AppConsoleVersion
- Delete shared/ directory entirely (py_libs, go_libs, node_libs, react_libs, licensing, database)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add scripts/version/update-version.sh for managing vMajor.Minor.Patch.build
format versions. Supports major/minor/patch bumps and build-only timestamp
refresh (default when no argument given).

Bump version from v1.0.0 to v1.1.0 for the penguin-libs migration release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, we are unable to review this pull request

The GitHub API does not allow us to fetch diffs exceeding 20000 lines

@socket-security
Copy link
Copy Markdown

socket-security bot commented Feb 11, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedtypescript-eslint@​8.56.01001007498100
Updatedvite@​6.4.1 ⏵ 7.3.196 +101008298100

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Feb 11, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

PenguinzTech and others added 13 commits February 11, 2026 14:57
Convert .claude/ standard files from inline content to symlinks
pointing to the centralized standards repository, keeping them
in sync with upstream template updates.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add Helm values-alpha/beta, Kustomize overlays (alpha/beta),
manifests, and deploy-beta.sh script for consistent k8s deployment
across all repos.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…alpha

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…localhost.local

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant